Tapestry-4.1.2-SNAPSHOT and ognl exp. parser

2007-04-23 Thread Andrea Chiumenti

Hello,
I've just upgraded to the latest snapshot:
When running the demo I've this message:

23-apr-2007 16.53.47
org.apache.tapestry.error.RequestExceptionReporterImplreportRequestException
AVVERTENZA: Unable to process client request: Unable to parse OGNL
expression 'value': value
org.apache.tapestry.BindingException: Unable to parse OGNL expression
'value': value
[classpath:/org/jfly/web/components/edittable/EdtTextField.jwc, line 33,
column 57]

The jwc part is :

parameter name=value required=yes
   description
 The text string to be read and updated.
   /description
 /parameter
 property name=revValue initial-value=ognl:value/

What's happening ?


SOLUTION to BLOCKING: Tapestry-4.1.2-SNAPSHOT and ognl exp. parser

2007-04-23 Thread Andrea Chiumenti

org/apache/tapestry/html/Relation.java

line 113:
public abstract boolean getUseBody();
must be
public abstract boolean isUseBody();

line 51:
if (getUseBody()  getHref() == null)
must be
if (isUseBody()  getHref() == null)

do you want a jira with diff attached, or you can directly do the change ?


Re: SOLUTION to BLOCKING: Tapestry-4.1.2-SNAPSHOT and ognl exp. parser

2007-04-23 Thread Andreas Andreou

jira ... a later ognl version may render this unneeded

On 4/23/07, Andrea Chiumenti [EMAIL PROTECTED] wrote:


org/apache/tapestry/html/Relation.java

line 113:
public abstract boolean getUseBody();
must be
public abstract boolean isUseBody();

line 51:
if (getUseBody()  getHref() == null)
must be
if (isUseBody()  getHref() == null)

do you want a jira with diff attached, or you can directly do the change ?





--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / JEE Consulting


Re: SOLUTION to BLOCKING: Tapestry-4.1.2-SNAPSHOT and ognl exp. parser

2007-04-23 Thread Andrea Chiumenti

done

On 4/23/07, Andreas Andreou [EMAIL PROTECTED] wrote:


jira ... a later ognl version may render this unneeded

On 4/23/07, Andrea Chiumenti [EMAIL PROTECTED] wrote:

 org/apache/tapestry/html/Relation.java

 line 113:
 public abstract boolean getUseBody();
 must be
 public abstract boolean isUseBody();

 line 51:
 if (getUseBody()  getHref() == null)
 must be
 if (isUseBody()  getHref() == null)

 do you want a jira with diff attached, or you can directly do the change
?




--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / JEE Consulting