You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/11/15 19:33:32 UTC

[jira] Commented: (TAPESTRY-753) A component may have multiple s with the same name, without error

    [ http://issues.apache.org/jira/browse/TAPESTRY-753?page=comments#action_12357715 ] 

Howard M. Lewis Ship commented on TAPESTRY-753:
-----------------------------------------------

It appears that the last such binding "wins".  This should be an error instead.  Likewise, multiple attributes with the same name (in the HTML) should also be an error.

> A component may have multiple <binding>s  with the same name, without error
> ---------------------------------------------------------------------------
>
>          Key: TAPESTRY-753
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-753
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>  Environment: WinXP Pro
>     Reporter: Jeff Emminger
>     Priority: Minor

>
> this does not throw an error:
> <component id="for" type="For">
> 	<binding name="source" value="items"/>
> 	<binding name="source" value="current"/>
> </component>

-- 
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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org