Hi Stephane,

this template value should still be available to process the embedded element into. Do you get any exception or so when you try to do what you want? What you describe here should just work.

Best regards,

Geert

On 9-jan-06, at 16:06, S. Meslin-Weber wrote:

Hi Everyone,

I've got a small issue with an embedded element. Here's some snippet
code and I'll describe what happens below:

Embedding Element snippet:
  public void processElement() throws EngineException {
    processEmbeddedElement(template, "EmbedImage", getInput("id"));
    print(template);
  }

Embedding Template snippet:
<div>[!V 'ELEMENT:EmbedImage'/]</div>

Now, when RIFE gets to the embedding element's processElement, the
template has already resolved and embedded the output of the embedded
element EmbedImage... and so it can't find that ELEMENT:EmbedImage value
anymore. Unfortunately, I need to set/override the embedded element's
inputs during the embedding element's processElement execution and I
can't figure out how I'd go about resolving this.

Thanks,

Steph

--
================================================================
Stephane Meslin-Weber         Email: [EMAIL PROTECTED]
Senior Software Engineer      Web: http://odonata.tangency.co.uk
================================================================
_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users

--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage, Belgium
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to