I am trying to integrate an image cropper with Tapestry.  Users can
select the portion of the image they want to keep and then click to
crop it--same idea as Facebook, Google Profiles, etc let you crop your
portrait when you upload it.  I'm using this:
http://www.defusion.org.uk/code/javascript-image-cropper-ui-using-prototype-scriptaculous/

My question is how do I get the variables on the client side into my
component when the user clicks submit.  In other words, when the user
selects a portion to crop they will be setting some client side
variables like:
x, y, height, width

I'd like to have a method like:
void onAction(int x, int y, int height, int width) {
   // crop the picture
}

Any suggestions or link to documentation I've overlooked would be most
appreciated.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to