Hoople 1.0 RC1

2005-10-05 Thread Nathan Voxland
I have posted version 1.0 RC 1 of Hoople, a tool to help with the management of struts-config.xml files (among other things) at http://www.sundog.net/hoople . =20 =20 Hoople allows me to split up my struts-config.xml, etc. file and have an actual file on the filesyste

Re: [OT] Struts , Portal how does this fit

2005-10-05 Thread Kjersti Berg
The WebSphere Portal Server comes with it's own implementation of Struts for portlet developement. Kjersti On 05/10/05, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > > > Hi > 1 . Suppose we have a site up and running which has > been developed using struts, can this website be a > part of port

Re: Navigation menu help

2005-10-05 Thread Sunil_Sahu
Faisal, If you are using then you have to provide the path woth context name but better way is to use instead of . In your case, instead of using Home , you should use Home. It will definitely work. Sunil Faisal Mahmoud <[EMAIL PROTECTED]> 06/10/2005 04:51 Please respond to "Struts User

Re: Struts JSF integration

2005-10-05 Thread gramani
struts lover <[EMAIL PROTECTED]> wrote on 10/05/2005 06:38:07 PM: > Hello Everyone, > > I just downloaded the struts-faces nightly build and > tried to integrate in my existing struts application. > > I get the following error. > > /virtual/addMember.jsp(10): Error in using tag library > uri='

Re: [Shale] error display - aka(?) How to get UIComponents within backing bean methods

