Hi, everyone, I'm a beginner with tapestry 4 and got stuck with a problem for 3 weeks already...
my task is: 1. create a dynamic image based on some data provided from user's input 2. create a buffered image and display that image on the page 3. use image map to make some regions of that image clickable now I've done the first 2 steps and part of the 3rd step. In step 3, I used @DirectArea custom component(explained in Tapestry in Action as well as used in the Pet Shop example) to create the image map, but I cannot dynamically specify the "coords" attribute in <area> tag which is inside <map> tag. @DirectArea component statically pre-defines the "coords" attribute in .html file(e.g. <area [EMAIL PROTECTED] listeners="ognl:listeners.selectPage1" coords="50,50 50,50" /> ), because as for Pet Shop example the image already exists whereas in my case that buffered image will be created dynamically and sends to OutputStream to display it. What I want is to take the "coords" attribute's value from user input at the same time in step 1 and specify the "coords" attribute(for example: pass "50, 50 50,50" as a string) for image map after creating the buffered image. should I modify the DirectArea.java? does anyone have any idea how to make it...? many thanks in advance. -- View this message in context: http://www.nabble.com/help-please%2C-problem-with-image-map-using-Tapestry-4-%21%21%21-tf1897938.html#a5192038 Sent from the Tapestry - User forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]