JSR286 in Struts2

2009-10-22 Thread Arihara
hi all, Whether Struts 2 support JSR286 specification portlet implementation?If Yes,then where I can find the implementation procedure. Thanks in advance. -- View this message in context: http://www.nabble.com/JSR286-in-Struts2-tp26005074p26005074.html Sent from the Struts - User

Re: JSR286 in Struts2

2009-10-22 Thread Nils-Helge Garli Hegvik
It's in the sandbox (http://svn.apache.org/repos/asf/struts/sandbox/trunk/struts2-portlet2-plugin/). You can also find some information here: http://boss.bekk.no/display/BOSS/Struts+2+Portlet+2.0+Plugin It's exeperimental, and has not been worked on for a while. You're welcome to test it and

Re: Unit Testing Actions with Annotation based validation in Struts 2.1.6

2009-10-22 Thread bloodredsun
And as promised here it is http://bloodredsun.blog.com/2009/10/21/unit-testing-struts2-actions-with-annotation-based-validation/ http://bloodredsun.blog.com/2009/10/21/unit-testing-struts2-actions-with-annotation-based-validation/ -- View this message in context:

RE: JSR286 in Struts2

2009-10-22 Thread Martin Gainty
at present JSR-286 specification features specified here http://en.wikipedia.org/wiki/Java_Portlet_Specification Inter-Portlet Communication through events and public render parametersServing dynamically generated resources directly through portletsServing AJAX or JSON data directly through

Testing Struts Restful Web Services

2009-10-22 Thread struts-restful
Does anyone know of any tool that can be used to test the restful web services? In my application the controllers are called from a third party application so there are no Jsp's. If i had jsp's i would use maybe JwebUnit to test the app. Are there any alternatives? Thanks -- View this message

Possible bug on fieldError? (S2.1.6)

2009-10-22 Thread Burton Rhodes
I have the following line in my jsp: s:textarea name=contactNote.note rows=4 cssClass=Data cssErrorClass=ErrorDataField cssStyle=width: 350px / When no fieldErrors exist, it displays like this: textarea name=contactNote.note cols= rows=4 id=ContactNote_update_contactNote_note class=Data

Re: Possible bug on fieldError? (S2.1.6)

2009-10-22 Thread Musachy Barroso
Are you using the simple theme? musachy On Thu, Oct 22, 2009 at 2:39 PM, Burton Rhodes burtonrho...@gmail.com wrote: I have the following line in my jsp: s:textarea name=contactNote.note rows=4 cssClass=Data cssErrorClass=ErrorDataField cssStyle=width: 350px / When no fieldErrors exist, it

Re: Exception using ParametersInterceptor to fill a SetString

2009-10-22 Thread Steven Yang
actually you dont need to do that i only do action: private SetString email; public void setEmail(SetString email) { this.email = email; } jsp: input name=email value=val1/ input name=email value=val2/ input name=email value=val3/ ... then struts will populate it for me On Thu, Oct 22, 2009

Re: Possible bug on fieldError? (S2.1.6)

2009-10-22 Thread Burton Rhodes
Yes. On 10/22/09, Musachy Barroso musa...@gmail.com wrote: Are you using the simple theme? musachy On Thu, Oct 22, 2009 at 2:39 PM, Burton Rhodes burtonrho...@gmail.com wrote: I have the following line in my jsp: s:textarea name=contactNote.note rows=4 cssClass=Data

Re: Exception using ParametersInterceptor to fill a SetString

2009-10-22 Thread Marcelo Salhab Brogliato
I discovered this last night :) thanks for your help!! msbrogli On Oct 22, 2009, at 10:57 PM, Steven Yang wrote: actually you dont need to do that i only do action: private SetString email; public void setEmail(SetString email) { this.email = email; } jsp: input name=email value=val1/

S2: Adding global error with annotation field validation

2009-10-22 Thread Oleg T.
Hi, Is it possible to add a global error as well as a field error when validating with annotations? For example if @RequiredStringValidator fails I want to be able to add a global error as well as the field error. While I know I can do it if I move my field validation into validate() method, I

Re: UI Issues in s:doubleselect Double Select control

2009-10-22 Thread Muthu Velappan
Hi, I'm not sure whether it reached the group... Can any one please give your thoughts at least to the 1'st point. I'm stuck with this for about a week and yet to identify a good solution for that Thanks, Muthu Muthu Velappan wrote: Hi, I have used a Double Select control display

Can't view the image after uploading the image in netbeans 6.7 using struts 1.3.8 + hibernate both in windows and linux machine.

2009-10-22 Thread swamy007
Hi i am new to this post, I have some query regarding uploading of image using struts,we develop the application using netbeans tool in linux. My question is while we uplaod some image it got refelected in the database but we are not able to view the image. Only after deploying the project in