Hi Thiago!

The point is, i want to change my tml pages as quick and easy as possible. 

I have a method, which is giving me, what i  need. getObject(String key).

If TML would support parameters for functions, 

i could easily write 

${getObject(x)}

${getObject(y)}

and so on.

Otherwise, i have to write methods in my java page class:

getObjectX
getObjectY

and refere to them in my TML as

${getObjectX}
${getObjectY}

and so on.

sure, i should code in MVC Logic, and i do whereever this is possible. But
sometimes, - so in protyping - or rapid prototyping - such approach would be
- at least in my opinion - a nice feature. 

alex





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