Dynamic form Generation using Struts FrameWork..............

2004-03-08 Thread Amol Yadwadkar
Hi All, I am a new Bie at Struts Application. I want to develop a dynmic form by using Struts Framework.How shall I proceed in that ? It will be always appericiable to put your valuable Suggestion to it. Thankx in advance best regds, Amol

Dynamic form, initial value for String[] property?

2004-01-27 Thread Wendy Smoak
I'm trying to use a String[] property and preselect the none option which corresponds to an empty String. If it were a simple string property, I could do: form-property name=account type=java.lang.String initial= / What do I put in the 'initial' attribute for this one? form-property

dynamic form

2004-01-16 Thread Otávio Augusto
Hi all I have a form which has as many fields as are informed in a previous form. For instance: form 1 asks the number of fields i want in form 2. After inputting that number, i go to form 2, and there I must find the number of fields (same fields, they are going to be indexed=true). What

RE: dynamic form

2004-01-16 Thread Trieu, Danny
it; not having it, to confess your ignorance. - Confucius (551-479 BC) -Original Message- From: Otávio Augusto [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 7:29 AM To: [EMAIL PROTECTED] Subject: dynamic form Hi all I have a form which has as many fields as are informed

Re: dynamic form

2004-01-16 Thread Otávio Augusto
it, to confess your ignorance. - Confucius (551-479 BC) -Original Message- From: Otávio Augusto [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 7:29 AM To: [EMAIL PROTECTED] Subject: dynamic form Hi all I have a form which has as many fields as are informed

Whats the best way to handle a dynamic form with lots of radio buttons

2004-01-07 Thread Murdo
Hi, I’m working on an online questionnaire and am fairly new to java web dev and struts. What I already have is a dynamically generated questionnaire that has topics, sub-topics then offers 5 choices to the user. The 5 options are a single radio group with the values 0-4  So my generated html

Re: Dynamic form property names

2003-12-30 Thread Paul-J Woodward
: Subject: Dynamic form property names 29/12/2003 19:55

Re: Dynamic form property names

2003-12-30 Thread Pedro Salgado
-j.woodward+exterTo: Struts Users Mailing List [EMAIL PROTECTED] [EMAIL PROTECTED] cc: Subject: Dynamic form property names 29/12/2003 19:55 Please

Re: Dynamic form property names

2003-12-30 Thread Paul-J Woodward
: Subject: Re: Dynamic form property names 30/12/2003 16:39

Dynamic form property names

2003-12-29 Thread Paul-J Woodward
Dear All, I have been struggling with this all day, It'll take a bit of background to explain what I am trying to do: I am creating an online wizard to populate templatised web pages, and hence create a dynamic struts/tiles-based site. Each template has various containers for content, each

Re: Dynamic form fields on ActionForm

2003-10-09 Thread Adam Hardy
I thought there was something slightly awry in your thinking. I guess that's where examples really do help. Good luck with it, Adam On 10/09/2003 03:15 AM Cornellious Mann wrote: Adam, I missed the point about adding the index to the input field name. I was simply naming the field the same

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Adam Hardy
in name or type. If the former, then it would be easy to make a form that defined them all, and to use logic tags to display the needed fields or not in JSP. Adam On 10/07/2003 09:48 PM Cornellious Mann wrote: I am wondering what is the best approach to handle dynamic form fields within

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Cornellious Mann
that defined them all, and to use logic tags to display the needed fields or not in JSP. Adam On 10/07/2003 09:48 PM Cornellious Mann wrote: I am wondering what is the best approach to handle dynamic form fields within an ActionForm. I have a JSP page that will display quantity

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Adam Hardy
or not in JSP. Adam On 10/07/2003 09:48 PM Cornellious Mann wrote: I am wondering what is the best approach to handle dynamic form fields within an ActionForm. I have a JSP page that will display quantity input fields for a dynamic list of products. I don't know how many products will be in the list

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Cornellious Mann
. Adam On 10/07/2003 09:48 PM Cornellious Mann wrote: I am wondering what is the best approach to handle dynamic form fields within an ActionForm. I have a JSP page that will display quantity input fields for a dynamic list of products. I don't know how many products

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Adam Hardy
all, and to use logic tags to display the needed fields or not in JSP. Adam On 10/07/2003 09:48 PM Cornellious Mann wrote: I am wondering what is the best approach to handle dynamic form fields within an ActionForm. I have a JSP page that will display quantity input fields for a dynamic

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Cornellious Mann
. If the former, then it would be easy to make a form that defined them all, and to use logic tags to display the needed fields or not in JSP. Adam On 10/07/2003 09:48 PM Cornellious Mann wrote: I am wondering what is the best approach to handle dynamic form fields

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Adam Hardy
, then it would be easy to make a form that defined them all, and to use logic tags to display the needed fields or not in JSP. Adam On 10/07/2003 09:48 PM Cornellious Mann wrote: I am wondering what is the best approach to handle dynamic form fields within an ActionForm. I have a JSP page

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Cornellious Mann
This worked. :) Do you know if the order is guaranteed? From my testing it looks like the values appear in the array in the same order the parameters in the URL line. --- Adam Hardy [EMAIL PROTECTED] wrote: Yes, but because they're indexed, you will see the result as an array. On

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Adam Hardy
They're indexed! 0 becomes 0, 1 becomes 1 etc., i.e. the order they went out with remains the same when they come back in. I think you must be missing the point here somewhere On 10/08/2003 10:34 PM Cornellious Mann wrote: This worked. :) Do you know if the order is guaranteed? From my

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Lynn Guy
I just did this, maybe an example will help Read the database and stuff the data into an arraylist. Stuff the arraylist into the form. Call the page and get something like this tr td class=datainput type=checkbox name=feelistinfo[0].associated value=Y checked=checked

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Cornellious Mann
I guess my question about order was more of HTML/submit question than a question about arrays. I just want to guarantee that the order of the values being sumitted stay in the order they are on the page. I was simply giving every input field the same name such as product and catching the values

Re: Dynamic form fields on ActionForm

2003-10-08 Thread Cornellious Mann
Adam, I missed the point about adding the index to the input field name. I was simply naming the field the same thing. It actually worked, but it worried me. Thansk for all of the help! :) --- Adam Hardy [EMAIL PROTECTED] wrote: They're indexed! 0 becomes 0, 1 becomes 1 etc., i.e. the

