Hi,

Try to delete &nbsp.


<htm:tr>
   <htm:td colspan="4" styleClass="labelcol">
       &nbsp;
   </htm:td>
</htm:tr>

Cristi

Bjørn T Johansen wrote:
The problem is that I don't have any comments in the jsp file...

Here is the part of the jsp file that is referenced in the log...:

......

   <htm:tr>
        <htm:td colspan="4">
        </htm:td>
    </htm:tr>
</h:panelGroup>

<h:panelGroup id="grpWO" rendered="#{orderBean.ordre.logFortrykk.createWO}">
<htm:tr>
    <htm:td colspan="4" styleClass="labelcol">
        &nbsp;
    </htm:td>
</htm:tr>
<htm:tr>
    <htm:td styleClass="labelcol">
        <h:outputLabel value="Repeterende arbeidsordre:" 
for="repeatYesNo"></h:outputLabel>
    </htm:td>
    <htm:td styleClass="labelcol" colspan="3">
        <h:selectOneRadio id="repeatYesNo" 
value="#{orderBean.ordre.logFortrykk.workorder.woRepeat}"
                          onclick="submit();">
            <f:selectItem itemLabel="Ja" itemValue="Yes"/>
            <f:selectItem itemLabel="Nei" itemValue="No"/>
        </h:selectOneRadio>
    </htm:td>
</htm:tr>
<htm:tr>
    <htm:td colspan="4" styleClass="labelcol">
        &nbsp;
    </htm:td>
</htm:tr>
<h:panelGroup id="grpWORepeat" 
rendered="#{orderBean.ordre.logFortrykk.workorder.repeatWO}">
    <htm:tr>
        <htm:td styleClass="labelcol" colspan="4">
            <h:selectOneRadio value="#{orderBean.ordre.logFortrykk.workorder.repDays}" 
styleClass="labelcol">
                <f:selectItem itemLabel="Hver dag" itemValue="1"/>
                <f:selectItem itemLabel="Hver 7. dag" itemValue="7"/>
                <f:selectItem itemLabel="Hver 14. dag" itemValue="14"/>
                <f:selectItem itemLabel="Hver 21. dag" itemValue="21"/>
                <f:selectItem itemLabel="Hver 28. dag" itemValue="28"/>
                <f:selectItem itemLabel="Hver 2. mnd" itemValue="2"/>
                <f:selectItem itemLabel="Hver 3. mnd" itemValue="3"/>
                <f:selectItem itemLabel="Hver 4. mnd" itemValue="4"/>
                <f:selectItem itemLabel="Hver 6. mnd" itemValue="6"/>
                <f:selectItem itemLabel="Hver 12. mnd" itemValue="12"/>
            </h:selectOneRadio>
        </htm:td>
    </htm:tr>
    <htm:tr>
        <htm:td styleClass="labelcol">
            <h:outputLabel value="Til og med dato:" 
for="todate"></h:outputLabel>
        </htm:td>
        <htm:td styleClass="inputcol" colspan="3">
            <cal:calendar id="todate" mask="dd.mm.yyyy" separator="." 
emptyValueEnabled="true"
                          
dateValue="#{orderBean.ordre.logFortrykk.workorder.repeatToDate}"
                          monthBackButtonHeight="20" monthBackButtonWidth="20"
                          
monthBackButtonImg="/DT/repository/images/new/navigate_left1.gif"
                          
monthBackButtonRollOverImg="/DT/repository/images/new/navigate_left2.gif"
                          monthBackButtonStyle="cursor:pointer"
                          monthBackButtonHintText="One Month Before"
                          monthForwardButtonHeight="20" 
monthForwardButtonWidth="20"
                          
monthForwardButtonImg="/DT/repository/images/new/navigate_right1.gif"
                          
monthForwardButtonRollOverImg="/DT/repository/images/new/navigate_right2.gif"
                          monthForwardButtonStyle="cursor:pointer"
                          monthForwardButtonHintText="One Month After"
                          yearBackButtonHeight="20" yearBackButtonWidth="20"
                          
yearBackButtonImg="/DT/repository/images/new/navigate_left1.gif"
                          
yearBackButtonRollOverImg="/DT/repository/images/new/navigate_left2.gif"
                          yearBackButtonStyle="cursor:pointer"
                          yearBackButtonHintText="One Year Before"
                          yearForwardButtonHeight="20" 
yearForwardButtonWidth="20"
                          
yearForwardButtonImg="/DT/repository/images/new/navigate_right1.gif"
                          
yearForwardButtonRollOverImg="/DT/repository/images/new/navigate_right2.gif"
                          yearForwardButtonStyle="cursor:pointer"
                          yearForwardButtonHintText="One Year After"
                          openerButtonHeight="20" openerButtonWidth="20"
                          
