Re: [Tomahawk] Display day of week name

2007-08-14 Thread ratondeau
Yes Thanks I did that, but I want ti display the days of week above the header especialy in the month mode so you can see the days of week overhead the single dates (like the month view in sunbird, outlook etc.). I suppose that I have to customis the renderer somehow, never did that before. Jur

Re: rowBandingInterval not working with Trinidad treeTable

2007-08-14 Thread Carsten Pieper
> and it didn't make a difference. Hm, I'm just noticing right now, that you're using the tr:treetable whereas the CSS snippet I gave works fine with my tr:table. I never tried it with a tr:treetable for which other selectors might have to be set (in other words: my advice may have been nuts...).

RE: Very slow Tomcat 6 startup when using MyFaces 1.2.0

2007-08-14 Thread jkvandel
Hrmm, I thought I already checked that, but it does sound reasonable. I'm gonna try it tonight. Thanks, Jan-Kees -Oorspronkelijk bericht- Van: Adam Winer [mailto:[EMAIL PROTECTED] Verzonden: wo 15-8-2007 2:31 Aan: MyFaces Discussion Onderwerp: Re: Very slow Tomcat 6 startup when using

Re: [Trinidad] Skinning - no CSS selector for tr:outputText?

2007-08-14 Thread Carsten Pieper
Thank you very much, Simon and Adam! With (slowly but surely) growing insight, Carsten Adam Winer wrote: > > The critical thing, which is easy to overlook, is that you > have to pass your component's Type object to the Renderer > superclasses constructor, which is what Simon's code is doing.

Invalid tag found: unexpected input while looking for attr name or '/>'

