SV: What is the best way to pass a parameter to a forward? Create a utility class

2004-03-16 Thread Tommy Holm - TELMORE
Some time ago this question has been asked before and someone showed some utility class code. I used the code and created a class like this: import java.util.HashMap; import java.util.Hashtable; import java.util.Iterator; import java.util.Map; import org.apache.struts.action.ActionForward; /**

SV: What is the best way to pass a parameter to a forward? Create a utility class .Client code

2004-03-16 Thread Tommy Holm - TELMORE
meddelelse- Fra: Tommy Holm - TELMORE Sendt: 16. marts 2004 13:48 Til: Struts Users Mailing List Emne: SV: What is the best way to pass a parameter to a forward? Create a utility class Some time ago this question has been asked before and someone showed some utility class code. I used the code

SV: Iterating List

2004-03-10 Thread Tommy Holm - TELMORE
The latter method would be the correct ! You could for clarity write the type of the id=myString which is the object you access in every iteration and it would be required for other custom objects logic:iterate id=myString name=myform property=ListofStringobjects type=java.lang.String

SV: Struts Workflow - Questions ?

2004-03-03 Thread Tommy Holm - TELMORE
Hi I am not sure if I understand your question right, but the way I understand it is. You have some action that either can forward to itself (looping) 3 times ( 4 time it should be a workflow violation) or in case everything is ok forward to another action ? Well you have a couple of options. You

SV: How to create an include which calls an action: jsp:include page=some action Really need help : The Answer!

2004-02-26 Thread Tommy Holm - TELMORE
Tommy -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sendt: 25. februar 2004 21:31 Til: Tommy Holm - TELMORE Emne: SV: How to create an include which calls an action I'm getting the following error. Can you send me an usage example. I wonder if controller action

jsp:include page=some action Really need help

2004-02-25 Thread Tommy Holm - TELMORE
Hi everyone. I have already asked this once but didn't get any answer, I have tried everything that I could think of but no luck, so if any of you have an idea what to do, I would really be happy for any help. I have a problem, I have a jsp page which should include the result of an action call.

SV: jsp:include page=some action Really need help

2004-02-25 Thread Tommy Holm - TELMORE
execute() method instead of an ActionForward - or are you already doing that? Niall - Original Message - From: Tommy Holm - TELMORE [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 1:07 PM Subject: jsp:include page=some action Really need help Hi everyone. I

SV: How to create an include which calls an action

2004-02-25 Thread Tommy Holm - TELMORE
15:39 Til: Struts Users Mailing List Emne: Re: How to create an include which calls an action Did anyone figure out how to do this? Giri SENji. -Tommy Holm - TELMORE [EMAIL PROTECTED] wrote: - To: [EMAIL PROTECTED] From: Tommy Holm - TELMORE [EMAIL PROTECTED] Date: 02/23/2004 10

How to create an include which calls an action

2004-02-23 Thread Tommy Holm - TELMORE
Hi everyone. I have a problem, I have a jsp page which should include the result of an action call. The action should prepare the bean associated with the action and create the jsp which then in the end should be included in the master jsp.(The include is a menu, which the action should prepare).

SV: Struts Actions Forms Actions - ?????????

2004-01-26 Thread Tommy Holm - TELMORE
Are you using a html:form ... Tag for submitting the user request ? and are you sure that you are mapping the action to the correct action in the html:form action=? Did you implement the token check and forgot about it, so that you actually are getting double form submit exceptions ? I have

SV: SV: Struts Actions Forms Actions - ?????????

2004-01-26 Thread Tommy Holm - TELMORE
Ok lets look at it. You have a flow like this 1.) Selectmodel.jsp - 2.) listModels.do - 3.) listmodels.jsp - 4.)listModels.do - 5.)listmodels.jsp *** Correct ? From which point doesn't it work anymore, after number 3 ? Are you using an action for forwarding to Selectmodel.jsp ? If you

Logic:iterateTag

2003-12-05 Thread Tommy Holm - TELMORE
Hi. I have created a html td tr tag which can used neted inside the struts iterate tag. The idea is that the tag will generate the surrounding TR and TD tags, so that the data exposed from the iterate tag can be properly displayed in several columns for each row. Now the problem is that my tag

State change before form validation

2003-11-25 Thread Tommy Holm - TELMORE
I am currently using the struts workflow extension and I have stumbled upon some strange behaviour. When you on a jsp page with form and submit that form, the workflow state changes before the validation result is taken into consideration. Please correct me if I am wrong. This puzzles me because