Every thing works perfectly if I do not use annotations but use configuration
xml files.
My annotation part is as follows:
@Result(
name=success,
value=mainpage.page,
type=TilesResult.class)
I use the following configuration in an xml file and
Hello there,
I've got a s:url parameter, rendered by s:param tag, that needs to be
escaped of + character, because I can't get my action to work properly (I
receive a space character instead of that + character). I guess I need to
escape that character using HTML escape codes, but I don't
Did the recent release of struts 2.0.11.1 fix this?
http://struts.apache.org/2.0.11.1/docs/release-notes-20111.html
See the JIRA details.
Blanco Emanuele wrote:
Hello there,
I've got a s:url parameter, rendered by s:param tag, that needs to be escaped of + character, because I can't get my
I'm trying to use googlemaps-tags http://www.lamatek.com/GoogleMaps/ with
struts-dojo, but when I load in a div the action that returns googlemaps
jsp, googlemaps-javascript is missing and obviously it doesn't work. If I
call the action directly from navigator all is ok. I've try to use
Hello. I am using Struts 1.3.8. The issue is not one of making the
Javascript work (it is working correctly), but rather preventing a
Struts action from being called. Is this possible given that the
action of a form is a Struts action?
I'm not sure if I understand you, but all you have to
Hi.
Struts2 prefers Maven as the building tool, do know any on line sample
Struts2 application that uses Ant instead of Maven?
I can write one by hand but I'm looking for Ant script that is production
aware.
Thanks.
--
View this message in context:
hey!
you can use theme=simple. This would generate the tags as a simple text
box etc with out any trs and tds around.
positioning the errors:
s:fielderror
s:paramfieldname/s:param
/s:fielderror
would display the erriors related to fieldname only. I think u can do the
similar way with
Thanks.
It is indeed almost sufficient.
The docs had led to me think the params were the only way to pass
parameters to the template, but in fact it works as it should without
any parameters, seeking the values in the value stack.
That's fine.
The only inconvenience is the rigid scheme for
Thanks.
It is indeed almost sufficient.
The docs had led to me think the params were the only way to pass
parameters to the template, but in fact it works as it should without
any parameters, seeking the values in the value stack.
That's fine.
The only inconvenience is the rigid scheme for
Hi everybody,
We wonder if it is possible to safely null validatorResult in ValidatorForm
after succesfull
validation. It could bring our application big memory effort as all our form
are session scope.
And validatorResult for some pages have 40K!!. As we found this structure is
already nulled in
I need to test an action that is getting uploaded files and piping them straight
into Strings. I don't want to save actual files on server, so I'll get the
multipart request wrapper directly.
MultiPartRequestWrapper multiWrapper =
(MultiPartRequestWrapper) ServletActionContext.getRequest()
Hi guys,
I've been strugling with this one for a while: How is it possible to
place 2 (or more) buttons one after the other?
Currently, my buttons looks like this:
[update]
[test]
and I wish to have:[update] [test]
my jsp code:
s:submit action=email_updateEmail value=%{'update'}
--- Adam Hardy [EMAIL PROTECTED] wrote:
I need to test an action that is getting uploaded files and piping them
straight into Strings. I don't want to save actual files on server, so I'll
get the multipart request wrapper directly.
What, specifically, are you trying to test?
I ask because
--- xianwinwin [EMAIL PROTECTED] wrote:
I've been strugling with this one for a while: How is it possible to
place 2 (or more) buttons one after the other?
Currently, my buttons looks like this:
[update]
[test]
and I wish to have:[update] [test]
There are at least three
Check to see if your column is wide enough to hold 2 buttons side by side
-Original Message-
From: xianwinwin [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2008 10:41 AM
To: user@struts.apache.org
Subject: ajax layout - how to place 2 submit buttons one after the other?
Hi guys,
There are at least three choices:
(1) Do something via CSS (inline or something)
(2) Modify the existing Ajax theme
(3) Create a new theme
I know I'm probably going to be shot down in flames for this, but why do the
Struts 2 tags attempt to control any sort of layout? Why is there not a
based on my previous message I want to have multiple-selects named off
of a hashmap.
I have found and read all the documentation of Mapped Properties I
could find under Google.
I know my form bean is 100% correct based on the documentation, so that
is a not a worry there.
I have a:
HashMap
Hi
That is all i did, upgraded web.xml to servlet specification 2.4
and tried start the project, i get following jsp compile error
The code at line 125 is
c:if test=${loginForm.map.singlesignon == '1'}
and the error i get is
org.apache.jasper.JasperException: /pages/index.jsp(125,15) According
--- Roger Varley [EMAIL PROTECTED] wrote:
There are at least three choices:
(1) Do something via CSS (inline or something)
(2) Modify the existing Ajax theme
(3) Create a new theme
I know I'm probably going to be shot down in flames for this, but why do
the Struts 2 tags attempt to
Dave Newton on 31/03/08 18:42, wrote:
--- Adam Hardy [EMAIL PROTECTED] wrote:
I need to test an action that is getting uploaded files and piping them
straight into Strings. I don't want to save actual files on server, so I'll
get the multipart request wrapper directly.
What, specifically,
Hello,
I am writing an application using Struts (2.0.11), Spring (2.5.1), and
Hibernate (3.2.6), running on Tomcat (6.0.13). We have a legacy webapp
running on Tomcat that outputs some important information to the default
Tomcat logs. We aren't really in a position to change that application,
Didn't see that. I might use it. But I don't actually know quite what the
MultipartRequestHandler does, so I'm not sure how to mock it :)
I figured the ServletUnit framework would teach me.
Martin Gainty on 31/03/08 20:55, wrote:
Have you looked at using Mock classes of
--- Adam Hardy [EMAIL PROTECTED] wrote:
Dave Newton on 31/03/08 18:42, wrote:
What, specifically, are you trying to test?
The action has to get strings out of the request, work out which file they
are from and call the appropriate managers, with the corresponding string
as a request.
we here, use ant..
please try it
www.sf.net/projects/cimande
we use S2, Spring and Hibernte as the core framework.
F
On Mon, Mar 31, 2008 at 9:37 PM, HHB [EMAIL PROTECTED] wrote:
Hi.
Struts2 prefers Maven as the building tool, do know any on line sample
Struts2 application that uses Ant
Your action mapping has class=mainpage, but your Spring configuration
has id=mainpageAction. These should be the same. I'm not quite sure
how you're getting the error you are, though, based on that
configuration. And I don't see how introducing an @Result annotation
would effect it. I suspect
Tom Holmes Jr. wrote:
based on my previous message I want to have multiple-selects named off
of a hashmap.
I have found and read all the documentation of Mapped Properties I
could find under Google.
I know my form bean is 100% correct based on the documentation, so that
is a not a worry there.
Laurie Harper wrote:
Tom Holmes Jr. wrote:
based on my previous message I want to have multiple-selects named
off of a hashmap.
I have found and read all the documentation of Mapped Properties I
could find under Google.
I know my form bean is 100% correct based on the documentation, so
that
hi there
anyone have an example that work based on JSON RPC
i am looking a response mechanism that run well here
for POJO to JSON, i did it, using json plugins.
F
Dave Newton on 31/03/08 22:00, wrote:
--- Adam Hardy [EMAIL PROTECTED] wrote:
Dave Newton on 31/03/08 18:42, wrote:
What, specifically, are you trying to test?
The action has to get strings out of the request, work out which file they
are from and call the appropriate managers, with the
--- Adam Hardy [EMAIL PROTECTED] wrote:
I see the multipart http request as a weak point in the servlet spec. Or
the http spec. But I want to test it for my own piece of mind, and when
I have the test finished, I guess I can work out if it's really necessary.
You want to test multipart HTTP
Just remembered struts2 isn't a servlet. I just wanted a quick and easy way of
giving my action a real multipart request wrapper to run against. So tomorrow I
guess I'll have to check out the MockMultipartRequestWrapper.
Thanks
Adam
Martin Gainty on 31/03/08 20:55, wrote:
Have you looked at
Hi.
I am using Struts2. In this I am facing the problem in using the
JavaScript with the Struts2 tags. If some has the solution for that
please help me.
Looking forward for help
Varun
32 matches
Mail list logo