Robert, Good catch, I had "false" in there before, but it complained about trying to init a Boolean with a String and it couldn't convert it. I copied/pasted from an HTML template and picked up the extra "ognl". Once I removed that, it worked!
Thanks! regards, Mark Mark J. Stang Senior Engineer/Architect office: +1 303.468.2900 mobile: +1 303.507.2833 Ping Identity -----Original Message----- From: Robert Zeigler [mailto:[EMAIL PROTECTED] Sent: Wed 11/22/2006 12:01 PM To: Tapestry users Subject: Re: Help with ognl... the binding type for default-value is already ognl. So ognl is chocking on the ognl: part. Try something like: default-value="false" :) Robert Mark Stang wrote: > I am trying to create a 3.x parameter: > > <parameter name="maskValues" type="java.lang.Boolean" required="no" > direction="in" default-value="ognl:@[EMAIL PROTECTED]"/> > > I was using a "boolean", but there is a bug in 3.x where sometimes it doesn't > pass the value in, so I switched to a Boolean, but can't seem to come up with > a valid default value. > > Unable to parse expression 'ognl:@[EMAIL PROTECTED]'. > binding: > ExpressionBinding[Holder/createAdapterContract.$AttributeContractEditor > ognl:@[EMAIL PROTECTED] > location: > classpath:/com/pingidentity/component/common/AttributeContractEditor.jwc, > line 17, column 135 > > org.apache.tapestry.ApplicationRuntimeException > Unable to parse expression 'ognl:@[EMAIL PROTECTED]'. > > ognl.ExpressionSyntaxException > Malformed OGNL expression: ognl:@[EMAIL PROTECTED] > > Thoughts? > > thanks, > > Mark > > Mark J. Stang > Senior Engineer/Architect > office: +1 303.468.2900 > mobile: +1 303.507.2833 > Ping Identity > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]