Re: dynamic markup and components

2012-02-08 Thread Alinoor
Hi Sven, I came across this stackeroverflow link and tried it but couldn't get the markupcontainer to load the markup. I'll give it another go... Alinoor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/dynamic-markup-and-components-tp4366970p4368873.html Sent from

Re: dynamic markup and components

2012-02-08 Thread Alinoor
Hi, Managed to get this working by using a Panel instead of a WebMarkupContainer. Here's the code. import org.apache.wicket.MarkupContainer; import org.apache.wicket.markup.IMarkupResourceStreamProvider; import org.apache.wicket.markup.html.form.Form; import

Re: dynamic markup and components

2012-02-08 Thread Andrea Del Bene
Hi, I don't know if you might find this helpful, but if your component must generate a different markup from request to request, you should implements interface IMarkupCacheKeyProvider to avoid markup caching: /** * Must return null to avoid markup caching */ @Override

Re: dynamic markup and components

2012-02-08 Thread Alinoor
Andrea, yes, I'm sure I would have come across this problem, so thanks for the tip. Alinoor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/dynamic-markup-and-components-tp4366970p4370161.html Sent from the Users forum mailing list archive at Nabble.com.

Re: dynamic markup and components

2012-02-07 Thread Sven Meier
http://stackoverflow.com/questions/2086732/dynamic-markup-in-wicket Am 08.02.2012 00:55, schrieb Alinoor: Hi everyone, I want to load some markup stored in a string, this markup also has references to wicket components that I need to create and then add to whatever will contain the markup. Is