[jboss-user] [JBoss Seam] - s:transform server side usage
wquraishi
do-not-reply at jboss.com
Sun Sep 23 13:14:51 EDT 2007
I see this in the documentation and was hoping someone could elaborate. I want to use the s:transformImageSize within a method of my SEAM component. Basically when a user uploads a photo, resize the image to a specific size. Thanks.
| It's easy to create your own transform - create a UIComponent which implements
| org.jboss.seam.ui.graphicImage.ImageTransform. Inside the applyTrans-
| form()method use image.getBufferedImage() to get the original image and im-
| age.setBufferedImage() to set your transformed image. Transforms are applied
| in the order specified in the view.
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087654#4087654
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087654
More information about the jboss-user
mailing list