Re: Hard limit of number of form elements submitted to an action?

2021-01-20 Thread Lukasz Lenart
wt., 19 sty 2021 o 17:34 Nikolay Ivanchev napisał(a): > > Hi All > > Is there a hard limit of elements in a form when processed by Struts2 > We have a form with 11000 chekcboxes and when we submit it, only 5000 > checkboxes are sbumitted > > Is this a configurable parameter? If you missed the an

Hard limit of number of form elements submitted to an action?

2021-01-19 Thread Nikolay Ivanchev
Hi All Is there a hard limit of elements in a form when processed by Struts2 We have a form with 11000 chekcboxes and when we submit it, only 5000 checkboxes are sbumitted Is this a configurable parameter? Thanks - To unsubscri

Re: Hard limit of number of form elements submitted to an action?

2021-01-19 Thread Lukasz Lenart
Please use user@ mailing list wt., 19 sty 2021 o 16:51 Nikolay Ivanchev napisał(a): > Is there a hard limit of elements in a form when processed by Struts2 > We have a form with 11000 chekcboxes and when we submit it, only 5000 > checkboxes are sbumitted > > Is this a configurable parameter? Co

Re: Creating struts2 form elements dynamically

2008-12-04 Thread shekher awasthi
hu, Dec 4, 2008 at 10:09 PM, Dave Newton <[EMAIL PROTECTED]>wrote: > >> Just duplicate what the S2 tags would emit--I think that'd be the easiest. >> >> Dave >> >> >> --- On Thu, 12/4/08, shekher awasthi <[EMAIL PROTECTED]> wrote: >> >>

Re: Creating struts2 form elements dynamically

2008-12-04 Thread shekher awasthi
nk that'd be the easiest. > > Dave > > > --- On Thu, 12/4/08, shekher awasthi <[EMAIL PROTECTED]> wrote: > > > From: shekher awasthi <[EMAIL PROTECTED]> > > Subject: Creating struts2 form elements dynamically > > To: user@struts.apache.org > &g

Re: Creating struts2 form elements dynamically

2008-12-04 Thread Dave Newton
Just duplicate what the S2 tags would emit--I think that'd be the easiest. Dave --- On Thu, 12/4/08, shekher awasthi <[EMAIL PROTECTED]> wrote: > From: shekher awasthi <[EMAIL PROTECTED]> > Subject: Creating struts2 form elements dynamically > To: user@struts.a

Creating struts2 form elements dynamically

2008-12-04 Thread shekher awasthi
Hi All, I need to create rows of struts2 form elements in my jsp on onclick event of a button. Whenever user clicks on the button, a new row of input types struts2 form elements should be created dynamically. I know creating simple html form elements using javascript but dont know how to do same

Re: Advice on dynamic form elements

2008-04-14 Thread Rene Gielen
;> > tags to render the HTML. >> >> If you can express what you want to do in a JSP, it should be trivial to >> do it in a .tag file, which would give you the more concise usage. >> Otherwise, a custom tag may be worth it. >> >> L. >> >> >

Re: Advice on dynamic form elements

2008-04-10 Thread Zoran Avtarovski
Thanks Laurie, I actually thought of a tag file but thought it might be the lazy way out. We actually use them extensively for dropping in html components. I feel a lot better now. Thanks Z. > > Zoran Avtarovski wrote: >> > Hi, >> > >> > We porting/upgrading a relatively simple survey tool ov

Re: Advice on dynamic form elements

2008-04-10 Thread Laurie Harper
Zoran Avtarovski wrote: Hi, We porting/upgrading a relatively simple survey tool over to struts2 from an old php version. The tool manages questions which can one of a fixed type (radio, drop, checkbox, text) and then persists responses to DB. Where I need some advice is how to implement the st

Advice on dynamic form elements

2008-04-10 Thread Zoran Avtarovski
Hi, We porting/upgrading a relatively simple survey tool over to struts2 from an old php version. The tool manages questions which can one of a fixed type (radio, drop, checkbox, text) and then persists responses to DB. Where I need some advice is how to implement the struts 2 display mechanism.

Re: [S2] dynamic validation.xml file iterating of form elements

2007-09-21 Thread Don Brown
I think this would make a good jira ticket, if you can clearly describe what functionality you'd like. Even better, write a patch and it'll have a much higher chance of getting implemented ;) Don On 9/22/07, Gabriel Belingueres <[EMAIL PROTECTED]> wrote: > Hi, > > Quite a few days ago I posted t

