Re: Dynamic Components

2013-02-12 Thread Bas Gooren
Hi Can I see the code. The pastebin show me a "Unknown Paste ID!" message on link [1]. [1] http://pastebin.com/p4cSNsUw Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Dynamic-Components-tp4654308p4656289.html Sent from the Users f

Re: Dynamic Components

2013-02-12 Thread Decebal Suiu
Hi Can I see the code. The pastebin show me a "Unknown Paste ID!" message on link [1]. [1] http://pastebin.com/p4cSNsUw Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Dynamic-Components-tp4654308p4656289.html Sent from the U

RE: Dynamic Components

2012-11-29 Thread Chris Colman
;s >> an easy way to add styling, behaviour etc., across the entire app >> easily. >> > >You can >use org.apache.wicket.Application#getComponentInitializationListeners to do >the same. >For example check that the component is a Page/Panel and has package name >that is in your namespace.

Re: Dynamic Components

2012-11-29 Thread Nick Pratt
cSNsUw > > The rendered component is in the current page, not in a dummy page, so > everything works as expected. > The only thing that doesn't work is a full re-render, since that requires > a "hook" in the page markup, which does not exist (hence "dynamic >

Re: Dynamic Components

2012-11-29 Thread Martin Grigorov
n easy way to add styling, behaviour etc., across the entire app > easily. > You can use org.apache.wicket.Application#getComponentInitializationListeners to do the same. For example check that the component is a Page/Panel and has package name that is in your namespace. > > This mechanism results in t

RE: Dynamic Components

2012-11-28 Thread Chris Colman
mmon, application defined, Page and Panel classes - but that's no problem and most Wicket apps probably already do this as it's an easy way to add styling, behaviour etc., across the entire app easily. This mechanism results in the dynamic components being added within the onInitialize

RE: Dynamic Components

2012-11-28 Thread Chris Colman
on thread that Chris Colman was going on about >IComponentResolvers and those components being second class citizens, would >it be possible to create dynamic components in a Page, and store them in a >non-markup related area of the Page, such that they would go through normal >lifec

Re: Dynamic Components

2012-11-28 Thread Bas Gooren
is a full re-render, since that requires a "hook" in the page markup, which does not exist (hence "dynamic components"). To circumvent that, the dynamic components are automatically removed on a full page re-render. Have a look at the code, maybe it helps you. It's rat

Dynamic Components

2012-11-28 Thread Nick Pratt
econd class citizens, would it be possible to create dynamic components in a Page, and store them in a non-markup related area of the Page, such that they would go through normal lifecycle events etc, and AJAX callbacks would work to the Page, but they wouldnt be associated with the normal markup/comp

Re: dynamic components

2009-11-08 Thread Gw
Hi, thanks for ur help, folks... I'm currently looking at the WicketWebBeans project. Seems promising on this issue. On Sun, Nov 8, 2009 at 4:35 AM, Igor Vaynberg wrote: > this should give you a very decent starting point > > > https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/attic/

RE: dynamic components

2009-11-08 Thread Frank Silbermann
ill stands. -Original Message- From: Gw [mailto:not4spamm...@gmail.com] Sent: Saturday, November 07, 2009 7:38 AM To: users@wicket.apache.org Subject: dynamic components Hi people, Does anyone know how to dynamically add components to a form? The types and numbers of the components are

Re: dynamic components

2009-11-07 Thread Igor Vaynberg
this should give you a very decent starting point https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/attic/wicketstuff-crud/ -igor On Sat, Nov 7, 2009 at 5:38 AM, Gw wrote: > Hi people, > > Does anyone know how to dynamically add components to a form? > The types and numbers of the c

Re: dynamic components

2009-11-07 Thread Pedro Santos
Can build using repeaters, or an form with all possible form components added on it, with they isVisible implementation returning true due parameters you read in an xml On Sat, Nov 7, 2009 at 11:38 AM, Gw wrote: > Hi people, > > Does anyone know how to dynamically add components to a form? > The

Re: dynamic components

2009-11-07 Thread Gw
Let's say... an XML file containing screen configuration file will determine the form's content. On Sat, Nov 7, 2009 at 9:30 PM, James Carman wrote: > What determines which components will be on the form? > > On Sat, Nov 7, 2009 at 8:38 AM, Gw wrote: > > Hi people, > > > > Does anyone know how

Re: dynamic components

2009-11-07 Thread James Carman
What determines which components will be on the form? On Sat, Nov 7, 2009 at 8:38 AM, Gw wrote: > Hi people, > > Does anyone know how to dynamically add components to a form? > The types and numbers of the components are arbitrary, and will be > determined programmatically. > In one page, the for

dynamic components

2009-11-07 Thread Gw
Hi people, Does anyone know how to dynamically add components to a form? The types and numbers of the components are arbitrary, and will be determined programmatically. In one page, the form may contain 1 textbox, 2 buttons. In another page, it may contain 2 textareas, 1 checkbox, and so on... Pe

Insights on templating and dynamic components

2008-11-29 Thread Jan Kriesten
Hi, I just wrote up a bit on my quest to support dynamic wicket components from template generated markup code. You'll find it here, including (Scala) code: http://www.footprint.de/fcc/2008/11/some-wicket-scala/ It should be usable from Java as well, though! Have fun! Best regards, --- Jan.