On Wed, 20 Aug 2008, nanotech wrote:
> I want to validate wether the File Path entered by the user points to a
> valid file or not.
> So For example, if user types in "TEMP.doc" then its invalid. But right now
> the Form's on submit and button's on submit is not even called when user
> types invalid file name and hits submit.

How about onError() ?

> 3. How will I get hold of the id of text field that was generated by wicket?

textField.getMarkupId();

For attaching custom Javascript, try searching 
wicket.apache.org and this list on Nabble.


Best wishes,

Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to