2007-08-14 Thread Dave
05:05:27,075 WARN [ReducedHTMLParser] Invalid tag found: unexpected input while looking for attr name or '/>' at line 93. Surroundings: '(player.currentMedia) { ' The following script is included in head section. var player = document.getElementById("player"); if (player.curre

dataTable newspaperColumn styleClass

2007-08-14 Thread Dave
How to specify the 3 newspaper column style classes, for example their width(s)? I did not see an attribute like newspaperColumnClasses="StyleClass1,StyleClass2,StyleClass3" newspaperColumnClasses="#{bean.newspaperColumnClasses}" Any workaround? Thanks, Dave

Re: [Trinidad] tr:chooseColor

2007-08-14 Thread Adam Winer
Yes, this should work (otherwise, colorData is rather pointless!) -- Adam On 8/14/07, Kevin R. Gutch <[EMAIL PROTECTED]> wrote: > Can a bound to a custom colorData use an tr:inputColor > controller? The code below does not seem to work. > > Thanks, > Kevin > > shortDesc="Select

Re: Very slow Tomcat 6 startup when using MyFaces 1.2.0

2007-08-14 Thread Adam Winer
Or Jan-Kees is behind a firewall, and the server can't be reached. -- Adam On 8/14/07, Simon Lessard <[EMAIL PROTECTED]> wrote: > Hi Jan-Kees, > > That's a good question... Even more since it doesn't seem to be > deterministic. Your idea about DTD/XSD validation might be the right one. I > gues

Re: [Trinidad] using a custom skin

2007-08-14 Thread Stephen Friedrich
Thanks a million, Jeanne. It's finally working. I got confused by firebug's display of style. It showed the tabs selector before "color:#0;" and when I changed that color there, it took effect. I did not notice/understand that the tabs selector was just accidentally last in a long list of comm

Re: [Trinidad] using a custom skin

2007-08-14 Thread Jeanne Waldman
Are you skinning a navigationPane hint="bar" or hint="tabs"? I'm confused because you said you changed the background color using af|navigationPane::bar, but then you ask about navigationPane::tabs styles. If it is navigationPane bar, then you can do this: af|navigationPane::bar-active-enabled

Re: [Trinidad] EL not processed for label attribute for server-side validation

2007-08-14 Thread Adam Winer
I'm sure it is the issue... but there's already plenty of code in UIXEditableValue and the Trinidad MessageFactory class to handle this by delaying execution of the ValueBinding until the last possible moment. Something's gone wrong with that code. -- Adam On 8/14/07, Simon Lessard <[EMAIL PR

RE: [Trinidad] EL not processed for label attribute for server-side validation

2007-08-14 Thread Todd Engle
Thanks Simon -- a managed bean approach worked. I found your posting here and that helped explain the reason for the problem (and also the solution): http://www.nabble.com/-Trinidad--setActionListener-and-resource-bundle-t 4224032.html From: Simon Lessard [ma

Re: [Trinidad] Hide leaf icon

2007-08-14 Thread Jeanne Waldman
Hi Hannes, I don't see af|treeTable::leaf-icon-style or af|treeTable::leaf-icon selectors in the skin-selectors document, nor do I see it in the code. Where did you get these selector names? I don't see a leaf icon in the treeTable demo. - Jeanne Hannes K wrote: Hello All, I would like to

[Trinidad] tr:chooseColor

2007-08-14 Thread Kevin R. Gutch
Can a bound to a custom colorData use an tr:inputColor controller? The code below does not seem to work. Thanks, Kevin shortDesc="Select color from pallette" label="Enter or select color from palette below" value="#{color.colorValue1

Re: Very slow Tomcat 6 startup when using MyFaces 1.2.0

2007-08-14 Thread Simon Lessard
Hi Jan-Kees, That's a good question... Even more since it doesn't seem to be deterministic. Your idea about DTD/XSD validation might be the right one. I guess it try to get it from the public location and the remote server is sometimes experiencing a heavy load, thus dropping your connection after

Re: rowBandingInterval not working with Trinidad treeTable

2007-08-14 Thread dougthug
First off, thank you so much for your reply. Second, please excuse my ignorance on this stuff, I'm still learning a ton as I go along. So I altered my CSS to read: af|column::cell-text, af|column::cell-number, af|column::cell-icon-format { -tr-rule-ref: selector("AFMediumBackground:alia

Re: [Trinidad] Menu model/navigation pane headaches

2007-08-14 Thread Simon Lessard
Hello Stephen, See my comments below. On 8/14/07, Stephen Friedrich <[EMAIL PROTECTED]> wrote: > > Hi Simon, > thanks a lot for looking at this. > > Updates on the issues: > - vertical clipping on IE 7.0 happens on simple skin, too. It also happens > for >a "standalone" (not nested) navigatio

RE: Very slow Tomcat 6 startup when using MyFaces 1.2.0

2007-08-14 Thread Jan-Kees van Andel
Hello, Simon, thank you for the fast response. But how can you explain the fact that Tomcat ‘hangs’ 6 minutes on: “INFO: Reading config jar:file:/D:/dev/appsrv/apache-tomcat-6.0.13/temp/0-mblf/WEB-INF/lib/jsf-fac elets-1.1.11.jar!/META-INF/faces-config.xml”? I get the “SocketException: Connectio

Re: [Trinidad] Menu model/navigation pane headaches

2007-08-14 Thread Stephen Friedrich
Hi Simon, thanks a lot for looking at this. Updates on the issues: - vertical clipping on IE 7.0 happens on simple skin, too. It also happens for a "standalone" (not nested) navigationPane. That quites an ugly bug, because it effectively makes the bottom options unreachable. I have not be

Re: [Trinidad] Skinning - no CSS selector for tr:outputText?

2007-08-14 Thread Adam Winer
The critical thing, which is easy to overlook, is that you have to pass your component's Type object to the Renderer superclasses constructor, which is what Simon's code is doing. -- Adam On 8/14/07, Simon Lessard <[EMAIL PROTECTED]> wrote: > Hello Carsten, > > Trinidad input components, as you

Re: [Trinidad] EL not processed for label attribute for server-side validation

2007-08-14 Thread Adam Winer
This should already be happening... Could we get a JIRA issue? -- Adam On 8/14/07, Todd Engle <[EMAIL PROTECTED]> wrote: > > Trinidad releases 1.01 and 1.02 allow client-side validation to be > disabled and server-side only validation to occur. However, for > server-side validation of require

Re: [Trinidad] EL not processed for label attribute for server-side validation

2007-08-14 Thread Simon Lessard
Hello Todd, Have you tried using a standard managed bean instead of f:loadBundle by any chance? I'm trying to figure if that can be the source of the problem. Regards, ~ Simon p.s. If that message is sent twice to the list please send me a private email telling me so. I got some DNS problems t

[Trinidad] EL not processed for label attribute for server-side validation

2007-08-14 Thread Todd Engle
Trinidad releases 1.01 and 1.02 allow client-side validation to be disabled and server-side only validation to occur. However, for server-side validation of required fields, an EL expression in the label atrribute is not processed, and the generated error message will not contain the label text.

Re: Schedule tomahawk

2007-08-14 Thread Jurgen Lust
It depends which authentication mechanism you're using, but when using a decent library like Acegi Security or SecurityFilter, you should be able to get some information about the logged in user, like the username, from FacesContext.getCurrentInstance().getExternalContext.getUserPrincipal() You c

Re: [Tomahawk] Display day of week name

2007-08-14 Thread Jurgen Lust
You can achieve this by playing with the headerDateFormat attribute. See here: http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html for more information about the possible patterns. Jurgen Op dinsdag 14-08-2007 om 07:27 uur [tijdzone -0700], schreef ratondeau: > Hi there, > >

Re: Immediate property on self-submitting drop-down

2007-08-14 Thread Simon Lessard
Hello Carl, You need to add a valueChangeListener as well and have it call FacesContext.getCurrentInstance().renderResponse() after setting the new Locale on the view root. So you need to add the following method to your bean: public void changeLanguage(ValueChangeEvent ev) { FacesContext conte

Re: Sorting problems with tc:sheet

2007-08-14 Thread Florian Reiser
Hello Helmut, I'm using Tobago 1.0.11. I'm not aware that there's anything special in my jsp-file or in my java code. As DataModel I'm using the ListDataModel. I've not tried any nightly builds. With kind regards Florian Reiser Original-Nachricht Datum: Tue, 14 Aug 2007 16:25

Immediate property on self-submitting drop-down

2007-08-14 Thread CarlHowarth
Hello there, I have a select one menu in a file that is included on all pages of my webapp. This is to change the language of the site based on user's preference. I have included onchange="submit();" and immediate="true" however the immediate property appears to be ignored and validation occurs o

[Tomahawk] Display day of week name

2007-08-14 Thread ratondeau
Hi there, the schedule component is quite useful but I cannot find a way to diplay the name of the weekdays e.g. Monday, Tuesday... for the different calendar modes. Is there a way to do this? Greets Matt -- View this message in context: http://www.nabble.com/-Tomahawk--Display-day-of-week-na

Re: Sorting problems with tc:sheet

2007-08-14 Thread Helmut Swaczinna
No, there shouldn't be any tag (but may be). I only thought if there's a tag of some kind it displays the random row for some reason. Which version of Tobago do you use? Have you already tried a newer version? Is there anything special (tricky) in your jsp or java code? Helmut - Original

Re: [Trinidad] Menu model/navigation pane headaches

2007-08-14 Thread Simon Lessard
Hello Stephen, Hmmm, what kind of selector have you used to set the background color? My hunch is that you set the color in an underlying DIV while it should be on the cell itself maybe. Regards, ~ Simon On 8/14/07, Stephen Friedrich <[EMAIL PROTECTED]> wrote: > > Right, I should have mentione

Re: [Trinidad] Menu model/navigation pane headaches

2007-08-14 Thread Stephen Friedrich
Right, I should have mentioned that I am using IE7.0. I am not currently using the simple skin, but my own, but I have tried every possible skin setting I could think of. Finally I worked around the size problems by specifying width/height in em units in my skin, but that's quite a hack of course

Re: Sorting problems with tc:sheet

2007-08-14 Thread Florian Reiser
Hello Helmut, no, there are no tags between tc:box and tc:sheet. Should there be some tags? Which ones? The generated html-code displays several tags containing the row data. But I'm clueless why it is displayed. With kind regards Florian Reiser Original-Nachricht Datum: Tue,

Re: Sorting problems with tc:sheet

2007-08-14 Thread Helmut Swaczinna
The jsp file you sent seems to be stripped (there're missing tags). Are there any tags between tc:box and tc:sheet? Have you examined the generetad html code to see what's between the box and the sheet header? Regards Helmut - Original Message - From: "Florian Reiser" <[EMAIL PROTECTE

Re: [Trinidad] Skinning - no CSS selector for tr:outputText?

2007-08-14 Thread Carsten Pieper
Hi, I tried to debug the strange InputTextRenderer behaviour (in short: the result of my getShortDesc(FacesBean) seems to be overruled somehow) without any big clue where to start... Well, I put a breakpoint in the org.apache.myfaces.trinidad.bean.FacesBeanImpl's method setProperty(PropertyKey k

Re: Sorting problems with tc:sheet

2007-08-14 Thread Florian Reiser
Hello Helmut, when looking at the screenshot, you see the data of a table row. With every click in the header, it's another one. I haven't figured out yet, which one gets displayed, therefore "random one". With kind regards Florian Reiser Original-Nachricht Datum: Tue, 14 Aug 20

Re: [Trinidad] Menu model/navigation pane headaches

2007-08-14 Thread Simon Lessard
Hello Stephen, About the panelBox on IE, what version of IE are you using? When I worked on it IE 7 was not out yet. Therefore, maybe the simple skin requires some tweaking to fit the new version. Regards, ~ Simon On 8/13/07, Stephen Friedrich <[EMAIL PROTECTED]> wrote: > > See screenshots and

Re: Sorting problems with tc:sheet

2007-08-14 Thread Helmut Swaczinna
Hi Florian, what do you exactly mean with "random row displayed above the table"? Can you post a screenshot. Regards Helmut - Original Message - From: "Florian Reiser" <[EMAIL PROTECTED]> To: Sent: Tuesday, August 14, 2007 3:10 PM Subject: Sorting problems with tc:sheet Hello,

Sorting problems with tc:sheet

2007-08-14 Thread Florian Reiser
Hello, I use the tc:sheet to display some data. When clicking on a column header, there is a random row displayed above the table. What's wrong with my code? jsp-File: <[EMAIL PROTECTED] uri="http://myfaces.apache.org/tobago/component"; prefix="tc"%> <[EMAIL PROTECTED] uri="http://java.sun.co

RE: [Trinidad] Logging

2007-08-14 Thread Murtaza Goga
In terms of popularity, does anyone have an industry statistic? -Original Message- From: Adam Winer [mailto:[EMAIL PROTECTED] Sent: Monday, August 13, 2007 8:21 PM To: MyFaces Discussion Subject: Re: [Trinidad] Logging Indeed, that would've been much better. -- Adam On 8/13/07, Simon

Re: [Trinidad] Skinning - no CSS selector for tr:outputText?

2007-08-14 Thread Carsten Pieper
Hi, as Simon adviced, I'm implementing the getXyz(FacesBean) methods now. In my new OutputTextSkinnedRenderer (extending CoreOutputTextRenderer) this method worked fine (if no tooltip is given, the value itself should be presented, if a tooltip is given, original tooltip and value should both she

Re: t:pprPanelGroup

2007-08-14 Thread Michał 'Gandalf' Stawicki
As a workaround I always render button2, but set it's inline style to 'display: block' or 'display: none'. On 14/08/07, Michał 'Gandalf' Stawicki <[EMAIL PROTECTED]> wrote: > I have a button1 and button2 inside pprPanelGroup. button1 is always > visible and visibility of button2 is toggled by butt

Re: [Trinidad] Integration with Tiles

2007-08-14 Thread pdt_p
Hi Ed, I hope I can help you. Give this a try, leave renderkit ID to org.apache.myfaces.trinidad.core in faces-config and set the tomahawk tile handler as alternate handler in web.xml. thanks Pdt Edward Dowgiallo wrote: > > I think I see one of my problems. The myfaces-examples-tiles-1.1

Antwort: [trinidad] menu bar with cascading popups: code snippet wanted

2007-08-14 Thread wolfgang . toepfer
Hi, As an aside: I added RichFaces to counterbalance Trinidad, which seems to work.. :) Many thanks, Wolfgang. [EMAIL PROTECTED] 10.08.2007 11:30 Bitte antworten an "MyFaces Discussion" An users@myfaces.apache.org Kopie Thema [trinidad] menu bar with cascading popups: code snippet wante

RE: [Trinidad] Logging

2007-08-14 Thread Döring Markus
Hello, i've implemented a wrapper to send all Java Logging Messages to commons logging because we allready used commons logging in our project and didn't wanted to use multiple loggers. I've created a wiki page here: http://wiki.apache.org/myfaces/Trinidad_and_Common_Logging Markus > -Ursp