[oXygen-user] author action - value parameter question(s)
Andreas Wagner
Andreas.Wagner at em.uni-frankfurt.de
Wed Oct 23 04:25:21 CDT 2013
Dear list,
this is my first dabble with a document type framework and with the
list, so please be lenient.
a) I want to create an author mode action in order to change a certain
attribute.
I am using the
ro.sync.ecss.extensions.commons.operations.ChangeAttributeOperation
operation and have set the value attribute to
${ask('break=',combobox,('yes';'no';'maybe';'':'null'),'')}
Now I would like to set the default value not to some static default but
to what is currently present in the attribute.
Is there some way to get the value of this attribute in the action's
parameter definition?
b) On a related note, is there a Operation in place that would allow me
to just edit whatever is there as attributes in the current element - as
one long, free-text string? The ChangeAttributeOperation seems to be
able to change only one attribute, so for editing several attributes of
one and the same element I have to define different actions and trigger
them separately...?
c) Finally, I would like to use i18n inside of the ask() variable, say
for the message part. Is that possible?
Sorry for asking three questions at once, I just hope they are so
closely related that it makes sense to do it this way.
Thanks and all the best,
Andreas
--
Dr. Andreas Wagner
Project "The School of Salamanca"
Academy of Sciences and Literature, Mainz
and Institute of Philosophy
Goethe University Frankfurt
http://salamanca.adwmainz.de
Grüneburgplatz 1 (Pf 116, R. 2.455)
60629 Frankfurt am Main
Tel. +49 (0)69/798-32774
Fax +49 (0)69/798-32794
More information about the oXygen-user
mailing list