At first, try to close all of your browser window and restart the
server.. it seems that you changed your jsp content but the
server-side component tree is not in sync...
Cosma
2006/5/19, Chrisi <[EMAIL PROTECTED]>:
Hello,
the following seems very magic and doesn't make any little sense for me:
I've got a jsp page containing some simple outputText tags. For
testing the magic behavior I output a property four times:
....
<td> <h:outputText value="#{myBean.valueName}"/> </td>
<td> <h:outputText value="#{myBean.valueName}"/> </td>
<td> <h:outputText value="#{myBean.valueName}"/> </td>
<td> <h:outputText value="#{myBean.valueName}"/> </td>
....
The 1., 3. and 4. line renders correct like:
<td> My_Value </td>
The second one renders always some unusable java-script code which
breaks my page:
<td> <a href="#"
onclick="clear__5FidJsp0();document.forms['_idJsp0'].elements['_idJsp0:_link_hidden_'].value='_idJsp0:_idJsp2';if(document.forms['_idJsp0'].onsubmit){var
result=document.forms['_idJsp0'].onsubmit(); if( (typeof result ==
'undefined') || result )
{document.forms['_idJsp0'].submit();}}else{document.forms['_idJsp0'].submit();}return
false;" id="_idJsp0:_idJsp2"></a> </td>
Any idea what's going wrong here?
I'm using myfaces 1.1.3.
Thanks and Greetings
Chrisi