question form-usage / setDefaultModelObject(...) vs. getDefaullModel().setObject(...)

2014-02-17 Thread Patrick Davids
Hi all, I have a question concerning the difference between Component#setDefaultModelObject(final Object object) and getDefaultModel().setObject(object), like described in javadoc /** * Sets the backing model object. Unlike codegetDefaultModel().setObject(object)/code, this * method checks

Re: getting values from FormComponentPanel outside form.onSubmit()

2014-02-17 Thread lucast
Hi Sven and Richter, Thank you for your replies. What I am trying to achieve is a refreshing view, with fields that are editable, and rows that can be removed, as shown on Wicket Examples - Repeaters - Contacts Editor - based on the previous example, but with editable values

Is Wiki page down

2014-02-17 Thread arkady
Hi, I am trying https://cwiki.apache.org/confluence/display/WICKET/ but it doesn't work. Can you help, please ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Is-Wiki-page-down-tp4664497.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Is Wiki page down

2014-02-17 Thread Martin Grigorov
http://monitoring.apache.org/status/ Confluence Wiki is red. Be patient. Martin Grigorov Wicket Training and Consulting On Mon, Feb 17, 2014 at 10:53 AM, arkady prince_from_no...@hotmail.comwrote: Hi, I am trying https://cwiki.apache.org/confluence/display/WICKET/ but it doesn't work.

DP for GUI interaction

2014-02-17 Thread Farrukh SATTOROV
what design pattern you use for interaction between gui components in wicket. For instance, showing modal window from toolbar, manipulating with table fom another panel, first of all in presentation tier. -- Regards, Farrukh

setting visibility of a component decocorated with a behavior

2014-02-17 Thread Simon B
Hi, I have a behavior that decorates the component that it is added to by using beforeRender(Component) and afterRender(Component). So a simplified version of my behavior would be I wish for the visibility of the surrounding html that is written to be driven by the visibility of the

RE: DP for GUI interaction

2014-02-17 Thread Richter, Marvin
It depends ... I'm a big fan of loose coupling so I do almost all interaction between components with AJAX events. For this you just override the onEvent method in your panels which should react on AJAX events. Check out:

Re: DP for GUI interaction

2014-02-17 Thread Farrukh SATTOROV
thanks for reply, Marvin On Mon, Feb 17, 2014 at 7:43 PM, Richter, Marvin marvin.rich...@jestadigital.com wrote: It depends ... I'm a big fan of loose coupling so I do almost all interaction between components with AJAX events. For this you just override the onEvent method in your panels

How to start Wizard with an active step? / Best practise?

2014-02-17 Thread Patrick Davids
Hi all, what is the best way to start a Wizard in a particular step? I tried: - to override onInit of WizardStep and setting this to activeStep, when the state is the right one, but init() of WizardModel always determines the next step after me (the current active), so this seems not to be a

how to create editable spreadsheet

2014-02-17 Thread Farrukh SATTOROV
how to create spreadsheet (with editable cell), what kind of repeaters is good choice in this case ? -- Regards, Farrukh

Re: setting visibility of a component decocorated with a behavior

2014-02-17 Thread Igor Vaynberg
see IAjaxRegionMarkupIdProvider -igor On Mon, Feb 17, 2014 at 7:37 AM, Simon B simon.bott...@gmail.com wrote: Hi, I have a behavior that decorates the component that it is added to by using beforeRender(Component) and afterRender(Component). So a simplified version of my behavior would be

Re: how to create editable spreadsheet

2014-02-17 Thread Martin Grigorov
Hi, Any repeater will do it. The magic is in the JavaScript. Better reuse some JavaScript solution like http://handsontable.com/ Martin Grigorov Wicket Training and Consulting On Mon, Feb 17, 2014 at 7:39 PM, Farrukh SATTOROV fireda...@gmail.comwrote: how to create spreadsheet (with editable

Re: setting visibility of a component decocorated with a behavior

2014-02-17 Thread Simon B
Hi Igor, Wow, that is *exactly* what I wanted, just tried it and it worked perfectly. Thank you Simon -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/setting-visibility-of-a-component-decocorated-with-a-behavior-tp4664511p4664518.html Sent from the Users forum

Re: How to start Wizard with an active step? / Best practise?

2014-02-17 Thread Paul Bors
We need to build the WizardModel in a dynamic way. Although I think there is a better more dynamic step too that can be used here. So one cheap solution is to keep an enum or some sort of a definition of your wizard steps: public static enum WizStep { /** Step 1 of N */ STEP_ONE(1),

Re: setting visibility of a component decocorated with a behavior

2014-02-17 Thread Simon B
Igor, Incidentally the javadoc on that interface is awesome, thanks for taking the time to make it so easily readable and understandable. Cheers Simon -- View this message in context:

Re: Error in Modal opening two diffrent instances of Wicket applicaiton.

2014-02-17 Thread eaglei22
Thanks Paul, I am using new sessions and the problem seems to be okay locally, but not on the server. So I noticed that on the server (through the access portal we use) it forces a new session per tab. So the original issue with the modal window I thought I have found the session issue to be the

Re: setting visibility of a component decocorated with a behavior

2014-02-17 Thread Igor Vaynberg
cheers -igor On Mon, Feb 17, 2014 at 1:53 PM, Simon B simon.bott...@gmail.com wrote: Igor, Incidentally the javadoc on that interface is awesome, thanks for taking the time to make it so easily readable and understandable. Cheers Simon -- View this message in context:

Wicket Modals and Bootstrap Modals - sizing issues

2014-02-17 Thread Chris Colman
We are using Wicket with Bootstrap which is fine except for modal window. With Wicket it appears as though the modal window provides all the markup for the out modal 'window'. We can provide HTML for the panels within that but the outer modal seems to be Wicket generated. This seems to be

Re: Wicket Modals and Bootstrap Modals - sizing issues

2014-02-17 Thread Martin Grigorov
Hi, I think you will need to tweak some CSS rules. Wicket's ModalWindow main CSS class is 'wicket-modal'. So you have to provide CSS rule that sets the width for any .form-control in .wicket-modal. You can either use LESS/SASS to generate different rules for the different screens or with CSS