Re: how to call modal window on link

2016-10-31 Thread Pratibha
I tried that its not working, not sure what i am missing. @Override public void onClick() { confirmModal.add(new OpenWindowOnLoadBehavior()); } public class OpenWindowOnLoadBehavior extends AbstractDefaultAjaxBehavior { @Override protected void

Re: how to call modal window on link

2016-10-31 Thread Pratibha
please advise which event i should use on link click then? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-call-modal-window-on-link-tp4675882p4675974.html Sent from the Users forum mailing list archive at Nabble.com.

Re: how to call modal window on link

2016-10-31 Thread Pratibha
Thank you i tried this,it does not seem to be doing anything i want to call modal window on link click. am i missing something? response.render(OnEventHeaderItem.forScript("'" + component.getMarkupId()+ "'", "onclick", getCallbackScript())); Please advise. -- View this message in context:

Re: how to call modal window on link

2016-10-31 Thread Pratibha
That seems to be working ok but when i close modalwindow it again Loads page is it possible to use response.render(OnEventHeaderItem.forScript(getCallbackScript().toString())); instead of OnloadHeaderItem Thank you -- View this message in context:

Re: how to call modal window on link

2016-10-27 Thread Pratibha
Thank you that seems to be working but when i click on link it first opens the same page in new tab and after that i can see modalWindow. So basically i end up with 2 same pages in 2 tabs one with modalwindow. confirmModal.add(new OpenWindowOnLoadBehavior()); confirmModal.setContent(new

Re: how to call modal window on link

2016-10-27 Thread Pratibha
I am trying to call modal window but this is not working my code is @Override public void onClick() { confirmModal.add(new OpenWindowOnLoadBehavior()); confirmModal.setPageCreator(new

Re: how to call modal window on link

2016-10-27 Thread Pratibha
Compile error..The method renderOnLoadJavascript(String) is undefined for the type IHeaderResponse public class OpenWindowOnLoadBehavior extends AbstractDefaultAjaxBehavior { @Override protected void respond(AjaxRequestTarget target) { ModalWindow window = (ModalWindow) getComponent();

Re: how to call modal window on link

2016-10-27 Thread Pratibha
Hi thank you for your help but the below lines in OpenWindowOnLoadBehavior seems to be creating issue @Override public void renderHead(IHeaderResponse response) { response.renderOnLoadJavascript(getCallbackScript().toString()); } I followed code in

how to call modal window on link

2016-10-26 Thread Pratibha
Hi, is it possible to call modal window on simple link without Ajax Request? public void onClick() { } Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-call-modal-window-on-link-tp4675882.html Sent from the Users forum mailing list archive at

New window blocked by popup blocker

2016-10-26 Thread Pratibha
Hi team, I need to open window using Ajax Target The below code opens url in new tab but is blocked by pop up target.appendJavaScript("window.open('"+url.toString()+"','_blank');"); getRequestCycle().scheduleRequestHandlerAfterCurrent(target); Thankyou -- View this message in context:

ajax Pagination with datatable

2013-06-18 Thread Pratibha
Hi Team, my requirement is to add pagination at the the bottom of dataTable, i basically require pagination at top as well as bottom,top pagination exists in my web app . is it possible to add pagination at the bottom ? Thanks -- View this message in context:

Re: ajax Pagination with datatable

2013-06-18 Thread Pratibha
Hi Martin, I added the below line and yes its working, can't believe it was just one line. dataTable.addBottomToolbar(new AjaxNavigationToolbar(dataTable)); Thanks :) -- View this message in context:

Re: org.apache.wicket.util.convert.ConversionException: Cannot parse 'abcdef' using format java.text.DecimalFormat@674dc

2013-03-03 Thread Pratibha
Thanks for the reply, i added Validator, basically first validate the input and then convert it. ---Pratibha -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/org-apache-wicket-util-convert-ConversionException-Cannot-parse-abcdef-using-format-java-text-Decimac

css style in listview

2012-08-30 Thread Pratibha
Hi team i like to add style in listview as mentioned below item.add(new SimpleAttributeModifier(style, background-colr:red)); Its not working for me but rest others are working -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/css-style-in-listview-tp4651642.html

wicket jquery

2012-08-29 Thread Pratibha
-- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-jquery-tp4651606.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail:

LinkTree and panel

2010-06-03 Thread Pratibha
Hi Team I have got a LinkTree, I am overriding newContentComponent of LinkTree with Panel, what i need is When user clicks on Link a TextBox underneath Link should get Visible using Ajax. Please find below code for the above. treeModel = createTreeModel();