myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eisenträger, Tobias <Tobias.Eisentrae...@arag.de>
Subject AW: Cannot get <tr:inputDate> to work
Date Tue, 13 Apr 2010 09:47:02 GMT
> -----Ursprüngliche Nachricht-----
> Von: mwessendorf@gmail.com [mailto:mwessendorf@gmail.com] Im Auftrag von
> Matthias Wessendorf
> Gesendet: Dienstag, 13. April 2010 11:31
> An: MyFaces Discussion
> Betreff: Re: Cannot get <tr:inputDate> to work
> 
> does the vanilla demo work for you ?
No, gives the error as stated in original email.
> 
> Did you register the TrindadFilter ?
<filter>
    <filter-name>trinidad</filter-name>
    <filter-class>
			org.apache.myfaces.trinidad.webapp.TrinidadFilter
		</filter-class>
  </filter>

  <filter-mapping>
    <filter-name>trinidad</filter-name>
    <servlet-name>faces</servlet-name>
  </filter-mapping>

  <filter-mapping>
    <filter-name>MyFacesExtensionsFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
  </filter-mapping>
  
  <filter-mapping>
    <filter-name>MyFacesExtensionsFilter</filter-name>
    <url-pattern>/faces/*</url-pattern>
  </filter-mapping>

Do I need more filter mappings - I notice that only the urls with appname/index.jsf work,
the ones with /faces/index.jspx do not.

> Did you add the renderKit (to faces-cfg) ?
<application>
    <!-- Use the Trinidad RenderKit -->
    <default-render-kit-id>
      org.apache.myfaces.trinidad.core
    </default-render-kit-id>
    <!--  Set the user locale -->
    <locale-config>
		<default-locale>de</default-locale>
		<supported-locale>de</supported-locale>
	</locale-config>
    <resource-bundle>
  		<base-name>messages</base-name>
  		<var>msgs</var>
  	</resource-bundle>
  	<resource-bundle>
  		<base-name>jflowwebclient</base-name>
  		<var>properties</var>
  	</resource-bundle>
  </application>
> 
> -M
> 
> On Tue, Apr 13, 2010 at 11:23 AM, Eisenträger, Tobias
> <Tobias.Eisentraeger@arag.de> wrote:
> > Hello,
> >
> >
> >
> > I think I am missing a configuration, something for additional resources
> from ADF, but I cannot remember how to configure that, and where. The
> problem is that when I use the <tr:inputDate> from the example at:
> http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_inputDate.html
> <http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_inputDate.html>
>  on click nothing happens - the problem ist, that the browser is looking
> for:
> http://server:port/appName/__ADFv__?_t=cd&value=1271150122202&loc=de&enc=i
> so-8859-1 where a 404 is returned.
> >
> >
> >
> > Apr 13, 2010 11:22:54 AM
> org.apache.myfaces.renderkit.html.HtmlRenderKitImpl getRenderer
> >
> > WARNING: Unsupported component-family/renderer-type:
> org.apache.myfaces.trinidad.Input/org.apache.myfaces.trinidad.CoreInputTex
> t
> >
> > Apr 13, 2010 11:22:54 AM
> org.apache.myfaces.trinidadinternal.renderkit.RenderKitBase getRenderer
> >
> > WARNING: Renderer 'org.apache.myfaces.trinidad.CoreInputText' not found
> for component family 'org.apache.myfaces.trinidad.Input'
> >
> > Apr 13, 2010 11:22:54 AM
> org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl
> >
> > WARNING: Could not find renderer for UIXInput[UIXEditableFacesBeanImpl,
> id=patitoPerez] rendererType = org.apache.myfaces.trinidad.CoreInputText
> >
> >
> >
> > Any tipps?
> >
> >
> >
> > Thanks!
> >
> >
> >
> > Mit freundlichen Grüßen
> >
> >
> >
> > Tobias Eisenträger
> >
> >
> >
> > Softwareentwickler
> >
> > Dokumentenmanagement/Workflow/Internet, AKB 8125
> >
> >
> >
> > ARAG IT GmbH
> > ARAG Platz 1, 40472 Düsseldorf
> >
> > Tel.: +49 (0)211 964-1937
> >
> > tobias.eisentraeger@arag.de
> > www.ARAG.de
> >
> >
> >
> > Aufsichtsratsvorsitzender:
> >
> > Gerd Peskes
> >
> > Vorstand:
> >
> > Dr. Paul-Otto Faßbender (Vors.),
> >
> > Dr. Jan-Peter Horst,
> >
> > Dr. Johannes Kathan, Werner Nicoll,
> >
> > Hanno Petersen, Dr. Joerg Schwarze
> >
> > Sitz und Registergericht:
> >
> > Düsseldorf, HRB 1371
> >
> > USt-ID-Nr.: DE 119 355 995
> >
> >
> >
> >
> 
> 
> 
> --
> Matthias Wessendorf
> 
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf

Mime
View raw message