Re: Is AUTO_SCROLL broken?

2007-08-15 Thread Martin Marinschek
so is the method getScrolling rendered? regards, Martin On 8/13/07, Bjørn T Johansen [EMAIL PROTECTED] wrote: Not sure what to look for, but I can see some hidden buttons called autoScroll and also some onclick events that contain:

Re: Sorting problems with tc:sheet

2007-08-15 Thread Florian Reiser
Hello Helmut, I've tried it with the latest snapshot this morning. It's now working. Thanks for your help. Greets Florian Original-Nachricht Datum: Tue, 14 Aug 2007 16:25:22 +0200 Von: Helmut Swaczinna [EMAIL PROTECTED] An: MyFaces Discussion users@myfaces.apache.org Betreff:

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

2007-08-15 Thread Carsten Pieper
Thanks Martin, This means you also need to make sure you handle the case where a value-expression/binding is set. probably asking a stupid question... Won't that also be covered by the given approach? // storing old bean values, altering bean values... super.encodeAll(context, arc,

Re: Trinidad 508 and javascript

2007-08-15 Thread Martin Marinschek
I haven't read the 508 compliance test procedures, but Adam claims that it is possible to have JavaScript enabled and still fullfill the guidelines for accessibility. regards, Martin On 8/14/07, Ben Hidalgo [EMAIL PROTECTED] wrote: Hi, I couldn't search the mail so forgive me if this is a

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

2007-08-15 Thread Martin Marinschek
Hi Carsten, it's not enough to just call getter - then call setter again to reset the stuff. When you call the getter, you might also evaluate a value-binding/expression. When you set this value afterwards (for resetting the old value), you effectively prevent the value-binding/expression from

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

2007-08-15 Thread Martin Marinschek
Change over to StreamingAddResource - then you don't have the Html-parser playing in your output anymore. regards, Martin On 8/15/07, Dave [EMAIL PROTECTED] wrote: 05:05:27,075 WARN [ReducedHTMLParser] Invalid tag found: unexpected input while looking for attr name or '/' at line 93.

Re: Is AUTO_SCROLL broken?

