thias
--
View this message in context:
http://www.nabble.com/Working-with-dynamic-forms-tp24532787p24532787.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.or
Struts gurus
Help. But allow me to head off any discussion about Struts versions,
etc. It is suffice to say the following: http://struts.apache.org/1.0.2/
is bookmarked by every developer on the team and the application is one
that is highly active and used by millions of users. Upgrading the JAR
)
at
com.opensymphony.xwork2.util.XWorkMethodAccessor.callMethod(XWorkMethodAccessor.java:61)
Could any one suggest a solution to my problem ?
--
View this message in context:
http://www.nabble.com/Struts2-%2B-Dynamic-Forms-%2B-File-Upload-tf4226132.html#a12022372
Sent from the Struts - User
Hello all
I have a Jsp which in there is a form with a list of elements.
If we click on a element of the list, another list is deployed (in ajax)
with checkboxes.
If I submit the form, the values in the checkbox added by ajax, aren't send
with the form.
How can I resolve this?
Julien
U want to use Map or List backed action forms
Look it up on the web in the struts doc for an example
-Original Message-
From: Silvija Cardzic-Mrsa [mailto:[EMAIL PROTECTED]
Sent: 02 May 2006 09:33
To: user@struts.apache.org
Subject: creating dynamic forms with struts
Hi,
is it
Hi,
is it possible to create dynmic forms with struts ? Order of pages, the
actions and
form fields will be generated from datasources.
I read about DynaActionForms, but Im not sure if this is the right thing.
Greetings Silvija
Hi,
I want to make fully dynamic forms with Struts. The form fields will be
generated out of datasources. Is this possible with Struts
and what technics do you recommend ?
Thanks for your help
Greetings
Silvija
struts.apache.org
cc
Subject
Struts + _javascript_ = dynamic forms
I d like to write a form with, say, 3 dropboxes. Choosing an option in
1. box changes list of available options in other 2 boxes.
[Eg. box #1 can store list of countries and box #2 list of cities in
chosen country, or al
Have a look at the Javascript HTTPXMLRequest. Its called AJAX. There is some
resources on the stuts wiki page http://wiki.apache.org/struts/AjaxStruts
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
I d like to write a form with, say, 3 dropboxes. Choosing an option in
1. box changes list of available options in other 2 boxes.
[Eg. box #1 can store list of countries and box #2 list of cities in
chosen country, or all cities if no country is chosen.]
It can be done with JavaScript. However, I
back.
- Glenn
Stéphane Zuckerman <[EMAIL PROTECTED]>
08/06/2005 12:09 PM
Please respond to
"Struts Users Mailing List"
To
Struts Users Mailing List
cc
Subject
Re: Highly dynamic forms
[EMAIL PROTECTED] a écrit :
> http://wiki.apache.org/struts/StrutsCatalogLaz
[EMAIL PROTECTED] a écrit :
http://wiki.apache.org/struts/StrutsCatalogLazyList
Look at the section: Hand Cranking lazy List in the ActionForm.
This is possible with the version you are currently using.
Actually, the LazyValidatorForm class only exists since struts 1.2.6,
that is why I was ask
ailing List"
To
Struts Users Mailing List
cc
Subject
Re: Highly dynamic forms
Martin Gainty a écrit :
> Stephane
> Did you look at LazyList?
> http://wiki.apache.org/struts/StrutsCatalogLazyList
I did, and that's why I asked if there was a solution without using a
ver
Martin Gainty a écrit :
Stephane
Did you look at LazyList?
http://wiki.apache.org/struts/StrutsCatalogLazyList
I did, and that's why I asked if there was a solution without using a
version of struts > 1.2.4 . :-) I don't think my colleagues would like
it if I were to change the version of th
Stephane
Did you look at LazyList?
http://wiki.apache.org/struts/StrutsCatalogLazyList
Martin-
- Original Message -
From: "Stéphane Zuckerman" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, June 07, 2005 9:53 AM
Subject: Highly dynamic f
Hello,
Here's the question for the short version (below you'll find some
lengthier explanations ...) :
I'd like to render a list of groups of radio buttons. Said list has a
variable length. So my data structure looks like :
[ [radio1,radio2,radio3], [radio1,radio2,radio3,radio4], ...]
I am
Hello, and sorry for the late answer...
Niall Pemberton a écrit :
What you have looks OK to me - except in the Action the reference to
DynaValidatorForm - looks like your referencing the wrong class to me -
You're right, I just mistyped it, but it is a BeanValidatorForm.
the
actual ActionForm flav
-Oorspronkelijk bericht-
Van: Rick Reumann [mailto:[EMAIL PROTECTED]
Verzonden: vrijdag 8 april 2005 16:04
Aan: Struts Users Mailing List
Onderwerp: Re: LazyLists and dynamic forms
> Sorry, I should have been more clear, I've been using the nested tag so
> long I forgot that f
Richard Rozema wrote the following on 4/7/2005 5:57 PM:
I'm pretty new on struts programming and I've read to avoid using session.
The only real reason I see not to use session is that if I stick 2 instances
of my search tile in the same page (and I will do so), they will share the
same property na
-Oorspronkelijk bericht-
Van: Rick Reumann [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 7 april 2005 22:50
Aan: Struts Users Mailing List
Onderwerp: Re: LazyLists and dynamic forms
The code posted was an attempt to help Stephane fix his problems. Your
comments are still very much
Rick Reumann wrote the following on 4/7/2005 4:50 PM:
I also don't see what you are trying to do here...
values is an Object[] (which I also don't think will play well with
BeanUtils - I'd use List). How do you plan on entering in a String,
which is what input type='text' will do and have it pop
Richard Rozema wrote the following on 4/7/2005 4:20 PM:
Stephane,
The problem I am now facing is that for this instance of the searchForm to
still exist
later on in the both .jsp's and the ListAction, the form needs to be stored
into session
scope. If I don't store it there, a new instance will be
What you have looks OK to me - except in the Action the reference to
DynaValidatorForm - looks like your referencing the wrong class to me - the
actual ActionForm flavour should be a BeanValidatorForm - but IMO its better
to just cast it to a DynaBean, then your not fixed on an implementation.
Som
ance will be created upon every
call and I
will be given an empty List for criteria every time. However, since I want
to make the
pages into a tile I don't want the searchForm to go into session scope.
I hope this does help you, Stephane. And of course, any suggestions are
welcome (from anyone).
Richard
Niall Pemberton a écrit :
Its hard to help when all you say is "failed to make their examples work".
Posting snippets of relevant bits of your struts-config.xml, jsp etc would
help along with what actually happened.
Sorry for the lack of details, I know I was really too vague.
I am using Struts 1.2
Stéphane, you got Niall's attention and he is THE MAN, when it comes to
this. So don't blow it! he he. Yes, give some specific examples of what
you are trying to accomplish (also give some explanation of the business
requirement - often times we assume things need to be done a certain way
when
Its hard to help when all you say is "failed to make their examples work".
Posting snippets of relevant bits of your struts-config.xml, jsp etc would
help along with what actually happened.
Niall
- Original Message -
From: "Stéphane Zuckerman" <[EMAIL PROTECTED]>
Sent: Thursday, April 07
Hello,
I've read carefully the Struts' wiki page regarding indexed properties
and how to deal with them... but I failed to make their examples work
with LazyDynaBeans ...
Could someone put me back on track please ? I've managed to use
LazyLists in classical ActionForms, and if there is no other
Message -
> >From: "Dean A. Hoover" <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >Sent: Friday, August 06, 2004 4:49 PM
> >Subject: Re: very dynamic forms
> >
> >
> > > Thanks. I am looking a
; <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >Sent: Friday, August 06, 2004 4:49 PM
> >Subject: Re: very dynamic forms
> >
> >
> > > Thanks. I am looking at Niall's Lazy stuff, but I li
Michael,
I've enclosed excerpts form my ActionForm, Action and JSP - hope the
following helps. The excerpts are from my actual source (had to change
name in some cases), but I cannot send the entire source.
BTW, when I looked I used an array for the field/column names and a map
for the selection
ones that make this a good upgrade. > > > > > >Niall > > >
> > >- Original Message - > > >From: "Dean A. Hoover" > >
>To: "Struts Users Mailing List" > > >Sent: Friday, August 06, 2004
4:49 PM > > >
t; > >Niall > > > > > >- Original Message
- > > >From: "Dean A. Hoover" > > >To: "Struts Users Mailing
List" > > >Sent: Friday, August 06, 2004 4:49 PM > > >Subject: Re: very
dynamic forms > > > > &
.
> > >
> > >Niall
> > >
> > >----- Original Message -
> > >From: "Dean A. Hoover" <[EMAIL PROTECTED]>
> > >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > >Sent: Friday, August 06, 2004 4:49 P
7;t lots of big "killer"
> >features - there are IMO lots of little ones that make this a good upgrade.
> >
> >Niall
> >
> >- Original Message -
> >From: "Dean A. Hoover" <[EMAIL PROTECTED]>
> >To: "Struts Users
At 07:46 AM 8/6/2004, you wrote:
What I need to do is construct a form that has a
variety of text input forms on it that are determined
at run-time. I know how to do this in jsp but I need
to provide an ActionForm that conforms to that form.
I got several useful replies last night and am
investigat
At 11:54 AM 8/6/2004, you wrote:
How do map based forms farm the values from the request?
I know, by the bye, about etc.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
"Dean A. Hoover" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, August 06, 2004 4:49 PM
Subject: Re: very dynamic forms
> Thanks. I am looking at Niall's Lazy stuff, but I like your idea.
> I will add it to my list of
At 07:46 AM 8/6/2004, you wrote:
What I need to do is construct a form that has a
variety of text input forms on it that are determined
at run-time. I know how to do this in jsp but I need
to provide an ActionForm that conforms to that form.
I got several useful replies last night and am
investigat
Object bean = TagUtils.getInstance().lookup(pageContext, name, null);
Niall
- Original Message -
From: "Dean A. Hoover" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, August 06, 2004 5:34 PM
Subject: Re: very dyn
Struts Users Mailing List
> Subject: Re: very dynamic forms
>
>
> What I need to do is construct a form that has a
> variety of text input forms on it that are determined
> at run-time. I know how to do this in jsp but I need
> to provide an ActionForm that conforms to that for
grade.
Niall
- Original Message -
From: "Dean A. Hoover" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, August 06, 2004 4:49 PM
Subject: Re: very dynamic forms
Thanks. I am looking at Niall's Lazy stu
st" <[EMAIL PROTECTED]>
Sent: Friday, August 06, 2004 4:49 PM
Subject: Re: very dynamic forms
> Thanks. I am looking at Niall's Lazy stuff, but I like your idea.
> I will add it to my list of investigations and experiments. I've
> written quite a bit to struts 1.1
---Original Message-
From: Dean A. Hoover [mailto:[EMAIL PROTECTED]
Sent: 06 August 2004 15:47
To: Struts Users Mailing List
Subject: Re: very dynamic forms
What I need to do is construct a form that has a variety of
text input forms on it that are determined at run-time. I
know how to do t
a look to see if that
would fit.
Good luck,
Kev
> -Original Message-
> From: Dean A. Hoover [mailto:[EMAIL PROTECTED]
> Sent: 06 August 2004 15:47
> To: Struts Users Mailing List
> Subject: Re: very dynamic forms
>
> What I need to do is construct a for
What I need to do is construct a form that has a
variety of text input forms on it that are determined
at run-time. I know how to do this in jsp but I need
to provide an ActionForm that conforms to that form.
I got several useful replies last night and am
investigating them.
Dean
Michael McGrady wr
That makes sense, but his other comments seem to negate that. He says,
e.g., that "[w]hat would come out of the query would be label, form
position, variable name,etc, etc.". These are things that are on the page
form, not on some dynamic class handling the form. He specifically rejects
dyna
maybe it's just me - I'm used to wondering about what (weird stuff)
I can do in Struts.
> -Original Message-
> From: Michael McGrady [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 06, 2004 5:12 PM
> To: Struts Users Mailing List
> Subject: RE: very dynamic form
figuration file?
> -Original Message-
> From: Michael McGrady [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 06, 2004 1:29 PM
> To: Struts Users Mailing List
> Subject: Re: very dynamic forms
>
>
> What is your question?
>
> At 05:17 PM 8/5/2004, you wrote:
> >Sorry
ailing List
Subject: Re: very dynamic forms
What is your question?
At 05:17 PM 8/5/2004, you wrote:
Sorry, I thought I stated it plainly. Forget about tiles.
I think what I need is Map Backed Action Forms, but am
not sure where to look for an example. DynaActionForms
look like classes that are
gt; > From: Michael McGrady [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 06, 2004 1:29 PM
> > To: Struts Users Mailing List
> > Subject: Re: very dynamic forms
> >
> >
> > What is your question?
> >
> > At 05:17 PM 8/5/2004, you wrote:
> >
Mailing List
> Subject: Re: very dynamic forms
>
>
> What is your question?
>
> At 05:17 PM 8/5/2004, you wrote:
> >Sorry, I thought I stated it plainly. Forget about tiles.
> >I think what I need is Map Backed Action Forms, but am
> >not sure where to look for
What is your question?
At 05:17 PM 8/5/2004, you wrote:
Sorry, I thought I stated it plainly. Forget about tiles.
I think what I need is Map Backed Action Forms, but am
not sure where to look for an example. DynaActionForms
look like classes that are just built dynamically according
to struts confi
nt: Friday, August 06, 2004 1:17 AM
Subject: Re: very dynamic forms
Sorry, I thought I stated it plainly. Forget about tiles.
I think what I need is Map Backed Action Forms, but am
not sure where to look for an example. DynaActionForms
look like classes that are just built dynamically according
t
; <[EMAIL PROTECTED]>
Sent: Friday, August 06, 2004 1:17 AM
Subject: Re: very dynamic forms
Sorry, I thought I stated it plainly. Forget about tiles.
I think what I need is Map Backed Action Forms, but am
not sure where to look for an example. DynaActionForms
look like classes that are jus
How about Lazy DynaBeans:
http://www.niallp.pwp.blueyonder.co.uk/#lazydynabean
Niall
- Original Message -
From: "Dean A. Hoover" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, August 06, 2004 1:17 AM
Subject: Re:
See section 4.3.2 in
http://struts.apache.org/userGuide/building_controller.html
Thanks,
Kishore Senji.
On Thu, 05 Aug 2004 20:17:17 -0400, Dean A. Hoover
<[EMAIL PROTECTED]> wrote:
> Sorry, I thought I stated it plainly. Forget about tiles.
> I think what I need is Map Backed Action Forms, but
Sorry, I thought I stated it plainly. Forget about tiles.
I think what I need is Map Backed Action Forms, but am
not sure where to look for an example. DynaActionForms
look like classes that are just built dynamically according
to struts config. I want to build one on-the-fly according to
"configur
I cannot quite tell what your "problem" or "question" is, Dean Hoover. I
don't see, further, what "struts/tiles" has to do with building a dynamic
form. You have a form in a file and that form may be constructed
dynamically. This is irrelevant to the tiles aspect of struts. What are
you rea
Suppose I want to construct a form based
on a query to a database. What would come
out of the query would be label, form position,
variable name, etc, etc. What would be the
recommended way of building this under
struts/tiles? I've been working with struts/tiles
for a while now and this is the firs
(new ActionForward(mapping.getInput());
my jsp have problems with the
Cannot find bean under 1_valores
somebody have an example to dynamic forms?
thank's in advance
Edgar Aburto
Mexico, City
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You could try Nialls Pemberton's LazyActionForm ...
http://www.niallp.pwp.blueyonder.co.uk/
Xavier Noria wrote:
We have some forms whose fields are unknown until runtime. How would you
implement them so that they worked within the framework smoothly?
-- fxn
--
[EMAIL PROTECTED]
> Sent: Tuesday, June 29, 2004 12:09 PM
> To: [EMAIL PROTECTED]
> Subject: dynamic forms
>
>
> We have some forms whose fields are unknown until runtime. How would
> you implement them so that they worked withi
Xavier,
did you looked at:
http://wiki.apache.org/struts/StrutsCatalogMappedBeans
all properties are stored in a map.
cheers,
> -Original Message-
> From: Xavier Noria [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 29, 2004 12:09 PM
> To: [EMAIL PROTECTED]
> Subject
We have some forms whose fields are unknown until runtime. How would
you implement them so that they worked within the framework smoothly?
-- fxn
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
65 matches
Mail list logo