This content has been marked as final.
Show 5 replies
-
1. Re: String output
nickarls Oct 22, 2009 1:08 PM (in response to wouter.oet)Umm, are you 100% sure that the tag doesn't come from the view?
-
2. Re: String output
wouter.oet Oct 22, 2009 1:27 PM (in response to wouter.oet)Yes. com.xhtml only contains the h:outputText tag.
-
3. Re: String output
nickarls Oct 22, 2009 1:37 PM (in response to wouter.oet)Well, the renderkit produces html so you will probably have some...html in the beginning and end. Since the method clearly doesn't produce it.
-
4. Re: String output
wouter.oet Oct 22, 2009 1:46 PM (in response to wouter.oet)Unfortunately there is not. There is no more code than what I posted.
The function just returnsresultBasedOnRequestParameter
. There is no implementation yet that could produce tags. -
5. Re: String output
wouter.oet Oct 23, 2009 11:11 AM (in response to wouter.oet)I have found the solution. The renderkit assumes that you're rendering html. Not a bad assumption. So the key is to inform it to render something else.
<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" contentType="text/xml"> <h:outputText value="#{communicator.responce}" /> </f:view>