myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MOLINA Stéphane <stephane.mol...@aprilvie.fr>
Subject RE: [Trinidad] Trinidad render kit
Date Thu, 12 Jul 2007 06:28:22 GMT

In fact, the application that I am refactoring with trinidad has a lot of CommandLinks.
The use of trinidad makes these links quite ugly since Trinidad generate different HTML code
and uses his proper skinning classes.

Using Trinidad will make us to refactor completely our css. That's realy a pain in the neck...
Why components kits like Trinidad cannot simply do what they are supposed to do, "just providing
components"... ?

I was trying to add some :

		<render-kit>
			<renderer>
				<component-family>javax.faces.Command</component-family>
				<renderer-type>javax.faces.Link</renderer-type>
				<renderer-class>com.sun.faces.renderkit.html_basic.CommandLinkRenderer</renderer-class>
			</renderer>
		</render-kit>

in my faces-config.xml. Are you meaning that it won't work ?


-----Message d'origine-----
De : Adam Winer [mailto:awiner@gmail.com] 
Envoyé : jeudi 12 juillet 2007 03:47
À : MyFaces Discussion
Objet : Re: [Trinidad] Trinidad render kit

No, there's no way to configure this away.  Could you explain why you need to disable this?

-- Adam


On 7/11/07, MOLINA Stéphane <stephane.molina@aprilvie.fr> wrote:
> Hi,
>
> That's true, only these three elements are rendered by trinidad.
> Is there some mean to avoid this, in particular for commandLink and commandButton ?
>
> I looked in CoreRenderKit.java, but I don't understand how I can do ...
> Is there something to add in a .xml configuration file ?
>
> Thanks in advance,
>
> -----Message d'origine-----
> De : mwessendorf@gmail.com [mailto:mwessendorf@gmail.com] De la part 
> de Matthias Wessendorf Envoyé : mercredi 27 juin 2007 16:57 À : 
> MyFaces Discussion Objet : Re: [Trinidad] Trinidad render kit
>
> form,commandLink and commandButton are rendered by Trinidad
>
> see CoreRenderKit.java
>
> -m
>
> On 6/27/07, MOLINA Stéphane <stephane.molina@aprilvie.fr> wrote:
> > Hi all,
> >
> > I have some problems when using trinidad : all my elements are rendered with trinidad
render kit.
> > For some <h:*> elements I do not want trinidad to do the rendering 
> > job (in fact I do not want trinidad to render anything else than trinidad components).
> >
> > How can I do to use trinidad only for trinidad components ?
> >
> > Best regards,
> >
> >
> > --
> > Stéphane Molina
> >
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> mail: matzew-at-apache-dot-org
>

Mime
View raw message