First of all, thank you for your answer.
I tried to change the type of Editor to WUSIWYG, but even after the change, the field
appears like this one :
(∗) TXProblema:
I have been using public java.lang.String display(java.lang.String fieldname,
java.lang.String mode) with mode = "edit" in
order to display the field
I already tried mode = "inline", but nothing happens
My problem is just that I need the embedded html editor.
When I call the page in inline mode, it shows every field in inline mode along with many
different buttons, what I do not want, because I want to have only one button(my own
button) to save the page content, so this is the reason I want only one field(of the type
Text Area) in inline mode.
Thank you in advance.
--- Em qua, 3/6/09, jerem <jeremie.bousquet(a)gmail.com> escreveu:
De: jerem <jeremie.bousquet(a)gmail.com>
Assunto: Re: [xwiki-users] How to display in inline mode, only an specific field from a
class
Para: users(a)xwiki.org
Data: Quarta-feira, 3 de Junho de 2009, 11:58
If I understood well, I think you should be able to do it by updating the
characteristics of your text fields in your class : you can choose the
"Editor" to use (Text, PureText or WysiWyg). Choose wysiwyg to have the html
editor, and text or puretext for standard text field.
To display a field have a look to the javadoc (Document.display() methods)
I.E. :
public java.lang.String display(java.lang.String fieldname,
java.lang.String mode,
Object obj)
Here mode can be 'edit' or 'view' ... (I don't know all possible
values).
--
View this message in context:
http://n2.nabble.com/How-to-display-in-inline-mode%2C-only-an-specific-fiel…
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
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com