ActionMapping problem: upgrading struts1.0 to struts1.1 question

2004-03-03 Thread Averbukh Stella
In the current struts 1.0 application, we do following: String actionNameFind = / + thisForm.getAction(); ActionMapping newMapping = (ActionMapping) getServlet().findMapping(actionNameFind); Does anybody know how I can retrieve ActionMapping in a similar manner in struts 1.1

Re: ActionMapping problem: upgrading struts1.0 to struts1.1 question

2004-03-03 Thread Alexander Craen
where are you trying to access your actionmapping? - Original Message - From: Averbukh Stella [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 6:13 PM Subject: ActionMapping problem: upgrading struts1.0 to struts1.1 question

Re: obtaining ActionMapping object

2004-01-22 Thread Hubert Rabago
You need the path to specify which mapping you want. From the RequestProcessor class, you can use: ActionMapping mapping = (ActionMapping) moduleConfig.findActionConfig(path); You can use RequestUtils to get your ModuleConfig. Why not call the formbean's validate() method

RE: obtaining ActionMapping object

2004-01-22 Thread Bubeník Miroslav
Subject: Re: obtaining ActionMapping object You need the path to specify which mapping you want. From the RequestProcessor class, you can use: ActionMapping mapping = (ActionMapping) moduleConfig.findActionConfig(path); You can use RequestUtils to get your ModuleConfig. Why

ActionMapping - regexp pattern matching for path

2003-12-17 Thread Sergey Proskurnya
Hello to all, In Struts-1.1 it is possible to bind Actions to static URL path, but is it possible to bind Actions to the set of the paths, described by Java regular expression? For example: action-mappings action path=/users/.* type=com.mysite.UserPageAction

Re: ActionMapping - regexp pattern matching for path

2003-12-17 Thread Brice Ruth
No, I don't believe this is possible currently. Wildcards of any kind (extending to regexps) are not support for ActionMapping paths. Sergey Proskurnya wrote: Hello to all, In Struts-1.1 it is possible to bind Actions to static URL path, but is it possible to bind Actions to the set

RE: ActionMapping - regexp pattern matching for path

2003-12-17 Thread David Friedman
haven't got around to using any modules yet. (I'm sooo slow on ths project, like I don't want to do it). Regards, David -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 3:27 PM To: Struts Users Mailing List Subject: Re: ActionMapping - regexp

Re: ActionMapping - regexp pattern matching for path

2003-12-17 Thread Ted Husted
Not in 1.1, but you can use wildcards in the nightly build. http://jakarta.apache.org/struts/userGuide/building_controller.html#action_mapping_wildcards Sergey Proskurnya wrote: Hello to all, In Struts-1.1 it is possible to bind Actions to static URL path, but is it possible to bind Actions to

ActionMapping - dependency - question

2003-12-03 Thread Zimmek, Jan
. : addProperty(String key, String value) and not a setter-method like (when property=test) : setTest(String value) Due to this fact I am running into problem because I am not able to use multiple enhancements at the same time, unless the defined ActionMapping-class of the action implements

Re: actionmapping set-property problem in 1.1 upgrade

2003-09-12 Thread Joe Germuska
At 0:30 +0200 9/12/03, Jan Zimmek wrote: Adding a custom digester rule (like for data-source and plugin) in this class: http://cvs.apache.org/viewcvs.cgi/jakarta-struts/src/share/org/apache/struts/config/ConfigRuleSet.java?rev=1.15content-type=text/vnd.viewcvs-markup plus adding a java.lang.Map

actionmapping set-property problem in 1.1 upgrade

2003-09-11 Thread Bill Milbratz
Title: actionmapping set-property problem in 1.1 upgrade Hi, We're upgrading to struts 1.1 and came across a problem with 'action specific' 'set-property' elements. I've searched the archives but haven't come across this problem. Specifically this action entry: !-- Display Public Profile

RE: actionmapping set-property problem in 1.1 upgrade

2003-09-11 Thread Syed, Nazeer
] Sent: Thursday, September 11, 2003 11:06 AM To: '[EMAIL PROTECTED]' Subject: actionmapping set-property problem in 1.1 upgrade Hi, We're upgrading to struts 1.1 and came across a problem with 'action specific' 'set-property' elements. I've searched the archives but haven't come across

