Yeah, I was aware of the Ajax Label Edit COntrol. Not exactly what
I'm looking for, but looking at its implementation, I now know how I
can do it.
Thanks,
J.D.
On Sep 12, 2009, at 9:11 PM, Jeremy Thomerson wrote:
This might help you:
http://www.google.com/search?q=wicket+editable+label
You could also use fragments, this is how Wicket Web Beans handles
viewonly mode:
http://grepcode.com/file/repo1.maven.org$mav...@net.sourceforge.wicketwebbeans$wicketwebbeans@1...@net$sourceforge$wicketwebbeans$fields$inputfield.java
hth,
Daniel
J.D. Corbin wrote:
Yeah, I was aware
Using a wicket fragment is the approach I am going to use. It is
cleaner in my estimation.
Thanks for the link to the code.
Regards,
J.D.
On Sep 13, 2009, at 7:31 AM, dtoffe wrote:
You could also use fragments, this is how Wicket Web Beans handles
viewonly mode:
Hello,
I would like to create a single page markup that I share for editing
and read-only views.
For example, when in read-only mode I might display a label and in
edit mode a TextField.
I know I can use a textfield and set the enabled behavior to false,
but the visual display isn't
This might help you:
http://www.google.com/search?q=wicket+editable+label
Otherwise, you certainly can create small components that can work with read
or write mode to fit your needs.
--
Jeremy Thomerson
http://www.wickettraining.com
On Sat, Sep 12, 2009 at 10:06 PM, J.D. Corbin