Thanks to Sergui who pointed out the different states (edit, view,...) I
made the following changes to my code so that you still be able to edit a
property with a custom display so here it is for the String property type.
I'm wondering if there is such a thing like $object.getEditor() but couldn't
find it in the jdoc.
#if(type == "view")
<b>$value</b>
#elseif($type == "edit")
<input type='text' name='$prefix$name' value='$value' />
#end
On Wed, Mar 26, 2008 at 4:41 PM, javacupix <javacupix(a)gmail.com> wrote:
Sure, feel free to use it, as I consider myself as a big noob in the xwiki
universe I wasn't sure about giving it a FAQ entry
[Ricardo RodrÃguez] wrote:
Thanks! Don't you think is worth a FAQ entry for this issue? I will
create
one based on your example if you don't mind.
Thanks!
Best,
Ricardo
--
View this message in context:
http://www.nabble.com/Help-with-custom-display-tp16277592p16304010.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users