Thanks Jesse, this is precisely the pattern that I was looking for. It works
a treat.

Shaun


Jessek wrote:
> 
> For something like this I would do it this way:
> 
> -) Write out your html as you would normally...
> 
> -) For all messages define one basic css class name and set it on all of
> them.
> 
> -) Create a more specific css class name for each message type.
> 
> -) Create a simple method that returns a String of the css classes to
> apply
> to your html element , depending on the type of message... IE :
> 
> [snip]
> 
> 

-- 
View this message in context: 
http://www.nabble.com/One-component%2C-multiple-templates--tf2541643.html#a7096740
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to