openerButtonImg="/DT/repository/images/new/calendar.gif"
                          openerButtonStyle="cursor:pointer"
                          openerButtonHintText="Expand/Collapse Calendar"
                          todayButtonHeight="20" todayButtonWidth="50"
                          todayButtonImg="/DT/repository/images/new/today.gif"
                          todayButtonStyle="cursor:pointer"
                          todayButtonHintText="Set Today Date" 
applyButtonHeight="20"
                          applyButtonWidth="50"
                          applyButtonImg="/DT/repository/images/new/apply.gif"
                          applyButtonStyle="cursor:pointer"
                          applyButtonHintText="Set Selected Date" 
cancelButtonHeight="20"
                          cancelButtonWidth="50"
                          cancelButtonImg="/DT/repository/images/new/cancel.gif"
                          cancelButtonStyle="cursor:pointer"
                          cancelButtonHintText="Cancel Selected Date">
                <f:validator validatorId="no.havleik.Date"/>
            </cal:calendar>
        </htm:td>
    </htm:tr>
    <htm:tr>
    <htm:td colspan="4" styleClass="labelcol">
        &nbsp;
    </htm:td>
</htm:tr>
</h:panelGroup>
<htm:tr>
    <htm:td styleClass="labelcol">
        <h:outputLabel value="Arbeidsordre gjelder"/>
    </htm:td>
    <htm:td colspan="3" styleClass="inputcol">
        <h:selectOneMenu id="wo_group" 
value="#{orderBean.ordre.logFortrykk.workorder.groupid}"
                         
onchange="document.getElementById('content:formOrder:woGroupButton').click()">
            <f:selectItems value="#{orderBean.workorderHelp.wogroupList}"/>
        </h:selectOneMenu>
        
<f:verbatim>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kategori:&nbsp;</f:verbatim>
        <h:selectOneMenu id="wo_kategori" 
value="#{orderBean.ordre.logFortrykk.workorder.kategoriid}"
                         
onchange="document.getElementById('content:formOrder:woKategoriButton').click()">
            <f:selectItems value="#{orderBean.workorderHelp.wokategoriList}"/>
        </h:selectOneMenu>
        
<f:verbatim>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;KomponentID:&nbsp;</f:verbatim>
        <h:inputText id="wo_komponentid" size="20" maxlength="20" 
value="#{orderBean.ordre.logFortrykk.workorder.hwid}"
                     
onchange="document.getElementById('content:formOrder:woKompButton').click()"/>
    </htm:td>
</htm:tr>

<htm:tr>
    <htm:td styleClass="labelcol">
        <h:outputLabel value="Underkategorier"/>
    </htm:td>
    <htm:td colspan="3" styleClass="inputcol">
        <h:selectOneMenu id="wo_sub" 
value="#{orderBean.ordre.logFortrykk.workorder.subid}"
                         
onchange="document.getElementById('content:formOrder:woSubButton').click()">
            <f:selectItems value="#{orderBean.workorderHelp.wosubList}"/>
        </h:selectOneMenu>
        
<f:verbatim>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</f:verbatim>
        <h:selectOneMenu id="wo_sub2" 
value="#{orderBean.ordre.logFortrykk.workorder.sub2id}">
            <f:selectItems value="#{orderBean.workorderHelp.wosub2List}"/>
        </h:selectOneMenu>
    </htm:td>
</htm:tr>
<htm:tr>
    <htm:td styleClass="labelcol">
        <h:outputLabel value="Disiplin:"/>
    </htm:td>
    <htm:td colspan="3" styleClass="inputcol">
        <h:selectOneMenu id="wo_disiplin" 
value="#{orderBean.ordre.logFortrykk.workorder.disiplinid}">
            <f:selectItems value="#{orderBean.workorderHelp.wodisiplinList}"/>
        </h:selectOneMenu>
    </htm:td>
</htm:tr>
<htm:tr>
    <htm:td styleClass="labelcol">
        <h:outputLabel value="Forfallsdato:" for="expdate"></h:outputLabel>
    </htm:td>
    <htm:td styleClass="inputcol" colspan="3">
        <cal:calendar id="expdate" mask="dd.mm.yyyy" separator="." 
emptyValueEnabled="true"
                      
dateValue="#{orderBean.ordre.logFortrykk.workorder.expiredate}"
                      monthBackButtonHeight="20" monthBackButtonWidth="20"
                      
monthBackButtonImg="/DT/repository/images/new/navigate_left1.gif"
                      
monthBackButtonRollOverImg="/DT/repository/images/new/navigate_left2.gif"
                      monthBackButtonStyle="cursor:pointer"
                      monthBackButtonHintText="One Month Before"
                      monthForwardButtonHeight="20" monthForwardButtonWidth="20"
                      
