Hi,

I have an element that is 'driven' by an input bean. This element contains dynamic embedded element using differentiators. The embedded element have their own url and have a submission.

Well, the design is that when an embedded element has an URL, the submission will cancel the embedding. By just removing the URL, the embedding element should re-display properly and the embedding elements also. The submission will go to the correct embedded element.

When the submission action is handled by the embedded element I want to return to redisplay the embedding element. The problem is however the input bean. The embedded elements do not have any knowledge of this input bean. How can I accomplish proper redisplay of the embedding element?

Just on an additional note, you have access to the embedding element through the getEmbeddingElement method, as well as to the embedding template through the getEmbeddingTemplate. With version 1.5, you also have the option of passing a data element to an embedded element from within the embedding element when you call processEmbeddedElement. You might want to think of these methods when you need to create some kind of relationship. As a last resort, you can always use request attributes also (kinda dirty).

Global var? that is read if input bean is invalid? Any example how to use global vars?

Globalvars are just shortcuts. They create inputs, outputs and datalinks for all the elements in the enclosed scope. They don't do anything 'special'.

I have been using RIFE for several small test application and I am very

Cool! Great to hear.

enthousiastic so far. I can't want for a good book however......

It's coming :-)

Hope this helps,

Geert

--
Geert Bevin
Uwyn bvba "Use what you need"
http://www.uwyn.com


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

Reply via email to