Hi,
I tried set label and description of input parameter element in atlassian-plugin.xml, see example:
....
<parameters>
<parameter name="param_name" type="boolean" default="false">
<label>Some label (asdasd)</label>
<description>... some description...</description>
</parameter>
</parameters>
....
But this dont work... is any way to set label and description for input macro parameters?
Second question: Is possible disable input field (parameter) with name "Body Text" in macro inserting?
Thanks for answers
Check this:
http://www.atlassian.com/en/about/events/atlascamp/2010/day2/making-confluence-macros-easy
..particularly slide 33 onwards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Diego Elos: If it helped, up-vote it or mark as answered. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
new question:
<parameter name="draw" type="enum" required="true">
<value name="line" />
<value name="fill" />
</parameter>
How I can set different string of name element value? Because I want use string "line" only as code name, not display string.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would guess at...
com.example.confluence.plugin.macroname.param.paramname.value.valuename.label=XXX
So in your case, perhaps...
com.example.confluence.plugin.macroname.param.draw.value.line.label=Lin
com.example.confluence.plugin.macroname.param.draw.value.fill.label=Fill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.