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
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
;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.
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
>
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
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
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
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
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
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/
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
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
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
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
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
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
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.
17 matches
Mail list logo