Re: struts2 portlet bug RenderRequest cannot be obtained in event phase

2009-08-07 Thread Leonidas Papadakis
I understand your solution but the issue occurs when i call editcontent from the jsp file. At that point i can not get RenderReuqest in editcontent action that i need further down in the code. RenderRequest will provide me portletDisplay and from portletDisplay i get the instanceId that i

Re: struts2 portlet bug RenderRequest cannot be obtained in event phase

2009-08-07 Thread Nils-Helge Garli Hegvik
I have also noticed that struts form tag breaks the layout of the page. I am not sure if you have seen this. I will try to find out why (i.e. not standard html or css issue), otherwise i will use html form. Try using the simple theme. Nils-H

Problem testing my action when I’ve got a springbean inside the validators.xml

2009-08-07 Thread cmartin81
I want to test my struts actions, but I keep getting this ClassNotFoundException all the time. The problem is that I’ve got a springbean inside the validators.xml. (If I leave out the springbean in the validators.xml it will run successfully.) Here some of my validators.xml file: validators …..

Re: Problem testing my action when I’ve got a sp ringbean inside the validators.xml

2009-08-07 Thread Dave Newton
cmartin81 wrote: I want to test my struts actions, but I keep getting this ClassNotFoundException all the time. The problem is that I’ve got a springbean inside the validators.xml. (If I leave out the springbean in the validators.xml it will run successfully.) How are you initializing the

Re: Problem testing my action when I’ve g ot a springbean inside the validators.xml

2009-08-07 Thread cmartin81
I'm using the following annotation in the test class: @ContextConfiguration(locations={classpath:test-context.xml}) @RunWith(SpringJUnit4ClassRunner.class) newton.dave wrote: cmartin81 wrote: I want to test my struts actions, but I keep getting this ClassNotFoundException all the time.

Re: Documentation

2009-08-07 Thread Luca
I started to use the struts2 after a first reading of the manning struts in action book. There are a lot of things to learn. That book is very interesting! I suggest you that book, too. But after a first reading, the documentation of struts2 site is also important because it is continuously

RE: Documentation

2009-08-07 Thread Martin Gainty
robert- knowing the supplied blank.war is a template ..not a concrete application We can make a copy of the blank.war and deploythe copy of the blank.war to our container then use the exploded copy as the basis for our application.There is even a simple batch file in the source code directory

Re: Documentation

2009-08-07 Thread Robert Swindells
Martin Gainty wrote: re:it doesnt work is difficult to diagnose..please supply server.log and console messages My problems were mainly down to Maven not connecting to the network. I have got it working a bit better now but it would be nice if it didn't download all of struts each time I run it.

Java URL Batch Application

2009-08-07 Thread Tom Holmes Jr.
Sorry ... this might be off topic. I'm a Struts1/2 and Spring MVC Java developer myself. And yes, I am Googling for this information as well. I am looking for some Java open-source app that does some batching. I basically want a java web-app where I can schedule a URL to be called at a

Re: Java URL Batch Application

2009-08-07 Thread wilson wong
httpclient http://hc.apache.org/httpclient-3.x/ - Original Message From: Tom Holmes Jr. t...@tomholmes.net To: Struts Users Mailing List user@struts.apache.org Sent: Friday, August 7, 2009 9:47:02 AM Subject: Java URL Batch Application Sorry ... this might be off topic.  I'm a

Displaying loader image while calling AJAX request.

2009-08-07 Thread sharath karnati
Hi All,      Implemented AJAX request with below lines   s:url id=ajaxComplaintLink1 includeParams=none    s:param name=sort_by value=%{'complaint_id'}/    s:param name=sort_order value=%{other_order}/   s:param name=request_type value=%{'ajax'}/ /s:url s:a

Re: Java URL Batch Application

2009-08-07 Thread Manos Batsis
Tom Holmes Jr. wrote: Sorry ... this might be off topic. I'm a Struts1/2 and Spring MVC Java developer myself. And yes, I am Googling for this information as well. I am looking for some Java open-source app that does some batching. I basically want a java web-app where I can schedule a URL

Re: Java URL Batch Application

2009-08-07 Thread Manos Batsis
Manos Batsis wrote: Tom Holmes Jr. wrote: Sorry ... this might be off topic. I'm a Struts1/2 and Spring MVC Java developer myself. And yes, I am Googling for this information as well. I am looking for some Java open-source app that does some batching. I basically want a java web-app where

RE: Documentation

2009-08-07 Thread Martin Gainty
understood my connection varies from day to day so i deploy all important xwork/struts jars to my localRepository contents of $M2_HOME/conf/settings.xml: settings localRepository id=local.repository location=/LocalPluginFolderGoesHere/ wes,musachy and dave can walk you thru particulars

Re: Java URL Batch Application

2009-08-07 Thread Burton Rhodes
Since you are already using spring, quartz would most likely be the easiest. On 8/7/09, Manos Batsis manos_li...@geekologue.com wrote: Manos Batsis wrote: Tom Holmes Jr. wrote: Sorry ... this might be off topic. I'm a Struts1/2 and Spring MVC Java developer myself. And yes, I am Googling

Log Issue