2007-08-15 Thread Martin Marinschek
Interesting. File an issue with your comments, I might be able to look into this some time the next days. regards, Martin On 8/15/07, Bjørn T Johansen [EMAIL PROTECTED] wrote: Yes, it looks like this...: script type=text/javascript!-- function getScrolling() {

Re: ExtensionsFilter wrapping response requests

2007-08-15 Thread simon
On Mon, 2007-08-13 at 12:05 -0700, mccurdyc wrote: Afternoon, The application I'm working on had a CSV export component developed with all sorts of wizzy-bang business logic and is fairly important to our customer. The problem is while reviewing it yesterday I came to notice that it was

Re: Schedule tomahawk

2007-08-15 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

Re: Is AUTO_SCROLL broken?

2007-08-15 Thread Bjørn T Johansen
Done... (MYFACES-1706) On Wed, 15 Aug 2007 12:38:57 +0200 Martin Marinschek [EMAIL PROTECTED] wrote: Interesting. File an issue with your comments, I might be able to look into this some time the next days. regards, Martin On 8/15/07, Bjørn T Johansen [EMAIL PROTECTED] wrote:

t:popup component and overflow:auto

2007-08-15 Thread Hasnain Badami
Hi I am getting a problem if I try using t:popup component inside a div with overflow:auto. I have seen some messages on the subject but could not find any good solution. Can anybody share his experience in getting around with this problem. I shall be highly obliged. Hassnain

Hightlight a tableRow onMouseOver

2007-08-15 Thread Jochen Zink
Hello, I want to highlight a complete tableRow of a h:dataTable component. With blank HTML I can use JavaScript like this: table width=100% tr class=tableRowNormal onMouseOver=className='tableRowHighlight' onMouseOut=className='tableRowNormal' td23232323/td td1000/td

[Trinidad] SelectManyShuttle NullPointerException and Understanding

2007-08-15 Thread Tilo Gau
Hi, I have quite a trouble to unterstand the SelectManyShuttle and get it running. First, how I understood the SelectManyShuttle so far: tr:selectManyShuttle leadingHeader=Not Selected trailingHeader=Selected value=#{detailsBean.selected} f:selectItems value=#{detailsBean.all} /

Re: [Trinidad] SelectManyShuttle NullPointerException and Understanding

2007-08-15 Thread Matthias Wessendorf
your shuttle isn't included in a form tr:form tr:selectManyShuttle leadingHeader=Not Selected trailingHeader=Selected value=#{detailsBean.selected} f:selectItems value=#{detailsBean.all} / /tr:selectManyShuttle /tr:form that's the NPE. Yes, the usage is like that. f:selectItems / is for the

RE: [Announce] Release of Apache MyFaces Trinidad 1.0.2

2007-08-15 Thread William Hoover
The download page still refers to version 1.0.1 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matthias Wessendorf Sent: Wednesday, August 15, 2007 4:31 AM To: [EMAIL PROTECTED]; MyFaces Development; MyFaces Discussion Subject: [Announce] Release of Apache

Re: Hightlight a tableRow onMouseOver

2007-08-15 Thread Christopher Cudennec
Hi Jochen, you can try tomahawk's dataList for rendering the table's rows instead, it gives you more flexibility. Have a look at http://myfaces.apache.org/tomahawk/dataList.html. Though, you have to write your own code for rendering the table header and for outputting all those TR- and

Re: JSF Authentication

2007-08-15 Thread Ronald
hi, this looks like something i am looking for. What does the code for SessionUtils.isUserLoggedIn() look like? cheers, RJ Anton Gavazuk wrote: My approach - maybe you will find some errors. Simple JSF Bean public class LoginBean extends BaseBean { private String login;

Re: JSF Authentication

2007-08-15 Thread Anton Gavazuk
You put in the method the logic, which define, loggid user or not - for example, check an atrib in session 2007/8/15, Ronald [EMAIL PROTECTED]: hi, this looks like something i am looking for. What does the code for SessionUtils.isUserLoggedIn() look like? cheers, RJ Anton Gavazuk

Re: [Trinidad] SelectManyShuttle NullPointerException and Understanding

2007-08-15 Thread Tilo Gau
Thanks a lot, now it works. It seams i get used to look closer to the code I write. [Off Topic] Nice articles in the JavaMagazin ...! ;) Original-Nachricht Datum: Wed, 15 Aug 2007 14:01:48 +0200 Von: Matthias Wessendorf [EMAIL PROTECTED] An: [EMAIL PROTECTED] Betreff: Re:

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

2007-08-15 Thread Simon Lessard
True. Maybe tr:messages was placed before the f:loadBundle in the page? On 8/14/07, Adam Winer [EMAIL PROTECTED] wrote: 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

Re: [Trinidad] Menu model/navigation pane headaches

2007-08-15 Thread Simon Lessard
Hello Stephen, Your screenshot suggests that you explicitly set black color... Try the following selector: af|navigationPane::bar-active-enabled af|navigationPane::bar-content { color: white; } If it doesn't work, use af|navigationPane::bar-active-enabled af|navigationPane::bar-content a

Readonly + Validator

2007-08-15 Thread daniel ccss
Hi all, I have 2 questions: *Question1:* In my JSP I have: td class=td-contenido colspan=2 h:selectOneMenu value=#{ DiaFeriadoBean.tipFeriado } readonly=true f:selectItems value=#{

Re: [Trinidad] Menu model/navigation pane headaches

2007-08-15 Thread Matthias Wessendorf
p.s. Had a supposed DNS error on last send, I hope that I won't spam the mailing list with that second send. that's fine. Others (like Matt) and I noticed this (via gmail) as well. -M On 8/14/07, Stephen Friedrich [EMAIL PROTECTED] wrote: Well, thanks for the explanations, they certainly

Re: Get the value of a ReadOnly

2007-08-15 Thread daniel ccss
Hi Martin I don´t need to change the value with javascript what I need is to get the value of a readOnly h:inputText, in struts I can do that, why in JSF no? On 8/15/07, Martin Marinschek [EMAIL PROTECTED] wrote: Do you try to change the value on the client-side with javascript? Then you

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

2007-08-15 Thread Matthias Wessendorf
looks like almost all classes, that extend InputLabelAndMessageRenderer do it like InputTextRenderer -M On 8/15/07, Simon Lessard [EMAIL PROTECTED] wrote: Hello Carsten, Wow... you're right... JIRA issue please. It should be possible to override all of our renderers and failing to provide

Re: [Trinidad] SelectManyShuttle NullPointerException and Understanding

2007-08-15 Thread Adam Winer
On 8/15/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: your shuttle isn't included in a form tr:form tr:selectManyShuttle leadingHeader=Not Selected trailingHeader=Selected value=#{detailsBean.selected} f:selectItems value=#{detailsBean.all} / /tr:selectManyShuttle /tr:form that's the

Re: Readonly + Validator

2007-08-15 Thread Simon Lessard
Hello Daniel, What you want to do is not the responsibility of validators, but converter's. What you need is a simple converter that will do a .toUpperCase() in getAsObject(). However, if you want to respect the inverse property of getAsObject() vs. getAsString() you'll have to also use

RE: Tomahawk 1.1.6 tree2 with JSF RI 1.2 in JBoss 4.2.1 error

2007-08-15 Thread Cort, Tom
We're using Tomahawk 1.1.6 tree2 in a project with JSF RI 1.2 on JBoss 4.2.1. In our packaging, we put tomahawk-1.1.6.jar in the WEB-INF/lib directory of our WAR and we tweaked one JBoss setting, we set 'UseJBossWebLoader' to true in

Re: [Trinidad] SelectManyShuttle NullPointerException and Understanding

2007-08-15 Thread Matthias Wessendorf
jup, will fix it. On 8/15/07, Adam Winer [EMAIL PROTECTED] wrote: On 8/15/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: your shuttle isn't included in a form tr:form tr:selectManyShuttle leadingHeader=Not Selected trailingHeader=Selected value=#{detailsBean.selected}

Re: Readonly + Validator

2007-08-15 Thread daniel ccss
Thanks!!! 1- When the select have the attribute of readonly in true when i use getTipFeriado() I get a 0 value, when i put it in false I get 21 (the correct value), this is the select: h:selectOneMenu value=#{ DiaFeriadoBean.tipFeriado}

Re: Readonly + Validator

2007-08-15 Thread daniel ccss
Do you have an example? I never have use a converter, is code in the JSP? What about the second question, do you know how to do it? On 8/15/07, Simon Lessard [EMAIL PROTECTED] wrote: Hello Daniel, What you want to do is not the responsibility of validators, but converter's. What you need is

Re: [Trinidad] SelectManyShuttle NullPointerException and Understanding

2007-08-15 Thread Matthias Wessendorf
filed issue: https://issues.apache.org/jira/browse/TRINIDAD-627 will address tomorrow, if someone is not faster -M On 8/15/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: jup, will fix it. On 8/15/07, Adam Winer [EMAIL PROTECTED] wrote: On 8/15/07, Matthias Wessendorf [EMAIL PROTECTED]

Re: Readonly + Validator

2007-08-15 Thread daniel ccss
*On a readonly component the model value will not change! * I know, I try to explain my point better with an image, as you can see when I load the edit form the select have a value selected readOnly, the code of the value selected is 21. Ok then I modify some others value and click on the

Re: Readonly + Validator

2007-08-15 Thread daniel ccss
Thanks for the Converter tip, i succesfully implemented it =) On 8/15/07, daniel ccss [EMAIL PROTECTED] wrote: *On a readonly component the model value will not change! * I know, I try to explain my point better with an image, as you can see when I load the edit form the select have a value

