Hi
I'm using JBOSS 4.0.2 with JSP 2.0. I have created a TAG file with the following directives:
<%@ attribute name="id" required="true" %>
<%@ attribute name="upgradeAccount" type="com.upc.domain.UpgradeAccountData" %>
However, when I try to pass an object of type UpgradeAccountData
to the tag as a parameter it is always resolved as String, for instance :
<wmtags:paymentOptions id="23" upgradeAccount="${upgradeAccountCommand}">
</wmtags:paymentOptions>
in the above example the upgradeAccountCommand is passed as the "${upgradeAccountCommand}"
string.( I've check it by defining the the type attribute in the tag as object and printing the object type and it's string value).
I've also made sure that the upgradeAccountCommand
in the caller page is an actual UpgradeAccountData
object.
What can I do to solve this?
Many Thanks