You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Daniel Daniel <ho...@hotmail.com> on 2005/03/29 08:14:21 UTC

Table -using row object parameter

Hi all,

I tried to set the row parameter of a table to an abstract class and pass it 
subclasses because the values I want for the table are in the superclass, 
the only problem is I get a binding exception when doing this. Does anybody 
know how I could get around this?

Cheers,
Daniel

_________________________________________________________________
Need a credit card fast? Apply now! Must be over 18. AU only:  
http://ad.au.doubleclick.net/clk;11046970;10638934;f?http://www.anz.com/aus/promo/first0105ninemsn/default.asp


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


Re: Table -using row object parameter

Posted by Waldo Mendoza <wm...@umsa.bo>.
Daniel Daniel <hotmailwork <at> hotmail.com> writes:

> 
> Hi all,
> 
> I tried to set the row parameter of a table to an abstract class and pass it 
> subclasses because the values I want for the table are in the superclass, 
> the only problem is I get a binding exception when doing this. Does anybody 
> know how I could get around this?
> 
> Cheers,
> Daniel
> 
> _________________________________________________________________
> Need a credit card fast? Apply now! Must be over 18. AU only:  
> http://ad.au.doubleclick.net/clk;11046970;10638934;f?
http://www.anz.com/aus/promo/first0105ninemsn/default.asp
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe <at> jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help <at> jakarta.apache.org
> 
> 

Hi, 

I have used the TableView component with a TableFormRows inside it, to 
customize the way it show the data, and i used the row parameter, like this:

		<tr jwcid="tableRows@contrib:TableFormRows"
            row="ognl:object">
                      <td>
                      Name:
                      </td>
                      <td>
                      <span jwcid="@Insert" value="ognl:object.name">
                      </td> 
                </tr>
and i have declared a property specification inside the specification:

     <property-specification name="object" type="java.lang.Object"/>

and i didn´t have any problem, as u can see i can reference any object's 
property passed on runtime, i did it with Table component as well, and 
everything is ok. 




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


Re: Table -using row object parameter

Posted by Waldo Mendoza <wm...@umsa.bo>.
Daniel Daniel <hotmailwork <at> hotmail.com> writes:

> 
> Hi all,
> 
> I tried to set the row parameter of a table to an abstract class and pass it 
> subclasses because the values I want for the table are in the superclass, 
> the only problem is I get a binding exception when doing this. Does anybody 
> know how I could get around this?
> 
> Cheers,
> Daniel
> 
> _________________________________________________________________
> Need a credit card fast? Apply now! Must be over 18. AU only:  
> http://ad.au.doubleclick.net/clk;11046970;10638934;f?
http://www.anz.com/aus/promo/first0105ninemsn/default.asp
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe <at> jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help <at> jakarta.apache.org
> 
> 

Hi, 

I have used the TableView component with a TableFormRows inside it, to 
customize the way it show the data, and i used the row parameter, like this:

		<tr jwcid="tableRows@contrib:TableFormRows"
            row="ognl:object">
                      <td>
                      Name:
                      </td>
                      <td>
                      <span jwcid="@Insert" value="ognl:object.name">
                      </td> 
                </tr>
and i have declared a property specification inside the specification:

     <property-specification name="object" type="java.lang.Object"/>

and i didn´t have any problem, as u can see i can reference any object's 
property passed on runtime, i did it with Table component as well, and 
everything is ok. 




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