Re: [Trinidad] tr:panelTabbed and tr:showDetailItem disclosed

2007-08-15 Thread Andrew Robinson
FYI, I did get this working using binding and using the IDs of the children to programmatically set the disclosed properties. I just dislike using binding as I feel it too tightly couples the backing bean code with the view structure, so if anyone can think of a better solution, I'd be glad to

[Trinidad] Renderer warnings for non-trinidad components

2007-08-15 Thread Andrew Robinson
I found a reference to this question, but with no answer. My log shows: 09:19:43,636 WARN [HtmlRenderKitImpl] Unsupported component-family/renderer-type: org.jboss.seam.ui.FormattedText/javax.faces.Text Aug 15, 2007 9:19:43 AM org.apache.myfaces.trinidadinternal.renderkit.RenderKitBase

Re: Can I put forms within the tabbedPane component?

2007-08-15 Thread Andrew Robinson
I think the panel tabbed pane requires a form outside of it. Try using the subform sandbox component. h:form s:subForm t:panelTabbedPane serverSideTabSwitch=true t:panelTab id=tab01 label=TabA s:subForm Name:t:inputText value=#{bean.name}/ Address:t:inputText

Re: [Trinidad] Renderer warnings for non-trinidad components

2007-08-15 Thread Andrew Robinson
Digging into the code, I found that the components causing this error are ones that render themselves and have no renderers. It looks like the problem is that the Seam 1.2.1 code doesn't bother to set the renderer type to null though, so that the getRendererType on the component is still returning

Re: Can I put forms within the tabbedPane component?

2007-08-15 Thread Fan Shao
The tabbedPane generates a form around itself if I don't explicitly put a h:form outside it. So it's the same effect as putting a h:form outside it. I'll try the subForm, thanks a lot! Andrew Robinson-5 wrote: I think the panel tabbed pane requires a form outside of it. Try using the

Re: Apply Validator to n controls

2007-08-15 Thread Andrew Robinson
Some ideas: 1) have your validator look up multiple components, and check to see if their getSubmittedValue property returns null or not. 2) Validate that one has been set using an action listener or action instead of a validator 3) Use binding with your controls and implement value change

Can I put forms within the tabbedPane component?

2007-08-15 Thread Fan Shao
Hi all, I came across a problem with tabbedPane with nested forms. I have a tabbedPane containg 4 panelTabs. Each of the tabs has their own forms for submission. When I load the page I got a Javascript error. When I traced into the error I found it was possibly caused by nested forms, because

