struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Lipofsky" <>
Subject Validate only if existing
Date Wed, 29 Dec 2004 02:36:23 GMT
I have a field I want to require only if the bean
it exists inside exists (is not null).

I cannot use validwhen because I am using struts 1.1.

I tried to use requiredif like this

	<form name="/ChargeTypeStore">
		<field property=""
			<arg0 key=""/>

but I get

Null property value for 'chargeTypeDTO'

I want to require if and only if
chargeTypeDTO is not null.  Can I do this in struts 1.1?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message