actually, it is not defined in the page class

in my showpage class i use

@Component
private Info Info;

so it still gives error saying 
tapestry.pages.showpage does not contain a property named 'description'


Piero Sartini-3 wrote:
> 
>> >> secondly i have a component Info with a variable say "private String
>> >> description"
>> >> and function
>> >> public String getDescription() {
>> >>           return description;
>> >> }
>> >>
>> >> how can i use it in template ??
>> >> ${component:Info.description} doesnt work !
> 
> Just use ${description} in the template file of the component.
> 
>       Piero
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Return-HTML-tp24154619p24155844.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to