Re: Performance optimization

2012-02-25 Thread Martin Makundi
Sort of.. but it does not remain in the component tree and thus saves some memroy. Is a markup. ** Martin 2012/2/26 Igor Vaynberg : > then its a panel > > -igor > > On Sat, Feb 25, 2012 at 4:44 PM, Martin Makundi > wrote: >>> this is the same as add(new label("foo", new loadabledetachablemod

Re: Performance optimization

2012-02-25 Thread Igor Vaynberg
then its a panel -igor On Sat, Feb 25, 2012 at 4:44 PM, Martin Makundi wrote: >> this is the same as add(new label("foo", new loadabledetachablemodel() >> { load() { return "markup" }}).setescapemdoelstrings(false)) > > Is not completely same, because a MarkupResourceStreamProvider can > als

Re: Performance optimization

2012-02-25 Thread Martin Makundi
> this is the same as add(new label("foo", new loadabledetachablemodel() > { load() { return "markup" }}).setescapemdoelstrings(false)) Is not completely same, because a MarkupResourceStreamProvider can also provide markup for other components to land on. ** Martin > > -igor > > On Sat, Feb 25,

Re: Performance optimization

2012-02-25 Thread Igor Vaynberg
this is the same as add(new label("foo", new loadabledetachablemodel() { load() { return "markup" }}).setescapemdoelstrings(false)) -igor On Sat, Feb 25, 2012 at 2:00 PM, Martin Makundi wrote: > Now that I am working with the markupresourcestream directly, I am > beginning to think that Wicket s

Re: Github?

2012-02-25 Thread Jeremy Thomerson
On Sat, Feb 25, 2012 at 6:17 PM, robmcguinness < robert.mcguinness@gmail.com> wrote: > I understand Apache has a git server where the Wicket trunk code is being > commited, but is there a reason why the Github account isn't being mirrored > properly? > I've notified ASF Infra that it's fallen

Re: Performance optimization

2012-02-25 Thread Martin Makundi
Now that I am working with the markupresourcestream directly, I am beginning to think that Wicket should support dually both component hierarchy and markup hierarchy. Wicket chould have two kinds of add methods: add(Component c) add(String anchorId, MarkupResourceStreamProvider c) Such a Markup

Re: DropDownChoice selection won't update form fields

2012-02-25 Thread Andrea Del Bene
Well, if it does its job I think it should be ok :) I got it working, but I'm not sure if the way I did it is correct. Here's the final code: -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-selection-won-t-update-form-fields-tp4413980p4417640.html Se

Re: Performance optimization

2012-02-25 Thread Martin Makundi
Also public IResourceStream getMarkupResourceStream(MarkupContainer container, Class containerClass) { seems quite feasible for making conditional markup. However, I must override MarkupContainer.getAssociatedMarkupStream(enforceReload=true) and IMarkupCacheKeyProvider.getCacheKey(==null) to