Populate too much ...

2002-12-03 Thread Xavier Combelle
In MyAction1 I set a field of a form MyForm at null. The I make a forward to MyAction2. And when MyAction2 read the field, it is set with wich were before MyAction1 reseted it. It seems that is because the struts framework execute the populate between the MyAction1 and the MyAction2. So I set

RE: logic:iterate Simple code not run

2002-11-18 Thread Xavier Combelle
just change collection to name (the following code work ! %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % % java.util.Vector aVectore = new java.util.Vector(); aVectore.addElement(SAMPLE); aVectore.addElement(SAMPLE2);

RE: Using : Tomcat 3.2.2

2002-11-18 Thread Xavier Combelle
it seems that you did not used the id attribute logic:iterate id=item name=myfs property=myArrlst bean:write name=item property=yourProperty/ /logic:iterate -Message d'origine- De : vze49jqg [mailto:[EMAIL PROTECTED]] Envoyé : samedi 16 novembre 2002 17:32 À : Struts Users

RE: [OT]Need magic incantation

2002-11-15 Thread Xavier Combelle
Maybe you should check if the class you are look for is really in the jar by using an unzip tool. -Message d'origine- De : Sri Sankaran [mailto:Sri.Sankaran;sas.com] Envoye : vendredi 15 novembre 2002 17:42 A : Struts-User Objet : [OT]Need magic incantation I'm being stymied

RE: NEWBIE-Quesion? add a querystring to html:form

2002-11-14 Thread Xavier Combelle
maybe you should use a form with session scope instead of request scope so the data edited in the fields which are not in the present form will be still stored in the session without repeat it in the parameters -Message d'origine- De : Mouratidis, Georg

RE: From old JSP and Servlets to STRUTS

2002-11-12 Thread Xavier Combelle
I think that all the complex traitment on objects returned by logic should be simplified by the Action layer so the jsp work only with 'trivial' beans. Xavier -Message d'origine- De : Fernando Hernandez [mailto:fernando;bit-bang.com] Envoyé : lundi 12 novembre 2001 13:13 À : STRUTS

RE: special character

2002-11-12 Thread Xavier Combelle
just set the filter atttribute of bean:write tag at false as it is explained at the address http://jakarta.apache.org/struts/userGuide/struts-bean.html#write Xavier -Message d'origine- De : Amit Badheka [mailto:amit;direct2s.com] Envoyé : mardi 12 novembre 2002 13:49 À : Struts

RE: From old JSP and Servlets to STRUTS

2002-11-12 Thread Xavier Combelle
Robert, it is an interesting step by step way to develop struts aplication really interestion !! Xavier -Message d'origine- De : Robert Taylor [mailto:rtaylor;mulework.com] Envoyé : mardi 12 novembre 2002 15:07 À : Struts Users Mailing List Objet : RE: From old JSP and Servlets

RE: Problems with ActionMessages... (again)

2002-11-08 Thread Xavier Combelle
I am amazing that nobody answer you, so i checked the struts exeemple ( file LinkSubscriptionTag ) it appears that you must'n directly call ActionMessages messages = new ActionMessages(); but yous should use MessageResources messages = MessageResources.getMessageResources

RE: Problems with ActionMessages... (again)

2002-11-08 Thread Xavier Combelle
Sorry for my previous mail, I forgot to remove something that is what i wanted to say : I am amazed that nobody answered you ... so, I will do my best maybe you should use Action.MESSAGE_KEY instead ActionMessages.GLOBAL_MESSAGE it seems it's what it is specified in

Did not found doc about Tokens

2002-11-08 Thread Xavier Combelle
I post this message because I did not found any doc about the createToken, isTokenValid, resetToken API. So I will explain what I understood about it from the struts-exemple if something is wrong, I would like that someone will say to me and if there is some doc tell me where ... The token API

Did not found doc about Tokens

2002-11-08 Thread Xavier Combelle
I post this message because I did not found any doc about the createToken, isTokenValid, resetToken API. So I will explain what I understood about it from the struts-exemple if something is wrong, I would like that someone will say to me and if there is some doc tell me where ... The token API

RE: I am seeing double executions of my actions on a single form submit

2002-11-08 Thread Xavier Combelle
To avoid double post problem, from a double click of the user or from IE, you can use the Token functionnality of struts This functionnality seems not be documented, but I described it in a previous mail to the mailing list wih subject : Did not found doc about Tokens -Message d'origine-

RE: logic:present parameter

2002-10-31 Thread Xavier Combelle
Maybe your form is in the request scope instead of session scope ( just set scope to session of the action mappiing instruts-congig.xml ) So your form settings will be kept between two calls of your page Xavier -Message d'origine- De : Marcus Biel [mailto:Marcus.Biel;bmw.de] Envoye :

RE: MVC Design: property in ActionForm or Bean with property in ActionForm ?

2002-10-31 Thread Xavier Combelle
I have nearly the same think but I use to create properties as Integer which avoid me to make a call to Integer.valueOf() Am I wrong ? Sincerly Xavier -Message d'origine- De : Andrew Hill [mailto:andrew.david.hill;gridnode.com] Envoye : jeudi 31 octobre 2002 11:42 A : Struts Users

RE: MVC Design: property in ActionForm or Bean with property in ActionForm ?

2002-10-31 Thread Xavier Combelle
of the weakest link tv show ... but alas ... best practice says they should be 'friendly' ;-) -Original Message- From: Xavier Combelle [mailto:xcombelle;kaptech.com] Sent: Thursday, October 31, 2002 18:52 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: MVC Design

