[ 
http://issues.apache.org/jira/browse/TAPESTRY-1078?page=comments#action_12430763
 ] 
            
Pedro Viegas commented on TAPESTRY-1078:
----------------------------------------

Yes, it is a good explanation!
I'm sorry for the early post. Should had mailed the list before. I was mistaken 
on the behaviour of the informal/formal parameters.

Thanks Norbert

> Informal parameters are not passed to inner components
> ------------------------------------------------------
>
>                 Key: TAPESTRY-1078
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1078
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 4.1
>            Reporter: Pedro Viegas
>         Assigned To: Jesse Kuhnert
>
> Even when we declare a component with...
> allow-informal-parameters="yes"
> The inner component is not passed the adicional parameters.
> As an example I have created a component wutch wraps a TextField like...
> .html
> <html>
> <body jwcid="$content$">
>     <input jwcid="inputtext"/>
> </body>
> </html>
> .jwc
> <?xml version="1.0"?>
> <!DOCTYPE component-specification PUBLIC
>   "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
>   "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
> <component-specification allow-body="no" allow-informal-parameters="yes">
>     <parameter name="value" required="yes"/>
>     <component id="inputtext" type="TextField">
>         <binding name="value" value="ognl:value"/>
>     </component>
> </component-specification>
> If a issue a call with, for instance, the "validators" parameter the inner 
> textfield does not react.
> If a declare a parameter explicitly for validators and bind it to the inner 
> component all works fine.
> So apparently the allow-informal-parameters is not working.
> Note: I've tryed to active the "inherit-informal-parameters=true" in the 
> inner TextField component but it does not work also.

-- 
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to