On 4-Mar-06, at 11:29 PM, Jim Wong wrote:

how do i do an alert pop-up? i.e. if someone clicks on a delete which is not allowed, i want to do a window pop-up to alert the user.


JSConfirmPanel

<http://developer.apple.com/documentation/WebObjects/Reference/ WOJExtensions/JSConfirmPanel/chapter_3_section_1.html>

or JSAlertPanel

http://developer.apple.com/documentation/WebObjects/Reference/ WOJExtensions/JSAlertPanel/chapter_2_section_1.html

But if you know that delete is not allowed, why show the button/link at all?

--
;david

--
David LeBer
Codeferous Software
'co-defer-ous' adj. producing or containing code
site:   http://www.codeferous.com
blog: http://david.codeferous.com




Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to