cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pier Fumagalli (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-769) [patch][woody] Making WoodyTemplateTransformer Flow-aware.
Date Tue, 25 Oct 2005 10:24:50 GMT
     [ http://issues.apache.org/jira/browse/COCOON-769?page=all ]

Pier Fumagalli updated COCOON-769:
----------------------------------

    Reporter: Marc Portier  (was: Marc Portier)

> [patch][woody]  Making WoodyTemplateTransformer Flow-aware.
> -----------------------------------------------------------
>
>          Key: COCOON-769
>          URL: http://issues.apache.org/jira/browse/COCOON-769
>      Project: Cocoon
>         Type: Bug
>   Components: - Components: Avalon
>     Versions: 2.1.8-dev (Current SVN)
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Marc Portier
>     Assignee: Bruno Dumon
>  Attachments: woody-template.patch
>
> This patch allows
> 1/ to have the form/@action dynamically set to a jxpath evalutaion 
>    of the form #{$continuation/id}
> 2/ to look for the form instance in the flow context model
> --
> This introduces a jxpath context member in the template transformer that is used
> for evaluating #{--jxpath-expression--} in the text of a wt:form-template tag
> Typical usage is in updating your existing woody-templates to hold this tag:
> <wt:form-template method="POST" action="#{$continuation/id}.kont">
> --
> This also lowers the required 'form-attribute' parameter to be an optional
> parameter. If it is not set then the flow-context-object will be considered
> being a java.util.Map that holds the form instance under the 'woody-form' key
> --
> Finally this holds some comments/suggestion about how we could extend this 
> even one step further to actually support multiple woody-forms on one page.
> We could allow for multiple wt:form-template tags on one page that each declare
> themselves the form-lookup key in the flow-context-object-HashMap using their 
> own specific @location="#{/woody-form}" 
> -marc=

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message