Re: Newbie (possibly RTFM) issue

2009-06-15 Thread Paweł Wielgus
Hi, can You verify that getter in action is called? Add sysout or debug this place, because if it's not beeing called there will be no result on the page. This would suite to nothing is rendered in s:textfield, not the s:text! Best greetings, Pawel Wielgus. 2009/6/15, chumbobumbo : > > Sorry to r

Re: Newbie (possibly RTFM) issue

2009-06-15 Thread chumbobumbo
Sorry to report but does nothing, also renders nothing in the resulting html page; now I know that testBool is 'true' because I am running it through the debugger. I am also runnning this under Java 1.6 so autoboxing should work as noted in one of the previous posts. I am completely lost f

Struts validation with multiple struts-config.xml file (struts 1.2.6)

2009-06-15 Thread Ashish Kulkarni
HiI am having issues with struts validation when i have more then one struts-config.xml file defined in web.xml Struts performs no validation for the rules i have in validation.xml file, which is part of struts-config.xml, but if i remove struts-config-admin.xml from web.xml then it performs the r

checkboxlist initial selection

2009-06-15 Thread Christopher Maloof
I'm confused by the documentation for checkboxlist (http://struts.apache.org/2.1.6/docs/checkboxlist.html). I want to set three things for each checkbox in the list: 1) The label seen by the user 2) The "value" attribute to be posted to the form 3) Whether it's initially checked By analogy wit

Re: Newbie (possibly RTFM) issue

2009-06-15 Thread Musachy Barroso
On Mon, Jun 15, 2009 at 8:59 AM, Dale Newfield wrote: > But remember that jsp code needs to be understandable not only to the > compiler and tags that will implement it, but also humans that will be > maintaining this code in the future.  I'd suggest not saving any of those > "extra keypresses" and

RE: How to limit file upload size without full upload

2009-06-15 Thread Martin Gainty
i assume thats the RLE of the entity you are streaming? in which case maxPostSize will alleviate that limitation on a non-ssl HTTP 1.1 connector there are now asynchronous connectors available which will alleviate the majority of performance issues you are experiencing which wont be discussed

Re: Newbie (possibly RTFM) issue

2009-06-15 Thread Dale Newfield
Jon Pearson wrote: Also, in tags, you don't need to enclose the test in %{} because it is evaluated anyway. Not that it'll change your result at all, just thought I'd save you the extra couple of keypresses. But remember that jsp code needs to be understandable not only to the compiler and ta

RE: Creating SEO urls in struts 2.1

2009-06-15 Thread Martin Gainty
Frans we should wait for his release of either build.xml and or pom.xml that way we can would be assured all of the code would be included also.. the pom phase would run surefire unittest and build.xml test target would run junit Martin Gainty __ N

Re: Creating SEO urls in struts 2.1

2009-06-15 Thread Frans Thamura
what is the step that should i do for testing your code? F On Mon, Jun 15, 2009 at 5:17 PM, simplyolaf wrote: > > I have uploaded HierarchicalActionProxy.java and > HierarchicalActionProxyFactory.java. You can download it from my blog. Over > the weekend I will create a sample struts 2 project th

Re: Return to previous page without javascript

2009-06-15 Thread Stefano Tranquillini
I tried to use request and URI but: - i'm not able to have some result from this command. - how can i set this value inside the session from a jsp. thanks. -- Stefano

Re: How to limit file upload size without full upload

2009-06-15 Thread Wes Wannemacher
I've been known to be wrong before ;) unfortunately, more often than I would prefer :( The next setting I would look at is in commons-fileupload, but with the stock file upload capabilities, you don't have a lot of options for changing configuration. I didn't look really close at how CFU behaves,

Re: How to limit file upload size without full upload

2009-06-15 Thread Greg Lindholm
On Sun, Jun 14, 2009 at 1:49 AM, Wes Wannemacher wrote: > On Saturday 13 June 2009 10:34:53 pm tatan123 wrote: > > We want to restrict the file upload size to 2 MB. While doing testing it > > seems we can upload a 100 MB file, after that struts2 showing message > that > > the uploaded file exceed

RE: Newbie (possibly RTFM) issue

2009-06-15 Thread Jon Pearson
Also, in tags, you don't need to enclose the test in %{} because it is evaluated anyway. Not that it'll change your result at all, just thought I'd save you the extra couple of keypresses. > -Original Message- > From: Wes Wannemacher [mailto:w...@wantii.com] > Sent: Monday, June 15, 2

Re: Newbie (possibly RTFM) issue

2009-06-15 Thread Wes Wannemacher
On Mon, Jun 15, 2009 at 6:40 AM, chumbobumbo wrote: > > I am using Struts 2.1.6 > > if I have model like this: > > public class model { >     private Boolean testBool; >     private boolean testbool; > >     ... >     public getters and setters for both follow >     ... > } > > I find that in my co

Re: Application Design(architecture)

2009-06-15 Thread john feng
Please note, I have NOTHING to do with IBM. : ) On Mon, Jun 15, 2009 at 8:59 AM, john feng wrote: > Martin, > > I did not use ROSE to generate the configuration files since the IDE > will do. IBM Rational Software Architect looks like what you are > looking for. (Please note, I have no nothing to

Re: Application Design(architecture)

2009-06-15 Thread john feng
Martin, I did not use ROSE to generate the configuration files since the IDE will do. IBM Rational Software Architect looks like what you are looking for. (Please note, I have no nothing to do with IBM.) John Feng On Sun, Jun 14, 2009 at 12:02 PM, Martin Gainty wrote: > > Feng- > > I have used R

Re: white space

2009-06-15 Thread Nils-Helge Garli Hegvik
I'd consider creating a new getter that returns what you want. Nils-H On Mon, Jun 15, 2009 at 12:01 PM, PEGASUS84 wrote: > > good moornig, > > my problem is this: >  i've this select > > listValue="getNome()+getCognome()" theme="simple" > list="getDocentiNONComm()"> > > in listValue i Want to se

Re: @Results ignored

2009-06-15 Thread Lukasz Lenart
As I remember, Dynamic Method Invocation is disabled by default, so you need to enable it: struts.enable.DynamicMethodInvocation = true Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@str

Re: white space

2009-06-15 Thread Lukasz Lenart
2009/6/15 PEGASUS84 : > How can I make it? Did you try this listValue="%{nome + ' ' + cognome}" Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands,

Rendered action appears to be incorrect

2009-06-15 Thread Greg Allen
I am having an odd problem with struts that I can't figure out. It appears that the action in my JSP is not being translated correctly when the actual HTML is generated and sent to the browser. Here's the relevant part of my JSP: ... stuff When this is rendered in the browse

Newbie (possibly RTFM) issue

2009-06-15 Thread chumbobumbo
I am using Struts 2.1.6 if I have model like this: public class model { private Boolean testBool; private boolean testbool; ... public getters and setters for both follow ... } I find that in my corresponding jsp page (assumming that both testbool and testBool are ini

Re: Creating SEO urls in struts 2.1

2009-06-15 Thread simplyolaf
I have uploaded HierarchicalActionProxy.java and HierarchicalActionProxyFactory.java. You can download it from my blog. Over the weekend I will create a sample struts 2 project that demonstrates how to create an hierarchical action. Frans Thamura-2 wrote: > > that will be cool if we have a step

white space

2009-06-15 Thread PEGASUS84
good moornig, my problem is this: i've this select in listValue i Want to separate getNome() and getCognome() with a white space. How can I make it? -- View this message in context: http://www.nabble.com/white-space-tp24031922p24031922.html Sent from the Struts - User mailing list archive