Dynamic form fields on ActionForm

2003-10-07 Thread Cornellious Mann
I am wondering what is the best approach to handle dynamic form fields within an ActionForm. I have a JSP page that will display quantity input fields for a dynamic list of products. I don't know how many products will be in the list until runtime. How can I set up my ActionForm to handle

Re: Dynamic form fields on ActionForm

2003-10-07 Thread Adam Hardy
or not in JSP. Adam On 10/07/2003 09:48 PM Cornellious Mann wrote: I am wondering what is the best approach to handle dynamic form fields within an ActionForm. I have a JSP page that will display quantity input fields for a dynamic list of products. I don't know how many products

Re: Dynamic form fields on ActionForm

2003-10-07 Thread Mark Lowe
() ); } ... This should help.. Cheers Mark On Tuesday, October 7, 2003, at 08:48 PM, Cornellious Mann wrote: I am wondering what is the best approach to handle dynamic form fields within an ActionForm. I have a JSP page that will display quantity input fields for a dynamic list of products. I

Re: Dynamic form fields on ActionForm

2003-10-07 Thread Cornellious Mann
fields or not in JSP. Adam On 10/07/2003 09:48 PM Cornellious Mann wrote: I am wondering what is the best approach to handle dynamic form fields within an ActionForm. I have a JSP page that will display quantity input fields for a dynamic list of products. I don't know how many

Dynamic Form help

