Hi all,

I tried giving the image map a name ("map") as so:

<a href="info.html" name="map">
<img data="map.png" style="border: 2px solid" ismap="true" type="image/png">
</a>

I renamed the request-param to get map properties like so:

<map:call function="info">
      <map:parameter name="x" value="{request-param:map.x}"/>
      <map:parameter name="y" value="{request-param:map.y}"/>
</map:call>

I still have the same problems :(
I may just make an XSP page to process the query string and then redirect
to a URL with the coordinates explicitly specified as x and y.

Joel


Upayavira wrote:



(I'm away from my cocoon install currently so I'm working from memory here.)


I did as David said, except that currently my image is unnamed. It is just an img
element:
<img src="pic.png" ismap=true action="info.html"/>
as I recall.


When I examine the XML returned by the RequestGenerator, it has all the headers
etc. and then the parameters. The relevent part looked like:


<h:parameter name="12,23">
<h:value/>
</h:parameter>

Tomorrow I will try giving the image element a name and report back.


Good. I cannot imagine it working without a name on the image map.





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to