Working with dynamic forms

2009-07-17 Thread mathias-ewald
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 1.0.2, Maps and complex, dynamic forms

2008-09-05 Thread Stone, Timothy
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

Struts2 + Dynamic Forms + File Upload

2007-08-06 Thread rakeshxp
) 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

[S2] dynamic forms

2007-06-04 Thread Julien Leonard
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

RE: creating dynamic forms with struts

2006-05-02 Thread Shoukat, Faisal
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

creating dynamic forms with struts

2006-05-02 Thread Silvija Cardzic-Mrsa
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

Dynamic forms

2006-04-27 Thread Silvija Cardzic-Mrsa
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

Re: Struts + JavaScript = dynamic forms

2005-07-26 Thread BHansard
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

RE: Struts + JavaScript = dynamic forms

2005-07-26 Thread Mark Benussi
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

Struts + JavaScript = dynamic forms

2005-07-26 Thread Janek Ziniewicz
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

Re: Highly dynamic forms

2005-06-08 Thread gdeschen
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

Re: Highly dynamic forms

2005-06-08 Thread Stéphane Zuckerman
[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

Re: Highly dynamic forms

2005-06-07 Thread gdeschen
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

Re: Highly dynamic forms

2005-06-07 Thread Stéphane Zuckerman
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

Re: Highly dynamic forms

2005-06-07 Thread Martin Gainty
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

Highly dynamic forms

2005-06-07 Thread Stéphane Zuckerman
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

Re: LazyLists and dynamic forms

2005-04-12 Thread Stéphane Zuckerman
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

RE: LazyLists and dynamic forms

2005-04-09 Thread Richard Rozema
-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

Re: LazyLists and dynamic forms

2005-04-08 Thread Rick Reumann
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

RE: LazyLists and dynamic forms

2005-04-07 Thread Richard Rozema
-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

Re: LazyLists and dynamic forms

2005-04-07 Thread Rick Reumann
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

Re: LazyLists and dynamic forms

2005-04-07 Thread Rick Reumann
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

Re: LazyLists and dynamic forms

2005-04-07 Thread Niall Pemberton
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

LazyLists and dynamic forms

2005-04-07 Thread Richard Rozema
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

Re: LazyLists and dynamic forms

2005-04-07 Thread Stéphane Zuckerman
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

Re: LazyLists and dynamic forms

2005-04-07 Thread Rick Reumann
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

Re: LazyLists and dynamic forms

2005-04-07 Thread Niall Pemberton
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

LazyLists and dynamic forms

2005-04-07 Thread Stéphane Zuckerman
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

Re: very dynamic forms

2004-08-07 Thread Bryan Hunt
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

Re: very dynamic forms

2004-08-06 Thread Michael McGrady
; <[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

RE: Very Dynamic Forms

2004-08-06 Thread Richard Mixon (qwest)
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

Re: very dynamic forms

2004-08-06 Thread Dean A. Hoover
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 > > >

Re: very dynamic forms

2004-08-06 Thread Michael McGrady
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 > > > > &

Re: very dynamic forms

2004-08-06 Thread bryan
. > > > > > >Niall > > > > > >----- Original Message - > > >From: "Dean A. Hoover" <[EMAIL PROTECTED]> > > >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > > >Sent: Friday, August 06, 2004 4:49 P

Re: very dynamic forms

2004-08-06 Thread bryan
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

Re: very dynamic forms

2004-08-06 Thread Michael McGrady
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

Re: very dynamic forms

2004-08-06 Thread Michael McGrady
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]

Re: very dynamic forms

2004-08-06 Thread Michael McGrady
"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

Re: very dynamic forms

2004-08-06 Thread Michael McGrady
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

Re: very dynamic forms

2004-08-06 Thread Niall Pemberton
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

RE: very dynamic forms

2004-08-06 Thread Richard Mixon (qwest)
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

Re: very dynamic forms

2004-08-06 Thread Dean A. Hoover
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

Re: very dynamic forms

2004-08-06 Thread Niall Pemberton
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

Re: very dynamic forms

2004-08-06 Thread Dean A. Hoover
---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

RE: very dynamic forms

2004-08-06 Thread Kevin A. Palfreyman
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

Re: very dynamic forms

2004-08-06 Thread Dean A. Hoover
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

RE: very dynamic forms

2004-08-06 Thread Michael McGrady
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

RE: very dynamic forms

2004-08-06 Thread Matthew Van Horn
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

RE: very dynamic forms

2004-08-06 Thread Michael McGrady
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

Re: very dynamic forms

2004-08-05 Thread Navjot Singh
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

Re: very dynamic forms

2004-08-05 Thread Peng Tuck Kwok
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: > >

RE: very dynamic forms

2004-08-05 Thread Matthew Van Horn
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

Re: very dynamic forms

2004-08-05 Thread Michael McGrady
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

Re: very dynamic forms

2004-08-05 Thread Dean A. Hoover
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

Re: very dynamic forms

2004-08-05 Thread Dean A. Hoover
; <[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

Re: very dynamic forms

2004-08-05 Thread Niall Pemberton
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:

Re: very dynamic forms

2004-08-05 Thread Kishore Senji
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

Re: very dynamic forms

2004-08-05 Thread Dean A. Hoover
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

Re: very dynamic forms

2004-08-05 Thread Michael McGrady
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

very dynamic forms

2004-08-05 Thread Dean A. Hoover
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

Dynamic Forms

2004-07-26 Thread magic_mind2004
(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]

Re: dynamic forms

2004-06-29 Thread Bill Siggelkow
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 --

RE: dynamic forms

2004-06-29 Thread Matthias Wessendorf
[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

RE: dynamic forms

2004-06-29 Thread Matthias Wessendorf
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

dynamic forms

2004-06-29 Thread Xavier Noria
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