|
Re: no setters for page elements?: msg#00062java.enhydra.xmlc
On Monday 15 September 2003 03:46, Matthew Hixson wrote: > I'm just wondering why the generated Java source for my HTML contains > getters, but no setters for elements I've defined in a form. For > example, to set the value for the first name on my form I need to do: > > form.getElementFirstName().setValue("Matt"); > > This is no big deal, but I'm just curious why there isn't a > setElementFirstName(String s). I'm sure there's a good reason. Which of the dozen tags should have methods generated for them? Value? Type? Id? onmouse*()? All of them would be verry wasteful. Furthermore, setElementFirstName woud take an Element, not a String. -- David Corbin <dcorbin@xxxxxxxxxxxxxx>
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Case Study: XMLC vs. Velocity, David Corbin |
|---|---|
| Next by Date: | Re: Case Study: XMLC vs. Velocity, David H. Young |
| Previous by Thread: | no setters for page elements?, Matthew Hixson |
| Next by Thread: | Re: no setters for page elements?, Matthew Hixson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |