On Mar 04, 2006, at 10:39 PM, David LeBer wrote:

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?

Performance! If you have 200+ rows and have to validate which actions (possibly many) to allow, then the performance of the page can be very slow. There are times when you have to weigh performance vs UI completeness.

--
;david

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




 _______________________________________________
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/lcahlander% 40mac.com

This email sent to [EMAIL PROTECTED]

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