Perfect...could the Docs be updated? Or is that a JIRA reportable issue?
-Original Message-
From: Musachy Barroso [mailto:musa...@gmail.com]
Sent: Friday, September 18, 2009 12:59 AM
To: Struts Users Mailing List
Subject: Re: FW: ConfigurationManager instance or how to reload
configuratio
Dispatcher.getInstance().getConfigurationManager().reload();
On Thu, Sep 17, 2009 at 10:12 PM, Lee Clemens wrote:
> Hello,
>
> xwork2 does not seem to contain a static method for
> ConfigurationManager.destroyConfiguration(), which
> http://struts.apache.org/2.0.14/docs/how-can-we-force-the-acti
Hello,
xwork2 does not seem to contain a static method for
ConfigurationManager.destroyConfiguration(), which
http://struts.apache.org/2.0.14/docs/how-can-we-force-the-action-mappings-st
rutsxml-to-reload.html claims it does.
Is there a way to obtain an instance of the ConfigurationManager class
Hello,
Does Struts 2 have a way to allow a traditional servlet/jsp application
to coexist with the Struts Action Model?
I would like to allow my servlet to continue processing some requests
while adding new jsp pages under the Struts implementation.
Blue Cross Blue Shield of Florida, Inc
Jipu Jiang wrote:
So if user input something wrong, I want to show the original form.jsp
page with all the parameters extracted from the database along with
error messages. So I need to go to the prepareAction first to gets these
parameters, and then display them in form.jsp page.
So make sure
Yes, I have read the Struts 2 Wiki and the migration guide. I still have a
problem where non-Dojo request are done like this:
GET /appPrefix/myApp/html/yui/calendar-min.js HTTP/1.1
And Dojo requests are done like this:
GET /myApp/struts/dojo/dojo.js.uncompressed.js HTTP/1.1
Somehow the appP
yeah, I am not sure how to fix that one, we would have to figure out a
smart(hacky) way to make the servlet context resolve the paths, but
that would probably only work for maven.
musachy
On Thu, Sep 17, 2009 at 8:51 AM, phillips1021 wrote:
>
> Musachy:
>
> I'm using the code for the JUnit plug
Dojo has been moved to a plugin in struts 2.1. There are more information on
this on the struts 2 wiki site.
You are much better of using dojo natively than the plugin [which you can call
it an old hag now :) ]
--- On Thu, 9/17/09, Scott Nesbitt wrote:
> From: Scott Nesbitt
> Subject: Dojo t
>-Original Message-
>From: Marty Milligan [mailto:milligansisl...@gmail.com]
>Sent: Thursday, September 17, 2009 2:16 PM
>To: Struts Users Mailing List
>Subject: Re: Calling an "init" method on an interceptor
>
>On Thu, Sep 17, 2009 at 1:03 PM, Mike Baranski
> wrote:
>> I did see that, but
On Thu, Sep 17, 2009 at 1:03 PM, Mike Baranski
wrote:
> I did see that, but I need spring to inject into the instantiated instance
> from struts.xml, not the injected one from applicationContext.xml. They
> seem to be 2 different ones if I have it in both.
>
> Maybe I can tell spring to grab the
If you want to redirect to an action and pass parameters then define your
result like this (Seems like I just answered this question a day ago [1]):
view
${issueId}
If you want to preserve all messages across redirects take a look here [2],
it's a lot easier to use t
I upgraded from 2.0.6 to 2.1.6 and am experiencing pathing trouble with Dojo
files.
Before upgrade:
After upgrade:
Somehow "/myApp" is getting inserted into thepath instead of ".."
Anybody know of how this replacement happens? Is there a way to make it use
the relative pathing?
Thanks
>-Original Message-
>From: Marty Milligan [mailto:milligansisl...@gmail.com]
>Sent: Thursday, September 17, 2009 11:43 AM
>To: Struts Users Mailing List
>Subject: Re: Calling an "init" method on an interceptor
>
>On Thu, Sep 17, 2009 at 10:19 AM, Mike Baranski
> wrote:
>> Right, that sounds
Probably not ... but that's something I could fall back on. I prefer not to
deploy it as a separate webapp.
Thanks,
Daniel
On Thu, Sep 17, 2009 at 10:47 AM, Wes Wannemacher wrote:
> I'm looking at doing something similar, but my approach will be
> different... I am planning to use CAS to conf
Musachy:
I'm using the code for the JUnit plugin (2.1.8) to do testing of Struts 2
Actions. My project is using the Spring and convention plugins. The tests
execute successfully, but a FileNotFoundException is thrown. Here is the
relevant log data when running the test.
2009-09-17 10:44:13,
On Thu, Sep 17, 2009 at 10:19 AM, Mike Baranski
wrote:
> Right, that sounds reasonable, and does not sound too sketchy to me, I just
> need to do a DB query for a config value, and don't want it to happen for
> every action.
Does it have to happen in Struts? There is a hook for this in Spring.
S
Hi there, is there any possibility in the struts html:submit tag to use a
self created javascript popUp for confirmation instead of the standard
'confirm()'?
I tried to replace the browsers confirm() function with a self created
javascript popUp.
Javascript is called in the onClick event of the s
Hi all,
The following is the exception I'm getting while the user try to refresh my
error page
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from
fulfilling this request.
exception
Infinite recursion detected: [//l
I'm looking at doing something similar, but my approach will be
different... I am planning to use CAS to configure SSO between the two
apps and then I'll just read data from the roller database. Probably
not what you're looking for, but I don't want the roller source
polluting my project's source t
Hi there,
Anyone has experience with using a blogging software module (like Apache
Roller) with a Struts 2 implementation? We want to add a new "blogs"
section to an existing web site built with Struts2. The blog module will
need to be seamlessly integreated as part of the site (not as a separat
Right, that sounds reasonable, and does not sound too sketchy to me, I just
need to do a DB query for a config value, and don't want it to happen for
every action.
M.
>-Original Message-
>From: Dale Newfield [mailto:d...@newfield.org]
>Sent: Wednesday, September 16, 2009 4:12 PM
>To: Stru
Hi,
I have a view page, which displays an issue from the database. The results
are based on specified id in parameters. On the same page there is a form to
add some additional information to the issue. Validation (via validate()
method) is configured for the form, and in case of error I want to di
Hi again,
yes i do define struts.convention.default.parent.package=default
but in order to have all action mapping created by convention added
parent package "default"
so that i can use this in my security interceptor.
Who knows, maybe it's corelated, i don't know.
But what i know for sure is
dou
A simple way to achieve that is to have a property on the form bean
that returns the username appropriate for display.
Nils-H
On Thu, Sep 17, 2009 at 2:35 PM, swathi reddy wrote:
> Hi all
>
> I am trying to display a user name through tag but before that
> I want to check the lenght of the nam
Hi all
I am trying to display a user name through tag but before that
I want to check the lenght of the name so that I can trim the name if it
exceeds 20 charecters.
--
Thanks& Regards
Swathi
Paweł Wielgus wrote:
>
> Hi Roger,
> i'm using convention in all my actual projects,
> i also use global result with no problems like this:
>
>name="login-input">/WEB-INF/pages/login-input.jsp
>
>
> Best greetings,
> Paweł Wielgus.
>
Hi Pawel
Do you define to
Hi Roger,
i'm using convention in all my actual projects,
i also use global result with no problems like this:
/WEB-INF/pages/login-input.jsp
Best greetings,
Paweł Wielgus.
2009/9/17 RogerV :
>
>
>
> Wes Wannemacher wrote:
>>
>> The conventions plugin has a var
Hello all,
I have a rather strange validation problem.
I have a field agencyCommRate declared as a BigDecimal.
I need to validate that a value between 0.0 and 100.0 is entered and
assumed the following validation rules would work.
Values outside the range are picked up correctly.
However, w
Wes Wannemacher wrote:
>
> The conventions plugin has a variable (constant) that you have to set
> so that your conventions actions extend a package other than
> conventions-default... It is toward the bottom of the page of the
> conventions plugin docs.
>
I've now amended my struts.xml (belo
Struts2 form validation gets indefinite loops in web browsers
Continue on the last email:
So if user input something wrong, I want to show the original form.jsp
page with all the parameters extracted from the database along with
error messages. So I need to go to the prepareAction first to gets t
Hi Dale,
Thanks for reply. I have a form that needs parameters from an action. So
to see the JSP form, I'll have to go to the action first to prepare
these parameters for the form, and then the JSP form will render these
parameters. I'll show some sample code here.
ReadAction.java
List paramete
31 matches
Mail list logo