javascript event

2004-04-14 Thread JavaSoft
Hi all If i have a text field (html:text) and a button submit(html:submit disabled="true") How can I make if i onfocus html:text, my html:submit disabled=false = == thx, a Java Student __ Do you Yahoo!? Yahoo! Tax Center - File onl

Re: javax.servlet.jsp.JspException: No getter method for property id of bean driver

2004-04-19 Thread JavaSoft
Check all input object names (textfield, checkbox, select).. those names should be as your form bean attribute --- as as <[EMAIL PROTECTED]> wrote: > > HI > > I get the error belw: > > javax.servlet.jsp.JspException: No getter method for > property id of bean driver > > while the only variab

Re: html:form

2004-04-19 Thread JavaSoft
2 forms i assumed you use 2 diffrent actions. It wouldn't matter how many form you have as long as you set the action in your struts-config correctly. If you use 2 forms just imagine you have 2 diffrent pages, how you deal with it ? so its supposed to be same as you handle your multiform. --- as

Re: No getter method for property p of bean b - getP is public in b's super class

2004-04-22 Thread JavaSoft
private attribute doesnt inherit to any child. Use protected or higher level. --- [EMAIL PROTECTED] wrote: > I have a bean class B, whose super class is A. > dealNumber is defined as private String in A, and it > has the following > getter/setter > public String getDealNumber() { > return

Re: Problem of ClassCastException when ArrayList to My own Class

2004-04-22 Thread JavaSoft
Check if your Array list.size in actionForm isnt 0. And i suggest dont instantiate a new Array object in Form bean becoz when your setter method failed for some reason, when you do get you wont get any error becoz you create an empty ArrayList and it will be returned. Its better if you only declare

Re: Problem of ClassCastException .No doubt ArrayList has some size

2004-04-22 Thread JavaSoft
If the size isnt 0, your ActionForm looks fine for me. I wonder your code in Action or any class when you put each FileProperties into a collection and set it to your form bean. --- ganesh g <[EMAIL PROTECTED]> wrote: > Hi Friends, > ThanQ very much 4ur non-stop help towards me. > Here is a probl

Re: No getter method for property p of bean b - getP is public in b's super class

2004-04-22 Thread JavaSoft
is is due to reflection? or Java Beans > property? > > XU CHENG > EXT: 8476 > DID: (65) 68898476 > > > > > >

Re: No getter method for property p of bean b - getP is public in b's super class

2004-04-22 Thread JavaSoft
After i checked the taglib class i found this: ** START // Call the indexed getter method if there is one if (descriptor instanceof IndexedPropertyDescriptor) { Method readMethod =((IndexedPropertyDescriptor) descriptor). getIndexedReadMethod(); if (readMethod != null)