2005-10-05 Thread gramani
[EMAIL PROTECTED] wrote on 10/05/2005 10:13:23 PM: > > Do you have the corresponding public getter and setter methods? (At least > getPassword() and setPassword())? Otherwise, this instance variable will > never be initialized. Yes I do: public HtmlInputSecret getPassword() { ret

Re: [Shale] error display - aka(?) How to get UIComponents within backing bean methods

2005-10-05 Thread Craig McClanahan
On 10/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > [EMAIL PROTECTED] wrote on 10/05/2005 05:48:57 PM: > > > > > Right strategy ... but one wrong detail. The search expression for > > findComponent() is the *client id* of the component in question, not the > > *id* property value. In tur

Re: [Shale] error display - aka(?) How to get UIComponents within backing bean methods

2005-10-05 Thread gramani
[EMAIL PROTECTED] wrote on 10/05/2005 05:48:57 PM: > > Right strategy ... but one wrong detail. The search expression for > findComponent() is the *client id* of the component in question, not the > *id* property value. In turn, the client id will be affected by the id of > naming containers (su

Re: Tiles - dynamic attribute values with XML definitions

2005-10-05 Thread Martin Gainty
Have you looked at Business Process Modeling for Struts http://team.andromda.org/docs/andromda-bpm4struts-cartridge/ The bpm4struts Cartridge has ATTLISTS defined for the cartridge http://sourceforge.net/mailarchive/forum.php?forum_id=28502&max_rows=25&style=nested&viewmonth=200404 HTH, Martin- --

Re: Getting at exceptions in ActionClasseswhenforwardedfromweb.xml?

2005-10-05 Thread Preston CRAWFORD
We will eventually, of course. For now, though, I wanted to setup a higher level error handling for those situations where we make a mistake and don't catch it or before we get thorough exception handling in place. That way the 500 errors get logged, but don't come back to the user with a stack tra

Re: bean:message with dynamic key?

2005-10-05 Thread Wendy Smoak
From: "Mick Knutson" <[EMAIL PROTECTED]> Can you please explain this a bit more?: If you're using , (JSTL 1.0 on a Servlet 2.3 container,) you should be using the Struts-EL tags instead of the original ones. Then you can use an ${expression} for the 'key' attribute. Start here: http://s

Re: bean:message with dynamic key?

2005-10-05 Thread Mick Knutson
Can you please explain this a bit more?: If you're using , (JSTL 1.0 on a Servlet 2.3 container,) you should be using the Struts-EL tags instead of the original ones. Then you can use an ${expression} for the 'key' attribute. Wendy Smoak wrote: > From: "Mick Knutson" <[EMAIL PROTECTED]> > >

Re: Navigation menu help

2005-10-05 Thread Wendy Smoak
From: "Faisal Mahmoud" <[EMAIL PROTECTED]> I have created a navigation menu jsp file that I include with all the pages on my webapp via the jsp:include tag. This page has the following nav menu: Home If you're going to use plain old HTML links, you'll need to include the ".do" extension. Ot

Navigation menu help

2005-10-05 Thread Faisal Mahmoud
I have created a navigation menu jsp file that I include with all the pages on my webapp via the jsp:include tag. This page has the following nav menu: Home New Job Retrieve Job I have placed all jsp pages under WEB-INF/jsp/, except for the login page which resides at WebRoot/index.jsp. The use

Struts JSF integration

2005-10-05 Thread struts lover
Hello Everyone, I just downloaded the struts-faces nightly build and tried to integrate in my existing struts application. I get the following error. /virtual/addMember.jsp(10): Error in using tag library uri='/WEB-INF/struts-faces.tld' prefix='s': The Tag class 'org.apache.struts.faces.taglib.

Re: Getting at exceptions in Action Classeswhenforwardedfromweb.xml?

2005-10-05 Thread Dave Newton
Preston CRAWFORD wrote: This actually does get me some of the information. Unfortunately since I'm sticking another servlet (my action) in between, the exception acts like it's coming from my action. So it appears I may have to go the route of extending the ExceptionHandler. I was hoping there w

Re: [Shale] error display - aka(?) How to get UIComponents within backing bean methods

2005-10-05 Thread Craig McClanahan
On 10/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > My registrationBean (extends AbstractViewController) has a "password" > attribute as well as a save() method which has this code: > > if (passwords_dont_match) { > error(messages.getMessage("password.mismatch")); > etc. > } > > My jsp has

Re: bean:message with dynamic key?

2005-10-05 Thread Wendy Smoak
From: "Mick Knutson" <[EMAIL PROTECTED]> I want to write a bean:message with a dynamic key such as: So that my ApplicationResources.properties can display: foobar = A combined key resulting in text. If you're using , (JSTL 1.0 on a Servlet 2.3 container,) you should be using the Struts-EL ta

Re: bean:message with dynamic key?

2005-10-05 Thread Leon Rosenberg
bar regards Leon On 10/5/05, Mick Knutson <[EMAIL PROTECTED]> wrote: > I want to write a bean:message with a dynamic key such as: > > So that my ApplicationResources.properties can display: > > foobar = A combined key resulting in text. > > Can anyone help with this? > > -- > > Thanks > Mick Kn

[Shale] error display - aka(?) How to get UIComponents within backing bean methods

2005-10-05 Thread gramani
My registrationBean (extends AbstractViewController) has a "password" attribute as well as a save() method which has this code: if (passwords_dont_match) { error(messages.getMessage("password.mismatch")); etc. } My jsp has this code: in the "" right next to where the password field is.

Re: Where to start?

2005-10-05 Thread Leon Rosenberg
On 10/5/05, Brian Gorby <[EMAIL PROTECTED]> wrote: > Where is a good place to begin here? Should I start at the View and work > my way down, or first program the model and ORM service? Are there any > design tools that prove overly helpful in determining all of this? Most agile development books (

[Shale]Newbie question

2005-10-05 Thread Michael Jouravlev
On 10/5/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 10/5/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > > > On 10/5/05, Werner Punz <[EMAIL PROTECTED]> wrote: > > > But the basic mechanisms regarding the whole page flow system are very > similar > > > in jsf and struts > > > > Please

Re: [Shale]Newbie question

2005-10-05 Thread Leon Rosenberg
On 10/5/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: ... > This is what I don't do. I prefer to have less actions, usually > stateful. I pass parameter to it or submit a form, and it selects a > proper view. But I guess you are right: I am able to google static > html pages for my live samples,

bean:message with dynamic key?

2005-10-05 Thread Mick Knutson
I want to write a bean:message with a dynamic key such as: So that my ApplicationResources.properties can display: foobar = A combined key resulting in text. Can anyone help with this? -- Thanks Mick Knutson (925) 951-4126 HP Consulting Services Safeway (Blackhawk Fastword Project) J2EE Archit

Re: How to ensure SSL transactions

2005-10-05 Thread Max Cooper
Jeff, It is common to have SSL between the browser and apache (httpd), and no SSL between apache (httpd) and Tomcat. So you don't need to install a cert on your tomcat. Depending on how you are proxying requests from your httpd server to tomcat (or if you also have load balancers and other compon

Re: encoding the session

2005-10-05 Thread Dave Newton
[EMAIL PROTECTED] wrote: For example my user can create a client form creatClient.jsp but can also go straight to the editClient.jsp by adding it to the URl and I want to stop this 1) Put JSPs under /WEB-INF somewhere (like /WEB-INF/jsp/...) Somebody already mentioned this. Only access the J

Re: [Shale]Newbie question

2005-10-05 Thread Craig McClanahan
On 10/5/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > > On 10/5/05, Werner Punz <[EMAIL PROTECTED]> wrote: > > But the basic mechanisms regarding the whole page flow system are very > similar > > in jsf and struts > > Please correct me if I am wrong, but in JSF I always ask for a page. > In

Re: Where to start?

2005-10-05 Thread Greg Reddin
On Oct 5, 2005, at 3:29 PM, Brian Gorby wrote: Where is a good place to begin here? Should I start at the View and work my way down, or first program the model and ORM service? Personally, I'd probably start with the model and ORM layer. Once you get that part written (and tested) it basi

Re: Where to start?

2005-10-05 Thread Michael Jouravlev
On 10/5/05, Brian Gorby <[EMAIL PROTECTED]> wrote: > Where is a good place to begin here? Should I start at the View and work > my way down, or first program the model and ORM service? Are there any > design tools that prove overly helpful in determining all of this? Check out the MailReader sampl

Re: [Shale]Newbie question

2005-10-05 Thread Michael Jouravlev
On 10/4/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > We have a search where the user can select whether he gets the result > as a gallery (many pics, few content), data summary ( less pix, more > content) and list (no pics, only content). They are produced by > different jsp pages (using tiles f

Where to start?

2005-10-05 Thread Brian Gorby
We are jumping platforms on an e-commerce site originally written in classic ASP (shotgun-scattered SQL everywhere, etc). The code has been converted, almost verbatim, to Perl, and the site is now running under Apache/mod_perl/MySQL. I would love to convert this into a Struts web-app, so I hav

Re: encoding the session

2005-10-05 Thread Max Cooper
If you are talking about preventing the user from typing stuff into the URL box, it is my opinion that it is a waste of time to approach the problem in this way. You can't prevent the user from typing whatever they want into the URL box. Period. So, don't try to build anything based on the flawed a

Re: [Shale]Newbie question

2005-10-05 Thread Werner Punz
Michael Jouravlev wrote: > On 10/4/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > >>Btw, struts is perfectly crawlable, since you have a different url for >>each page. This will not let you index a concrete page, but the whole >>site will be at list indexed. In opposite, a JSF site will return >>

Re: [Shale]Newbie question

2005-10-05 Thread Werner Punz
Greg Reddin wrote: > In my limited experience with JSF it does not seem to contain > templating capabilities. So in Struts classic I would use Tiles for > creating site templates as well as reusable views (or component-based > views). But with JSF Tiles still proves useful for templating and

Re: Where to search on old messages?

2005-10-05 Thread Vincent
Because I'm anal today: http://marc.theaimsgroup.com/?l=struts-user&r=1&w=2 Michael Jouravlev wrote: How about googling for: 'struts mailing (list OR lists) archive' before posting? ;-) I personally like MARC: Mailing list ARChives, marc.theaimsgroup.com -- The most beautiful thing we can ex

[OT] Re: [Shale] What is the Shale equivalent of the Struts plugin?

2005-10-05 Thread gramani
Hubert Rabago <[EMAIL PROTECTED]> wrote on 10/05/2005 03:48:06 PM: > On 10/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Thank you Craig. Every time I read one of your notes it hits me how much I > > should know that i don't (:( > > Geeta > > Don't feel too bad, Geeta. That's Craig

Re: Where to search on old messages?

2005-10-05 Thread Michael Jouravlev
How about googling for: 'struts mailing (list OR lists) archive' before posting? ;-) I personally like MARC: Mailing list ARChives, marc.theaimsgroup.com On 10/5/05, Scott Purcell <[EMAIL PROTECTED]> wrote: > Is there a way to search on old struts messages? I would like to search the > archives

Re: Where to search on old messages?

2005-10-05 Thread Hubert Rabago
Most of the archives we commonly refer to are listed on http://struts.apache.org/mail.html#archives Hubert On 10/5/05, Scott Purcell <[EMAIL PROTECTED]> wrote: > Is there a way to search on old struts messages? I would like to search the > archives before posting, but cannot figure out where to

Re: [Shale] What is the Shale equivalent of the Struts plugin?

2005-10-05 Thread Hubert Rabago
On 10/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thank you Craig. Every time I read one of your notes it hits me how much I > should know that i don't (:( > Geeta Don't feel too bad, Geeta. That's Craig. Not everyone can have the servlet spec pasted on the inside of their eyeballs

Where to search on old messages?

2005-10-05 Thread Scott Purcell
Is there a way to search on old struts messages? I would like to search the archives before posting, but cannot figure out where to do this. Thanks, Scott - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: Tiles - dynamic attribute values with XML definitions

2005-10-05 Thread Sanjay Sharma
I am not sure how Spring is related to this particular issue. I am using Spring as part of the application for model layer. My issue is related to Tiles. How can I specify attribute values for XML defined tiles at run time. It can be done for JSP defined Tiles but apparently not for XML defined Til

Re: [OT] Struts , Portal how does this fit

2005-10-05 Thread Leon Rosenberg
what exactly is your definition of a portal? Why shouldn't you be able to build a portal with struts? If you can build it with Servlets/JSPs, than you can build it with struts. as for your third question, what is the difference between a website and a portal? regards leon On 10/5/05, Ashish Kulk

Re: [Shale] What is the Shale equivalent of the Struts plugin?

2005-10-05 Thread gramani
Thank you Craig. Every time I read one of your notes it hits me how much I should know that i don't (:( Geeta [EMAIL PROTECTED] wrote on 10/05/2005 03:01:01 PM: > On 10/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Hubert Rabago <[EMAIL PROTECTED]> wrote on 10/05/2005 02:27:59 P

[OT] Struts , Portal how does this fit

2005-10-05 Thread Ashish Kulkarni
Hi 1 . Suppose we have a site up and running which has been developed using struts, can this website be a part of portal, 2 . If we have to develop a portal, can we use struts. Is there a tutorial, or how to for creating a portal using struts, or converting a existing website develop

Re: [Shale] What is the Shale equivalent of the Struts plugin?

2005-10-05 Thread Craig McClanahan
On 10/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hubert Rabago <[EMAIL PROTECTED]> wrote on 10/05/2005 02:27:59 PM: > > > For your case, initializing an app-wide collection, consider using a > > ServletContextListener. Even in Struts, this would be recommended for > > containers that su

Re: [Shale] What is the Shale equivalent of the Struts plugin?

2005-10-05 Thread gramani
Hubert Rabago <[EMAIL PROTECTED]> wrote on 10/05/2005 02:35:53 PM: > On 10/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > oh ok I actually know how to do that..;)) Btw, is there some secret reason > > why a listener is better than a plugin..? :) > > Yes, and this situation illustrate

