RE: Tag question

2004-07-22 Thread Raghuram Kanadam
If you had the time Erik would you explain your method of arranging JSPs by the actor, seemed a beautiful approach. -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Thursday, July 22, 2004 1:16 AM To: Struts Users Mailing List Subject: Re: Tag question Sorry if this

RE: Error: html:multibox, backbutton, BeanPopulate Exception (IndexOutOfBoundsException)

2004-07-22 Thread Raghuram Kanadam
George are you looking from preventing the user from going back or are you looking for preventing caching? -Original Message- From: Georg Filios [mailto:[EMAIL PROTECTED] Sent: Thursday, July 22, 2004 3:06 PM To: [EMAIL PROTECTED] Subject: Error: html:multibox, backbutton, BeanPopulate Ex

RE: Error: html:multibox, backbutton, BeanPopulate Exception (IndexOutOfBoundsException)

2004-07-22 Thread Raghuram Kanadam
2004 3:16 PM To: Struts Users Mailing List Subject: Re: Error: html:multibox, backbutton, BeanPopulate Exception (IndexOutOfBoundsException) Hi, i am looking for preventing caching. So I am responsible on the server side, no matters what the users browser is. Regards, georg Am 22.07.2004 u

RE: About Struts + JBoss preference issue

2004-07-22 Thread Raghuram Kanadam
Koon, Try using a plain servlet on JBoss for your application, (JBoss may be loading a lot more unwanted stuff which may be consuming your resources) if you have a performance gain then we could concentrate on struts -Original Message- From: Aditya Athalye Sent: Thursday, July

RE: Tag question (JSP organization)

2004-07-23 Thread Raghuram Kanadam
By the time I learn JSF, someone will have developed a "CRUD IDE" that builds your entire app in five minutes, based on actor names and a CSS stylesheet. In a few years, we will have highly-paid "stack trace" experts. The average "corporate developer" will see a stack

RE: Intermediate loading page

2004-07-25 Thread Raghuram Kanadam
Well if you are using NS 6+, it still supports the div versions also. NS4+ have the layers requirement. I'm not sure I got the entire context but, we had a problem to prevent a user from resubmitting a form twice (Yes I know tokens could do, but), we wanted a JS to it for us. So we used the fac

RE: Tag question (JSP organization)

2004-07-25 Thread Raghuram Kanadam
Erik, If prepopulation is an issue we are dealing with quit often, why cant we have a method similar to prepopulate which would be called whenever the html:form is called? -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 2:17 AM To: Stru

RE: Tag question (JSP organization)

2004-07-25 Thread Raghuram Kanadam
Subject: Re: Tag question (JSP organization) I'm sorry Raghuram, I'm not able to understand your question. Could you elaborate? Thanks, Erik Raghuram Kanadam wrote: >Erik, > If prepopulation is an issue we are dealing with quit often, why cant we have > a method sim

RE: Tag question (JSP organization)

2004-07-25 Thread Raghuram Kanadam
you are suggesting -- for form prepopulation, though I think the Struts contributors and purists again would frown on this. Can you describe how this method you suggest would be easier or more efficient than using a "setup" action? Erik Raghuram Kanadam wrote: >The purpose

RE: Tag question (JSP organization)

2004-07-26 Thread Raghuram Kanadam
yet you want to pre-populate a form in your view, you simply must ensure that a form-bean of the proper type is placed in the proper scope under the proper name by your action (or by a Tiles controller, or by any other logic that can sneak in before the view is rendered). Hope that helps! Joe Rag

RE: Need a synchronizer token

2004-07-26 Thread Raghuram Kanadam
Try org.apache.struts.taglib.html.FormTag.java Line 513, 636?rendered under the hidden paramter "org.apache.struts.taglib.html.TOKEN" If the form tag finds a token saved (can be done by calling saveToken in the action class) it automatically renders it under as a hidden parameter undere

RE: Struts handling for a spreadsheet look-and-feel form

2004-07-26 Thread Raghuram Kanadam
Hi Richard, I'm not sure about the look and feel but with respect to your cells property = "row[i].col[j]" which would invoke getRow (i).getCol (j), So probably you could have a 2d array which returns a reference to a cell object!. Will elaborate if needed :) -Original Message-

RE: escaping xml..

2004-07-26 Thread Raghuram Kanadam
Pady, Try bean:write with filter = true? -Original Message- From: Pady Srinivasan [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 1:29 AM To: [EMAIL PROTECTED] Subject: escaping xml.. Using Struts 1.1... We have a jsp page that uses a html:option tag. When the data lo

RE: Clear actionerrors in formbeans?

2004-07-26 Thread Raghuram Kanadam
I'm not sure James, you could set return an empty error object from your form and not save the errors in your action! If you're using validator plugin then you would probably hide these errors on clicking reset :) -Original Message- From: hermitgeek [mailto:[EMAIL PROTECTED] Sent: Tue

RE: mapping.setInput()

2004-07-27 Thread Raghuram Kanadam
Sory Satish! Configurations freeze upon loading! Check the ActionServlet's code. However We did find a way through, If you dont specify the input parameter then the ActionConfig.getInput () returns a new ForwardConfig (Unfrozen)!! Use this. But I would not beleive this is good design, for that w

Accessing JavaScript functions in other windows

2004-07-27 Thread Raghuram Kanadam
Seems that there is a way after all :) Please ignore this if you guys already know this or feel that this shud be on a HTML users list. We could use the fact that properties could be added to a class at runtime, so heres the code document.customFunction = myCustomFunction; func

RE: Struts handling for a spreadsheet look-and-feel form

2004-07-27 Thread Raghuram Kanadam
l return a separate ActionForm for each cell? I was trying to avoid the overhead of creating 600 (e.g. 20 rows by 30 columns) ActionForms each request. I know they are lightweight object, but it still seemed excessive. Thank you - Richard > -Original Message- > From: Raghuram Kanada

RE: mapping.setInput()

2004-07-27 Thread Raghuram Kanadam
l 2004 11:34:48 +0530, Raghuram Kanadam <[EMAIL PROTECTED]> wrote: > Sory Satish! Configurations freeze upon loading! Check the ActionServlet's code. > However We did find a way through, If you dont specify the input parameter then the > ActionConfig.getInput () returns a new Forwa

RE: Retrieving specific form validation error messages

2004-07-29 Thread Raghuram Kanadam
Tries, ActionError.properties () Erik? You may need to use a small scriptlet -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Thursday, July 29, 2004 2:40 PM To: Struts Users Mailing List Subject: Re: Retrieving specific form validation error messages This is what I ca