Hi,
Individually these all work
deleteBusiness.confirm.p1 = Confirm company <b>{0}</b> is correct.
<bean:message key="deleteBusiness.confirm.p1" arg0="Esso"/>
<bean:write name="deleteOganizationForm" property="organizationName" scope="session" ignore="true"/>
Instead of using a literal of esso we want to use the value taken from our formBean, deleteOganizationForm.
We have tried various combinations. Can somebody please provide an example?
You are unable to use a bean inside the arg0="" parameter (as you have no doubt found out).
You probably have 2 choices here:
1. Use JSTL (preferred) You would have to use the struts-el tags in the contrib directory It should look something like this
<bean:message key="deleteBusiness.confirm.p1" arg0="${deleteOganizationForm.organizationName}"/>
2. Use Scriptlets
<bean:define id="orgName" name="deleteOganizationForm" property="organizationName" />
<bean:message key="deleteBusiness.confirm.p1" arg0="<%=orgName%>"/>
-- Jason Lea
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]