Re: File Upload Issue when Max Size Reached

2011-06-21 Thread Maurizio Cucchiara
Hi Chris, looks like it's related with [1], I will take a look soon. [1] https://issues.apache.org/jira/browse/WW-3025 On 21 June 2011 20:50, CRANFORD, CHRIS wrote: > I am testing the Struts 2.2.3 built in file upload support and noticing > that if I upload a file that exceeds my configured size

Re: Migration from Struts 2.0.14 to Struts 2.2.3 - tabbed panel not working

2011-06-21 Thread Andrzej Adamczyk
It seems that this problem is caused by scripts not being executed when the content of the tab is loaded. Here is the example. Main tab has 3 other sub tabs A1, A2, A3. Each sub tab (lets say A1) has its own tabbed panel with additional tabs (A11, A12, A13). Main tabbed panel element is defined as

RE: File Upload Issue when Max Size Reached

2011-06-21 Thread Martin Gainty
Hi Chris - did you increase struts.multipart.maxSize=12345 in struts.properties? http://www.jarvana.com/jarvana/view/org/apache/struts/struts2-core/2.2.1/struts2-core-2.2.1-javadoc.jar!/org/apache/struts2/interceptor/FileUploadInterceptor.html Bon Chance Martin Gainty _

Migration from Struts 2.0.14 to Struts 2.2.3 - tabbed panel not working

2011-06-21 Thread Andrzej Adamczyk
Hello I am working on POC migrating application from Struts 2.0.14 to Struts 2.2.3 with DOJO 2.2.3 plugin. On the way DOJO framework will be updated from version 0.4.0 to 0.4.3. Application has main tabbed panel with few tabs, each containing another tabbed panel with few sub tabs. Upon hitting m

File Upload Issue when Max Size Reached

2011-06-21 Thread CRANFORD, CHRIS
I am testing the Struts 2.2.3 built in file upload support and noticing that if I upload a file that exceeds my configured size of 20MB that the additional form parameters that are submitted with the upload are lost. Can anyone else confirm they you're experiencing this problem? Ultimately I need t

RedirectAction supports "anchor" param

2011-06-21 Thread struts . rgm
I've opened this minor documentation issue as: https://issues.apache.org/jira/browse/WW-3652 Affected files will be: src/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java (needs javadoc updates) -Roland

Re: dinamic name for textfield

2011-06-21 Thread Chris Pratt
According to what you showed, the type attribute is taken from the page parameters at run time, which is what I showed, if you don't want to evaluate the myField portion yet, try: (*Chris*) On Mon, Jun 20, 2011 at 1:25 PM, k3v1n wrote: > Thanks for reply. > > but "Type" field is evaluated t

Re: Html:link Javascript validation

2011-06-21 Thread Dave Newton
The "onclick" attribute should return true/false based on whether or not the form should be submitted. If there's no "return" keyword, the form will be submitted regardless of what happens in the onclick handler. Dave On Tue, Jun 21, 2011 at 8:22 AM, Sunil Choppara wrote: > Siva, > > Don't decla

RE: Html:link Javascript validation

2011-06-21 Thread Sunil Choppara
Siva, Don't declare the action path, if u want validate before submitting the form to action class. Declare the action path in the script itself. Regards Sunil -Original Message- From: sivaks75 [mailto:sivakumar.subbura...@verizonwireless.com] Sent: Tuesday, June 21, 2011 11:14 AM To:

Re: dinamic name for textfield

2011-06-21 Thread k3v1n
My example: I have master JSP: and included page: In my Action I have 2 object: private MyObject myObject1 = new MyObject(); private MyObject myObject2 = new MyObject(); then both have myMethod attribute How can I manage this? Thanks -- View this message

Re: dinamic name for textfield

2011-06-21 Thread k3v1n
Thanks for reply. but "Type" field is evaluated to run time for me! -- View this message in context: http://struts.1045723.n5.nabble.com/dinamic-name-for-textfield-tp4506481p4507886.html Sent from the Struts - User mailing list archive at Nabble.com. --

Re: Need to lookup additional data to append to redirection to outside web site

2011-06-21 Thread Maurizio Cucchiara
The servlet dispatcher can only forward to local servlets and jsps, so it's not really an option. Anyway, usually it's not a good idea flowing unsecure parameters from http to https, you could try to pass via javascript (through jquery [1]), but it's always a security risk. [1] http://api.jquery.

Re: Need to lookup additional data to append to redirection to outside web site

2011-06-21 Thread Roger Varley
On Mon, 2011-06-20 at 20:44 -0500, John Himpel wrote: > Good evening, > > I have an S2 application the needs to: > 1) Verify some input parameters (I know how to do this) > 2) Retrieve some additional data based upon the input parameters (I > know > how to do this). > 3) Then format a "post" type