ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Howe <cjhowe76...@yahoo.com>
Subject Re: Microsoft Publisher quick integration
Date Wed, 06 Sep 2006 19:17:55 GMT
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 <fab@der-moloch.de> 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.
> 


Mime
View raw message