Yes, make it a specified component.

HTML: 
 <a jwcid="renameLink"> ... </a>

in page/component spec:

<component id="renameLink" type="Any">
  <binding name="href">
    "javascript:renameFile('" + currentFile.filename + "');"
  </binding>
</component>

On 5/25/05, Scott F. Walter <[EMAIL PROTECTED]> wrote:
> Jamie Orchard-Hays wrote:
> 
> > have you tried \'  ?
> >
> >
> >
> > Scott F. Walter wrote:
> >
> >> I have the following ognl expression and I want to embed a single
> >> quote into my expression and not have it end the expression:
> >> <a jwcid="@Any" href="ognl:'javascript:renameFile('' +
> >> currentFile.filename + '');'">
> >>
> >> How can I escape the ognl expression to embed a single quote?
> >>
> >> thanks,
> >>
> >> scott
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> Yes, I tried that, with no success.  Any other ideas?
> 
> --
> 
> Scott F. Walter         Scott F. Walter
> Principal Consultant
> Vivare, Inc.
> 
> E: [EMAIL PROTECTED]
> E: [EMAIL PROTECTED]
> Visit scottwalter.com <http://scottwalter.com> --Point.  Click.  Explore!
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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