On 14.03.2008, at 18:04, Martijn Dashorst wrote:

it can't. ModalWindow is a javascript component. JavaScript is
necessary for displaying, hiding, positioning, closing, etc. the div
that is the modal window.

I see that it currently works like this.

The fallback solution I was thinking of was: the link to open the model window renders a page which simply contains the windows as an overlayed div. (As you say, the link is therefore a regular link with some JavaScript on it.) Of course, as JS is unavailable, the user will not be able to drag/position it, but when
he clicks close, the page is rendered again.

Of course, if JS *is* available, AJAX would be used as it is done now.

P.S. Having the ability to show the modal window without JS might be helpful
for http://issues.apache.org/jira/browse/WICKET-12, too (?).

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

Reply via email to