Re: [S2] dynamic validation.xml file iterating of form elements

2007-09-21 Thread Gabriel Belingueres
Hi, Quite a few days ago I posted this question and nobody answered. I guess this is something we cannot currently do right now with v2.0.9? Should I post it in JIRA as an improvement for future versions? Does even anybody think it would be useful to have validation defined on multiple similar f

[S2] dynamic validation.xml file iterating of form elements

2007-09-07 Thread Gabriel Belingueres
Hi, Looking at the example of making a form using an indexed list in the following URL: http://struts.apache.org/2.0.9/docs/type-conversion.html Take for example a form with the following fields:

Variable Form Elements, Dynamically Generated Forms

2007-05-24 Thread Henry F. Camacho Jr.
I am trying to work out the best way use dynamically generated forms in Struts. The application I am developing is going to allow the user to select from a database a list of fields that should be active on a form. This list will be modified within the database, and so I am thinking that Dyna

Re: OOM Error (Java heap space) from 1800+ form elements, am I doing something wrong?

2007-05-22 Thread Lance
Java heap size) If using jboss, you will need to edit run.bat (PC) or run.conf (unix) eg set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m Forsberg, Mike wrote: A form of approximately 1800 form elements is causing "java.lang.OutOfMemoryError: Java heap space". When 1000 form elements are

OOM Error (Java heap space) from 1800+ form elements, am I doing something wrong?

2007-05-22 Thread Forsberg, Mike
A form of approximately 1800 form elements is causing "java.lang.OutOfMemoryError: Java heap space". When 1000 form elements are used, no such error. The environment: - JBoss 4.0.5 - Struts 1.1 - A jsp page using struts tags to start and end the form block. Then insidethe form, xslt

RE: OOM Error (Java heap space) from 1800+ form elements, am I doing something wrong?

2007-05-21 Thread Forsberg, Mike
g Subject: OOM Error (Java heap space) from 1800+ form elements, am I doing something wrong? A form of approximately 1800 form elements is causing "java.lang.OutOfMemoryError: Java heap space". When 1000 form elements are used, no such error. The environment: - JBoss 4.0.5 - Struts 1.

Re: OOM Error (Java heap space) from 1800+ form elements, am I doing something wrong?

2007-05-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike, Forsberg, Mike wrote: > A form of approximately 1800 form elements is causing > "java.lang.OutOfMemoryError: Java heap space". When 1000 form elements > are used, no such error. > > [Am I doing something wrong?] Yes

OOM Error (Java heap space) from 1800+ form elements, am I doing something wrong?

2007-05-18 Thread Forsberg, Mike
A form of approximately 1800 form elements is causing "java.lang.OutOfMemoryError: Java heap space". When 1000 form elements are used, no such error. The environment: - JBoss 4.0.5 - Struts 1.1 - A jsp page using struts tags to start and end the form block. Then inside the form, xs

Re: How to create Dynamic Form elements using Struts ?