Re: [Shale] What is the Shale equivalent of the Struts plugin?

2005-10-05 Thread Hubert Rabago
On 10/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > oh ok I actually know how to do that..;)) Btw, is there some secret reason > why a listener is better than a plugin..? :) Yes, and this situation illustrates it. If you started with a listener, you'd be able to carry it over to your new

Re: [Shale] What is the Shale equivalent of the Struts plugin?

2005-10-05 Thread gramani
Hubert Rabago <[EMAIL PROTECTED]> wrote on 10/05/2005 02:27:59 PM: > For your case, initializing an app-wide collection, consider using a > ServletContextListener. Even in Struts, this would be recommended for > containers that support it. oh ok I actually know how to do that..;)) Btw, is there

Re: action -> servlet

2005-10-05 Thread Hubert Rabago
For the path, try using the same path that you would use if you were calling the servlet directly from the browser, without the application context. You should also consider generating the file from the Action itself. The Action does have access to the servlet output stream and the html headers.

Re: [Shale] What is the Shale equivalent of the Struts plugin?

2005-10-05 Thread Hubert Rabago
For your case, initializing an app-wide collection, consider using a ServletContextListener. Even in Struts, this would be recommended for containers that support it. Hubert (Can this count as my first answer to a [shale] question? No? Aww.) On 10/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> w

