Very strange. I can’t imagine that
the portlet stuff would have anything to do with it. It is possible that the
component code has some sort of “if portal do this”, but I really
doubt it.
Maybe the portal is changing the html?
Just a shot in the dark.
From: Gavin Cornwell
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 11, 2005
5:12 AM
To: [email protected]
Subject: Problem with outputText
in portlets
Hi,
We have a JSF app that runs as a portlet and normal webapp.
In the webapp the <h:outputText value="some text"/> appears as
I would expect however the same thing in the portlet gets rendered as:
<span id="form-id:handleMetaDataEvent_id36">some
text</span>
When we try to do the following the above problem obviously causes a problem as
the _javascript_ string contains the span HTML!!!
<script>
var text = "<h:outputText
value='#{msg.click_add}'/>";
....
</script>
Is this something I have done wrong or is this a big in the portlet support?
Thanks in advance for your help,
Gavin
|