Re: validation problem

2001-07-15 Thread Yuriy Zubarev
David, Yes it is. I think that userForm exists after the validation process (otherwise I would have gotten an error earlier), but something is wrong with countriesList. The form is quite big so I'll post part of it. html:html ... html:form action=/saveUser html:hidden property=action/

Suggestion on grid implementation

2001-07-15 Thread Debasish Ghosh
Dear All - I am relatively new to Struts. Hence I would like to invite your suggestions on the following implementation: In our application, for which we are using Struts, we need to implement a table of multiple columns, where 1. the number of rows will be dynamic and fetched from the

Re: validation problem

2001-07-15 Thread Gregor Rayman
Yuriy Zubarev [EMAIL PROTECTED] wrote: David, Yes it is. I think that userForm exists after the validation process (otherwise I would have gotten an error earlier), but something is wrong with countriesList. The form is quite big so I'll post part of it. The problem might be that your

Re: Preloading ActionForm data from database (newbie question)

2001-07-15 Thread Klaus Thiele
hi gerald, i don't now if i really understand your problem. in my opinion, the ClientInfoForm has noting to do with your ClientInfoBean. i would prefere this (regards to the struts-sample-app): 1) logon.jsp - LogonAction - LogonForm LogonForm validates the fields username and password are

RE: What If Resources Are Not Found?

2001-07-15 Thread eden
Struts gives you the option of planting a trap for that sort of thing (i.e. missing resource files ) in the jsp itself, via the logic tag (present/not present), or the ever useful ActionErrors object returned from the validate method of a class that extends 'ActionForm'. You can do your

Re: Preloading ActionForm data from database (newbie question)

2001-07-15 Thread Gerald Hanks
Klaus, Thank you for the response. Let me see if I can explain a little bit more about what I have done and see if this changes your answer at all. I have two jsp forms right now. One is login.jsp and the other is signup.jsp. Each one has an associated Form and Action. If the login fails it

Re: Preloading ActionForm data from database (newbie question)

2001-07-15 Thread Levi Cook
Hi Gerald, One point I'm not clear on from your descriptions, is whether you're directly accessing your .jsp files URL, or if you're accessing them via an action-mapping URL. For example: http://localhost/yourapp/clientinfo.jsp versus http://localhost/yourapp/clientinfo.do With Struts, the

Re: What If Resources Are Not Found?

2001-07-15 Thread David White
Thanks for the response. My comments follow yours... eden wrote: Struts gives you the option of planting a trap for that sort of thing (i.e. missing resource files ) in the jsp itself, via the logic tag (present/not present), By this, I assume you mean this sort of thing (which I have

RE: Running Tomcat+Struts w/o internet connection

2001-07-15 Thread Craig R. McClanahan
On Thu, 28 Jun 2001, Maxime Soucy wrote: I was facing the same problem depending on the way I was buiding my war file. -If I made a copy of all the files and folder required for the my war file in a specific folder (a copy of my Css/*, Jpg/*, *.jsp, and Web-inf/*) and then made : war

Re: LinkageError (using Digetser objects)

2001-07-15 Thread Craig R. McClanahan
Hello Duffiana, XML parsers can be the bane of our existence at times ... The most important principles I have applied to be able to use Digester separate from Struts include: - Digester (in Struts 1.0) requires a JAXP/1.0 or later parser. I've used it successfully with JAXP/1.0.1 and

HTML:Text not outputing the html text property 'disabled'

2001-07-15 Thread Albert Wong
Hi I'm trying to output the following HTML using the HTML:Text tag. The purpose is to create an HTML Text box that's initally disabled: input maxlength=1 tabindex=4 disabled name=INSURED_INITIAL size=2 type=text OnFocus=document.INSURED.ada_INSURED_INITIAL.value = '1'; VALUE= I'm using the

Auto html edit box population with HTML:Text

2001-07-15 Thread Albert Wong
Hi In order to get HTML:Text to autopopulate a HTML edit box from a form bean automatically, does the property have to start with a nonCapital letter? For example: HTML: text property=MyFormBeanPropertyName... I'm finding the autopopulation not working for me, and I vaguely remember

Re: specifying multiple forms in an action mapping

2001-07-15 Thread Craig R. McClanahan
On Wed, 4 Jul 2001, Narasimhan, Shyamala wrote: hi i would like to use two different forms in an action class... kindly advise as to how to specify the action mapping Although it is not possible to have 1 form beans per action *mapping*, it is definitely possible to have 1 form beans