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
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
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
…..
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
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.
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
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:
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:
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
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
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
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
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
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
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.
-
31 matches
Mail list logo