2009-08-07 Thread Louis Voo
Hello, I'm using logger interceptor, and I want it log into a file, but somehow it go to my eclipse console. Here is my log4j.xml !DOCTYPE log4j:configuration SYSTEM log4j.dtd appender name=f class=org.apache.log4j.DailyRollingFileAppender param name=DatePattern value='.'dd-MM-/ param

s:select populate error

2009-08-07 Thread Mileidys Gonzalez Prieto
Hi... I'm getting an error when I run a page that contains a select tag and the list call an element of type Map... I been searching on internet and trying so many things without any success.. error info: tag 'select', field 'list', name 'relation.relGender': The requested list key

Re: struts2 portlet bug RenderRequest cannot be obtained in event phase

2009-08-07 Thread Scott Nesbitt
So Ajax actions do not work in Struts portlets? If not, do you know if there are plans for them to work in the future? Thanks, Scott - Original Message From: Nils-Helge Garli Hegvik nil...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Friday, August 7, 2009

Re: Log Issue

2009-08-07 Thread mailtolouis2020-struts
I just found that I did a silly mistake, I used the wrong library commons-logging-api.jar instead of commons-logging.jar. Now all the logs go to the file, but I still not able to get rid of 2009-08-07 16:41:26,718 WARN (CommonsLogger.java:45) - Could not find property

Re: struts2 portlet bug RenderRequest cannot be obtained in event phase

2009-08-07 Thread Nils-Helge Garli Hegvik
Not with the Struts tags, no. But it's quite possible to use Ajax with portlets. Nils-H On Fri, Aug 7, 2009 at 5:47 PM, Scott Nesbittscottnesb...@yahoo.com wrote: So Ajax actions do not work in Struts portlets?  If not, do you know if there are plans for them to work in the future? Thanks,

Re: Java URL Batch Application

2009-08-07 Thread Tom Holmes Jr.
The first thing I want to do is create a basic java class. I have to make sure that I am calling the correct URL with the correct parameters. The jarkarta commons HttpClient is definitely an API I can use. As far as scheduling, I agree, Quartz with Spring is the easiest way to go. This really

Re: s:select populate error

2009-08-07 Thread Mileidys Gonzalez Prieto
ok... I found the way: in the Action class, the list need to be create on the getter... thats all Mileidys Gonzalez Prieto wrote: Hi... I'm getting an error when I run a page that contains a select tag and the list call an element of type Map... I been searching on internet and trying so

Re: unit testing Struts2 application (with Spring and Hibernate)

2009-08-07 Thread Musachy Barroso
I have updated the JUnit plugin, to provide support for this kind of testing(also for spring testing), see the documentation here: http://cwiki.apache.org/confluence/display/WW/Testing+Actions See the 2 classes here:

Re: unit testing Struts2 application (with Spring and Hibernate)

2009-08-07 Thread Dimitrios Christodoulakis
Thanks for this news! I will give it a try. On Fri, Aug 7, 2009 at 1:56 PM, Musachy Barrosomusa...@gmail.com wrote: I have updated the JUnit plugin, to provide support for this kind of testing(also for spring testing), see the documentation here:

sx:tabbedpanel example

2009-08-07 Thread hisameer
I am using struts2.1.6. As of now I have tried so many things but couldn't get tabs working. the tabs even wont show up in my jsp page. I already added the dojo plugin for struts in my web-inf/lib folder. I need a sample application where I can see atleast two tabs and clicking on each tab shows

Re: AJAX issues in struts 2.1.6

2009-08-07 Thread hisameer
Thanks for your reply Peter. I was able to solve the issue by removing some of the unwanted stuff from my jsp. Now the funny thing is I am not even able to see the tabs in my JSP. I thought if we are using sx:tabbedpanel it should show the tabs. Is there any additional thing I have to do?Its

RE: AJAX issues in struts 2.1.6

2009-08-07 Thread Martin Gainty
http://localhost:8082/struts2-showcase-2.1.6/ajax/tabbedpanel/example1.jsp renders all tabs properly please provide all console messages and all statements from /logs/localhost.-MM-DD.log thanks, Martin Gainty __ Verzicht und

RE: AJAX issues in struts 2.1.6

2009-08-07 Thread hisameer
Thankyou so much Martin. You are the man! I will try the example you mentioned and ahhh... hopefully I will be able to add the same in my application:jumping: mgainty wrote: http://localhost:8082/struts2-showcase-2.1.6/ajax/tabbedpanel/example1.jsp renders all tabs properly please

RE: AJAX issues in struts 2.1.6

2009-08-07 Thread Martin Gainty
sure thing..let us know how it goes.. Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine

RE: AJAX issues in struts 2.1.6

2009-08-07 Thread hisameer
Hi Martin, The example runs fine when I run it with the given War file but when I try to copy those files and some related jar I get the the following error: 22:46:45,584 INFO [STDOUT] 2009-08-07 22:46:45,584 INFO (org.apache.struts2.config.BeanSelectionProvider:31) - Loading global messages

Struts - Security

2009-08-07 Thread Kamlesh Koringa
Hi I am searching for good security frameworks for Struts2. I have tried for HDIV http://www.hdiv.org. It is good framework but support up to Struts 2.0.11 not Struts-2.1.6. So please help me to find any other framework or any other way to solve security related issues. My main concorns are. -