Re: repaint a fragment

2010-10-12 Thread fachhoch
I am confused , I have an Item with a fragment . to repaint this fragment I should just add this item to target and no need of calling item.replaceWith(new Freagment()) ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/repaint-a-fragment-tp2990937p2991715.html

Re: repaint a fragment

2010-10-12 Thread Jeremy Thomerson
item.replaceWith(new Fragment()) will replace the *item* with the *fragment*, which is definitely not what you want. On Tue, Oct 12, 2010 at 6:57 AM, fachhoch fachh...@gmail.com wrote: I am confused , I have an Item with a fragment . to repaint this fragment I should just add this item

repaint a fragment

2010-10-11 Thread fachhoch
, a refreshing view or ListView onPopulate method is called for repaint, for a Fragment or WebMarkupContainer what method is called ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/repaint-a-fragment-tp2990937p2990937.html Sent from the Users forum mailing list

Re: repaint a fragment

2010-10-11 Thread Scott Swank
(programStatusDTO.getDaysPassed(;                }        } in onClick I am calling target.addComponent(getPage().get(program))); when I click on the link nothing happens, a refreshing view or ListView onPopulate method is called for repaint, for a Fragment or WebMarkupContainer what method

Re: repaint a fragment

2010-10-11 Thread fachhoch
you mean If I put this fragment inside a webmarkupcontainer and add this webmarkupcontainer to target this will repaint my fragmnet ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/repaint-a-fragment-tp2990937p2991045.html Sent from the Users forum mailing list

Re: repaint a fragment

2010-10-11 Thread Scott Swank
/repaint-a-fragment-tp2990937p2991045.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: repaint a fragment

2010-10-11 Thread fachhoch
my fragment is inside a listitem ,on click I added this listitem to taget nothing happened but if I call listitem.replace with new fragment it was adding an additional div is ths the right way to repaint fragment ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com

Re: repaint a fragment

2010-10-11 Thread Jeremy Thomerson
On Mon, Oct 11, 2010 at 10:59 PM, fachhoch fachh...@gmail.com wrote: my fragment is inside a listitem ,on click I added this listitem to taget nothing happened but if I call listitem.replace with new fragment it was adding an additional div is ths the right way to repaint fragment ? You can