You have 2 options:
* either you set it as a request attribute and retrieve it from the
embedded element (this is a hackish way imho)
* either you obtain the embedding element from the embedded element
(getEmbeddingElement), cast it to your element class, and obtain the
picture ID from it. It's even cleaner if you create an intermediate
interface that you cast to and that you implement in your embedding
element.
On 27-aug-05, at 22:34, Keith Lea wrote:
In my specific case, I want the embedded element to display a table
with a picture in it. The picture ID is obtained from the result of
a form submission.
On Aug 27, 2005, at 4:03 PM, Geert Bevin wrote:
Do you want to provide custom data to an embedded element, or do
you want an embedded element to use the input of the embedding
element?
On 27-aug-05, at 21:49, Keith Lea wrote:
Hi, I'm looking through Wiki and Javadoc and I can't figure out
how to pass an input to an embedded element, from the outer
element. How do I do this?
_______________________________________________
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
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
_______________________________________________
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
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