monthForwardButtonImg="/DT/repository/images/new/navigate_right1.gif"
                      
monthForwardButtonRollOverImg="/DT/repository/images/new/navigate_right2.gif"
                      monthForwardButtonStyle="cursor:pointer"
                      monthForwardButtonHintText="One Month After"
                      yearBackButtonHeight="20" yearBackButtonWidth="20"
                      
yearBackButtonImg="/DT/repository/images/new/navigate_left1.gif"
                      
yearBackButtonRollOverImg="/DT/repository/images/new/navigate_left2.gif"
                      yearBackButtonStyle="cursor:pointer"
                      yearBackButtonHintText="One Year Before"
                      yearForwardButtonHeight="20" yearForwardButtonWidth="20"
                      
yearForwardButtonImg="/DT/repository/images/new/navigate_right1.gif"
                      
yearForwardButtonRollOverImg="/DT/repository/images/new/navigate_right2.gif"
                      yearForwardButtonStyle="cursor:pointer"
                      yearForwardButtonHintText="One Year After"
                      openerButtonHeight="20" openerButtonWidth="20"
                      openerButtonImg="/DT/repository/images/new/calendar.gif"
                      openerButtonStyle="cursor:pointer"
                      openerButtonHintText="Expand/Collapse Calendar"
                      todayButtonHeight="20" todayButtonWidth="50"
                      todayButtonImg="/DT/repository/images/new/today.gif"
                      todayButtonStyle="cursor:pointer"
                      todayButtonHintText="Set Today Date" 
applyButtonHeight="20"
                      applyButtonWidth="50"
                      applyButtonImg="/DT/repository/images/new/apply.gif"
                      applyButtonStyle="cursor:pointer"
                      applyButtonHintText="Set Selected Date" 
cancelButtonHeight="20"
                      cancelButtonWidth="50"
                      cancelButtonImg="/DT/repository/images/new/cancel.gif"
                      cancelButtonStyle="cursor:pointer"
                      cancelButtonHintText="Cancel Selected Date">
            <f:validator validatorId="no.havleik.Date"/>
        </cal:calendar>
    </htm:td>
</htm:tr>

<htm:tr>
    <htm:td styleClass="labelcol">
        <h:outputLabel value="Beskrivelse:" for="wo_desc"></h:outputLabel>
    </htm:td>
    <htm:td styleClass="inputcol" colspan="3">
        <h:inputTextarea id="wo_desc" cols="100" rows="7" 
value="#{orderBean.ordre.logFortrykk.workorder.description}">
        </h:inputTextarea>
        <h:message for="wo_desc" styleClass="errors"/>
    </htm:td>
</htm:tr>

<htm:tr>
    <htm:td colspan="4">
    </htm:td>
</htm:tr>
</h:panelGroup>

On Sat, 21 Oct 2006 15:23:19 -0400
"David Friedman" <[EMAIL PROTECTED]> wrote:

From the error it is describing a problem with a comment inside one of your
panelgroups.  Try following the f:verbatim suggestion from your logs (show
immediately below) or try removing the comments. Whatever it is the item
cannot be serialized for state saving in /protected/log/fortrykk.jsp item
grpWo (inside formOrder) or item grpWO.  This section of your trace should
have got you into the right place to figure it out:

javax.faces.component.html.HtmlPanelGroup,Id: grpWORepeat]}renders it's
children, but has embedded JSP or HTML code. Use the <f:verbatim> tag for
nested HTML. For comments use <%/* */%> style JSP comments instead of
<!-- --> style HTML comments.
 BodyContent:
&nbsp;
21.10.2006 20:40:53,687 - Component with id 'content:formOrder:grpWO'
(org.apache.myfaces.taglib.html.HtmlPanelGroupTag tag) and path :
{Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId:
/protected/log/fortrykk.jsp][Class:
javax.faces.component.html.HtmlPanelGrid,Id: _idJsp0][Class:
javax.faces.component.UIColumn,Id: _idJsp27][Class:
javax.faces.component.UINamingContainer,Id: content][Class:
javax.faces.component.html.HtmlForm,Id: formOrder][Class:
com.exadel.htmLib.components.UITable,Id: _idJsp30][Class:
javax.faces.component.html.HtmlPanelGroup,Id: _idJsp31][Class:
javax.faces.component.html.HtmlPanelGroup,Id: grpWO]}renders it's children,
but has embedded JSP or HTML code. Use the <f:verbatim> tag for nested HTML.
For comments use <%/* */%> style JSP comments instead of <!-- --> style HTML
comments.
 BodyContent:
&nbsp;




Reply via email to