yep, create a panel that has a label+fileupload field, then add as many of
these as you want to a RefreshingView or another repater. there are examples
of repeaters in wicket-examples
-igor
On 1/15/07, Gustavo Yoshizaki <[EMAIL PROTECTED]> wrote:
Hi, I'm trying to make a dynamic form. The bas
Hi, I'm trying to make a dynamic form. The basic idea is to be able to add
fields like when you upload files in a mail. The amount of files is N and
not know in prior. Cause wicket needs to have in the HTML side an id for the
field, the number of fields would be limited. Is there a way to make thi
SF was messed up again. I got a load of emails today that were more
than 2 days old!
Eelco
On 10/3/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
> see my other reply you have to do that youreself in the form.submit()
> use the WebRequest.getParameter() to get youre values and store them to
> wh
see my other reply you have to do that youreself in the form.submit()
use the WebRequest.getParameter() to get youre values and store them to where you want.
On 9/30/05, Trieu, Danny <[EMAIL PROTECTED]> wrote:
Hi all,
I need to create a Form that has a list of input group, e.g.
L
Hi all,
I need to create a Form that has a list of input group, e.g.
ListItem(s). The page has _javascript_ that will create
New input group, that allow user enter addition info.
My question is how do implement this on the server side, so
that wicket knows there is addition nodes
Clark, Stephen wrote:
Thanks for repsonse I've just got round to having a look at this.
Using this method do you have to put markup in your HTML for each of the
form elements? What I want is to be able to create forms entirely on the
fly just by adding a form in the markup and then adding con
this within the Java .
Is it possible to send me any examples of your
technique?
Cheers
Steve
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick
HeudeckerSent: 22 September 2005 16:01To:
wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] Dynamic
Form Generation.
Hi Steve,
I had to solve this problem recently with user-created surveys.
Essentially, I wrote a Panel for each input type (textfield, textareas,
choices, etc) and add the Panels to the Form. Actually, it's a
ListView contained by the Form:
Form > ListView > Panel
It's a bit of work, but well w
Hi
All,
I am new to Wicket
(2 days old) and have found it very easy to use and understand ... I have
managed to produce a simple GUI that took me 2 weeks using Tapestry in 2
days using Wicket and the contrib-DataView!!so thanks for an
excellent framework!!
I have a question
regardi
I got this sorted out. Thanks for your help.On 9/15/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
I'd try to wrap the List in a IModel (like overriding Model'sgetObject and let it return the list you want every time), so you get
the pull behaviour. Don't know how you set ListView's model nowthoug
I should also mention that things work fine when you're editing an
existing Survey with SurveyElements. It's only when I'm trying to
create a new Survey.
Currently I'm just calling the appropriate constructor: ListView(String, List). On 9/15/05, Eelco Hillenius <
[EMAIL PROTECTED]> wrote:I'd try to wrap the List in a IModel (like overriding Model's
getObject and let it return the list you want every time), so you getthe pull behaviour. Don't know h
FYI - I need to get my RAD EditPanel committed to CVS so you can play
with it. I have it working for the basic things, it just needs people
to bang on it and flesh it out a bit. The idea is that it supports
dynamic form panels like you are talking about without having to write
any HTML.
- Jonath
I'd try to wrap the List in a IModel (like overriding Model's
getObject and let it return the list you want every time), so you get
the pull behaviour. Don't know how you set ListView's model now
though, so you might be doing this the pull way allready.
Eelco
On 9/14/05, Nick Heudecker <[EMAIL P
Okay, the problem is when I'm creating a new Survey. New Surveys
don't have any SurveyElements so the ListView is empty. When I
try to add a Panel to the ListView using a Form Button, the ListView
doesn't update on the page. Here's how I'm trying to do it:
// "elements" is a ListView object ini
Thanks. I'll try to post this on the wiki.On 9/13/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
Exactly. You need to have the same id's for you listview elements (thepanels that is) of course, but in the panels, you can use any ids/
nesting you want. That's the fun in components and encapsulation
Exactly. You need to have the same id's for you listview elements (the
panels that is) of course, but in the panels, you can use any ids/
nesting you want. That's the fun in components and encapsulation.
Eelco
On 9/13/05, Nick Heudecker <[EMAIL PROTECTED]> wrote:
> Thanks. Let me expand on it t
Thanks. Let me expand on it to see if I understand.
I'd create a Panel for each SurveyElement type, adding them to the Form
as needed. And I'm assuming I can add Panels as ListItems?
Suppose I have a Survey with two TextFields. In the
TextFieldPanel the wicket:id would be something clever
Use Panels. By using panels, you can defer any concrete markup until
you actually need it.
Eelco
On 9/13/05, Nick Heudecker <[EMAIL PROTECTED]> wrote:
> First it was dynamic forwards; now the question is about dynamic form
> markup. It's like this...
>
> My users can define a Survey object t
First it was dynamic forwards; now the question is about dynamic form markup. It's like this...
My users can define a Survey object that has text fields, drop-downs,
radio buttons, etc. When I present the Survey to another user, I
need to render those objects in the markup. However, since there
Cool. I'll give this a try. For the first time, I find a framework
that provides me everything I need to make web development easier. Other
frameworks seem to solve only one part or another. Tapestry probably is
the only thing that fits the bill but it seems more complicated than Wicket.
I w
Yes this is possible. I know this has been asked before on the maillinglist.
The outline:
- use a listview to generate each field (iterating through the list of
input fields),
- if you need different types of input fields (checkboxes etc.) use a
panel for each type of editor
Markup:
form page:
Hi everyone,
I'm ex-WebWork user and currently takes over a Struts app
and am looking for something a little better than bother of
these framework. Wicket seems to be what I'm been looking for.
I need to be able to render form input fields based on a data model
(which is obtained from database)
Just use the Ognl backed PropertyModel for this, combined with either
your business objects (in fact any JavaBean you want) or e.g. a HashMap.
Eelco
Jonathan Carlson wrote:
I've been working on a dynamic form component (during my lunch hour so
the progress is a little slow).
I'm curious how th
I've been working on a dynamic form component (during my
lunch hour so the progress is a little slow).
I'm curious how the form values can be retrieved since they
are dynamic. The one form I've played with so far has had static form values which required compiled getters and setters.
Any
25 matches
Mail list logo