Hi Alexander,

just a quick note, since nobody yet responded.

I just tested the following setting:
-jetty6x
-trinidad1.2.9
-myfaces-123
-JSPX
-w/ and w/o lightweight dialogs.

=> inputDate worked fine for me (just did a quick run of our little
demo app....)

But... it doesn't use Facelets... so... I am not really sure if that
did a kinda side effect on your
settings...

-Matthias


On Thu, Jun 12, 2008 at 4:24 AM,  <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>
>
> we are currently developing a JSF-1.2/Facelets application using
> MyFaces-1.2.3, Hibernate-3.2 and Trinidad 1.2.8. Target server is
> Tomcat-6.0.16.
>
>
>
> We encounter problems both in displaying popup dialogs using the dialog
> framework as well as tr:inputDate controls not being displayed.
>
>
>
> When enabling LIGHTWEIGHT_DIALOGS popup dialogs are displayed, but no
> tr:inputDate control shows up (I have not tested other popup controls but I
> am pretty sure, that the problem will be the same). With LIGHTWEIGHT_DIALOGS
> being disabled, both popup dialogs and tr:inputDate launch a separate HTTP
> 404 browser page ('description  The requested resource (/IRMAT/__ADFv__) is
> not available', where IRMAT is the name of the project/WebApp root folder).
> This has been tested with Firefox-2.0.0.14. IE7 though, does not display
> anything in the latter case, not even the tr:inputDate control icon is
> displayed. IE7 instead has some 'page error' notes instead, but which show
> no real hint on the error at all. The HTTP 404 description above shows up
> for the simple test page replacing the startup. When running the actual
> application then the description turns into 'The requested resource
> (/IRMAT/views/%5Bobject%20Window%5D) is not available.' (the pages are using
> a template). As the effect is the same for both use cases I suppose we have
> a general configuration error or else. I tried several servlet mappings but
> nothing helped.
>
>
>
> Additionally in the server output console window we get a lot of
>
> 13:16:59,734 ERROR DebugUtils:232 - javax.faces.FacesException: Could not
> get property facetCount of component j_id2
>
> Maybe that gives someone a clue, I am not sure, if this has something to do
> with the problems with the popup windows.
>
>
>
> This is the code of the simple test page for the tr:inputDate:
>
>
>
> <body>
>
> <ui:composition>
>
>       <tr:form id="testForm">
>
>             <tr:inputDate id="testDate" label="Date"
> value="#{teamBean.date}" />
>
>       </tr:form>
>
> </ui:composition>
>
> </body>
>
>
>
> This is the code for the popup dialog (Delete-commandLink):
>
>
>
> <body>
>
> <ui:composition template="/templates/page-template.xhtml">
>
>
>
>       <ui:define name="title">#{msg['team-edit.title']}</ui:define>
>
>
>
>       <ui:define name="breadcrumbs">Administration -> #{teamBean.editMode}
> Team</ui:define>
>
>
>
>       <ui:define name="body">
>
>             <tr:messages globalOnly="true" />
>
>
>
>             <tr:form defaultCommand="buttonSaveTeam" styleClass="noPrint">
>
>                   <tr:panelHeader text="#{teamBean.editMode} Team" />
>
>
>
>                   <tr:panelFormLayout>
>
>                         <tr:inputText id="teamNameInput"
> label="#{msg['team.name']}"
>
>                              value="#{teamBean.team.name}" required="true"
> maximumLength="16">
>
>                         </tr:inputText>
>
>                         <div id="teamNameErr"><h:message for="teamNameInput"
> /></div>
>
>
>
>                   </tr:panelFormLayout>
>
>
>
>                   <tr:spacer height="10px" />
>
>
>
>                   <tr:panelButtonBar>
>
>                         <tr:commandButton id="buttonSaveTeam"
> styleClass="airbusButton"
>
>                              text="#{teamBean.selectedTeamId == null ?
> 'Create' : 'Save'}"
>
>                              inlineStyle="width:120px"
> action="#{teamBean.saveTeam}">
>
>                         </tr:commandButton>
>
>
>
>                   </tr:panelButtonBar>
>
>
>
>             </tr:form>
>
>       </ui:define>
>
> </ui:composition>
>
> </body>
>
>
>
> Here's our Trinidad config file:
>
>
>
> <trinidad-config xmlns="http://myfaces.apache.org/trinidad/config";>
>
>
>
>       <client-validation>INLINE</client-validation>
>
>
>
>       <client-validation>DISABLED</client-validation>
>
>
>
>       <skin-family>airbus</skin-family>
>
>
>
>       <!-- Enable debug output here -->
>
>       <debug-output>false</debug-output>
>
>
>
>       <!-- Improve a4j compatibility -->
>
>       <accessibility-mode>inaccessible</accessibility-mode>
>
> </trinidad-config>
>
>
>
>
>
> This is the content of our web.xml:
>
>
>
>
> <!--#####################################################################-->
>
>     <!--# Tomcat begin
> #-->
>
>
> <!--#####################################################################-->
>
>
>
>       <welcome-file-list>
>
>             <welcome-file>test_page.xhtml</welcome-file>
>
>       </welcome-file-list>
>
>
>
>
> <!--#####################################################################-->
>
>     <!--# Tomcat end
>        #-->
>
>
> <!--#####################################################################-->
>
>
>
>
>
>
> <!--#####################################################################-->
>
>     <!--# JSF begin
> #-->
>
>
> <!--#####################################################################-->
>
>
>
>     <!-- Faces Servlet implementation -->
>
>     <servlet>
>
>         <servlet-name>Faces Servlet</servlet-name>
>
>         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
>
>         <load-on-startup>1</load-on-startup>
>
>     </servlet>
>
>
>
>     <!-- Faces Servlet Mapping -->
>
>     <servlet-mapping>
>
>         <servlet-name>Faces Servlet</servlet-name>
>
>         <url-pattern>/faces/*</url-pattern>
>
>         <url-pattern>*.xhtml</url-pattern>
>
>     </servlet-mapping>
>
>
>
>     <!-- default faces pages suffix -->
>
>     <context-param>
>
>         <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
>
>         <param-value>.xhtml</param-value>
>
>     </context-param>
>
>
>
>     <!-- JSF parameters -->
>
>     <context-param>
>
>         <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
>
>         <param-value>client</param-value>
>
>     </context-param>
>
>
>
>     <!-- Optional JSF-RI Parameters to Help Debug -->
>
>     <context-param>
>
>         <param-name>com.sun.faces.validateXml</param-name>
>
>         <param-value>true</param-value>
>
>     </context-param>
>
>
>
>      <context-param>
>
>         <param-name>com.sun.faces.verifyObjects</param-name>
>
>         <param-value>true</param-value>
>
>     </context-param>
>
>
>
>
> <!--#####################################################################-->
>
>     <!--# JSF end
> #-->
>
>
> <!--#####################################################################-->
>
>
>
>
>
>
> <!--#####################################################################-->
>
>     <!--# Facelets (xhtml) begin
> #--
>
> ...
>
> [Message clipped]



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Reply via email to