RE: actionmapping set-property problem in 1.1 upgrade

2003-09-11 Thread Bill Milbratz
Title: RE: actionmapping set-property problem in 1.1 upgrade Thanks Nazeer for the quick response. A follow up: Extend the com.participate.util.client.struts.ApplicationActionMapping to have a getter and setter method for continue and change the className in the Struts config. What type

RE: actionmapping set-property problem in 1.1 upgrade

2003-09-11 Thread Joe Germuska
' ? (i.e. boolean or String) Also, how does struts use this? I grepped for 'setContinue' and 'getContinue' and didn't find it anywhere. When, inside an action element, you have a set-property property=X value=Y /, Struts uses that as an instruction to call a method on the ActionMapping class

RE: actionmapping set-property problem in 1.1 upgrade

2003-09-11 Thread Bill Milbratz
Title: RE: actionmapping set-property problem in 1.1 upgrade So, in this, Struts is looking at an instance of com.participate.util.client.struts.ApplicationActionMapping for a method called setPublic(...) Right. This class has had a setPublic(boolean) for a long time and it's worked

RE: actionmapping set-property problem in 1.1 upgrade

2003-09-11 Thread Bill Milbratz
Title: RE: actionmapping set-property problem in 1.1 upgrade I believe this is a bug in struts 1.1.Jan Zimmek posted a similar problem today. It seems that either the documentation or the code requires updating. The issue is that set-property no longer works for action as it did in 1.0.2

Re: actionmapping set-property problem in 1.1 upgrade

2003-09-11 Thread Jan Zimmek
RE: actionmapping set-property problem in 1.1 upgradeHi, an alternative is the parameter - attribute of the action - element. But this way you can only pass one parameter (except you use a csv value and split this in your action manually). Adding a custom digester rule (like for data-source

Probs migrating custom ActionMapping from 1.0.2 to 1.1

2003-08-25 Thread James Childers
= (SecureActionMapping) modCfg.findActionConfig(path); The second line gives a ClassCastException whenever a request is made. The hierarchy for SecureActionMapping is: ActionConfig +- ActionMapping +- SecureActionConfig +- PackagingActionMapping

Re: Probs migrating custom ActionMapping from 1.0.2 to 1.1

2003-08-25 Thread Kris Schneider
, getServletContext()); SecureActionMapping secAMapping = (SecureActionMapping) modCfg.findActionConfig(path); The second line gives a ClassCastException whenever a request is made. The hierarchy for SecureActionMapping is: ActionConfig +- ActionMapping

Re: attribute and name attributes of ActionMapping

