Paul's suggestion sounds much better to me now though ;)

(ie use "and" )

On 10/17/06, Gareth <[EMAIL PROTECTED]> wrote:

thanks

I was hunting about on the ognl site for some time with no luck!

----- Original Message ----
From: Paul Ferraro <[EMAIL PROTECTED]>
To: Tapestry users <[email protected]>
Sent: Tuesday, 17 October, 2006 10:42:42 PM
Subject: Re: OGNL && causes weird error

Use the "and" operator synonym as defined here:

http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/apa.html#operators
e.g.
<binding name="actionsDisabled" value="ognl:addingOrAmendingSought and
(currentSkill.index != SkillSoughtToEdit)"/>

Paul

On Tue, 2006-10-17 at 21:29 +0000, Gareth wrote:
>
>
> 46<component id="skillSoughtRow" type="SkillSoughtRow">
> 47    <binding name="skill" value="currentSkill"/>
> 48    <binding name="editable" value="SkillSoughtToEdit lt 0 ||
currentSkill.index != SkillSoughtToEdit"/>
> 49 <binding
> name="actionsDisabled" value="ognl: addingOrAmendingSought &&
> (currentSkill.index != SkillSoughtToEdit)"/>
> 50</component>
>
> Causes:
>
> org.apache.tapestry.util.xml.DocumentParseException
>
>
>
>             Unable to read context:/WEB-INF/AmendDetails.page: The
entity name must immediately follow the '&' in the entity reference.
>
>
>
>
> Any ideas?
>
>
>
>
>
> ___________________________________________________________
> Now you can scan emails quickly with a reading pane. Get the new Yahoo!
Mail. http://uk.docs.yahoo.com/nowyoucan.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>




Send instant messages to your online friends http://uk.messenger.yahoo.com

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




--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Reply via email to