You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org> on 2007/03/04 18:54:50 UTC

[jira] Resolved: (TAPESTRY-403) Bean binding with contrib:tablerows

     [ https://issues.apache.org/jira/browse/TAPESTRY-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Kuhnert resolved TAPESTRY-403.
------------------------------------

    Resolution: Invalid
      Assignee: Jesse Kuhnert

I think this behavior is actually correct. That component probably has inherit-informal-parameters set to true, which is what you've done. Not allowing the informal parameter to be set would be an even bigger issue. I see no other way to  do this.

> Bean binding with contrib:tablerows
> -----------------------------------
>
>                 Key: TAPESTRY-403
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-403
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 4.0
>            Reporter: Scott Walter
>         Assigned To: Jesse Kuhnert
>             Fix For: 4.1.2
>
>
> I have a contrib:tableRows component that binds the EvenOdd class like this:
>     <component id="tableRows" type="contrib:TableRows">
> 	    <binding name="class" expression="beans.evenOdd.next"/>
>         <binding name="row" expression="currentRow"/>
>     </component> 
> However the evenOdd class was never getting instantiated/processing on each row in the table.
> I looked into my .html page and noticed that I had something like this:
> <tr jwcid="tableRows" class="odd">
> but when I took the class attribute out of my html the evenOdd bean got instantiated and processing.  So it looks like there is an issue of binding a bean to an attribute if it already exists in a .html page.  This page is part of an app I am migrating from 3.0, in which the evenOdd bean processed properly with the class attribute in the .html page.
> Is this an issue with contrib:tableRows or bindings in general if you attempt to bind to an html attribute that is already set?
> scott

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org