2003-08-19 Thread Emerson Cargnin
Aug 2003, Emerson Cargnin wrote: Date: Mon, 18 Aug 2003 19:10:57 -0300 From: Emerson Cargnin [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: attribute and name attributes of ActionMapping In the struts-example application, the LogonAction

attribute and name attributes of ActionMapping

2003-08-18 Thread Emerson Cargnin
In the struts-example application, the LogonAction uses the attribute attribute to read or delete the formBean eg : session.removeAttribute(mapping.getAttribute()); If attribute is not used (just the name), is it possible to use the same approache? is it a good technic? -- Emerson Cargnin

Re: attribute and name attributes of ActionMapping

2003-08-18 Thread Craig R. McClanahan
On Mon, 18 Aug 2003, Emerson Cargnin wrote: Date: Mon, 18 Aug 2003 19:10:57 -0300 From: Emerson Cargnin [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: attribute and name attributes of ActionMapping In the struts-example application

Re: ActionMapping forward to another mapping

2003-08-14 Thread Mark Lowe
that the /notamEntryLoad Action and /notamWorkingList are sharing. Here is the ActionMapping for the /notamEntryLoad action name=notamForm path=/notamEntryLoad scope=request type=naimes.aisr.flightplan.action.NotamEntryLoadAction validate=false forward name=success path=/notamForm.jsp /forward forward

ActionMapping forward to another mapping

2003-08-14 Thread Shryock, Chad
/forward forward name=form path=/notamEntryLoad.do /forward /action I am having a problem when I forward to the form forward. The ActionClass is not getting the ActionForm object that the /notamEntryLoad Action and /notamWorkingList are sharing. Here is the ActionMapping

Dynamic ActionMapping params

2003-07-23 Thread Jim Kennedy
I have created several sites that use the mapping.findForward(BLA) method to forward (or redirect) to a relative URL. This has always been statically specified in my struts-config.xml like this: forward name=success path=/main_layout.jsp redirect=true/ then in code I do:

Re: Dynamic ActionMapping params

2003-07-23 Thread Michael Ruppin
--- Jim Kennedy [EMAIL PROTECTED] wrote: I have created several sites that use the mapping.findForward(BLA) method to forward (or redirect) to a relative URL. This has always been statically specified in my struts-config.xml like this: forward name=success path=/main_layout.jsp

RE: Dynamic ActionMapping params

2003-07-23 Thread Steve Caswell
from the configured ActionForward - return this new ActionForward May not be elegant, but it works for me. -Original Message- From: Jim Kennedy [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 3:03 PM To: [EMAIL PROTECTED] Subject: Dynamic ActionMapping params I have created

getting an ActionMapping class from within a custom tag

2003-07-21 Thread p
Hi, What: I would like to find the roles associated with an ActionMapping from within a custom tag, but I only have the action name so I guess I need to get an instance of the ActionMapping class. How can I do this? How do I get an ActionMapping class, given the name of the action? Why: I

RE: getting an ActionMapping class from within a custom tag

2003-07-21 Thread Alex Shneyderman
-Original Message- From: p [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 10:46 AM To: [EMAIL PROTECTED] Subject: getting an ActionMapping class from within a custom tag Hi, What: I would like to find the roles associated with an ActionMapping from within a custom tag

Is it possible to get the ActionMapping object in a filter ?

2003-07-18 Thread Ajay Patil
to be stored in the ActionMapping. Thanks in advance, Ajay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Is it possible to get the ActionMapping object in a filter ?

2003-07-18 Thread Navjot Singh
correct me if i am wrong The filter servlet is hit before the request reaches the main servlet - ActionServlet in struts case. As the request has not even reached ActionServlet, ActionMapping object has not been initialized as of now. so, you CANNOT have Mapping object in filter navjot

RE: Is it possible to get the ActionMapping object in a filter ?

2003-07-18 Thread Andrew Hill
ActionMappings are initialised at startup surely and available from the servlet context? -Original Message- From: Navjot Singh [mailto:[EMAIL PROTECTED] Sent: Friday, 18 July 2003 15:47 To: Struts Users Mailing List Subject: RE: Is it possible to get the ActionMapping object in a filter

RE: Is it possible to get the ActionMapping object in a filter ?

2003-07-18 Thread ashwani . kalra
) Subject: RE: Is it possible to get the ActionMapping object in a 07/18/2003 01:25 PM filter ? Please

Re: Is it possible to get the ActionMapping object in a filter ?

2003-07-18 Thread Erik Price
Navjot Singh wrote: correct me if i am wrong The filter servlet is hit before the request reaches the main servlet - ActionServlet in struts case. As the request has not even reached ActionServlet, ActionMapping object has not been initialized as of now. You can always have the access code

Any Possibility of Passing Parameters to a ActionMapping

2003-07-02 Thread AshokD
Hi, I have a question regarding ActionMapping and Forwards. I have a url which is configured in struts-config.xml as forward. From my Action class I can simply forward to this url, but I need to pass a parameter to this URL. Is it possible ? If yes how can we do this? Thanks in Advance

RE: Any Possibility of Passing Parameters to a ActionMapping

2003-07-02 Thread Jimmy Emmanual
new ActionForward(path.toString()); Jimmy -Original Message- From: AshokD [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 6:58 AM To: Struts Users Mailing List Subject: Any Possibility of Passing Parameters to a ActionMapping Hi, I have a question regarding ActionMapping

Subclassing ActionMapping

2003-06-09 Thread Jerry Jalenak
This should be so stinkin' obvious that I ought to be seeing it, but after spending all morning trying to figure this out, I hope someone can shed some light for me. I've subclassed ActionMapping so I can include a couple of set-property tags in my Actions. This seems to work OK as I can see

Re: Subclassing ActionMapping

2003-06-09 Thread José Ventura
I'm just guessing here, but have you tried using the first signature (using the normal ActionMapping) and then casting it inside your action to myActionMapping? HTH - v - Original Message - From: Jerry Jalenak [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 09, 2003 3:18 PM

RE: Subclassing ActionMapping

2003-06-09 Thread Mike Jasnowski
When you extract the ActionMapping are you casting it to your new subclassed actionMapping or the parent class? MyExtension ext = (MyExtension)actionMapping; Where MyExtension is the class named in the className attribute of your config HTH, Mike -Original Message- From: Jerry Jalenak

RE: Subclassing ActionMapping

2003-06-09 Thread Jerry Jalenak
Like I said, it ought to be so obvious. That was the whole problem. Here I'm expecting Struts to pass in my subclassed ActionMapping class (since I specified that on the className parameter), never thinking that Struts would instead pass in the base class and then I'd have to cast it over

ActionMapping

2003-06-02 Thread Tridev Kodamasingh
hi, In Struts :- Is it possible to define own set of propertys' for a ActionMapping ? Suppose, i want to define following two entries in struts_config.xml validator = com.MyValidator rule = myrule And want to access them in execute() method of my action class

Re: ActionMapping

2003-06-02 Thread Puneet Agarwal
You can write your own ActionMapping Class, which should extend the struts provided ActionMapping class. In struts-config.xml file in the tag action-mapping we can specify type =com.xx.x...YpurActionMapping for indivudual action we can specify this in the individual action tag as action

Submitting form to an ActionMapping with no formbean?

2003-03-13 Thread prhodes
Hello all, I have a quick question... if I have an ActionMapping defined, which uses type org.apache.struts.actions.ForwardAction, and I want to invoke this Action via a form submit button, what is the best way to accomplish this? If I don't specify a formbean in the ActionMapping definition

Re: Submitting form to an ActionMapping with no formbean?

2003-03-13 Thread Kevin Williams
=com.equiscape.webapp.crm.action.CreateContact forward name=success path=/add_quick_contact.do/ /action On Thu, 2003-03-13 at 17:22, [EMAIL PROTECTED] wrote: Hello all, I have a quick question... if I have an ActionMapping defined, which uses type org.apache.struts.actions.ForwardAction, and I want

the ActionMapping input property can optionally be the name of an ActionForward instead. but ERROR

2003-02-25 Thread Ferran Parra
Hi all, I configure this in the struts-config.xml : controller inputForward=true but this error is returned when application redirect to ActionMapping input property with the name of Global ActionForward: The requested resource (/ibercamera/adminPreCreateUser) is not available. any idea

ActionMapping enhancement?

2003-02-24 Thread Brandon Goodin
to display without having to pass it in through a query parameter. In other words I want to handle the default parameters in the struts-config.xml. The only solutions both include extending the ActionMapping class and using the set-property in the action-mapping of the struts-config.xml: SOLUTIONS 1

RE: ActionMapping enhancement?

2003-02-24 Thread Robert Taylor
Brandon, I have a similar situation and I ended up extending ActionMapping and using the set-property in the action-mapping in the struts-config file. robert -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 12:35 PM To: Struts User

RE: ActionMapping enhancement?

2003-02-24 Thread Jerome Jacobsen
-Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 12:35 PM To: Struts User List Subject: ActionMapping enhancement? Do any of you face this issue? and how do you deal with it? SCENARIO: I have a set of classes that handle event calendars

Re: ActionMapping enhancement?

2003-02-24 Thread David Graham
Default parameters that are contained in a url querystring get difficult to handle. It is nice to be able to change them in one place when needed. This avoids having to pillage through every page that may contain a reference to a partical url/querystring combo and adjust the parameters rather that

RE: ActionMapping enhancement?

2003-02-24 Thread Brandon Goodin
Great. Question: I don't want to write an action-mapping class that has properties for my event calendar action classes being used for my content management action classes. That is the problem that I see. One ActionMapping class for all your actions in the struts-config.xml. I like the idea

RE: ActionMapping enhancement?

2003-02-24 Thread Brandon Goodin
-0354 [EMAIL PROTECTED] http://www.phase.ws -Original Message- From: Jerome Jacobsen [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 10:53 AM To: Struts Users Mailing List Subject: RE: ActionMapping enhancement? Hi Brandon, I just posted something on a different topic that may

RE: ActionMapping enhancement?

2003-02-24 Thread Brandon Goodin
, 2003 10:58 AM To: [EMAIL PROTECTED] Subject: Re: ActionMapping enhancement? Default parameters that are contained in a url querystring get difficult to handle. It is nice to be able to change them in one place when needed. This avoids having to pillage through every page that may contain

RE: ActionMapping enhancement?

2003-02-24 Thread Brandon Goodin
[mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 11:25 AM To: Struts Users Mailing List Subject: RE: ActionMapping enhancement? Good point :-D. I haven't used that feature. So, it wansn't on the forefront of my mind. However, there are some legitimate times to provide non-form based runtime

error in the attribute input of actionmapping when accesing a globalforward

2003-02-21 Thread Ferran Parra
Hi all, I have the globalforward in the property input of the one action in action-mapping, i configure this in the controller in the struts-config.xml file in the struts1.1b3 in the struts-config.xml i have: controller inputForward=true nocache=true locale=true/ and in one actionmapping

RE: error in the attribute input of actionmapping when accesing a globalforward

2003-02-21 Thread James Mitchell
cannot read them. - Mark Twain (1835-1910) -Original Message- From: Ferran Parra [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 10:49 AM To: Struts Users Mailing List Subject: error in the attribute input of actionmapping when accesing a globalforward Hi

Re: error in the attribute input of actionmapping when accesing a globalforward

2003-02-21 Thread Ferran Parra
- Original Message - From: James Mitchell [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, February 21, 2003 4:55 PM Subject: RE: error in the attribute input of actionmapping when accesing a globalforward Is this part correct? path=/do/admin

AW: error in the attribute input of actionmapping when accesing a globalforward

2003-02-21 Thread Hirschmann, Bernhard
=anothervalue So you at least miss the ? Bernhard -Ursprüngliche Nachricht- Von: Ferran Parra [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 21. Februar 2003 16:49 An: Struts Users Mailing List Betreff: error in the attribute input of actionmapping when accesing a globalforward Hi all, I

RE: Accessing ActionMapping in JSP

2003-02-05 Thread Mark Ahnell
This one might have gotten buried in the morning download of email, has anyone looked at this problem? Thanks. :) - Mark -Original Message- From: Mark Ahnell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 12:52 AM To: [EMAIL PROTECTED] Subject: Accessing ActionMapping

Re: Accessing ActionMapping in JSP

2003-02-05 Thread Kris Schneider
to 1.1 and have been having a problem with accessing the ActionMapping in my JSP. I have a custom ActionMapping, HACActionMapping, which I have added several getters and mutators. With version 1.0, I used this code in my JSP: % ActionMappings actionMappings = (ActionMappings

Accessing ActionMapping in JSP

2003-02-04 Thread Mark Ahnell
I have recently migrated from 1.0 to 1.1 and have been having a problem with accessing the ActionMapping in my JSP. I have a custom ActionMapping, HACActionMapping, which I have added several getters and mutators. With version 1.0, I used this code in my JSP: % ActionMappings actionMappings

ActionMapping/ActionConfig cast in RequestProcessor.java

2003-01-24 Thread Bueno Carlos M
Howdy -- I have what is I guess a noob question, but I simply can't figure out these seemingly important lines of code in RequestProcessor.java: 646ActionMapping mapping = (ActionMapping) 647moduleConfig.findActionConfig(path); This appears on lines 646-7 in both 1.02

Re: ActionMapping/ActionConfig cast in RequestProcessor.java

2003-01-24 Thread Craig R. McClanahan
On Fri, 24 Jan 2003, Bueno Carlos M wrote: Date: Fri, 24 Jan 2003 16:18:49 -0500 From: Bueno Carlos M [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: ActionMapping/ActionConfig cast in RequestProcessor.java

ActionMapping, struts-config and custom attributes

2003-01-05 Thread Steve Vanspall
Hi there, Me again. Is there a way to set a custom attribute for an action mapping, then retrieve that attribute through the ActionMapping class? I am using Struts 1.1-b2 Regards Steve Vanspall -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto

Re: ActionMapping, struts-config and custom attributes

2003-01-05 Thread David M. Karr
Steve == Steve Vanspall [EMAIL PROTECTED] writes: Steve Is there a way to set a custom attribute for an action mapping, then Steve retrieve that attribute through the ActionMapping class? Steve I am using Struts 1.1-b2 It appears there's two ways to do this. You can get a hint

not getting right ActionMapping class with StrutsTestCase

2002-12-17 Thread Afshartous, Nick
I noticed the following when trying to use StrutsTestCase (latest version of StrutsTestCase with Struts B2). It seems that when a request is sent via StrutsTest that RequestProcessor,processMapping does not find the ActionMapping class that has been configured in web.xml. Instead it finds

Newbie question - ActionMapping

2002-12-03 Thread Curtis, Sean
hey all.. just installed struts, got demo up and running fine on iPlanet Web Server. just trying to create a simple demo app. 1 view(jsp) 2 fields 1 form, matching fields 1 action It seems that my jsp forwards correctly to my action mapping, my bean is populated correctly and validated. my logs

Request parameter with actionMapping

2002-11-06 Thread Aladar The Dinosaur
Hello, I'm trying to send request parameter (i.e. /uri.do?parameter=value) to the redirected page actionMapping returns, but couldn't find an easy way to do this. Can someone help? I suppose I can forward the control back to the intended page by creating a new instance of ActionForward

Extending ActionMapping in Struts 1.1 - classcast exception.

2002-11-05 Thread Alex_Kotchnev
I am working on an app with Tomcat 4.1 and Struts 1.1. I would like to extend an ActionMapping, in order to verify that the user is logged in. I extend an ActionMapping, create the getter and setter methods for the property that I have added. Finally, I change my web.xml and my struts

please help - difficult to understand how ActionMapping works

2002-10-18 Thread Jitendra Kharche
Hi All, I am experiencing a problem with action mapping. The error statement seen in browser is - Not Found The requested URL /struts-ex1/logon.do was not found on this server. Apache/1.3.14 Server at

ActionMapping question

2002-10-02 Thread Howard Miller
Hi, Can somebody explain what the attribute property of ActionMapping actually means. I don't understand it. Surely the request/session scope is that given in struts-config.xml, under what circumstances will it differ? Howard Miller -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED

Re: ActionMapping question

2002-10-02 Thread Eddie Bush
Did you miss my previous post regarding this? I think it finally hit the list - you should have it. My mail has been acting odd the last week or so though, so ... Howard Miller wrote: Hi, Can somebody explain what the attribute property of ActionMapping actually means. I don't understand

Re: ActionMapping question

2002-10-02 Thread Eddie Bush
Ok - you missed a subtle distiction :-) It's never going to be different form what is stated in the config file. You could, however, choose to instantiate/populate a form yourself and put it under some key that you wanted instead of the key Struts would normally expect to find the form

Struts ActionMapping / OC4J problem

2002-09-30 Thread Thomas Delnoij
Hi. Several days ago, I posted a message relating to configuring Struts to run properly on OC4J. The actual problem was that JDeveloper's wizard for creating Action classes, does not create a perform(), but an execute() method, which I beleive is the old version (?). The Action class that

RE: Struts ActionMapping / OC4J problem

2002-09-30 Thread Miguel Angel Mulero Martinez
Execute is the new versión (1.1b2). Perform is the old metod (1.0.2). Regads. -Mensaje original- De: Thomas Delnoij [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 30 de septiembre de 2002 12:33 Para: [EMAIL PROTECTED] Asunto: Struts ActionMapping / OC4J problem Hi. Several days ago, I

Struts ActionMapping / OC4J problem

2002-09-27 Thread Thomas Delnoij
=appaction.GetKeuringsForm forward name=trekker path=/trekker/keuringsformulier.jsp/ forward name=veldspuit path=/veldspuit/keuringsformulier.jsp/ forward name=boomgaardspuit path=/boomgaardspuit/keuringsformulier.jsp/ /action /action-mappings The first ActionMapping accepts input from a form

Re: Struts ActionMapping / OC4J problem

2002-09-27 Thread Eddie Bush
Have you looked at your console/log file yet? You're about the fourth person in two days to ask a similar question. If you have a misconfiguration you will get a stack trace - find it, read it, and if it doesn't make sense to you then ... search the archive (by all means :-) and then post

RE: Struts ActionMapping / OC4J problem

2002-09-27 Thread Karr, David
-Original Message- From: Thomas Delnoij [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 5:43 AM To: [EMAIL PROTECTED] Subject: Struts ActionMapping / OC4J problem Dear colleagues, I have a problem configuring Struts to run properly with the embedded OC4J app

RE: Struts ActionMapping / OC4J problem

2002-09-27 Thread Thomas Delnoij
6 144 300 14 EMail: [EMAIL PROTECTED] -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: vrijdag 27 september 2002 16:47 To: Struts Users Mailing List Subject: Re: Struts ActionMapping / OC4J problem Have you looked at your console/log file yet? You're about the fourth

RE: Struts ActionMapping / OC4J problem

2002-09-27 Thread Thomas Delnoij
] -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED]] Sent: vrijdag 27 september 2002 17:18 To: 'Struts Users Mailing List' Subject: RE: Struts ActionMapping / OC4J problem -Original Message- From: Thomas Delnoij [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27

Re: Struts ActionMapping / OC4J problem

2002-09-27 Thread Eddie Bush
Weird. I always get a stack trace when I have a misconfiguration. Let me look over your problem again ... action-mappings type=org.apache.struts.action.ActionServlet action path=/ProcessForm type=appaction.ProcessForm name=TrekkerFormBean scope=request

RE: Struts ActionMapping / OC4J problem

2002-09-27 Thread Miller, Jason
there. -Original Message- From: Thomas Delnoij [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 8:43 AM To: [EMAIL PROTECTED] Subject: Struts ActionMapping / OC4J problem Dear colleagues, I have a problem configuring Struts to run properly with the embedded OC4J app server

RE: Struts ActionMapping / OC4J problem

2002-09-27 Thread Karr, David
-Original Message- From: Thomas Delnoij [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 5:43 AM To: [EMAIL PROTECTED] Subject: Struts ActionMapping / OC4J problem Dear colleagues, I have a problem configuring Struts to run properly with the embedded OC4J app

calling a ActionMapping from a structs template page

2002-07-18 Thread Kevin Scott
here is the template page: %@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' % template:insert template='/TicketTemplate.jsp' template:put name='title' content='Home' direct='true'/ template:put name='mainMenu' content='/editRedistration.do'/ template:put name='content'

the 'attribute' property of ActionMapping

2002-07-15 Thread Tibor Gemes
This is not a question, but rather a suggestion. I reuse the same FormBean in session scope for three different ActionMapping, and most of the FormBean properties are not reseted. So if the user comes back to the same form, sees the recently entered values. But for these 3 forms I want

Re: Arbitrary parameters in ActionMapping?

2002-06-01 Thread Tim Sawyer
Mailing List [EMAIL PROTECTED] cc: Subject: Re: Arbitrary parameters in ActionMapping? Rick, You can already accomplish what you are describing with the current Struts architecture via set-property elements. action ... set-property property=prop value=val /action

Re: Arbitrary parameters in ActionMapping?

2002-06-01 Thread James Holmes
] on 05/31/2002 01:32:51 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject: Re: Arbitrary parameters in ActionMapping? Rick, You can already accomplish what you

RE: Arbitrary parameters in ActionMapping?

2002-06-01 Thread Jivan, Rajiv
parameters in ActionMapping? That's just the thing. You have to define a method in your action class for each set-property element you define. Basically if you have a property names test then your action class needs a method called setTest(String str). HTH, -james [EMAIL PROTECTED] http

Arbitrary parameters in ActionMapping?

2002-05-31 Thread Rick Mann
I've noticed a few people proposing solutions for various framework limitations that use the param attribute of the action tag. Obviously, only one parameter can reasonably be passed in this attribute. Does it not make sense to add a nested tag for parameters? In the build of Struts that I'm

Re: Arbitrary parameters in ActionMapping?

2002-05-31 Thread James Holmes
Rick, You can already accomplish what you are describing with the current Struts architecture via set-property elements. action ... set-property property=prop value=val /action This will call the setProp(String value) method of your action object with the val value. The Struts Console makes

Re: Arbitrary parameters in ActionMapping?

2002-05-31 Thread Raffy_Lata
: Arbitrary parameters in ActionMapping? Rick, You can already accomplish what you are describing with the current Struts architecture via set-property elements. action ... set-property property=prop value=val /action This will call the setProp(String value) method of your action object

Re: Arbitrary parameters in ActionMapping?

2002-05-31 Thread James Holmes
List [EMAIL PROTECTED] cc: Subject: Re: Arbitrary parameters in ActionMapping? Rick, You can already accomplish what you are describing with the current Struts architecture via set-property elements. action ... set-property property=prop value=val /action This will call

Re: ActionMapping, Forward Error

2002-05-20 Thread DHS Struts
From: Chris Cairns [EMAIL PROTECTED] html:link forward=editorsLogin bean:message key=index.editorsLogin/ /html:link I think this should be: html: link page=editorsLogin ... This is what the following message is telling you, that you used the wrong paramater name: Parse Error at line 23

ActionMapping, Forward Error

2002-05-18 Thread Chris Cairns
Hi folks, I just got started with J2EE, Struts, etc. a few days ago and am not sure of a few things. I also have an error question. First of all, I read that in the earlier Struts version of 0.5 that the action.xml file was used and is not. Unfortunately, the examples I'm following uses

Re: Warning when extending ActionMapping.

2002-04-18 Thread Adolfo Miguelez
DTD supports introduction of new paraemters with the tag set-property, by extending the ActionMapping. There is a tutorial some where in network, I think in HP Bluestone. Adolfo. From: Chuck Cavaness [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users

Re: Warning when extending ActionMapping.

2002-04-18 Thread Adolfo Miguelez
http://www.hpmiddleware.com/SaISAPI.dll/SaServletEngine.class/products/downloads.jsp#pdt16 _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: Warning when extending ActionMapping.

2002-04-18 Thread Christian Bouessay
Hi, I've added 4 lines in web.xml to tell ActionServlet not to read the DTD: init-param param-namevalidating/param-name param-valuefalse/param-value /init-param Then, warnings disappear. It's not a real solution, but for today, it's good :-). Thanks, for the link. -- C. Bouessay

Re(2): Warning when extending ActionMapping.

2002-04-18 Thread waldemar . cleenewerck
how do you make a project with a comboBox? Greetz Wald -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re(2): Warning when extending ActionMapping.

2002-04-18 Thread waldemar . cleenewerck
Hi, I have made a combo-box, with a list that I call in the bean. The list is made of strings, that i call form a database. How do i proceed of making a good solid project, thx, for any reaplies -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

RE: Re(2): Warning when extending ActionMapping.

2002-04-18 Thread Galbreath, Mark
What a way to segue a thread! This should answer all your questions: http://www.tuxedo.org/~esr/faqs/smart-questions.html Mark -Original Message- From: [EMAIL PROTECTED] Sent: Thursday, April 18, 2002 5:35 AM how do you make a project with a comboBox? Greetz Wald -- To unsubscribe,

Re: Warning when extending ActionMapping.

2002-04-17 Thread Chuck Cavaness
mapping, to be able to map each URL with a screen id: By example: action path=/logon forward=/views/authentication/logon.jsp screen=ADP-000 / To do this, I wrote my own class which extends ActionMapping. All works fine, I can access the screen id by calling

  1   2   >