myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stan Silvert" <>
Subject RE: Problem with outputText in portlets
Date Thu, 13 Oct 2005 21:59:05 GMT
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.


Stan Silvert

JBoss, Inc.



From: Gavin Cornwell [] 
Sent: Tuesday, October 11, 2005 5:12 AM
Subject: Problem with outputText in portlets



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!!!

   var text = "<h:outputText value='#{msg.click_add}'/>";



Is this something I have done wrong or is this a big in the portlet

Thanks in advance for your help,


View raw message