You'd probably want to combine what I pointed you to in the wiki, with a Resource which you can reconstruct and stream back a byte[], send content type, etc.

On May 8, 2007, at 2:11 PM, Apaar Trivedi wrote:

This looks like it could be very useful. But what I mean from a byte[] is that my user will select a swf from their file system and ‘store’ it. Essentially what happens is I upload their file and then store it as a byte[] in Hibernate. So later when I get it out, I would need to be able to re construct it from the byte[].



Does this method allow for that? After looking over it, would it be possible to stream the flash byte[] through renderHead or something like that?



Thanks



From: [EMAIL PROTECTED] [mailto:wicket-user- [EMAIL PROTECTED] On Behalf Of Andrew Lombardi
Sent: Tuesday, May 08, 2007 4:00 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] loading a Flash resource



What do you mean by loading a Flash resource from byte[]? Its probably easiest just to utilize Wicket and create a Flash object to be rendered on the page. There's a page in the Wiki about how to do this:



The following: http://cwiki.apache.org/WICKET/creating-a-behavior- to-use-a-javascript-library.html



uses SWFObject.js to load the flash.



Hope that helps.





On May 8, 2007, at 1:29 PM, Apaar Trivedi wrote:




Can anyone give me some ideas on how I can load Flash resource from byte[] and render it on a wicket page?



thanks







---------------------------------------------------------------------- ---

This SF.net email is sponsored by DB2 Express

Download DB2 Express C - the FREE version of DB2 express and take

control of your XML. No limits. Just data. Click to get it now.

http://sourceforge.net/powerbar/db2/ _______________________________________________

Wicket-user mailing list

Wicket-user@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wicket-user





To our success!



Andrew Lombardi: Mystic Coders, LLC - Coding Magic
contact | [EMAIL PROTECTED] | mobile: 714-697-8046 | office/ fax: 714-948-2382 | aim: nlpjunke

This message is for the named person's use only. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient.






---------------------------------------------------------------------- ---
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/ _______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


To our success!

Andrew Lombardi: Mystic Coders, LLC - Coding Magic
contact | [EMAIL PROTECTED] | mobile: 714-697-8046 | office/ fax: 714-948-2382 | aim: nlpjunke This message is for the named person's use only. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to