Re: Setting element value from an attribute

2012-08-20 Thread dkeenan
brilliant! it actually works with outputraw, which means i don't have to supply the format... and it's always going to be a string that I set, so should be fine. Thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Setting-element-value-from-an-attribute-tp5715597p57

Re: Setting element value from an attribute

2012-08-20 Thread Shing Hing Man
I am making a meal of this. The existing  Output component  should do the job : f...@yahoo.com Shing   - Original Message - From: dkeenan To: users@tapestry.apache.org Cc: Sent: Monday, August 20, 2012 3:25 PM Subject: Re: Setting element value from an attribute Could I extend

Re: Setting element value from an attribute

2012-08-20 Thread dkeenan
Could I extend that a little and create a component that does the following? [hidden email] Then tapestry could replace the dispayed value with thee specified 'property'? I wonder if a comonent like that exists, or how I would write one if it doesn't? Thanks... -- View this message in

Re: Setting element value from an attribute

2012-08-20 Thread Shing Hing Man
A not so elegant solution is to create a RemoveElt component so that the associated  html tag is not generated.  public class RemoveElt {         protected boolean beginRender(){         return false;     }      } Example : testu...@test.com The above will not appear in the generated