How to set

2006-10-03 Thread Thanigaivelan . Murugan
Hi All, I need to set as a post method, caz I need to avoid the parameter values to be catched in the histories in case of the GET method request. can anyone send me some suggestions. Thanks, Thanigai M. This electronic mail message is intended solely for the named recipients and may

Re: cannot get parameter value in action class passed using html:link

2006-10-03 Thread Antonio Petrelli
Hi Vinod Vinod Kumar ha scritto: Hi Antonio, Thanks for your response. 1. I am not using any filter and if i am not wrong, then tomcat 3.3.2 does support filters since it implements servlet 2.2 specs. Uh, right! Well i cannot know everything :-) I am not sure if paramters from html:link

Check a multibox dynamically

2006-10-03 Thread grifoxx
Hi, I have a multibox tag that gets the labels and velues from the data base and I also have a bean that contains the data that the user choose. Now I want to check the boxes each time the user wants to update it's preferences. 1. I display the check boxes with the data comming from the data bas

Re: how to escape double quotes in html:link

2006-10-03 Thread Laurie Harper
Vinod Kumar wrote: Hi All, I am trying to create a list of html links dynamiclly. I have a collection of links. My HyperLink class has one linkURL field and another linkDesc field (its a javabean). When I iterate thru these links, the double quotes are causing problem and i have tried ever

Re: Avoiding multiple validation messages

2006-10-03 Thread priya
Hi Ed, Thank you for the clarification! That worked out great! Priya On 10/3/06, Ed Griebel <[EMAIL PROTECTED]> wrote: Let me clarify, in your html:form statement, try adding a return like so: On 10/3/06, priya <[EMAIL PROTECTED]> wrote: > > Hi Ed, > > Thank you for your response! > Since

Re: Avoiding multiple validation messages

2006-10-03 Thread Ed Griebel
Let me clarify, in your html:form statement, try adding a return like so: On 10/3/06, priya <[EMAIL PROTECTED]> wrote: Hi Ed, Thank you for your response! Since I am using Struts client side validation, I am not creating the validate method.. Struts is creating it for me.. Do you mean I shou

Re: Avoiding multiple validation messages

2006-10-03 Thread Ed Griebel
In your form's onclick="validate()" method (or whatever it may be called in your case), it may work to add "return" to the javascript method call. The validate method will return false if validation fails, and the form will not be submitted back to the server. HTH, -ed On 10/3/06, priya <[EMAIL

Re: unsubscribe me

2006-10-03 Thread Martin Gainty
Hi Gary why are you unsubscribing? M * This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this emai

Avoiding multiple validation messages

2006-10-03 Thread priya
I am using client-side and server-side validation in my login form. Both work and when I dont enter the required fields I recieve a javascript alert box saying that the fields "username or password are required". After I click okay it does a serverside validation as well and prints on the screen

how to escape double quotes in html:link

2006-10-03 Thread Vinod Kumar
Hi All, I am trying to create a list of html links dynamiclly. I have a collection of links. My HyperLink class has one linkURL field and another linkDesc field (its a javabean). When I iterate thru these links, the double quotes are causing problem and i have tried every possible combination

Struts textfield +Iterated list +retrieving user changed value from form.

2006-10-03 Thread Adam K
I am working with struts 1.2.9 and trying to use the iterate function. I seem to be having a problem extracting the value from a text field inside an iterated loop. I am able to get/set values thare are being placed simply into html, but run into difficulties when working with the text fields.

clear form bean properties

2006-10-03 Thread fea jabi
Which method is the better/preffered way to clear the form-bean properties. have form properties as ArrayList, String and Boolean in a DynaValidatorForm. when we have to clear the form bean we are trying to remove all the form properties i.e making form-bean with no properties in it. Other w

Re: unsubscribe me

2006-10-03 Thread Gary Feidt
I guess no one ever reads the bottom of most of the emails: >To unsubscribe, e-mail: [EMAIL PROTECTED] Give it a try! >>> [EMAIL PROTECTED] 10/3/2006 11:10:12 AM >>> unsubscribe me Thanks If you have received this e-mail in error, please delete it and notify the sender as soon as possible.

Re: cannot get parameter value in action class passed using html:link

2006-10-03 Thread Vinod Kumar
Hi Antonio, Thanks for your response. 1. I am not using any filter and if i am not wrong, then tomcat 3.3.2 does support filters since it implements servlet 2.2 specs. Other thing is that I am not using any ActionForm for this Action. My Action is below: Since I am just passi

Re: [s2] calling defferent methods in action on submit button press

2006-10-03 Thread Don Brown
If you want to call a different method on an action, use the "method" attribute: Don On 10/3/06, Garner Shawn <[EMAIL PROTECTED]> wrote: I'm trying to calldefferent methods in action on button press. I filled out the action attribute on the s:submit buttons to be myAction!update myAction!add

unsubscribe me

