I gave the wrong path...
example should have been
${screen.render("component://xyz/widget/MyScreen#abc")}
${screen.render("component://xyz/widget/MyScreen#abc")?replace("string1",
"string2"} will replace string1 with string2 inside
the string "component://xyz/widget/MyScreen#abc"
so if
string1 = xyz
string2 =def
result =
${screen.render("component://def/widget/MyScreen#abc")}
I'm wanting it to replace string1 with string2 inside
of the screen output...
--- Fabian Gorsler <[EMAIL PROTECTED]> wrote:
> Hi Chris,
>
> Chris Howe wrote:
> >
>
${${screens.render("component://xyz/webapp/xyz/publisher.abc.ftl")}?replace("string1",
> "string2")}
>
> I think this should work:
>
>
${screens.render("component://xyz/webapp/xyz/publisher.abc.ftl")?replace("string1",
>
> "string2"}
>
> Once you have quoted with ${} you don't need any
> more quoting.
>
> HTH
>
> Best regards,
> Fabian.
>