You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Pedro Viegas (JIRA)" <ta...@jakarta.apache.org> on 2006/08/25 11:29:22 UTC
[jira] Created: (TAPESTRY-1078) Informal parameters are not passed
to inner components
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
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
[jira] Commented: (TAPESTRY-1078) Informal parameters are not
passed to inner components
Posted by "Pedro Viegas (JIRA)" <ta...@jakarta.apache.org>.
[ 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
[jira] Resolved: (TAPESTRY-1078) Informal parameters are not passed
to inner components
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-1078?page=all ]
Jesse Kuhnert resolved TAPESTRY-1078.
-------------------------------------
Resolution: Invalid
Assignee: Jesse Kuhnert
Norberts explanation sounds good to me, I'll re-open of course if this doesn't sound reasonable.
> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
[jira] Commented: (TAPESTRY-1078) Informal parameters are not
passed to inner components
Posted by "Norbert Sándor (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-1078?page=comments#action_12430462 ]
Norbert Sándor commented on TAPESTRY-1078:
------------------------------------------
"inherit-informal-parameters=true" - as its name says - will inherit informal parameters only.
Formal parameters are not inherited, they should be explicitly defined in your component using <parameter /> and passed to the wrapped TextField for example by <inherited-binding />.
> 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
>
> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org