You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Je...@nlgroup.ca on 2003/01/15 18:55:58 UTC

Expose form bean name for a given mapping..

Greetings:
      I am forced to do much of this type of code in Java script:
document.customerForm.submit();
of course the name: customerForm is found in the mapping config file.
 I would like to make it so that my javascript does not break if the name of the form bean
changes in the config file.

Does anyone do this?

I am trying the
<bean:struts mapping="acctMeshingRouter" id="thisMapping"/>
<%= thisMapping.getXXX %>

Am I on the right track?

I get a runtime exception with a message: No Struts internal object named acctMeshingRouter

Thanks for any help!


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