struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory F. March" <ma...@gfm.net>
Subject Re: Use html:link and LookupDispatchAction together
Date Fri, 25 Jul 2003 20:10:55 GMT

We've done this using the following, non-html:link solution:

    <script language="JavaScript">
    <!--
    function submitPageX(name) 
    {
      document.forms[0].actionX.value=name;
      document.forms[0].submit();
    }
    //-->
    </script>
    
    <html:hidden property="actionX" value="na" />
    
    <a href="#" ONCLICK='submitPageX("<bean:message key="my.resource.key"/>")'>
      <bean:message key="my.resource.key"/>
    </a>

/greg

--
Gregory F. March    -=-    http://www.gfm.net:81/~march    -=-    AIM:GfmNet

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message