According to me, when javascript is turned off, onclick is not fired.

Martijn

On 3/15/08, Kaspar Fischer <[EMAIL PROTECTED]> wrote:
> 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]
>
>


-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.1 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.1

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

Reply via email to