I think you meant 

${getDescriptionForTag(user1)}


where user1 is a page property of type String. 

I think the above should work. 


Shing 

________________________________
From: sommeralex <alexander.som...@gmail.com>
To: users@tapestry.apache.org 
Sent: Sunday, January 27, 2013 10:54 AM
Subject: parameter in tml page?

is it possible to put parameters in a tml page?

eg:
Java:

String getDescriptionForTag(String tag){
   return descriptionService.getDescriptionForTag(tag);
}

TML:

<div>
User 1

${getDescription(user1)}
</div>


<div>
User 2

${getDescription(user2)}
</div>



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/parameter-in-tml-page-tp5719561.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 

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

Reply via email to