3 Mar
2005
3 Mar
'05
6:47 p.m.
Cool! I for one will find that useful when it's committed (hint hint)... --- Ed Suominen Registered Patent Agent Open-Source Software Author (yes, both...) Web Site: http://www.eepatents.com On Thursday 03 March 2005 09:41 am, Steven Armstrong wrote:
Hi all
I've found out lately that you can give a slot a default value when using stan. Attached is a patch that enables that functionality for xmlstring and xmlfile templates.
Stan: T.span[T.slot("my_slot_name", default="Whatever")]
HTML: <span><n:slot name="my_slot_name" default="Whatever" /></span>
regards Steven