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?
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