Re: Struts action forms crossing sessions? Anyideawhythisishappening?

2005-10-05 Thread Preston CRAWFORD
This is why I haven't sent code. Because I am narrowing it down already. Same behaviour on WebSphere as of yesterday. Behaviour isn't exhibited when the object in question isn't created as a result of Hibernate, but rather populated manually as you suggested. So we have it narrowed down somewhat. I

[Shale] What is the Shale equivalent of the Struts plugin?

2005-10-05 Thread gramani
Sorry if this is a repeat question - I think it has been asked and answered, but I'm drawing a blank with google and the archives In my Struts apps, if I needed to initialise say an application-wide static collection or something I used to implement org.apache.struts.action.Plugin. I'd lik

Re: action -> servlet

2005-10-05 Thread Dave Newton
Martin Gainty wrote: The documentation for the Action Class http://struts.apache.org/api/org/apache/struts/action/Action.html shows that we can use ActionObject.setServlet(ActionServletObjectToAttach) I'd think that forwarding would be a lot easier... What kind of problems are you having with

Re: action -> servlet

2005-10-05 Thread Martin Gainty
Chris- The documentation for the Action Class http://struts.apache.org/api/org/apache/struts/action/Action.html shows that we can use ActionObject.setServlet(ActionServletObjectToAttach) Curious as to why you want to veer off from originating Servlet to another Servlet? Martin- - Original M

