Wicket doesn't limit you in your creativity regarding JavaScript or
HTML. As for HTML, we only want that you create semi- or full
standards compliant markup.

Regarding your question: you can use confirm dialogs in your
application just fine. In an application we developed at our company
we do it constantly: when leaving an edit-page without submitting the
data we check whether the user has entered some data, and if so, we
ask for confirmation.

If you use a link, you can add an onClick event in your html file:

<a href="#" onclick="return confirm('Are you sure');"
wicket:id="link">delete</a>

Martijn

On 5/28/06, Imran M Yousuf <[EMAIL PROTECTED]> wrote:
Dear Users,
I am a new developer to Wickets and was wondering how to perform
confirm actions, such as upon deletion. I was wondering whether Java
Script would work from the HTML. I would be glad if someone would
reply to my mail. Thank you.

Imran M Yousuf
Software Engineer
United IT Global Net



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



--
Download Wicket 1.2 now! Write Ajax applications without touching JavaScript!
-- http://wicketframework.org


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to