one of the reasons that this is such an infuriating problem is that I can
with the doSomething() function, which shows an alert.
in the center of my page then are the TextFields with the attached
DatePicker and Message components
<td><input type="text" name="DatePicker" value="" title="dd MMM yyyy"
<td><input type="text" name="Message" value="" id="Message"/> <a href=
As you can see here I'm calling this doSomething() method when I click on
the image button, but nothing happens, now after much head scratching, the
only possible explanation I can come up with is that it can't find the
itself, in the case of DatePicker, this was used to initialise the Calender
class. I can use this to put my doSomething() method directly onto the page,
where it will work as expected, press button, receive alert text.
The problem is that this message component isn't actually what I want, I've
created Message.js when I found that I couldn't get the other one to work
and wanted something simple to re-assure me that what I was doing was right!
Now that I can't get something as simple as this to work, I'm seriously
considering giving up on tapestry components and just using an applet to
achieve the desired result.
Yours in despair, Brian.