The most likely cause is that you haven't defined your Java class in
the .page file.

Failing that, it might be the case that tag parameter needs looking at.  

The full stack trace would have been useful here. I'm surprised you
got as much response as you did, providing so little data.

On 5/26/05, seloha . <[EMAIL PROTECTED]> wrote:
> I am getting an error message:
> 
> Unable to read OGNL expression '<parsed OGNL expression>' of
> [EMAIL PROTECTED]: $UserAddPage_67.cancel
> 
> which highlights this line in my template:
> 
> <input type="submit" jwcid="@Submit" value="Cancel"
> selected="ognl:whichButton" tag="cancel" onclick="form.onsubmit = null;"/>
> 
> after I have pressed this cancel button.
> 
> In my page specification I have:
> 
> <property name="whichButton"/>
> 
> and in my java file I have:
> 
> public abstract String getWhichButton();
> 
> I used this technique in Tapestry 3.0 to determine which button was being
> pressed.
> 
> Has anyone any ideas why this now fails and how to fix it.
> 
> Thanks in advance,
> 
> Paul
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to