Re: Do all actions in an action class (struts 2.1) have to inherit definitions from the same package?

2009-03-14 Thread musomesa
Thanks for clarifying. Chris -Original Message- From: Musachy Barroso musa...@gmail.com To: Struts Users Mailing List user@struts.apache.org Sent: Fri, 13 Mar 2009 10:44 pm Subject: Re: Do all actions in an action class (struts 2.1) have to inherit definitions from the same package?

Re: Actionerror's wont be shown when ajax call or when we do type=redirectAction using struts2.1.6

2009-03-14 Thread sajidbigler
Hi please see Answers in bold Greg: Sorry, I can't understand what you are talking about in scenario 1, on a redirect result there is no output response except the http redirect command. Sajid:Its normal Ajax call no redirect. signup.jsp html head titleService Owner/title link href=s:url

identify action

2009-03-14 Thread PEGASUS84
good moornig; my question is: How can I identify the action which came from; -- View this message in context: http://www.nabble.com/identify-action-tp22511787p22511787.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: back button

2009-03-14 Thread PEGASUS84
but How can I realize this? Antonio Petrelli-3 wrote: 2009/2/23 PEGASUS84 pegasu...@hotmail.it: Antonio se sei italiano potresti dirmi in italiano Translation (please do not answer here) Traduzione (non rispondere qui). Non lo fare, perché usare Javascript per tornare indietro ti

RE: tag set

2009-03-14 Thread Martin Gainty
..to set.. s:set name=user value=user scope=request/ ..to access.. s:property value=#request.user/Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This

RE: tag set

2009-03-14 Thread PEGASUS84
and to access from the Action mgainty wrote: ..to set.. s:set name=user value=user scope=request/ ..to access.. s:property value=#request.user/Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments

Re: tag set

2009-03-14 Thread Nils-Helge Garli Hegvik
Again, what are you trying to do? Why do you need to set it in the JSP, and what do you need it for in the action? Normally, you would process the input in the action before the JSP is dispatched. Maybe you need to look at your problem from a different angle. Nils-H On Sat, Mar 14, 2009 at 2:28

RE: this is driving me nucking futs!

2009-03-14 Thread Martin Gainty
MGcomments? __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other

Flow editor

2009-03-14 Thread Luis Gervaso
Hi, I want to implement a web flow editor using Struts2 The administrator can define a wizard based form The form can have n pages, but depending user choices one page can be skipped Each form must be a domain object (persistent) and has a set of rules (that fire depending the choices) Is

call action

2009-03-14 Thread PEGASUS84
is it possible to call an action without a form or a link? i would s:if calling an action /s:if -- View this message in context: http://www.nabble.com/call-action-tp22513608p22513608.html Sent from the Struts - User mailing list archive at Nabble.com.

RE: tag set

2009-03-14 Thread Martin Gainty
its already in the request public class EditFuBarAction extends Action { /* (non-Javadoc) * @see org.apache.struts.action.Action#execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest,

Re: tag set

2009-03-14 Thread Dave Newton
Martin Gainty wrote: its already in the request public class EditFuBarAction extends Action { public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { String user=request.getParameter(user);

Re: identify action

2009-03-14 Thread benjamin haimerl
PEGASUS84 wrote: good moornig; my question is: How can I identify the action which came from; hi, what did you mean? how to identify the action? - the action which will be called to render the actual page? if this is the question, just take a look @ the url... for example:

Re: call action

2009-03-14 Thread Nils-Helge Garli Hegvik
http://struts.apache.org/2.1.6/docs/tag-reference.html Check the 'action' tag. Nils-H On Sat, Mar 14, 2009 at 4:15 PM, PEGASUS84 pegasu...@hotmail.it wrote: is it possible to call an action without a form or a link? i would s:if calling an action /s:if -- View this message in

RE: tag set

2009-03-14 Thread Martin Gainty
Can you fix the examples in struts-2.1.6\src\apps\showcase\src\main\java\org\apache\struts2\showcase\integration ? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of

Re: tag set

2009-03-14 Thread Dave Newton
Martin Gainty wrote: Can you fix the examples in struts-2.1.6\src\apps\showcase\src\main\java\org\apache\struts2\showcase\integration Not with a bug report like that; what's wrong with them? Dave - To unsubscribe, e-mail:

RE: tag set

2009-03-14 Thread Martin Gainty
the location src\apps\showcase\src\main\java\org\apache\struts2\showcase\integration is where the (apparently incorrect version Struts1.x) examples are located *these examples are included in the 2.1.6 distro* Martin __ Disclaimer and

RE: this is driving me nucking futs!

2009-03-14 Thread dusty
@Chris - Those are definitely good points. I think that our first priorities for the applications we build for the Health System are maintainability readability. We don't have the performance needs of a major public internet site. Our sites are pretty zippy. ;-) Usually we have more large

Re: To .action or not to .action.

2009-03-14 Thread dusty
This is a gift from Mr. Don Brown back when he was working on the REST plugin. I remember people asking for it. Speaking of mrdon, where's he been? Maybe Atlassian is working him hard these days. ;-p Musachy Barroso wrote: It is not a bug, it is a feature! /friday musachy On Fri,

Re: Type conversion exceptions

2009-03-14 Thread dusty
your syntax for the field name should be ...name = settings[] rather than name = settings() Also, I think your action expects to build a List of Settings rather than Map of settings. If that is the case then you don't want to use key values in settings[ASDF1-123AS-123SA-123] you want to use

Re: Struts2 Standards, guidelines, recommendations

2009-03-14 Thread dusty
Are you just looking for a Struts2 convention or the whole stack, presumably Spring/Guice Hibernate/JDBC? sheltonn wrote: I was looking for something akin to the java code convention standard (http://java.sun.com/docs/codeconv/). My guess is that there is nothing out there for that. My

Re: How to hand out a param from request to request

2009-03-14 Thread dusty
Not really. I am not sure if there is a Struts2 question in there or more of a general web application design question. It sounds kind of messy. Kind of a poor man's mash-up. Why do all the applications have the same session id? Is it all one app now on one server or are they still on other

Re: Actionerror's wont be shown when ajax call or when we do type=redirectAction using struts2.1.6

2009-03-14 Thread dusty
I am not sure it helps you with Dojo, but may want to look at either a) the JSON result plugin which will return the actionErrors as part of the object graph. You could also create your own objects and have the plugin encode those in JSON and process them on the client side. b) I vaguely