I doubt it's an Eclipse problem. Could you show the .xhtml source that illustrates the problem?
-- Adam On 5/21/07, Michael Trompertz <[EMAIL PROTECTED]> wrote:
Hm, maybe it is an Eclipse/Classpath problem. I tried to download the trunk from with Subclipse-plugin but I did not get it to work. Is there a tutorial to build Trinidad with Eclipse? After this I tried to do it with the Wiki "Building ADF with maven" entry but there is only the path to the incubator. The checkout works with svn co http://svn.apache.org/repos/asf/myfaces/trinidad/trunk/ trinidad But the build fails with the following error (see below) Maybe there are some entries from the incubator time? Michael C:\Programme\Subversion\trinidad\trinidad>mvn install [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Apache MyFaces Trinidad [INFO] Apache MyFaces Trinidad Build [INFO] Apache MyFaces Trinidad API [INFO] Apache MyFaces Trinidad Impl [INFO] Apache MyFaces Trinidad Demo [INFO] ------------------------------------------------------------------------- --- [INFO] Building Apache MyFaces Trinidad [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------- --- [INFO] [site:attach-descriptor] [WARNING] Unable to load parent project from repository: Could not find the mode l file 'C:\Programme\Subversion\trinidad\trinidad\..\pom.xml'. [INFO] [install:install] [INFO] Installing C:\Programme\Subversion\trinidad\trinidad\pom.xml to C:\Dokume nte und Einstellungen\MichaelT.FELTEN\.m2\repository\org\apache\myfaces\trinidad \trinidad\1.0.1-SNAPSHOT\trinidad-1.0.1-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------- --- [INFO] Building Apache MyFaces Trinidad Build [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------- --- Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/m yfaces/trinidadbuild/maven-faces-plugin/1.0.1-SNAPSHOT/maven-faces-plugin-1.0.1- SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] A required plugin was not found: Plugin could not be found - check that t he goal name is correct: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.myfaces.trinidadbuild -Dartifa ctId=maven-faces-plugin \ -Dversion=1.0.1-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file org.apache.myfaces.trinidadbuild:maven-faces-plugin:maven-plugin:1.0.1-SNAPSHO T from the specified remote repositories: central (http://repo1.maven.org/maven2), apache.stage (http://people.apache.org/repo/m2-incubating-repository) org.apache.myfaces.trinidadbuild:maven-faces-plugin:maven-plugin:1.0.1-SNAPSHO T from the specified remote repositories: central (http://repo1.maven.org/maven2), apache.stage (http://people.apache.org/repo/m2-incubating-repository) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3 seconds [INFO] Finished at: Mon May 21 11:02:07 CEST 2007 [INFO] Final Memory: 6M/11M [INFO] ------------------------------------------------------------------------ C:\Programme\Subversion\trinidad\trinidad> -----Ursprüngliche Nachricht----- Von: Adam Winer [mailto:[EMAIL PROTECTED] Gesendet: Samstag, 19. Mai 2007 21:34 An: MyFaces Discussion Betreff: Re: [Trinidad] labelAndAccessKey don't work Hrm, I tried exactly that in my testcase, and it was working. Could you show me the file you're using (preferably, snipped down to minimal size to show just this problem). -- Adam On 5/19/07, Michael Trompertz <[EMAIL PROTECTED]> wrote: > Hi Adam > > Sorry for writing again. > Your implementation works in so far that the text of the "labelAndAccessKey" is displayed now. But it is displayed as "&Name" for the attribue labelAndAccessKey="&Name". I think in Trinidad (without Facelets) it works. > Did I something wrong or is something missing? > > Michael > > > > That's great news - thanks a lot! > I will have a look and a code and try to understand it - hopefully I can do the next extensions myself ;-). > > Michael > > > -----Ursprüngliche Nachricht----- > Von: Adam Winer [mailto:[EMAIL PROTECTED] > Gesendet: Samstag, 19. Mai 2007 00:59 > An: MyFaces Discussion > Betreff: Re: [Trinidad] labelAndAccessKey don't work > > Michael, > > I just implemented it. :) You can check out the code. > > -- Adam > > > On 5/18/07, Michael Trompertz <[EMAIL PROTECTED]> wrote: > > 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.TrinidadComponentHand > > > le r, 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&orname" id="prename" > > > > > > value="#{ userData.vorname}" /> > > > > > > > > > > > > But there is no output. If I use "label" and "accessKey" > > > > > > serperate everything looks fine. > > > > > > > > > > > > Regards > > > > > > > > > > > > Michael > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

