[Wicket-user] How can I change the tag value?

2006-11-01 Thread Carfield Yim
Say if I need to change the text of a link base on runtime information, e.g., for the following links: a href=# wicket:id=change_statusdeactivate/a For the active user it will show deactivate but for deactivate I would like it show activate. How can I do that in wicket?

Re: [Wicket-user] How can I change the tag value?

2006-11-01 Thread Erik van Oosten
Hi Carfield, Do something like this: a href=# wicket:id=change_statusspan wicket:id=statusdeactivate/span/a and Link link = new Link(change_status) { onSubmit() {...} }; link.add(new Label(status, )); Erik. Carfield Yim schreef: Say if I need to change the text of a link base