I tried it last week with Websphere 6.0 (jdk 1.4.2) using
retrotranslator - with success.
The app was a portlet.
There were problems with JARs found in the nightly builds (compiled
with retro 1.10), but it started to work when I processed the JARs
(xwork + struts) with retro 1.20 and option '-adva
On 1/22/07, Dave Newton <[EMAIL PROTECTED]> wrote:
As was pointed out you may need to run retro with the -advanced (?)
option so it will properly skirt the ThreadLocal.remove method.
Any other tips, Dave?
Has anyone tried Retotranslater as an alternative?
* http://retrotranslator.sourceforge.
On 1/22/07, bobmccune <[EMAIL PROTECTED]> wrote:
Will there will be a
full 1.4 distribution available when the 2.x release reaches GA status? By
this I mean one that is targeted at 1.4 and has the retroweaved jars rolled
into the root lib directory and the sample wars.
I'm not planning to do t
Hello,
I wrote the Spring MVC plugin (and the Spring Webflow plugin) for Struts
2, so I'm familiar with both frameworks. Here are some of the
advantages that I see:
* Better interceptors - the interceptors in Spring MVC are very crude
and hard to configure--the interceptor architecture for s
Are you looking for something more than this:
http://struts.apache.org/2.x/docs/action-configuration.html#ActionConfiguration-WildcardAliases
It seems to give a pretty decent overview with a few examples. Are we
looking for something more extensive than this?
Tom
Don Brown wrote:
Yes, and it
Yes, and it works pretty much the same way as Struts 1. Add a JIRA
ticket so we don't forget to add the proper docs.
Thanks,
Don
On 1/23/07, mraible <[EMAIL PROTECTED]> wrote:
I can't seem to find any documentation on configuring wildcard actions in
Struts 2.x. Does this feature still exist
I can't seem to find any documentation on configuring wildcard actions in
Struts 2.x. Does this feature still exist?
Thanks,
Matt
--
View this message in context:
http://www.nabble.com/How-do-I-configure-wildcard-action-definitions-in-Struts-2.x--tf3077950.html#a8551509
Sent from the Struts -
walidito wrote:
Hi all,
I have three questions
1 - As I'm facing few problems with the 2.0.1 version of struts, i would
like to know how/where to download the 2.0.3 release.
2 - Don said it there will be a release of 2.0.4 in the next days... If I
can download the 2.0.3, does it worth to wait f
Just FYI,
I think this lesson was less about OGNL per se, and more about
Java,Servlets, and the Parameter map.
#parameters.addrType is of type String[], because that's how it's collated
( since you can have multiple values to a single name.. )
hth,
-a
Wesley Wannemacher wrote:
>
> Okay, I'
Okay, I'm officially renaming this thread -
Learning OGNL by stabbing in the dark.
This isn't meant to offend anyone trying to help me because I really
appreciate it! It's just because, rather than read the docs, I decided to
figure this out by brute force (as you'll see below).
I should have t
On our webwork project, we're successfully using this (copied directly from
the JSP):
where caseType is an bean property (from a list of beans being iterated
over) that will be "SG" if the 'if' tag contents should be rendered.
However, I think this might be a case of an interned string, so it w
When I read your message, it occurred to me that OGNL couldn't know what
type `addrType' was because my Action is only a stub. #parameters is a
magical variable containing all of the request parameters, so I hadn't
thought of making getters/setters on my Action before.
So, I added a getAddrType()
I see something in the Guide page about this way:
Alexandre Lima
- Original Message -
From: "Wesley Wannemacher" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, January 23, 2007 3:44 PM
Subject: RE: [s2] String comparison with OGNL
Nope, same result... Here is t
Until we get the CookieInterceptor, you can use the
ServletActionContext (org.apache.struts2 package) to access the
Request and Response necessary for working with Cookies:
Cookies[] myCookies = ServletActionContext.getRequest().getCookies();
ServletActionContext.getResponse().addCookie(new
#parameters.addrType is of type String correct? If not, e.g. if it were an
enum, then I would expect all the comparisons to fail. You might try
#parameters.addrType.toString().equals('billing') and see if that gets it to
work.
Tom
On 1/23/07, Wesley Wannemacher <[EMAIL PROTECTED]> wrote:
Nope
Nope, same result... Here is the code and output -
---CODE
Please verify the details of your
address below -
---RESULT
Please verify the details of your billing address below -
false
I'm not sure how much it matters, but I am working with
From: Wesley Wannemacher [mailto:[EMAIL PROTECTED]
>
Does wrapping it with %{} do it?
I still get a little confused when dealing with the different markups.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
Hello,
This seems like a n00bie problem, but I can't seem to figure it out. I have
a parameter that I want to read, when I have the following:
The output is `billing`
However, I want to test it to see if it is indeed `billing` later in the
code... I've tried at least the following:
But, no
From: Tom Schneider [mailto:[EMAIL PROTECTED]
> Actually your explanation is not quite 100% correct. The interceptor
> injects a Map that is backed by the HttpSession. So puts and gets to
> the Map will actually be puts and gets to the HttpSession. (Very
> clever IMO)
Ah, okay. That's handy an
Actually your explanation is not quite 100% correct. The interceptor
injects a Map that is backed by the HttpSession. So puts and gets to the
Map will actually be puts and gets to the HttpSession. (Very clever IMO)
You have a valid point about the javadoc. My guess is that at one point it
act
Hey guys I am trying to deploy a struts application as a portlet on
JBoss portal 2.4.0.GAI am using struts1.2.4.jar and
portals-bridges-struts1.2.4-1.0.jar...However I get the following
exception Can anyone help me please.Thanks in advance
Here is my stack trace:
Error : nul
Hi guys,
I m facing the following problem, could u please help me to solve it?
Problem:
My web application is based on struts 1.1. The EAR file is deployed on
Web Sphere Application server.
One of my modules is trying to read a PDF file which is kept in a
networked mapped drive to the
Kranti wrote:
I am working on a struts based application. I need to meet a special
requirement that is when user clicks the X button on the browser the
browser
should not close immediately rather we should show a confirm box. if user
says yes in the confirm box then only browser should close.
The JavaDoc for SessionAware states:
"Note that using this interface makes the Action tied to a servlet
environment, so it should be avoided if possible since things like unit
testing will become more difficult."
I'm not entirely sure that's accurate, as it isn't *explicitly* tied to
the servlet
I seem to remember a CookieInterceptor:
https://issues.apache.org/struts/browse/WW-669. It doesn't look like it
has made it into the core framework yet.
Emmanuel KOJE wrote:
Hi Guys,
I tried without sucess to get some information about the management of cookie
using struts2.
Could you help
Hello,
Is there any M2 archetype or sample POM availabe for Struts 1.x webaps
with webdoclet, nergefiles and all working? I'm trying to create a POM
and extract an archetype from it, but sincde i got to various issues i
finally wondered whether a nice soul has already gone through this.
Thanks
Hi Guys,
I tried without sucess to get some information about the management of cookie
using struts2.
Could you help me to get some information ?
Thanks,
The fish are biting.
Get more visitors on your si
Howdy,
I'm getting a 'no class def found' error for Plexus on startup w/ 2.0.3
(non-nightly)--does anybody else see that? I looked through most
everything in the distro and couldn't find anything except the plugin
(and I get the error whether or not the plugin is deployed).
Hints?
Dave
---
Hi,
What are the advantages of struts2 against spring mvc? For me they look very
similar but "spring mvc" is pretty well documented.
Zsolt
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
Hi,
did you meant the javascript function onunload in tag
if yes, i guess we will get the problem. means i just logged into
application inside the welcome page if we write onunload in BODY tag. from
welcome page i want to move to settings page then also onunload will gets
called and ask for "y
Use window.onunload or windows.unload or sth like that.
-Original Message-
From: Kranti [mailto:[EMAIL PROTECTED]
Sent: dinsdag 23 januari 2007 9:04
To: user@struts.apache.org
Subject: BROWSER CLOSE
Hi Guys,
I am working on a struts based application. I need to meet a special
requiremen
Hi Guys,
I am working on a struts based application. I need to meet a special
requirement that is when user clicks the X button on the browser the browser
should not close immediately rather we should show a confirm box. if user
says yes in the confirm box then only browser should close.
i am tr
32 matches
Mail list logo