First enabling raw will send whatever you give it out without
conversion. Turning off raw will escape the HTML tags, not what you
want either. I don't think that sort of thing works in Tapestry. You
could try using a @Block / @RenderBlock pair. You could have an OGNL
expression provide what block to render in a @RenderBlock. I do this
somewhat frequently. Or your allProducts could call OGNL directly and
parse the expression in your .java class.
Norman Franke
Answering Service for Directors, Inc.
www.myasd.com
On Oct 6, 2008, at 1:37 PM, mike wrote:
in my html,
---------------
<form jwcid="@Form">
<div jwcid="@Insert" value="ognl:allProducts"
raw="ognl:true" />
</form>
in my java, pageValidate,
--------------------------
setAllProducts("<span jwcid=\"@Insert\"
value=\"message:com.test.productcode\"/>");
when reader on browser, i get the exact html -->
-----------------------------------------------
<span jwcid="@Insert" value="message:com.test.productcode"/>
why it doesnt convert into tapestry codes...?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]