Using the Protoype Pattern in Jade
Posted: Fri Aug 07, 2009 12:49 pm
by Anonymous >> Tue, 17 May 2005 4:55:16 GMT
Hi,
I have a situation where I use recursive code to load a
hiearchical listbox.
I want to create a prototype listbox in jade where it gets loaded on start up and any further requirements to display the listbox simply copy the protoype listbox rather than loading from the database.
Will I have to create an invisible form with a listbox, populate that and use it as the prototype or can I create a shared transient listbox that I can load and use that?
Ive had problems with the latter method.
Any suggestions?
Regards Troy
Hi,
I have a situation where I use recursive code to load a
hiearchical listbox.
I want to create a prototype listbox in jade where it gets loaded on start up and any further requirements to display the listbox simply copy the protoype listbox rather than loading from the database.
Will I have to create an invisible form with a listbox, populate that and use it as the prototype or can I create a shared transient listbox that I can load and use that?
Ive had problems with the latter method.
Any suggestions?
Regards Troy