hi NABA and All The issue is that i want the text to be shown in the format it was entered i.e. with carriage return and newline. The text got saved to database with that formatting but when i fetch that text and tried to display the formatting of newline is lost and get displayed with <h:outText escape="false" value ="#{text.get}" />
and this text data was collected in database using lebel and text contains newline and carriage return Thanks Chetu NABA wrote: > > Hi.. > Who is interested in this issue.. > The problem is, that the whole tree is processed... and so the request > will fail because the inputText will be validated and 5 chars are > required.. > I had to wrap the input I process with support - to region!! > The answer comes from jobss-ajax4jsf-forum... > naba > > > > NABA schrieb: >> Hi All... >> My environment: >> MyFaces 1.1.5 >> Tomahawk 1.1.6 >> ajax4jsf 1.1.1 >> jboss Aplication Server 4.0.5 >> IDE: netbeans 5.x >> I try to develop a small application to learn more about jsf and >> ajax4jsf. >> I faced an unexplainable problem. >> When I use AJAX4JSF and in the same JSP <f:validateLength >> maximum="250" minimum="5" />, AJAX4JSF dosen't work. >> It works when I use <f:validateLength maximum="250" /> (without >> minimum attribute). >> Heer my JSP snippet: >> .... >> /<h:inputText value="#{user.textxyt}" > >> <a4j:support event="onkeyup" reRender="rep"/> >> </h:inputText> >> <h:outputText value="#{user.textxyt}" id="rep"/> >> >> <h:outputLabel id="labelBez" for="Label" value="Label" /> >> <t:inputText id="Bezeichnungs" value="#{beanProc.name}" >> readonly="#{!beanProc.beditable}" styleClass="textbox"> >> <f:validateLength maximum="250" /> >> </t:inputText>/ >> .... >> I can't understand what is the problem heer? >> If anyone understand what the problem could be, please for a statment! >> thanks... >> naba :-) >> >> PS: there is not any server-output like error or warns!! > > > -- View this message in context: http://www.nabble.com/output-formatting------tf4507760.html#a12894344 Sent from the MyFaces - Users mailing list archive at Nabble.com.