Re: [xwiki-users] Is there a way to modify the values of the options in the select element (html) associated with a Static List?

2010-03-12 Thread Abel Solórzano Astorga
Hi Vincent, I' ve been using the swizzle plugin. It is pretty handy. Thanks, Abel On Fri, Mar 12, 2010 at 1:09 AM, Vincent Massol vinc...@massol.net wrote: Hi Abel, On Mar 11, 2010, at 11:51 PM, Abel Solórzano Astorga wrote: Thanks, I try Jean-Vincent suggestion and it works. By

Re: [xwiki-users] Is there a way to modify the values of the options in the select element (html) associated with a Static List?

2010-03-11 Thread Abel Solórzano Astorga
Thanks, I try Jean-Vincent suggestion and it works. By the way Caleb I am writing a module that create jira issues from xwiki. Abel On Wed, Mar 10, 2010 at 12:39 PM, Caleb James DeLisle calebdeli...@lavabit.com wrote: Jean-Vincent Drean wrote: You can use the following notation in the

Re: [xwiki-users] Is there a way to modify the values of the options in the select element (html) associated with a Static List?

2010-03-11 Thread Vincent Massol
Hi Abel, On Mar 11, 2010, at 11:51 PM, Abel Solórzano Astorga wrote: Thanks, I try Jean-Vincent suggestion and it works. By the way Caleb I am writing a module that create jira issues from xwiki. cool. I hope you've checked our swizzle plugin too:

[xwiki-users] Is there a way to modify the values of the options in the select element (html) associated with a Static List?

2010-03-10 Thread Abel Solórzano Astorga
Hi, Is there a way to modify the values of the options in the select element (html) associated with a Static List? I noticed that the values are the same as the text that is shown on the list. I have: *select id=SSI-Internal.CreateIssue_0_priority name=SSI-Internal.CreateIssue_0_priority

Re: [xwiki-users] Is there a way to modify the values of the options in the select element (html) associated with a Static List?

2010-03-10 Thread Jean-Vincent Drean
You can use the following notation in the static list values definition: 1=Value 1|2=Value 2|3=Value 3 The generated HTML will look like: option value=1 label=Value 1Value 1/option option value=2 label=Value 2Value 2/option option value=3 label=Value 3Value 3/option JV. On Wed, Mar 10, 2010 at

Re: [xwiki-users] Is there a way to modify the values of the options in the select element (html) associated with a Static List?

2010-03-10 Thread Valdis Vītoliņš
Why don't you use database list? IMHO this is better, especially because then user can modify values without changing design. So, use them if there are no other design constraints. Valdis Hi, Is there a way to modify the values of the options in the select element (html) associated with

Re: [xwiki-users] Is there a way to modify the values of the options in the select element (html) associated with a Static List?

2010-03-10 Thread Caleb James DeLisle
Jean-Vincent Drean wrote: You can use the following notation in the static list values definition: 1=Value 1|2=Value 2|3=Value 3 The generated HTML will look like: option value=1 label=Value 1Value 1/option option value=2 label=Value 2Value 2/option option value=3 label=Value 3Value 3/option