[Seaside] how to get dynamic files?

Karsten karsten at heeg.de
Wed Feb 25 04:16:08 UTC 2009


Hi Oleg,

sure you can, i think you need to implement #documentForFile: or 
#documentAt:ifAbsent:. I think the first returns the data of the file 
while the second returns a WAResponse with the data and its mimetype.

Kind Regards
Karsten



Oleg Korsak wrote:
> Hello!
>
> My method in a WAFileLibrary subclass returns dynamic contents (composes
> it on the fly). But when I'm trying to download it (no matter how many
> times) - the contents is the same as in the begining. Is it possible to
> get a dynamically created file from WAFileLibrary so it could be
> different for each request?
>
> Thanks.
>
>    
> ------------------------------------------------------------------------
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>    

-- 
Karsten Kusche - Dipl.Inf. - karsten at heeg.de
Tel: +49 3496 21 43 29
Georg Heeg eK - Köthen
Handelsregister: Amtsgericht Dortmund A 12812

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20090225/8976b09f/attachment.htm


More information about the seaside mailing list