I am using maven-jetty-plugin based on jetty6. This plugin is good for development. But this is a snapshot and there are bugs. Some days ago a have written a converter to convert a submitted empty string to null. But today I encountered with nulls in request parameters. Definitely, I do not sure, I will try.

The page is large, but it is quite simple. I have reduced it a little.

23.03.06, Mike Kienenberger <[EMAIL PROTECTED]> написал(а):
Seems unlikely.   I recommend posting your actual page code.

I use facelets and jetty 5.1.x, and I haven't had these problems.

<?xml version="1.0" encoding="UTF-8"?>
<ui:composition template="/WEB-INF/jsp/template/passport.xhtml" 
xmlns="http://www.w3.org/1999/xhtml";
  xmlns:h="http://java.sun.com/jsf/html"; xmlns:f="http://java.sun.com/jsf/core";
  xmlns:ui="http://java.sun.com/jsf/facelets"; 
xmlns:t="http://myfaces.apache.org/tomahawk";>

  <ui:define name="content">
    <h:form style="padding: 0px 36px; font-size: small">
      <table cellspacing="0" border="0" cellpadding="0" class="row-wide 
width-full gen-form">
        <tbody>
          <tr>
            <td>
                ...
            </td>
          </tr>
          <tr>
            <td>
              <div class="border-form">
                <table cellspacing="0" border="0" cellpadding="0" 
class="row-wide width-full" >
                  <tbody>
                    <tr>
                      <td class="label">#{bundle['common.title']}:</td>
                      <td>
                        <div class="width-margin" />
                      </td>
                      <td colspan="5">
                        <h:inputText id="tit" value="#{C.title}" 
required="true" style="width: 100%">
                          <f:validateLength minimum="3"/>
                        </h:inputText>
                      </td>
                      <td colspan="2">
                        <div class="error">
                          <h:message style="color: blue" for="tit" />
                        </div>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </div>
            </td>
          </tr>
          <tr>
            <td>
              <h:commandLink actionListener="#{C.do.save.actionListener}"
                rendered="#{C.id == null}">
                <h:commandButton value="#{bundle['common.create']}" />
                <f:param name="C" value="#{C.id}" />
              </h:commandLink>
              <t:div style="background-color: #fea; padding: 12px; font-size: 
small; "
                styleClass="border-form" rendered="#{C.id != null}">
                <h:outputText 
value="#{bundle['common.create.confirmation']}"></h:outputText>
              </t:div>
            </td>
          </tr>
        </tbody>
      </table>
    </h:form>

    <h:messages style="color: blue" />

  </ui:define>

</ui:composition>

Reply via email to