[ 
http://issues.apache.org/jira/browse/WICKET-12?page=comments#action_12445364 ] 
            
Matej Knopp commented on WICKET-12:
-----------------------------------

I still don't really get it. If you want to show errors in a modal window why 
don't you just submit form using ajax? Anyway, modal window is just a 
javascript library and a wicket component. You can open it without ajax any 
time, just use the javascript. (Look at the js generated by the ModalWindow 
component).

Using modal window _without_javascript_ is not possible. And it does make 
little sense either. 

so if you want to show modal window after page is loaded, just call the 
javascript on page load.

> open Modal Window without AjaxRequestTarget
> -------------------------------------------
>
>                 Key: WICKET-12
>                 URL: http://issues.apache.org/jira/browse/WICKET-12
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.2.2
>            Reporter: J.W. Janssen
>
> Wicket 1.2.2 included a new Modal Window component. However, this component 
> can only be used with a valid AjaxRequestTarget. It would be useful if Modal 
> Windows could be opened programmatically at any time without an 
> AjaxRequestTarget.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to