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
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
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
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:
>>
>>
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
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
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
;> > 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.
>>
>>
>
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
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
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.
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
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
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:
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
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
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
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.
-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
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
: '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
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
> -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
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
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
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
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
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
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
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
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
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
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
<[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
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
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
53 matches
Mail list logo