Re: Tiles - dynamic attribute values with XML deinitions

2005-10-05 Thread Martin Gainty
Sanjay- Provided you would be willing to provide the parameters for creating your bean (e.g. shared singleton or per instance) Have you look at implementing spring-beans? http://www.springframework.org/docs/reference/springbeansdtd.html Anyone else ? Martin- - Original Message - From:

Tiles - dynamic attribute values with XML deinitions

2005-10-05 Thread Sanjay Sharma
Tiles allows us to specify attribute values at run time in a JSP definition. For example, I can use the following to specify title at runtime by setting the myProperty attribute of myBean. However, I am using XML for defining tiles and would like to do the equivalent of what I can do using JSP

RE: encoding the session

2005-10-05 Thread David G. Friedman
Um, now about using tokens? Support is built-in after all. Regards, David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 05, 2005 8:42 AM To: user@struts.apache.org Subject: encoding the session Hi, Can anyone advise on how to encode the

RE: chaining actions i think!!

2005-10-05 Thread Frank W. Zammetti
Whenever I have done this I have always just passed along what I received in the first Action... same mapping, request, etc. Since I'm using the second Action, in essence, as a helper in the first, the mapping for the first is really what I'm servicing. This of course means that you'll have to be

action -> servlet

2005-10-05 Thread Chris Pat
Hello Is/how possible to forward from an Action to a servlet even indirectly? I try with a global forwards and cant get the path right. This is to get around the design that I have the Action create the file and I just want to serve the file to a browser. My servelet does it with ServletStream

[OT] How to pass HttpServletRequest into Hibernate?

2005-10-05 Thread 梁炳場
I have a menu made up of s. When a certain html:link is clicked, next level of menu made up of html:link displays. When the first level of html:link, I do this session.setAttribute() in the Action class. So that I know which link is clicked. To display the menu, it is the job of Hibernate. <% L

RE: chaining actions i think!!

2005-10-05 Thread faisal.shoukat
Thanks! As Frank sayes if I can use the action as a normal class then I am comfortable with writing a method to or using the execute method. If I use the execute method what would I pass in as my action mapping?? For the actionForm I can pass my form which I hold in the session. -Origin

Re: How to ensure SSL transactions