2003-08-14 Thread David Erickson
I'm developing some administrative functions for our web app, currently im working on a page where it will list all the permissions available with a checkbox by each, and the ones the current user has will be checked. I'm trying to decide the best way to go about it, becaues the permissions are

Re: Dynamic Form help

2003-08-14 Thread David Erickson
Message - From: Mark Lowe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 12:54 PM Subject: Re: Dynamic Form help You use indexed property. html:text property=permission indexed=true / This stuff i quite well documented, what isn't well

Re: Dynamic Form help

2003-08-14 Thread Mark Lowe
You use indexed property. html:text property=permission indexed=true / This stuff i quite well documented, what isn't well documented is how to dynamically change the length of an indexed property. I've been using ArrayList for this.. form-property name=permission type=java.util.ArrayList /

Capturing Dynamic Form Elements

2003-07-23 Thread ganesh venkat
Hi all, I am struts newbie. I am stuck with a problem of capturing dynamically growing form elements. I have to know a way to capture recurring data in either DynaValidator or Form bean. My jsp can contain html elements say CoBorrower Information like CoBorrower Name, CoBorrower Address,

Dynamic Form Fields

2003-07-10 Thread Natalie D Rassmann
Hi, Currently, I have a DynaValidatorForm defined in my web app. Some of the properties of this form will be completely dynamic. I will read a database and retrieve an ArrayList. This ArrayList will contain the form field name, and form field value. How do this with a DynaValidatorForm? Can

RE: Dynamic Form Fields