RE: [OT] Swing.... [WAS: RE: [ANNOUNCE] Struts Console v3.0]

2002-10-31 Thread Xavier Combelle
I also love vi but for java developpement, maybe Eclipse is a good choice ?? Xavier -Message d'origine- De : Galbreath, Mark [mailto:Galbreath;tessco.com] Envoyé : jeudi 31 octobre 2002 12:10 À : 'Struts Users Mailing List' Objet : RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts

RE: logic:present parameter

2002-10-31 Thread Xavier Combelle
About the reset method, you should know that it is called each time your action is called, before your action is called, just before the struts framework populate the form with the parameter of the request but here the problem is that you used logic:present parameter=plantSelection

RE: Newbie: Accessing form values

2002-10-31 Thread Xavier Combelle
just use logic:equal name=editDatabaseForm property=currentPage value=1 where editDatabaseForm is the formBena's name as specified in struts-config.xml Regards, Xavier -Message d'origine- De : Ian Crossfield [mailto:ian.xfield;dsl.pipex.com] Envoyé : jeudi 31 octobre 2002 16:17 À :

RE: [OT] Swing.... [WAS: RE: [ANNOUNCE] Struts Console v3.0]

2002-10-31 Thread Xavier Combelle
), not Swing. Mark -Original Message- From: Xavier Combelle [mailto:xcombelle;kaptech.com] Sent: Thursday, October 31, 2002 6:20 AM To: Struts Users Mailing List Subject: RE: [OT] Swing [WAS: RE: [ANNOUNCE] Struts Console v3.0] I also love vi but for java

RE: [Re: [how many form for update and create action ?]]

2002-10-30 Thread Xavier Combelle
I finaly chose to use the same action and the same form for create and update. This decision allow me to simplify my code, but I used two jsp because on the specification, the create and the update page are visually different thanks to all for help me about your advices . Xavier -- To

RE: Problem with unicode

2002-10-30 Thread Xavier Combelle
I think you should use the attribute filter=false of the write tag which will disable the character filtering by struts. see the following adress for more detailed explaination http://jakarta.apache.org/struts/userGuide/struts-bean.html#write Xavier -Message d'origine- De : [EMAIL

RE: scope

2002-10-30 Thread Xavier Combelle
I think you could solve this problem by specifying in the input attribute af your action the action which populate the JSP page instead of the JSP page itself or by putting the first time the bean in session scope Xavier Knoernschild, Kirk W [EMAIL PROTECTED] on 10/30/2002 08:27:21 AM

RE: struts messages

2002-10-30 Thread Xavier Combelle
The same thing append when I used log4j with struts framework, I made it disappear by specifing a high log level in the log4j configuration file logger name=org.apache.struts level value=ERROR/ /logger Xavier -Message d'origine- De : [EMAIL PROTECTED]

how many form for update and create action ?

2002-10-29 Thread Xavier Combelle
I have a conceptual problem in my struts application I am programming an application which give the possibility to create, update and delete several information, for exemple the name and the price of an item. So I need to give to the user two possibilities : 1- the possibility to create an