This is fundamentally similar to how the Workbench demo 
creates dynamic charts.  To do this right in Tapestry, 
you need to understand assets and services.

SourceForge has documentation on how to use SourceForge 
services.

--
[EMAIL PROTECTED]

http://tapestry.sf.net
> 
> hi,
> I'm not exactly sure how to search on questions in the forum (didn't see that 
> capability), and I'm not sure how to post new questions.  Maybe you could help.  
> I'm trying to have a hyperlink that, once clicked, creates a PDF document on the 
> fly.  Creating it is not a problem, but I'm not sure with tapestry how to send 
> it back to the user.  What I've been trying was to get the ServletOutputStream 
> from the IRequestCycle, setting the response to type "application/pdf", writing 
> the contents of the PDF to the outputstream, and flushing it.  Well, what 
> happens is that the tapestry framework also puts the HTML code from the page the 
> user clicked on as part of the response, so I get a stream that's half PDF and 
> half HTML, so Adobe throws an error saying it can't read it.  How can I go about 
> this correctly?
> Thanks!
> Brandon Staton
>  "Howard M. Lewis Ship" wrote:
> ----- Original Message -----
> From: "Jozsa Kristof" 
> To: 
> Sent: Tuesday, July 30, 2002 12:01 AM
> Subject: [Tapestry-developer] community list/forum for user questions
> 
> 
> > Hello,
> >
> > May I ask if there is any user's mailing list, or forum (JGuru comes in my
> > mind) around for the community of Tapestry, or is that list the proper
> place
> > to ask user questions as well?\
> 
> This is the place.
> 
> >
> > Eg. I'd like to know, whether I can store non-serializable objects into
> the
> > HttpSession of an user, and still use it from Tapestry, or that won't work
> > out (I understand, that the Visit object cannot be used for such a task).
> 
> You can store non-serializable data as persistent page properties or in the
> visit but you'll
> defeat clustering if you do so. Think in terms of reconstructing your data;
> so if you can't store a database object, store its primary key. If you
> can't store a connection pool, store its JNDI name, etc. Use synthetic
> properties, or just-in-time calculation, to go from the "seed" back to the
> full value.
> 
> >
> > An other example question would be: is it possible to use more than one
> > class per Tapestry page in the .jwc (or .page :) specification tag?
> 
> Not as such ... how would Tapestry know which class to use in which place?
> 
> However, if you carefully read the docs, there's the concept of "helper
> beans". These
> are addtional JavaBeans you can instantiate and configure (with some control
> over their lifecyle).
> Often, reusable objects such as a validation delegate can be created as
> helper beans.
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> Tapestry-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer
> 
> 
> ---------------------------------
> Do You Yahoo!?
Yahoo! Health - Feel better, live better


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to