Re: Fwd: How to load a image dynamically in tapestry5.0.4

2007-06-25 Thread tamseo
Hi In my page, I use javascript to load a text file, it is a dynamic file depend on the user logged in var so = new SWFObject("${userFile}"); Can I use this snipet code to load a text file ??? I tried but It didn't work. So i have to use like this in class file public Stirng getUserFi

Re: Fwd: How to load a image dynamically in tapestry5.0.4

2007-06-11 Thread petros
I am using the approach suggested by Howard below in conjunction with the UploadedFile component and JAI to upload an image and re-scale it before saving it into the database. My code is provided below This may not be very relevant to many T5 users but I thought of sharing my code anyway. Petro