Dear all,

I am trying to render strings using velocity while i am in inline mode, 
but every time, i got an input form with my value inside.

How can i get my variable well displayed ?

Here is my piece of code (with different tries):

$context.setDisplayMode("view")

#set($a="${backlogId},${domainId},${topicId},${epicId},${temp}")

$doc.display($a)

$a

<a href ="/xwiki2/bin/view/Project/addActor?usId=${a}">Add an actor</a>


(Note, a is not rendered when using $doc.display($a) and is always 
replaced by :

<input size='30' id='XWiki.USClass_0_id' value='1,0,0,1,2' 
name='XWiki.USClass_0_id' type='text'/> instead of '1,0,0,1,2' )

Thanks in advance for your help

Jean

-- 
----
Jean Couteau
Code Lutin - http://www.codelutin.com
44 Bd des Pas Enchantés - 44230 St-Sébastien/Loire
Tél : 02 40 50 29 28 - Fax : 09 59 92 29 28 

_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to