Re: newbie question: How can I make a Struts Project with multiple modules?

2008-08-03 Thread Antonio Petrelli
Version of Struts? 2008/8/4 ryan webb <[EMAIL PROTECTED]>: > How can I make a Struts Project with multiple modules? > > -- > warmest regards, > Ryan Webb - Philippines > > email: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMA

Re: [struts] paramsPrepareParams vs. staticParams

2008-08-03 Thread Dale Newfield
Gabriel Belingueres wrote: Unless you put also those two kind of static parameters in your action, then I think staticParams should need to be executed only once. In any place where you have staticParams and/or actionMappingParams, I would expect the semantics of the action (and potentially th

Re: s2: Retrieve current url value

2008-08-03 Thread Wes Wannemacher
Depending on how you want it, you can use EL like - ${request.requestURI} or, if you are talking OGNL, try - -Wes On Sun, 2008-08-03 at 23:42 -0400, [EMAIL PROTECTED] wrote: > Hi, > > Is there a way to get current page's url in struts2? > > e.g. suppose a login page's url is http://.../ n

Re: how to set classpath for servlet-api.jar, jsp-api.jar and struts.jar for Ubuntu

2008-08-03 Thread Narasimha Raju Naidu
ok. sure i will. but can you send link for eclipse form. becoz i faild to found that form link. On Sat, Aug 2, 2008 at 11:05 PM, Gabriel Belingueres <[EMAIL PROTECTED]>wrote: > Struts are just jar files. From Eclipse POV, it is just another User > Library or J2EE Module Dependency. > You may f

s2: Retrieve current url value

2008-08-03 Thread [EMAIL PROTECTED]
Hi, Is there a way to get current page's url in struts2? e.g. suppose a login page's url is http://...//login_input.action, how to get the url in that page? JavaScript is not allowed. Thanks. - To unsubscribe, e-mail: [EMAIL P

newbie question: How can I make a Struts Project with multiple modules?

2008-08-03 Thread ryan webb
How can I make a Struts Project with multiple modules? -- warmest regards, Ryan Webb - Philippines email: [EMAIL PROTECTED]

Re: paramsPrepareParams vs. staticParams

2008-08-03 Thread Gabriel Belingueres
>From a design POV, there are differences between params and staticParams interceptor: AFAIK, the parameter interceptor is called twice because it serves this design purpose: to allow your action to execute some logic which is dependent of *some* of the current parameter values to set up the model

Re: EJB Injection for Struts 2 Actions

2008-08-03 Thread Struts Two
You can extend the default stack to inject EJB3. I am not sure if the lookups for all the servers are the same, but in my case, I have extended the default stack to inject EJB3 local lookups through an interceptor on Websphere and it is working prettry good. - Original Message From:

RE: paramsPrepareParams vs. staticParams

2008-08-03 Thread Andy Law
mgainty wrote: > > > Andy- > the short answer is you don't want > user-set parameters to override your static parameters. > > Well yes - but I need the parameters for doing some prepare() work. I can see that staticParams fires after params in the default stack. I can also see that params i

Re: Delete Confirmation in Struts2

2008-08-03 Thread Gabriel Belingueres
2008/8/2 hisameer <[EMAIL PROTECTED]>: > > Hi > > I am having a problem in getting the confirmation of a delete operation. My > requirement is that: > I have a list of user and I have a DELETE link for each and evey user in > the list. I already defined a delete

Re: paramsPrepareParams vs. staticParams

2008-08-03 Thread Musachy Barroso
You can configure the params interceptor to ignore some parameters, passing regular expressions to the excludeParams attribute. http://struts.apache.org/2.x/docs/parameters-interceptor.html musachy On Fri, Aug 1, 2008 at 12:53 PM, Gabriel Belingueres <[EMAIL PROTECTED]> wrote: > staticParams prov

RE: paramsPrepareParams vs. staticParams

2008-08-03 Thread Martin Gainty
Andy- the short answer is you don't want user-set parameters to override your static parameters. btw for 2.1.1 you also need: "actionMappingParams" Which means your stack should be: ... ... ... (courtesy of dale) http://www.nabble.com/about-paramsPrepareParamsStack-t

Re: EJB Injection for Struts 2 Actions

2008-08-03 Thread Marc Ende
Hi, I've followed this article and it works great for me. http://blogs.cuetech.eu/roller/psartini/entry/in_struts2_auf_ejb3_session Marc � schrieb: i'm looking for a possibility to realize EJB injection for struts actions. The simpler the better. I know that there is a EJB plugin in the regis

Re: @FieldExpressionValidator calling action's method

2008-08-03 Thread Hrvoje Ban
On Sun, Aug 3, 2008 at 5:04 AM, Pierre Thibaudeau <[EMAIL PROTECTED]> wrote: > Sorry to hear it didn't work. > > I am having my own share of problems with that ExpressionValidator, and I > found one useful suggestion in the following doc: > http://www.opensymphony.com/xwork/wikidocs/ExpressionValid

EJB Injection for Struts 2 Actions

2008-08-03 Thread Alexander Bätz
Hi, i'm looking for a possibility to realize EJB injection for struts actions. The simpler the better. I know that there is a EJB plugin in the registry but currently (and at least for the last 3 weeks) there is now download on the project site. Some explanation how this is possible in struts