2006-10-03 Thread Kakoli Saha
unsubscribe me Thanks If you have received this e-mail in error, please delete it and notify the sender as soon as possible. The contents of this e-mail may be confidential and the unauthorized use, copying, or dissemination of it and any attachments to it, is prohibited. Internet communicat

[s2] calling defferent methods in action on submit button press

2006-10-03 Thread Garner Shawn
I'm trying to calldefferent methods in action on button press. I filled out the action attribute on the s:submit buttons to be myAction!update myAction!add myAction!delete which I'm expecting it to call the add, update, and delete methods in my action. Is this all I need to do because I'm getting

Form field validation - best practices

2006-10-03 Thread Duane Rosengartner
In our application, the implementation for error message handling is: using a HashMap for error messages with the form propertyName as the key. This prevents duplicate messages for form fields. Taking one example use-case: zipCode, rules are: must be numeric, and must be at least 5-digits in length

Re: using dojo with struts

2006-10-03 Thread Frank W. Zammetti
Change that GET to POST... I'm using Dojo with Struts without any problem, and I believe using the formNode attribute creates a POST body, but setting method to GET I'd bet discards it. Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com A

unsubscribe me

2006-10-03 Thread Rohit Dadhwal
unsubscribe me thanks

RE: what version is best..

2006-10-03 Thread James Holmes
I'm in the final stages of wrapping up Struts: The Complete Reference 2nd Edition that will be fully up to date with Struts 1.3.5. It should be in stores in 4 - 5 weeks. Struts 1.3.5 is definitely a leg up on previous versions and I would recommend using it over previous versions. However, if you d

Re: utf-8 a strange problem

2006-10-03 Thread Nathan Coast
fixed, well, nothing to fix actually, some of the text had got into the db containing escape sequences e.g. Aşterge so with bean:write filter="false" Aşterge was written to html as is and the browser rendered as Aşterge however with filter="true" Aşterge was written to html as Aşter

using dojo with struts

2006-10-03 Thread Venkata Phani Kumar
Hi, I need some help regarding dojo with struts. I have one form which contains some check boxes and 'delete' button. i have corresponding Action and ActionForm classes to implement delete. I am trying to implement Dojo here to avoid total page refresh. the code in jsp is : function onclick_

session management

2006-10-03 Thread sowjanya chimmani
Hi All, In our webapplication (struts based) we are using Ajax code (as part of header in all jsp)which will hits the server for every 10 sec so every time session will be updated so it is not possible to maintain the session (sesstion will not expires though after the session time

RE: [tiles] Re: Exception using Tiles

2006-10-03 Thread Barun Kumar Yadav
Thanks Antonio. It worked. -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 2:40 PM To: Struts Users Mailing List Subject: Re: [tiles] Re: Exception using Tiles Barun Kumar Yadav ha scritto: > org.apache.struts.tiles.DefinitionsFacto

Re: [tiles] Re: Exception using Tiles

2006-10-03 Thread Antonio Petrelli
Barun Kumar Yadav ha scritto: org.apache.struts.tiles.DefinitionsFactoryException: Error while parsing file '/WEB-INF/tiles-defs.xml'. The public identifier must begin with either a single or double quote character. Post your tiles-defs.xml, I suspect you have a problem with the public iden

RE: [tiles] Re: Exception using Tiles

2006-10-03 Thread Barun Kumar Yadav
Now its trying to read the tiles-defs.xml file, but its giving this error. javax.servlet.ServletException: Error while parsing file '/WEB-INF/tiles-defs.xml'. The public identifier must begin with either a single or double quote character. org.apache.struts.tiles.TilesPlugin.init(TilesPl

Re: Forwarding to a url

2006-10-03 Thread Antonio Petrelli
chamal desilva ha scritto: Hi, Is it possible to forward to a url rather than forwaring to a forward in struts.config file from a action class. For example we can do like this from servlets. req.getRequestDispatcher("page.jsp?id=10").forward(req,resp); Can we do the same with struts. Sur

Forwarding to a url

2006-10-03 Thread chamal desilva
Hi, Is it possible to forward to a url rather than forwaring to a forward in struts.config file from a action class. For example we can do like this from servlets. req.getRequestDispatcher("page.jsp?id=10").forward(req,resp); Can we do the same with struts. Thanking You, Chamal. _

[tiles] Re: Exception using Tiles

2006-10-03 Thread Antonio Petrelli
Barun Kumar Yadav ha scritto: Hi, When I am trying to use tiles feature using a tiles-defs.xml. I am getting the following error. ... root cause javax.servlet.jsp.JspException: Can't get definitions factory from context. org.apache.struts.taglib.tiles.InsertTag.processDefinitionName(InsertTag

Exception using Tiles

2006-10-03 Thread Barun Kumar Yadav
Hi, When I am trying to use tiles feature using a tiles-defs.xml. I am getting the following error. javax.servlet.ServletException: Can't get definitions factory from context. org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageCont extImpl.java:825) org.apache.jas