wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Silbermann" <frank.silberm...@fedex.com>
Subject RE: dynamic components
Date Sun, 08 Nov 2009 21:04:26 GMT
Create a panel with dummy components (e.g. Label components where the
label is an empty string).  Later you can "replace" one or more of the
components.

One complication is that some wicket components (e.g. Image) need to be
attached to specialized HTML.  However, the basic principle still
stands.

-----Original Message-----
From: Gw [mailto:not4spamming@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 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...

Perhaps there's a framework over Wicket for this?
Lots of thanks in advance for ur assist.

Regards,
Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message