Re: Can I put forms within the tabbedPane component?

2007-08-15 Thread Andrew Robinson
You cannot nest HTML forms, so if tabbedPane generates a form around itself, then you cannot put forms inside of it. On 8/15/07, Fan Shao [EMAIL PROTECTED] wrote: The tabbedPane generates a form around itself if I don't explicitly put a h:form outside it. So it's the same effect as putting a

Re: Can I put forms within the tabbedPane component?

2007-08-15 Thread Fan Shao
Thank u, the subForm component in the sandbox solved this problem well. I really took me quite a well to find the download of the sandbox. I put the link below in case someone needs it: http://people.apache.org/builds/myfaces/nightly/ thanks again! Andrew Robinson-5 wrote: I think the

Sandox tableSuggestAjax Ajax4Jsf

2007-08-15 Thread Tara Peltier
Hello! I am using the sandbox tableSuggestAjax component. I would like to add an a4j:support tag to it to capture the onchange event and reRender another part of the page. The following code works great in IE7, but fails in Firefox 2.0.0.6. s:tableSuggestAjax size=50 var=respondent

Re: [Trinidad] Learning Custom skinning ... combining skin + styleClass?

2007-08-15 Thread Matt Cooper
Hi Andrew, Since styleClass applies to the root element of a component, your definitions could be something like this: .CustomStyleClass.af|myComponent { /* styles for the root element */ } .CustomStyleClass.af|myComponent af|myComponent::sub-element { /* styles for the sub element */ }

Re: [Trinidad] Learning Custom skinning ... combining skin + styleClass?

2007-08-15 Thread Simon Lessard
Hello Andrew, You almost got it right! The right combination would be .myTabs af|panelTabbed::tab-selected Since you set myTabs as the panel's class, the selected tab is a sub component of the panel therefore a descendant of .myTabs. You can combine skin selector with normal style class as

Re: [Trinidad] Renderer warnings for non-trinidad components

2007-08-15 Thread Adam Winer
Yeah, Seam should be setting it to null - if nothing else, they're wasting time by not bypassing renderer lookup. -- Adam On 8/15/07, Andrew Robinson [EMAIL PROTECTED] wrote: Digging into the code, I found that the components causing this error are ones that render themselves and have no

Re: [Trinidad] Learning Custom skinning ... combining skin + styleClass?

2007-08-15 Thread Andrew Robinson
Thank you, That is working fine Is there documentation somewhere of the skin properties for each component? Also, is there any plans to support an icon property for tr:showDetailItem, so a tab can have an icon instead or in addition to text (I got it to work using CSS, but I think an attribute

[Trinidad] tr:chooseColor part 2

2007-08-15 Thread Kevin R. Gutch
Does anyone have any examples that show binding the chosen color value to another component? I want to bind it to a inline css style value. Any help is greatly appreciated. tr:chooseColor id=cp2 onclick= colorData=#{color.colorList} /tr:chooseColor begin:vcard fn:Kevin Gutch n:Gutch;Kevin

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

2007-08-15 Thread simon
Hi Dave, You didn't say what version of MyFaces you are using. There is an old bug, long fixed, where a backslash within an attribute would confuse the ReducedHTMLParser. If you're using an old version, then look for something like: foo bar=problem\nstring/ I also see that you have no quotes

[Trinidad] When will the JSF 1.2 branch become trunk?

2007-08-15 Thread Graeme Steyn
Hi Adam, In the Trinidad JSF 1.2 Support wiki (http://wiki.apache.org/myfaces/Trinidad_JSF12_Support) you mentioned that my current thinking is that this should happen when MyFaces http://wiki.apache.org/myfaces/MyFaces switches their trunk to JSF 1.2. We should continue to keep around a JSF

Re: [Trinidad] When will the JSF 1.2 branch become trunk?

2007-08-15 Thread Adam Winer
Nope. FWIW, I'd personally be thrilled for the trunk to be 1.2 - I've just assumed that this is not what the majority of our users want, and would like to get some of the really big features - like improved PPR - done before we move trunk to 1.2, so they're available to all. I think the

Re: [Trinidad] When will the JSF 1.2 branch become trunk?

2007-08-15 Thread noah
We're using 1.2. We didn't have any problems with the upgrade. On 8/15/07, Adam Winer [EMAIL PROTECTED] wrote: Nope. FWIW, I'd personally be thrilled for the trunk to be 1.2 - I've just assumed that this is not what the majority of our users want, and would like to get some of the really big

Pre populating t:inputHtml

2007-08-15 Thread Titi Wangsa
hello to all. i'm using myfaces 1.1.5 and tomahawk 1.1.5 my t:inputHtml is linked to a text field in my class i've tried to set the string to a certain value, but when the page is rendered, the inputHtml field is still empty. any help on this?