Check out our JFreeChart graphing class in PocketChange:

http://github.com/tjweir/pocketchangeapp/blob/903ae91ab2787aebd9a94a5439a7e39a9386bcdb/PocketChange/src/main/scala/com/pocketchangeapp/util/Charting.scala

And how it hooks into the request cycle in Boot:

http://github.com/tjweir/pocketchangeapp/blob/04adab6ab126f617d25e5f8222545a9a06e51e06/PocketChange/src/main/scala/bootstrap/liftweb/Boot.scala

There's also an Image class under the util directory that serves up a
MappedBinary image directly based on an Expense ID:

http://github.com/tjweir/pocketchangeapp/blob/903ae91ab2787aebd9a94a5439a7e39a9386bcdb/PocketChange/src/main/scala/com/pocketchangeapp/util/Image.scala

Derek

On Wed, Mar 25, 2009 at 4:38 PM, Thomas Rynne <[email protected]>wrote:

>
> Hi,
>  I want to dynamically generate images (actually a graph). I could
> write a seperate servlet for this but I'd like easy access to the
> Mapper classes and the logged in User etc so would prefer to write it
> as a method in lift.
>
> Is there a hook for this? I suppose I essentially want direct acccess
> to the httpresponse.
>
> I found some discussion of this here:
>
> http://groups.google.com/group/liftweb/browse_thread/thread/9d6f61f69a20765/d98a32e89e87d317
>
> but I don't know if it was ever implemented, and need some pointers/
> documentation if it has been.
>
> thanks for any advice,
> Thomas
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to