Re: wicket datatable, row selection, update another component

2016-10-31 Thread Rob Audenaerde
Thanks Martin, I ended up with doing something like this, but then using events so the components don't need to know each other. On Oct 28, 2016 14:40, "Martin Grigorov" wrote: > Hi, > > You can do: DetailsComponent#onConfigure() {dataTable.configure(); >

Result of vote at twitter

2016-10-31 Thread Tobias Soloschenko
Hi, as I saw here: https://mobile.twitter.com/brunoborges/status/79132793984116 there are a lot of "dislikes" as a result of the vote. I think it would be great to get some feedback what to improve and what you don't like. kind regards Tobias

Re: Result of vote at twitter

2016-10-31 Thread Tobias Soloschenko
Hi Martin, yes that's true, but if someone dislike something there might be reasons which can be changed. :-) Example: It is hard to deal with a component hierarchy: Solution component queuing. (yes I know - you think that it's a failure - but it is an example) kind regards Tobias > Am

Re: Result of vote at twitter

2016-10-31 Thread Martin Grigorov
On Mon, Oct 31, 2016 at 12:47 PM, Marcel Barbosa Pinto < marcel.po...@gmail.com> wrote: > Would be possible to compute the hierarchy from the template it self? > This is how the component queueing works in Wicket 7. The only difference is that you need to use MarkupContainer#queue() instead of

Re: Result of vote at twitter

2016-10-31 Thread Martin Grigorov
I am not sure I follow you. What order do you mean ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Oct 31, 2016 at 1:10 PM, Marcel Barbosa Pinto < marcel.po...@gmail.com> wrote: > Yes I know, queue is great, but if you use queue you need to respect the >

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
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: Result of vote at twitter

2016-10-31 Thread Tobias Soloschenko
> Am 31.10.2016 um 14:38 schrieb Martin Grigorov : > > On Mon, Oct 31, 2016 at 2:32 PM, Tobias Soloschenko < > tobiassolosche...@googlemail.com> wrote: > >> Ah ok - "How exactly" was a bit short so I didn't get what you wanted to >> ask me. >> >> Maybe with a survey

Re: how to call modal window on link

2016-10-31 Thread Martin Grigorov
On Mon, Oct 31, 2016 at 2:35 PM, Pratibha wrote: > 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() > )); > OnLoadHeaderItem just

Re: What else do we want to do before 8.0.0 final ?

2016-10-31 Thread Marcel Barbosa Pinto
For adding components we usually write some thing like this: Form f = new Form(); add(f); RepeatingView imageList; f.add(imageList = new RepeatingView("imageList")); or Form f = new Form(); add(f); RepeatingView imageList = new RepeatingView("imageList"); f.add(imageList); You think this could

Re: Result of vote at twitter

2016-10-31 Thread Tobias Soloschenko
Ah ok - "How exactly" was a bit short so I didn't get what you wanted to ask me. Maybe with a survey system. A combination of multiple choice and free text input to get hints, but I actually don't know how to share it the best way. Originally I just wanted to ask in this mailing list first to

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-31 Thread Martin Grigorov
"onclick" is not a valid JS event name Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Oct 31, 2016 at 2:51 PM, Pratibha wrote: > Thank you i tried this,it does not seem to be doing anything i want to call > modal window on link

Re: how to call modal window on link

2016-10-31 Thread Martin Grigorov
click Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Oct 31, 2016 at 3:00 PM, Pratibha wrote: > please advise which event i should use on link click then? > > -- > View this message in context: http://apache-wicket.1842946. >

Re: Result of vote at twitter

2016-10-31 Thread Marcel Barbosa Pinto
Hi, I mean by order the parent/child relation. Like for adding the child you've to have a parent already added to the page right? I took this from the docs: queue(new Form("customer")); queue(new TextField("first")); queue(new TextField("last")); WebMarkupContainer child=new

Re: Result of vote at twitter

2016-10-31 Thread Martin Grigorov
On Mon, Oct 31, 2016 at 2:32 PM, Tobias Soloschenko < tobiassolosche...@googlemail.com> wrote: > Ah ok - "How exactly" was a bit short so I didn't get what you wanted to > ask me. > > Maybe with a survey system. A combination of multiple choice and free text > input to get hints, but I actually

Re: Result of vote at twitter

2016-10-31 Thread Martin Grigorov
On Mon, Oct 31, 2016 at 2:27 PM, Marcel Barbosa Pinto < marcel.po...@gmail.com> wrote: > Hi, > > I mean by order the parent/child relation. Like for adding the child you've > to have a parent already added to the page right? > > I took this from the docs: > > queue(new Form("customer")); >

Re: What else do we want to do before 8.0.0 final ?

2016-10-31 Thread Martin Grigorov
Forwarding to users@wicket.apache.org GMail autosuggest tricked me to send it to us...@isis.apache.org. On Mon, Oct 31, 2016 at 2:41 PM, Martin Grigorov wrote: > Hi, > > What other improvements do we need in 8.x/master before promoting it to > 8.0.0 final ? > > At

Re: Result of vote at twitter

2016-10-31 Thread Marcel Barbosa Pinto
I confess I didn't used it yet. I will use it and see if I can contribute with some ideas. On Mon, Oct 31, 2016 at 11:35 AM, Martin Grigorov wrote: > On Mon, Oct 31, 2016 at 2:27 PM, Marcel Barbosa Pinto < > marcel.po...@gmail.com> wrote: > > > Hi, > > > > I mean by order

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: Result of vote at twitter

2016-10-31 Thread Martin Grigorov
You didn't answer my question. How to get their reasons ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Oct 31, 2016 at 12:29 PM, Tobias Soloschenko < tobiassolosche...@googlemail.com> wrote: > Hi Martin, > > yes that's true, but if someone dislike

Re: Result of vote at twitter

2016-10-31 Thread Marcel Barbosa Pinto
Yes I know, queue is great, but if you use queue you need to respect the correct order when invoking each queue. I think this is not as simple, because you always have to "think" in order to add the components. For long trees the code gets clean, but if you change the order of some thing the code

Re: Result of vote at twitter

2016-10-31 Thread Marcel Barbosa Pinto
Would be possible to compute the hierarchy from the template it self? html java { add(new WebMarkupContainer("container")); add(new TextField("container.input")); add(new Label("container.container.message", Model.of("Hello"))); add(new

Re: Result of vote at twitter

2016-10-31 Thread Martin Grigorov
How exactly ? Bruno is JavaEE evangelist at Oracle and most of the people following him are JavaEE fans. They prefer JSF and JSP... Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Oct 31, 2016 at 8:44 AM, Tobias Soloschenko <

Re: What else do we want to do before 8.0.0 final ?

2016-10-31 Thread Martin Grigorov
On Mon, Oct 31, 2016 at 3:19 PM, Marcel Barbosa Pinto < marcel.po...@gmail.com> wrote: > For adding components we usually write some thing like this: > > Form f = new Form(); > add(f); > RepeatingView imageList; > f.add(imageList = new RepeatingView("imageList")); > > or > > Form f = new Form();

Re: how to call modal window on link

2016-10-31 Thread Martin Grigorov
Check for JavaScript errors. "it's not working" doesn't tell us much to be able to help you Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Oct 31, 2016 at 3:11 PM, Pratibha wrote: > I tried that its not working, not sure what