2003-07-10 Thread Alex Shneyderman
Currently, I have a DynaValidatorForm defined in my web app. Some of the properties of this form will be completely dynamic. I will read a database and retrieve an ArrayList. This ArrayList will contain the If I understand you correctly for (Iterator iter = al.iterator (); iter.hasNext

iteration to create dynamic form

2003-06-26 Thread Piers Dunleavy
I have a logic:iterate tag which is supposed to create a dynamic form, filled with a checkbox for every object in a collection. (The checkbox is an option to delete one of those records from the database.) The form itself is a Map-Backed Action form with two methods (public void setValue(String

RE: iteration to create dynamic form

2003-06-26 Thread El Harouchi, Jaafar [IT]
form I have a logic:iterate tag which is supposed to create a dynamic form, filled with a checkbox for every object in a collection. (The checkbox is an option to delete one of those records from the database.) The form itself is a Map-Backed Action form with two methods (public void setValue

Re: iteration to create dynamic form.

2003-06-26 Thread Ajay Patil
a logic:iterate tag which is supposed to create a dynamic form, filled with a checkbox for every object in a collection. (The checkbox is an option to delete one of those records from the database.) The form itself is a Map-Backed Action form with two methods (public void setValue(String key

Easy way to deal with Dynamic Form elements

2003-06-13 Thread Giampiero De Ciantis
I have basically a shopping cart application and I am wondering what is the easiest way of updating the quantity of each item in the shopping cart. Populating the page with the list of cart items is easy. I have no clue how I will process the Dynamic form elements that represent the quantity

Re: Easy way to deal with Dynamic Form elements

2003-06-13 Thread Erik Price
Giampiero De Ciantis wrote: I have basically a shopping cart application and I am wondering what is the easiest way of updating the quantity of each item in the shopping cart. Populating the page with the list of cart items is easy. I have no clue how I will process the Dynamic form elements

RE: Easy way to deal with Dynamic Form elements

2003-06-13 Thread Giampiero De Ciantis
: June 13, 2003 2:58 PM To: Struts Users Mailing List Subject: Re: Easy way to deal with Dynamic Form elements Giampiero De Ciantis wrote: I have basically a shopping cart application and I am wondering what is the easiest way of updating the quantity of each item in the shopping cart

Re: Easy way to deal with Dynamic Form elements

2003-06-13 Thread Erik Price
Giampiero De Ciantis wrote: Sorry, I didn't explain myself. Basically the page that shows the cart contents will have an unknown number (Cardinality 0..*) of items listed. Beside each item there will be a text box where the user can input the quantity of the item that they want to order. When

Re: 'dynamic' form elements in a ActionForm

2003-03-18 Thread Ted Husted
to the 'dynamic' form question, you mentioned that: It's difficult to do this in the 1.0.x release, but simple as pie in the 1.1 beta and nightly build. What feature in 1.1 made it much simpler to do than in 1.0? I'm sorry to bother you with these questions. I'm quite new to Struts. If you can spare

Re: Dynamic form actions

2003-03-14 Thread Jose Gonzalez Gomez
Mark, Please, correct me if I'm wrong, but I think the action attribute in the html:form tag is a run time expression, so there's no need to extend the FormTag class in order to use a dynamic form action. Regards Jose Mark wrote: I just wanted to pass on a tidbit that might help

Re: Dynamic form actions

2003-03-14 Thread Mark
expression, so there's no need to extend the FormTag class in order to use a dynamic form action. Regards Jose Mark wrote: I just wanted to pass on a tidbit that might help one or two people out there. I have a search page that displays the results with checkboxes. There are two or three

Re: Dynamic form actions

2003-03-14 Thread Kris Schneider
: Mark, Please, correct me if I'm wrong, but I think the action attribute in the html:form tag is a run time expression, so there's no need to extend the FormTag class in order to use a dynamic form action. Regards Jose Mark wrote: I just wanted to pass on a tidbit

Re: Dynamic form actions

2003-03-14 Thread Mark
expression, so there's no need to extend the FormTag class in order to use a dynamic form action. Regards Jose Mark wrote: I just wanted to pass on a tidbit that might help one or two people out there. I have a search page that displays the results with checkboxes. There are two

Re: Dynamic form actions

2003-03-14 Thread Kris Schneider
in the html:form tag is a run time expression, so there's no need to extend the FormTag class in order to use a dynamic form action. Regards Jose Mark wrote: I just wanted to pass on a tidbit that might help one or two people out there. I have a search page that displays

Re: Dynamic form actions

2003-03-14 Thread Mark
me if I'm wrong, but I think the action attribute in the html:form tag is a run time expression, so there's no need to extend the FormTag class in order to use a dynamic form action. Regards Jose Mark wrote: I just wanted to pass on a tidbit that might help one or two

Dynamic form actions

2003-03-13 Thread Mark
I just wanted to pass on a tidbit that might help one or two people out there. I have a search page that displays the results with checkboxes. There are two or three different places that i use this same search page, so rather than writing or copying the search results jsp page to several

Re: Dynamic form actions

2003-03-13 Thread Richard Raquepo
We'll i kind of interested in trying your solution. Can you post some jsp codes in here. I think many people will appreciate it. Thanks. - Original Message - From: Mark [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 14, 2003 11:52 AM Subject: Dynamic form actions I just

Dynamic form value replacements???

2003-03-12 Thread Jason Long
I have a form that is dynamically created as a jsp in xml syntax. There are an arbitrary number of text fields that need to be validated. Could someone point me to an example of how to do this? I have no way of creating the set and get methods in the form class unless I dynamically create the

Re: Dynamic form value replacements???

2003-03-12 Thread Ian Hunter
Can you put them in an array? - Original Message - From: Jason Long [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 9:38 PM Subject: Dynamic form value replacements??? I have a form that is dynamically created as a jsp in xml syntax

RE: Dynamic form value replacements???

2003-03-12 Thread Jason Long
:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 8:43 PM To: Struts Users Mailing List Subject: Re: Dynamic form value replacements??? Can you put them in an array? - Original Message - From: Jason Long [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March

Does struts support validation for dynamic form?

2003-01-28 Thread K.Viswanathan
Hi , i have a requirement where user has to fill up some kind of questionaire form. Questions for a user depends on the type of a user. Questions are basically mutiple choice questions and the user can select the correct answer by selecting a radio button ( for each question there are five

Re: Need Dynamic Form Beans feature for Struts1.0.2

2003-01-15 Thread ashokd
Hi, By using 1.0.2 also we can use Dynamic Form. For this we need to add some .zar files. I expermented with 1.0.2 Thnaks Regards, Ashok.D - Original Message - From: Yuan, Saul (TOR-ML) [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, January 09, 2003 3

RE: Need Dynamic Form Beans feature for Struts1.0.2

2003-01-15 Thread Yuan, Saul (TOR-ML)
Can you give me more details, like what jar files, where to get them and how to use them etc... Thanks a lot, Saul -Original Message- From: ashokd [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 12:55 AM To: Struts Users Mailing List Subject: Re: Need Dynamic Form Beans

RE: Need Dynamic Form Beans feature for Struts1.0.2

2003-01-15 Thread Craig R. McClanahan
On Wed, 15 Jan 2003, Yuan, Saul (TOR-ML) wrote: Date: Wed, 15 Jan 2003 10:24:16 -0500 From: Yuan, Saul (TOR-ML) [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Need Dynamic Form Beans feature

RE: Need Dynamic Form Beans feature for Struts1.0.2

2003-01-15 Thread Yuan, Saul (TOR-ML)
Yes, I agree. I probably won't do a full DynamicActionForm re-implementation, but part of its functions. Basically we need to define all form fields in a XML file and create a dynamic form bean that'll work in Struts1.0.2 and better yet, with the Validator. I found the following link: http

Need Dynamic Form Beans feature for Struts1.0.2

2003-01-08 Thread Yuan, Saul (TOR-ML)
Hi, We really need the Dynamic Form Beans feature in Struts1.1, but we're stuck with Struts1.0.2, just wondering what's the best way to add that feature to Struts1.0.2? Or any existing samples out there? Thanks in advance, Saul

Re: Need Dynamic Form Beans feature for Struts1.0.2

2003-01-08 Thread Craig R. McClanahan
On Wed, 8 Jan 2003, Yuan, Saul (TOR-ML) wrote: Date: Wed, 8 Jan 2003 15:55:29 -0500 From: Yuan, Saul (TOR-ML) [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Need Dynamic Form Beans feature for Struts1.0.2 Hi, We really need

RE: Need Dynamic Form Beans feature for Struts1.0.2

2003-01-08 Thread Yuan, Saul (TOR-ML)
Thanks, Craig, I got to trust you :-) Saul -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 4:13 PM To: Struts Users Mailing List Subject: Re: Need Dynamic Form Beans feature for Struts1.0.2 On Wed, 8 Jan 2003, Yuan, Saul

Runtime dynamic form/jsp from XML

2002-11-21 Thread Andrew B Forman
project: create an xml-driven set of screens within the struts framework. concept: we're attempting to create a rapid-release framework for rolling out new products. the idea is to have a portion of the framework driven by xml. the xml would contain information on what fields to display to the

Re: Runtime dynamic form/jsp from XML

2002-11-21 Thread tnist
not force you to go the XML/XSL route, both technologies will work side by side. Regards, Todd G. Nist From: Andrew B Forman [EMAIL PROTECTED] Date: 2002/11/21 Thu AM 10:13:42 EST To: List - Struts-User [EMAIL PROTECTED] Subject: Runtime dynamic form/jsp from XML project: create an xml-driven

Assigning an object(FormFile) to a dynamic form.

2002-11-18 Thread Reza Aliakbari
Hi, I use dynamic forms in my projects; but this time I want to upload A file and when I use form-property name=myFile type=org.apache.struts.upload.FormFile / An error occurs that says that cannot assign String to FormFile. How can I use dynamic form with this kind of objects? Thanks, reza.

Re: Assigning an object(FormFile) to a dynamic form.

2002-11-18 Thread Martin Cooper
dynamic form with this kind of objects? FormFile is an interface, so it can't be instantiated. Try using DiskFile instead - it implements FormFile. -- Martin Cooper Thanks, reza. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

data not repopulated after validation using ActionForm for dynamic form fields

2002-11-15 Thread Vijay Balakrishnan
HI, I am trying to validate a fully dynamic form populated from the database.The validation works fine with an ActionForm with the following properties: private String[] fieldIdMemberIds; private String questionName; private HashMap hashMap = new HashMap(); The problem is repopulating

dynamic form field creation from Database with DynaFormBean

2002-11-14 Thread Vijay Balakrishnan
HI, I have the following DynaFormBean defined in tiles-def.xml: form-bean name=answerDetailsForm dynamic=true type=org.apache.struts.action.DynaActionForm form-property name=fieldIdMemberIds type=java.lang.String[] /

dynamic form field creation from Database with DynaFormBean

2002-11-14 Thread Vijay Balakrishnan
HI, I am not sure if this reached the list the first time round. I have the following DynaFormBean defined in tiles-def.xml: form-bean name=answerDetailsForm dynamic=true type=org.apache.struts.action.DynaActionForm form-property

Dynamic form and Upload

2002-11-01 Thread Mr Alireza Fattahi
Hi, I want to use struts dynamic form feature. There is form which has an upload file filed and some input text. I used below in struts_config.xml form-bean name=TenderVwcredForm dynamic=true type=org.apache.struts.validator.DynaValidatorForm form-property name=tenderTitle type

Re: Dynamic form and Upload

2002-11-01 Thread Craig R. McClanahan
On Sat, 2 Nov 2002, Mr Alireza Fattahi wrote: Date: Sat, 2 Nov 2002 05:21:12 + (GMT) From: Mr Alireza Fattahi [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Dynamic form and Upload Hi, I want to use struts dynamic form feature

Re: Dynamic form and Upload

2002-11-01 Thread Mr Alireza Fattahi
Thanks for your reply, I have seen the example and an work with it, But my problem is I can not do that in an dynamic form. How should I do it in dynamic form, and what should I put in struts.config.xml? As I told I got the class cast expetion. Thanks

Re: Populating dynamic form beans

2002-08-18 Thread Paul Finlay
Drew McAuliffe wrote: Is there a simple way to populate a dynamic form bean with an object whose properties match the names of the configured fields in the form? I have not seen any reply to this question and I have the same related issue. Scenario is as follows: The same DynaValidatorForm

Problem validating dynamic Form with Validator-Framework

2002-07-31 Thread Axel Stahlhut
Hi, I've gfot problems with the validation Framework. (Struts 1.1b) If i try to validate a DynaValidatorForm I get the following error: java.lang.NullPointerException at org.apache.struts.action.DynaActionForm.getDynaProperty(DynaActionForm.java:539) at

Re: Problem validating dynamic Form with Validator-Framework

2002-07-31 Thread struts-user
Depending on which version of Struts you are using, you might need to set the dynamic attribute to true like this: form-bean dynamic=true name=createStandortForm type=org.apache.struts.validator.DynaValidatorActionForm !-- Form Property stuff here -- /form-bean I can't remember off the

Re: Problem validating dynamic Form with Validator-Framework

2002-07-31 Thread Eddie Bush
That's it! It's got to be! Yes - you must always specify dynamic=true for these dynamic forms! :-) Bleh - please post things in a nicer format next time you have to post things. Some of us are spoiled to well-formatted configs and just can't read jumbled up messes very well. [EMAIL

Dynamic form construction

2002-06-27 Thread Rodrigo Paes
I have the following problem: I have two forms. The first form has a field which contains the numbers of itens desired for user. The second form will be constructed based on the numbers of itens entered in the first. In struts is very easy to write the first form bean, ie: FirstFormBean.java

Re: dynamic form properties

2002-06-25 Thread Zhihua Xu
: Thursday, June 06, 2002 5:58 AM Subject: RE: dynamic form properties What do you want to know? I use maps and collections in form beans now to capture multi-select list key-value pairs and checkbox array booleans, respectively. I think it would be a simple extrapolation to map key-values

RE: dynamic form properties

2002-06-25 Thread Galbreath, Mark
1. Declare the bean's scope as session as an attribute of the form-bean declaration in struts-config.xml and provide an empty reset() method in the bean class; 2. Use java scriplets (though I do not recommend this) as in % List myBean = (List) session.getAttribute( myBean); Iterator i =

Re: dynamic form properties

2002-06-11 Thread Daka
, Daka - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, June 06, 2002 5:58 AM Subject: RE: dynamic form properties What do you want to know? I use maps and collections in form beans now to capture multi

dynamic form properties

2002-06-06 Thread Yaman Kumar
Hi, I have a requirement to create (n number of)radio buttons dynamically.I would like to validate them at form, How would i do this as these are dynamic properties?. Like Administrator has got 3 options to choose against each student name, ex. in MVC it looks like % for (int

RE: dynamic form properties

2002-06-06 Thread Galbreath, Mark
What do you want to know? I use maps and collections in form beans now to capture multi-select list key-value pairs and checkbox array booleans, respectively. I think it would be a simple extrapolation to map key-values for an entire HTML form, permitting a single action form to capture states

dynamic form properties

2002-06-05 Thread Zhihua Xu
Hi, there, I have learned the following, In Struts 1.1 beta, a Map can be used instead of individual properties on an ActionForm. In the future, I foresee Struts developers using the same base ActionForm in all their projects, without going through the hassle of defining all these String

RE: dynamic form properties

2002-06-05 Thread James Mitchell
:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 2:10 AM To: [EMAIL PROTECTED] Subject: dynamic form properties Hi, there, I have learned the following, In Struts 1.1 beta, a Map can be used instead of individual properties on an ActionForm. In the future, I foresee Struts developers using

Dynamic form in struts 1.0.2

2002-05-27 Thread Andreas Guillemot
Hi I'm using Struts 1.0.2 and I've been struggling a while with a problem and I still don't know how to find a solution. I have a form filled from a database query. form Some text 1input type=hidden name=publication value=Some text 1input type=text name=ordervalue value=br Some text 2input

RE: dynamic form using nested:file?

2002-04-15 Thread Alex Paransky
://www.alexparansky.com Java/J2EE Architect/Consultant http://www.myprofiles.com/member/view.do?profileId=127 -Original Message- From: Elijah Jacobs [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 8:49 AM To: Struts Users Mailing List Subject: dynamic form using nested:file? hi all, I have

dynamic form using nested:file?

2002-04-14 Thread Elijah Jacobs
hi all, I have a form that can have N number of images. So in essence it's like the Monkey struts example by Arron Bates except where he has bananas, i have images. The problems is that I have to associate a FormFile for each image, since each image can be updated (hence an image upload is

dynamic form using nested:file?

2002-04-14 Thread Elijah Jacobs
hi all, (forgive me if this is a duplicate... server problems) I have a form that can have N number of images. So in essence it's like the Monkey struts example by Arron Bates except where he has bananas, i have images. The problems is that I have to associate a FormFile for each image, since

Re: dynamic form using nested:file?

2002-04-12 Thread Arron Bates
Elijah, Sorry about the lack of the tag. It's on its way. Pick it up in the next nightly build. Arron. Elijah Jacobs wrote: hi all, I have a form that can have N number of images. So in essence it's like the Monkey struts example by Arron Bates except where he has bananas, i have images.

dynamic form using nested:file?

2002-04-11 Thread Elijah Jacobs
hi all, I have a form that can have N number of images. So in essence it's like the Monkey struts example by Arron Bates except where he has bananas, i have images. The problems is that I have to associate a FormFile for each image, since each image can be updated (hence an image upload is

Nested Dynamic Form Question

2002-04-10 Thread Manie Coetzee
Hi I was wondering if one can nest Dynamic forms. If I have the following: form-bean name=subjectForm type=org.apache.struts.validator.DynaValidatorForm dynamic=true form-property name=id type=java.lang.int/ form-property name=description

Re: 'dynamic' form elements in a ActionForm

2002-03-22 Thread Ted Husted
/services Struts Newsgroup (@Basebeans.com) wrote: Subject: 'dynamic' form elements in a ActionForm From: Greg Tillbrook [EMAIL PROTECTED] === Hi Ive been tryig to use an ActionForm bean for a form which can have a variable number of form elements (as defined by a 'meta' configuration

'dynamic' form elements in a ActionForm

2002-03-20 Thread @Basebeans.com
Subject: 'dynamic' form elements in a ActionForm From: Greg Tillbrook [EMAIL PROTECTED] === Hi Ive been tryig to use an ActionForm bean for a form which can have a variable number of form elements (as defined by a 'meta' configuration file). Ive hit on the problem though that each parameter

Dynamic form fields

2002-02-22 Thread John Regan
I've searched the mail list and cannot find a clear answer to this one! Here is an example of what I need: A user enters the # of Travelers for their vacation in the first jsp of the sequence. In the second jsp I want to display an html:text input field for each traveler's age. what is the

collecting parameters from a dynamic form

2002-02-04 Thread Jeff Oberlander
I have a dynamic form that is built from an ArrayList of objects (see below (b) ). Building the form works great. I get multiple rows of widget names and values. However, I can't seem to collect the data in my Action. The HTML that is rendered just repeats the same named input fields (see

RE: collecting parameters from a dynamic form

2002-02-04 Thread Jeff Oberlander
parameters from a dynamic form Em Seg, 2002-02-04 às 14:11, Jeff Oberlander escreveu: request.getParameter(name)); request.getParameter(value)); works, but of course only returns one of the sets of data - the first in the form. Take a look at the HttpServletRequest API. If you need to get

Re: dynamic form action flow

2002-02-01 Thread Ted Husted
SavePhoneNumberAction.java -- editPhoneNumbers.do It may be that this is looking up the original phone number again. If so, this is also where the recyling message could be coming into it. Do you want to go back through the edit action, or straight to the display page? -- Ted Husted,

RE: dynamic form action flow

2002-02-01 Thread Jeff Oberlander
[mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 2:05 AM To: 'Struts Users Mailing List' Subject: RE: dynamic form action flow Hi Jeff, The struts-example.war app does just this, except it uses subscriptions instead of phone numbers. It's part of the struts download, under webapps. Jon

RE: dynamic form action flow

2002-02-01 Thread Jeff Oberlander
: Re: dynamic form action flow SavePhoneNumberAction.java -- editPhoneNumbers.do It may be that this is looking up the original phone number again. If so, this is also where the recyling message could be coming into it. Do you want to go back through the edit action, or straight

RE: dynamic form action flow

2002-02-01 Thread Jeff Oberlander
to the editPhoneNumbers.do action, directly re-display the jsp. -Original Message- From: Jeff Oberlander Sent: Friday, February 01, 2002 7:39 AM To: 'Struts Users Mailing List' Subject: RE: dynamic form action flow I've tried going straight to the display page and then I get the new, blank element

dynamic form action flow

2002-01-31 Thread Jeff Oberlander
Ok, I've wasted an embarrassing amount of time on this and would appreciate any help. Its night now and no progress has been made. This is another action flow question. Maybe there is a sample somewhere that does this? I apologize that this is long. I have an action form that contains an

RE: Dynamic Form Beans?

2001-09-06 Thread Tuscano, Stephen
Hi John, Are you able to slove this problem?if so, Can you help me out? Stephen. -Original Message- From: John Townsend [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 8:19 PM To: [EMAIL PROTECTED]; 'Luis Olivares' Subject: RE: Dynamic Form Beans? The one

  1   2   >