Again the question:
Has anybody some hints for me to extend this functionality for facelets?
Everything is welcome!

Michael 


-----Ursprüngliche Nachricht-----
Von: Michael Trompertz 
Gesendet: Montag, 14. Mai 2007 08:18
An: 'MyFaces Discussion'
Betreff: AW: [Trinidad] labelAndAccessKey don't work

I looked at the example but I did not get the trick. Is there more information 
about the rules and how they work?
What happened with the additional attributes in facelets? I also did not found 
a class which handles the other (normal) attributes.
Can you give me one (better more) further hints?

Thanks

Michael
 

-----Ursprüngliche Nachricht-----
Von: Adam Winer [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 8. Mai 2007 18:40
An: MyFaces Discussion
Betreff: Re: [Trinidad] labelAndAccessKey don't work

The constructor for a handler isn't called except at startup.
The relevant method is createMetaRuleSet(), which again will only really get 
called at startup.  You add rules in that method, and those rules are what gets 
called per component.  Look at StringArrayPropertyTagRule for an example.

-- Adam


On 5/8/07, Michael Trompertz <[EMAIL PROTECTED]> wrote:
> Thanks for your answer. But it doesn't really help.
> I set breakpoints at the constructor and the methods and I stopped at the 
> constructor for every component at every page. Due to the value of 
> _markInitialState != null the if part as only executed the very first time 
> after the start of the application. The functions are never called.
> What does this mean?
>
>
> Michael
>
>
> -----Ursprüngliche Nachricht-----
> Von: Adam Winer [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 7. Mai 2007 18:08
> An: MyFaces Discussion
> Betreff: Re: [Trinidad] labelAndAccessKey don't work
>
> We'd love to have support contributed.  The key class is 
> org.apache.myfaces.trinidadinternal.facelets.TrinidadComponentHandler,
> which needs a new rule added for these two properties (labelAndAccessKey, 
> textAndAccessKey).
>
> -- Adam
>
>
> On 5/7/07, Michael Trompertz <[EMAIL PROTECTED]> wrote:
> > Is this planned?
> > Can I add the support myself? If yes can you give me a startpoint?
> >
> > Michael
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Adam Winer [mailto:[EMAIL PROTECTED]
> > Gesendet: Sonntag, 6. Mai 2007 01:54
> > An: MyFaces Discussion
> > Betreff: Re: [Trinidad] labelAndAccessKey don't work
> >
> > Ah!  It looks as though the "AndAccessKey" attributes aren't currently 
> > supported in Facelets.
> >
> > -- Adam
> >
> >
> > On 5/2/07, Michael Trompertz <[EMAIL PROTECTED]> wrote:
> > > It is an xhtml file (I use Trinidad together with facelets).
> > >
> > >
> > > Michael
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Adam Winer [mailto:[EMAIL PROTECTED]
> > > Gesendet: Mi 02.05.2007 22:35
> > > An: MyFaces Discussion
> > > Betreff: Re: [Trinidad] labelAndAccessKey don't work
> > >
> > > Is this a .jsp file or a .jspx?
> > >
> > > -- Adam
> > >
> > >
> > > On 5/2/07, Michael Trompertz <[EMAIL PROTECTED]> wrote:
> > > >
> > > >  Hello
> > > >
> > > > How can I get the labelAndAccessKey-Attribute to work in "tr:inputText".
> > > > My code fragment is:
> > > >
> > > > <tr:inputText labelAndAccessKey="V&amp;orname" id="prename"
> > > > value="#{ userData.vorname}" />
> > > >
> > > > But there is no output. If I use "label" and "accessKey" 
> > > > serperate everything looks fine.
> > > >
> > > > Regards
> > > >
> > > > Michael
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>


Reply via email to