Hello Klaus,
you want to mix template code and element code, i could not imagine that
this is supported by rife. The concept separation of concerns means that
you neven should mix template code and java code.
Klaus schrieb:
> It seems not possible with standard means to add value tags (r:v) to
> templates at runtime. Basically I want to do the following in
> processElement():
> --
> template = getTemplate();
> ...
> template.setValue("dynamicValueTag","<r:v name=\"MARK:myField\"\>");
> ...
> print(template);
> ---
> Instead of the above given r:v tag text, any other one could be
> imaginable (e.g. RIFE built-in or custom control text).
>
> I don't want to use embedded elements in this case as this seems to be
> an overkill to me.
>
> As I found out, the r:v tags in the template are determined somewhen
> and no public methods are available with Element subclasses to add new
> r:v tags later on.
>
> Could you help me out with a solution? Am I wrong with my assumptions?
>
> Best
>
> Klaus
>
>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"rife-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---