You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Michael <mi...@comcast.net> on 2002/09/05 17:43:39 UTC

parameter?

I'm generating images dynamically from database info. I want to make the
image a clickable map. The following works for a non-clickable image. Is
there an easy way to add the parameter information if I use <html:image>
instead of <html:img>?

<html:form action="/secure/image/map.do" name="mapForm"
type="com.arinc.dce.maps.DCEMapActionForm">
     <html:img page="/secure/image/map.do" paramName="mapForm"
paramId="map_id" paramProperty="mapId"/>
     <html:hidden property="mapId"/>
     <table>
      <tr>
       <td>
        Action for map clicks:
       </td>
       <td>
        <html:radio property="clickType" value="recenter">
         Re-center
        </html:radio>
       </td>
       <td>
        <html:radio property="clickType" value="zoom">
         Re-center and zoom
        </html:radio>
       </td>
      </tr>
     </table>
    </html:form>

Thanks,
Michael


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>