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

Reply via email to