2005-10-05 Thread Jeff Thorne
I had a follow up question to the thread on SSL transactions. Does the SSL cert absolutely need to be installed in the servlet container? My ISP is telling me they will only install certs within the apache web server and not Resin/Tomcat. Is there away to proxy SSL requests between apache web se

Re: chaining actions i think!!

2005-10-05 Thread Martin Gainty
I am unsure if you want to chain actions as this would not conform to Action1->ActionForward1 where the design is meant to handle one action at a time store it as session variable and access it later Action... execute(... HttpSession session = request.getSession(); session.setAtt

RE: chaining actions i think!!

2005-10-05 Thread Frank W. Zammetti
This has been discussed more times than I can remember, and the outcome of those discussions has always been than there are as many opinions on it as there are stars in the sky. I myself am with you Faisal... I prefer to have more Actions that each have a discrete bit of functionality rather than

Re: How to provide different Validator Resources

2005-10-05 Thread Niall Pemberton
Sorry I don't really understand what you're saying - you seem to be contradicting yourself? If you don't specify the "bundle" attribute on the element in the validation.xml - then the tag on your JSP page will either use either the "default" message resources or the "bundle" you specify on that

RE: encoding the session

2005-10-05 Thread faisal.shoukat
yes -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 05 October 2005 13:47 To: Struts Users Mailing List Cc: user@struts.apache.org Subject: Re: encoding the session are you using struts framework <[EMAIL PROTECTED]> 05/10/2005 18:12 Please respond to "Strut

Re: encoding the session

2005-10-05 Thread Sunil_Sahu
are you using struts framework <[EMAIL PROTECTED]> 05/10/2005 18:12 Please respond to "Struts Users Mailing List" To cc Subject encoding the session Hi, Can anyone advise on how to encode the session Id so that a user cannot just type in the URL and get to the jsp? For example my

encoding the session

2005-10-05 Thread faisal.shoukat
Hi, Can anyone advise on how to encode the session Id so that a user cannot just type in the URL and get to the jsp? For example my user can create a client form creatClient.jsp but can also go straight to the editClient.jsp by adding it to the URl and I want to stop this Thanks -

Re: Action mapping to a Tile

2005-10-05 Thread Sunil_Sahu
Greg, 1- create one layout.jsp: <%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles"; prefix="tiles" %> 2 - add following entry in struts-config.xml If you want you can use your own action, in that case you have to provide method and forward name

Re: How to provide different Validator Resources

2005-10-05 Thread Ramesh Mohan Reddy
Hi, Thanks Mr. Niall for ur reply... I tried this way, but it doesn't work. The reason being the "bundle" attribute of element in validation.xml takes precedence over "bundle" attribute of . In my case, I have not specified "bundle" attribute for element. Hence, it will take the default mess

Re: How to provide different Validator Resources

2005-10-05 Thread Niall Pemberton
Yes, you just use the "bundle" attribute on either the or the element: or ... ... Niall - Original Message - From: "Ramesh Mohan Reddy" <[EMAIL PROTECTED]> To: Sent: Wednesday, October 05, 2005 12:39 PM Subject: How to provide different Validat

How to provide different Validator Resources

2005-10-05 Thread Ramesh Mohan Reddy
Hi, How can I set different validator resources in struts action before calling validate(...) method ? I have got one jsp and one declaration in validation.xml that are common for 2 types of customers, "abc" and "xyz". I have got message resource elements like below:- I could achieve js va

RE: chaining actions i think!!

2005-10-05 Thread faisal.shoukat
Maybe it is because I am new to struts but I don't see the benefit of writing one action class to handle a lot of mappings. For maintainablitity and the way my application is written I have multiple action classes. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent

Re: chaining actions i think!!

2005-10-05 Thread Sunil_Sahu
Faisal, Why are you making different action classes for Search and Edit functionality. You can have these method in one Action class itself and then you can call the 'search action mapping' from 'edit action mapping' defined in struts-config.xml. If you want more detail that how to do it, let

chaining actions i think!!

2005-10-05 Thread faisal.shoukat
Hi, Is there a way that I can call another action from within a action class. Is it as simple as just calling the execute method of the other action or another method of the action class as is required.? My scenario is as follows: A user searches on a client and is returned a number of results