The trick is in the context.  If you look at the chart service it passes a
context[] to the build gesture.  Whatever you put into the context[] is sent
to the ChartService and then if you look in the chart service you see them
pulling it back out from the cycle (depending on the version).
----- Original Message -----
From: "marc harster" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 13, 2002 9:33 AM
Subject: [Tapestry-developer] Assets II


> While learning Tapestry I've tried to make the tipical
> DB Asset repository, Images to download upload and so
> one...
> As I did not quite understand how to begin with assets
> I've been adressed to the Chart sample in tutorial and
> I take it as a basis for work, I can quite follow the
> sample from URL generation to the fetch of the image
> (both from ChartService).
>
> More or less what I'm looking for is:
>
> Go to database, build a list of thumbnails elements
> with name,id,and possible oder fields, traverse that
> list and build a grid with the Image tag build with
> the service call.
>
> Till there easy, the problem is how I can embed a
> parameter into the call to the service?
>
> Looking at the ChartService I've noticed the
> BuildGesture and the service methods,but I don't know
> how to make them aware about the current imageindex
> being processed or any other information.
>
> Summarizing when I look at he generated HTML code,I
> allways get the same urls generated for images ,and I
> have no idea how to generate diferent ones (with a
> parameter with they ID).
>
> It looks so trivial,I'm affraid of being unable to
> solve it on my own, thanks:
>
> On the good side however, I have to admit the
> tantalizing virtues of tapestry the more I work with
> it the more I like it.
>
>
>
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Autos - Get free new car price quotes
> http://autos.yahoo.com
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Tapestry-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer
>




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to