When expect final release Struts 2.0
--
View this message in context:
http://www.nabble.com/General-question-tf3179272.html#a8821997
Sent from the Struts - User mailing list archive at Nabble.com.
OK thanks.
This was my original approach, except now I am having trouble with the bean:write + formatKey
approach - please see my other post entitled formatting money values with bean:write.
So summarise:
It seems that whenever the formatKey specification results in a lookup of a format
(The 2.0.4 showcase tree is fine of course!)
i'm using a modified apppfuse 1.9.4 stack using struts 2.0.1 which I've just
upgraded to 2.0.4
it looks like everything is working ok except my use of the s:tree tag
I've replace my tree code with the static example from the struts 2.0.4
showcase
I just added:
repository
idapache.snapshots/id
nameASF Maven 2 Snapshot/name
urlhttp://people.apache.org/repo/m2-snapshot-repository/url
/repository
dependency
groupIdorg.apache.struts/groupId
artifactIdstruts2-core/artifactId
Did you try to do this?
Then, install it using the command:
mvn install:install-file -DgroupId=com.sun -DartifactId=tools \
-Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file
where the path/to/file is the path to the file that maven cannot find, in
your case,
Although i'm not sure, i think the OP just needs to install an 1.5 JDK
then set it as $JAVA_HOME.
hth,
Manos
Quoting Carlos Curotto [EMAIL PROTECTED]:
Did you try to do this?
Then, install it using the command:
mvn install:install-file -DgroupId=com.sun -DartifactId=tools \
You might also want to check that tools.jar is in fact where you expect it to
be. We had a report at my office that some downloads of the 1.5.0_10 JDK were
missing that jar file, and perhaps you have one of those. The report said that
the online download worked correctly, but the offline
Quoting Christopher Loschen [EMAIL PROTECTED]:
We had a report at my office that some downloads of
the 1.5.0_10 JDK were missing that jar file
Right, i think OSX doesn't have a separate jar for that. In that case
the OP should probably add an exclusion element within the POM
dependency that
Hi,
Im trying to populate a select list with the select tag and would like the
listValue to lookup a message in a resource bundle. Does anybody know if
this is possible or do I have to populate my list with the proper values
before sending it to my jsp?
Example:
I have a property languageList,
s:select name=languageCode
list=languageList
listKey=iso2Code
listValue=%{getText(iso2Code)} /
This code will iterate over the languageList and look for a iso2Code
property on each bean within the languageCode. Based on your description, I
don't think that's the intent.
Null beans are not being instantiated in the action on request. Where
are static parameters such as CREATE_NULL_OBJECT set on the action?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi,
I use struts2 and tiles2 in my web application. When my tiles result
contains data with åäö and I write the data using el, the characters are not
displayed correctly. If I write the data with a struts tag, for example
s:property the characters are displayed correctly.
If I do not to use a
Thanks for the idea! Sadly, that just makes it worse. When I switch to
type=redirect-action, I don't even get forwarded to the next action. I
get
Struts Problem Report
Struts has detected an unhandled exception:
*Messages*:
*File*: org/apache/struts2/dispatcher/ServletRedirectResult.java
I also tried switching to the nested-elements syntax for my action:
action name=saveNewType class=my.package.TypeManagement
method=saveNew
interceptor-ref name=adminCheck/
result name=success type=redirect-action
param
The URL that my action mapping below produced is:
http://localhost:8080/OLT/mgt/manageCourseTypes!password.action?id=f6a08f77-1680-4945-b979-8a833c28b88d
instead of
http://localhost:8080/OLT/mgt/manageCourseTypes.action?id=f6a08f77-1680-4945-b979-8a833c28b88d
-Brian
On 2/6/07, Brian
So would this be a valid definition?
definition name=VitalSigns.Input
path =/tiles/VitalsMainInput.jsp
controllerUrl= /VitalSigns.do?action=edit
/definition
where edit is method in VitalSignsAction and action is the parameter in my
action mapping. It doesn't seem to
On 2/6/07, Manos Batsis [EMAIL PROTECTED] wrote:
Quoting Christopher Loschen [EMAIL PROTECTED]:
We had a report at my office that some downloads of
the 1.5.0_10 JDK were missing that jar file
Right, i think OSX doesn't have a separate jar for that. In that case
the OP should probably add an
Are you using the newest version of Tiles? There was a bug in which the
content types were not being set in some cases; I was using a JSP page
attribute to set the content type, not the other options, but it may be
related.
For everyone who is using Tiles 2, note that very soon now, the
Hi,
I am developing a Struts 1.1 based application to be deployed in Web
Sphere Application Server 5.1. There is no login page in the application,
but I nee d to make sure that valid session exists with each request and
session should be created only once at one place. So I have a subclass the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shyamsunder,
Reddy, Shyamsunder wrote:
1.How to make sure that ActionServlet doesn't create any session using
request.getSession(true) before the Request Processor class is classed.
I don't believe that Struts ever calls
I doesn't look like a problem specific to the tree, are you able to use
any of the other ajax tags?
regards
musachy
Tim Azzopardi wrote:
(The 2.0.4 showcase tree is fine of course!)
i'm using a modified apppfuse 1.9.4 stack using struts 2.0.1 which I've just
upgraded to 2.0.4
it looks like
--- Joe Yuen [EMAIL PROTECTED] wrote:
So would this be a valid definition?
Oh, I didn't know you meant as a Tiles controller.
Still, I don't know why not.
'/tiles/VitalsMainInput.jsp': ServletException in
'/tiles/VitalsMainInput.jsp': Servlet execution
threw an exception
at
I got the same error on 1.6, but it works on 1.5.
thanks
musachy
Dariusz Wojtas wrote:
Hi Musachy,
I have problems with compiling xwork from SVN. A fresh copy.
I am using JDK 1.6, maybe this is the reason.
mvn clean install
produces after some time
[ERROR] BUILD FAILURE
[INFO]
Here's the rest of the stack trace:
ServletException in '/tiles/VitalsMainInput.jsp': ServletException in
'/tiles/VitalsMainInput.jsp': ServletException in '/tiles/VitalsMainInput.jsp':
Servlet execution threw an exception
at
Hi all experts,
I've the following problem : I have an Interceptor whose goal is to check if
the user is logged and do some controls. If the user is not logged, the
Interceptor returns to the login page, and after having logged-in the user
may be redirect to the action he asked before the
This is the only ajax tag I am using in my application.
In the meantime I have switched back to 2.0.1 and the 2.0.4 showcase static
tree example (in my app) works fine, (although it does say DEBUG:
DEPRECATED: templateCssPath should be of type dojo.uri.Uri)
I am using a heavily modifed xhtml
Problem with using global forwards with tiles:
I have these two global forwards:
global-forwards
forward name=person path=/person.do /
forward name=search path=.search /
/global-forwards
The first one points to a person ActionMapping. This works perfectly in
the tag html:link
Hi All,
I'm getting the following exception when using Struts 2.0.3+ (tested with
0.4 and 0.5). Looking at the XWork source code I could see this is being
caused because the Spring Application Context is not being set, so it is
null.
Does anybody knows how to fix this as my code used to work
you have to use a valid url with an anchoryour browser cannot make a new
HTTP request to a Tile. what were you expecting the link to contain?
From: Pierre Thibaudeau [mailto:[EMAIL PROTECTED]
Sent: Wed 2/7/2007 10:40 AM
To: Struts Users Mailing List
Subject:
--- Daniel Amadei wrote:
I'm getting the following exception when using
Struts 2.0.3+ (tested with 0.4 and 0.5).
Is struts.objectFactory=spring?
d.
Now that's room service! Choose from over 150,000
Hi Dave,
No. I had to put the fully qualified name of the Spring Object Factory from
XWork as the alias does not work anymore (I dont know why either).
[]s
Daniel
2007/2/6, Dave Newton [EMAIL PROTECTED]:
--- Daniel Amadei wrote:
I'm getting the following exception when using
Struts 2.0.3+
--- Daniel Amadei wrote:
No. I had to put the fully qualified name of the
Spring Object Factory from XWork as the alias does
not work anymore (I dont know why either).
That's weird... that ('spring') has worked fine for me
for each release. Is it possible you're having a
library
Hi Dave,
I have the jar but I believe I have to register the Spring plugin which I
forgot to do.
I'll try it and tell the results.
Thanks.
Daniel
2007/2/6, Dave Newton [EMAIL PROTECTED]:
--- Daniel Amadei wrote:
No. I had to put the fully qualified name of the
Spring Object Factory from
--- Daniel Amadei wrote:
I have the jar but I believe I have to register the
Spring plugin which I forgot to do.
It just needs to be in WEB-INF/lib.
d.
Do you Yahoo!?
Everyone is raving about the all-new
2007/2/6, Strachan, Paul [EMAIL PROTECTED]:
you have to use a valid url with an anchoryour browser cannot make a
new HTTP request to a Tile. what were you expecting the link to contain?
The tile-path .search does not represent one tile but rather a collection
of tiles that, once they are
Hi Peter,
if you could send it to me at [EMAIL PROTECTED] I would appreciate.
No matter what I do, it does not call onsubmit validate js function. :-(
Thanks,
Rodrigo Pereira
On 2/6/07, Peter Bliznak [EMAIL PROTECTED] wrote:
Hi Rodrigo,
yes you can use commandButon.
Btw have you look at
I uploaded a working example of rollover scope for Struts 1.x, see
wiki for some docs and for the sample app itself:
http://wiki.apache.org/struts/RolloverScope
M.J.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi,
I have the following on a JSP page:
a href=s:url namespace=foo action=sidebar/
Sidebar
/a
s:action namespace=foo name=sidebar
executeResult=true/
Namespace foo is defined in a file included by
struts.xml.
The link takes me to the page I was seeing if I could
use as a component; s:action
Hi Dave,
It worked! My struts-plugin JAR had 0 bytes :(
I downloaded it againd and it worked fine. Thanks a lot!
Daniel
2007/2/6, Dave Newton [EMAIL PROTECTED]:
--- Daniel Amadei wrote:
I have the jar but I believe I have to register the
Spring plugin which I forgot to do.
It just needs
Hi All,
I`m using the exception mapping and I`d like to display the exception to the
user but I don`t know how I can get the exception object from the stack, as
I saw from the docs, they are avaiable in the stack.
Can somebody help me?
Thanks
Daniel
--- Daniel Amadei wrote:
It worked! My struts-plugin JAR had 0 bytes :(
It's this new JAR compression scheme they've been
working on... it's all quantum n' stuff, I wouldn't
understand :)
d.
Bored stiff?
--- Daniel Amadei wrote:
I`m using the exception mapping and I`d like to
display the exception to the user but I don`t know
how
I can get the exception object from the stack, as
I saw from the docs, they are avaiable in the stack.
s:property value=exception/ and
s:property
43 matches
Mail list logo