2006-01-16 Thread Laurie Harper
Amol Yadwadkar wrote: Hi List, Can anyone let me know the way to create the dynamic form elements in the Struts Page? I mean I want to add the selectboxes/textboxes etc on the click of the link. You mean you want to add the form elements dynamically on the client side using Javascript (i.e

How to create Dynamic Form elements using Struts ?

2006-01-15 Thread Amol Yadwadkar
Hi List, Can anyone let me know the way to create the dynamic form elements in the Struts Page? I mean I want to add the selectboxes/textboxes etc on the click of the link. Thanks in advance Amol

Re: To check whether jsp form elements have changed

2005-12-21 Thread Frank W. Zammetti
page with 3 tabs. If user goes to any of the pages, and does not alter the value he entered before, I should not submit the form. How can I check whether jsp form elements have changed or not?. Thanks, Sandy Kumar -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Techno

To check whether jsp form elements have changed

2005-12-21 Thread Kumar, Sandy
All, I have a page with 3 tabs. If user goes to any of the pages, and does not alter the value he entered before, I should not submit the form. How can I check whether jsp form elements have changed or not?. Thanks, Sandy Kumar

Re: logic tag - to check form elements

2005-09-28 Thread Murray Collingwood
Hi Raghu What's the name of the form bean? Let's assume it's "myformbean" for the example: ... Use the 'name' parameter to reference the form bean name. Use the 'property' parameter to reference the property. Note, you will be testing the value in the form- bean, not the value in the h

Re: logic tag - to check form elements

2005-09-28 Thread Michael Jouravlev
On 9/28/05, Raghu Kanchustambham <[EMAIL PROTECTED]> wrote: > I have a hidden html varibale called operation. > This defines a field in an HTML form, server knows nothing about it. > Now I want to conditionally display some buttons based on the value of > this hidden field. I am trying somet

logic tag - to check form elements

2005-09-28 Thread Raghu Kanchustambham
I have a hidden html varibale called operation. Now I want to conditionally display some buttons based on the value of this hidden field. I am trying something like this... # display update related buttons This doesnt seem to work. What am I doing wrong? I know that if 'operation' was a

Re: form elements

2005-07-12 Thread Wendy Smoak
From: "syed abrar" <[EMAIL PROTECTED]> > I have a problem .I have a form containing multiple elements like check boxes,radio buttons,text boxes. > The type of element is not fixed and is picked from the the database and displayed in the form. > I mananged to display all

Re: form elements

2005-07-12 Thread Vijay K Anand
syed abrar wrote: Hello all I have a problem .I have a form containing multiple elements like check boxes,radio buttons,text boxes.The type of element is not fixed and is picked from the the database and displayed in the form. I mananged to display all the form elements but

form elements

2005-07-12 Thread syed abrar
Hello all I have a problem .I have a form containing multiple elements like check boxes,radio buttons,text boxes.The type of element is not fixed and is picked from the the database and displayed in the form. I mananged to display all the form elements but my problem is

How to handle "visibility" of form elements

2005-04-28 Thread Horacio de Oro
Hi all! We are using Struts for the view in a "intranet" application. After one year of developing the application, we need to improve the way we do the JSPs, since we put many many scriptlet in the JSPs to check whenever we should show the attributes, and when these attributes shoud be read-on

How to handle "visibility" of form elements

2005-04-26 Thread Horacio de Oro
Hi all! We are using Struts for the view in a "intranet" application. After one year of developing the application, we need to improve the way we do the JSPs, since we put many many scriptlet in the JSPs to check whenever we should show the attributes, and when these attributes shoud be read-on

Re: Prepopulating Form elements in ActionForms

2005-03-10 Thread Wendy Smoak
From: "Greg Pelly" <[EMAIL PROTECTED]> > I am having trouble with the ActionForm reset() method. I am using the > method to handle prepopulating form values. The reset method gets called every time the form is populated from the request params. You typically only want to prepopulate a form once,

Prepopulating Form elements in ActionForms

2005-03-10 Thread Greg Pelly
t;foo" was prepopulated, the user erases that value and submits, the form prepopulates it again with "foo" (bad!) and passes control to the action. I also want to make sure that if the form elements have been incorrectly populated, when the form returns to the JSP, it has not cl

RE: No form elements in the jsp- ActionForm

2005-02-07 Thread Sab
Smoak [mailto:[EMAIL PROTECTED] Sent: Saturday, February 05, 2005 8:56 PM To: Struts Users Mailing List Subject: Re: No form elements in the jsp- ActionForm From: "Sab" <[EMAIL PROTECTED]> >I will have a jsp page which will get some results from database as a >list. But

Re: No form elements in the jsp- ActionForm

2005-02-05 Thread Wendy Smoak
From: "Sab" <[EMAIL PROTECTED]> I will have a jsp page which will get some results from database as a list. But now at present, I have a button which is on this button. I would like to know what will the ActionForm subclass will be? I wrote jsp, Actionclass which takes the hidden name of event when

No form elements in the jsp- ActionForm

2005-02-05 Thread Sab
I will have a jsp page which will get some results from database as a list. But now at present, I have a button which is on this button. I would like to know what will the ActionForm subclass will be? I wrote jsp, Actionclass which takes the hidden name of event when button is passed and in acti

RE: Multiple form elements

2004-12-15 Thread McDonnell, Colm (MLIM)
: 'Struts Users Mailing List' Subject: Multiple form elements Hi, I have an JSP/Beans application which I am migrating to Struts and have come across an interesting problem. My application generates a list of form elements to a JSP (which correspond to an ArrayList of obje

Re: Multiple form elements

2004-12-15 Thread Wendy Smoak
From: "Turley, Michael" <[EMAIL PROTECTED]> > I am looking for a more graceful strategy than creating an > ActionForm with an arbitrary amount of getAccount_/setAccount_ methods > to retrieve and act on user submitted data. Any ideas? I have a page that displays all the accounts that a user is all

RE: Multiple form elements

2004-12-15 Thread Jim Barrows
> -Original Message- > From: Turley, Michael [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 15, 2004 10:25 AM > To: 'Struts Users Mailing List' > Subject: Multiple form elements > > > Hi, > > I have an JSP/Beans application whic

Multiple form elements

2004-12-15 Thread Turley, Michael
Hi, I have an JSP/Beans application which I am migrating to Struts and have come across an interesting problem. My application generates a list of form elements to a JSP (which correspond to an ArrayList of objects) of an arbitrary size (fed from a datastore) of the form account_1

[URGENT] Dynamic form elements generation with struts ...

2004-05-20 Thread Ding Lei
Hello folks, I am working on a User Permission Management form, each permission record composed of operation type, target type and target ID. When editing a user's permission, it should able to let the user add unlimited count of new permissions and also edit original one

Re: getting non-struts form elements

2004-05-17 Thread Matt Bathje
to be able to read both string and file form field types. Thanks, Matt - Original Message - From: "Avinash Gangadharan" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, May 14, 2004 5:08 PM Subject: RE: gett

RE: getting non-struts form elements

2004-05-14 Thread None None
too big a deal in theory. Knowing that this assumption was correct removes one potential hassle. Thanks! From: Avinash Gangadharan <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]&g

RE: getting non-struts form elements

2004-05-14 Thread Avinash Gangadharan
x27;t be able to use the Struts and related tags and form validation. -Original Message- From: Joe Hertz [mailto:[EMAIL PROTECTED] Sent: Friday, May 14, 2004 3:27 PM To: 'Struts Users Mailing List' Subject: RE: getting non-struts form elements Actually, it's not at

RE: getting non-struts form elements

2004-05-14 Thread Joe Hertz
M > To: [EMAIL PROTECTED] > Subject: RE: getting non-struts form elements > > > Is it the case that every Action MUST be associated with an > ActionForm? > Next week I have to start converting an app to Struts, and one of the > assumptions I've been making is that

RE: getting non-struts form elements

2004-05-14 Thread Hubert Rabago
I can just do the empty > form like you said, but I'd like to know if that's the only way... > > > >From: Avinash Gangadharan <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >To: 'Struts Users Mai

RE: getting non-struts form elements

2004-05-14 Thread None None
the empty form like you said, but I'd like to know if that's the only way... From: Avinash Gangadharan <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Subject: RE: get

Re: getting non-struts form elements

2004-05-14 Thread Joe Germuska
At 4:44 PM -0500 5/14/04, Matt Bathje wrote: Hi all. I have a form that is not a struts form bean (no actionform, no dynaform, nothing...) Is it possible to have this submit to a struts action, and read the form elements somehow? I need to be able to read simple (String) elements as well as multi

RE: getting non-struts form elements

2004-05-14 Thread Avinash Gangadharan
Matt, In your action class, you have the request and the response object which will get you all your form elements public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws java.lang.Exception { String

RE: getting non-struts form elements

2004-05-14 Thread None None
<[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: getting non-struts form elements Date: Fri, 14 May 2004 16:44:44 -0500 Hi all. I have a form that is not a struts form bean (no actionform, no dynaform, nothing...) Is it possible to have this

RE: getting non-struts form elements

2004-05-14 Thread Joe Hertz
ilto:[EMAIL PROTECTED] > Sent: Friday, May 14, 2004 5:45 PM > To: Struts Users Mailing List > Subject: getting non-struts form elements > > > Hi all. > > I have a form that is not a struts form bean (no actionform, > no dynaform, > nothing...) > > Is it possi

getting non-struts form elements

2004-05-14 Thread Matt Bathje
Hi all. I have a form that is not a struts form bean (no actionform, no dynaform, nothing...) Is it possible to have this submit to a struts action, and read the form elements somehow? I need to be able to read simple (String) elements as well as multi-part (formfile) elements from the form