AW: in trinidad-1.0.0 don't work in IE6

2007-06-13 Thread robert.reiz
Hi, Thanks, it was a caching problem. After I cleared the browser cache, It works fine. --Robert -Ursprüngliche Nachricht- Von: Adam Winer [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 13. Juni 2007 02:30 An: MyFaces Discussion Betreff: Re: in trinidad-1.0.0 don't work in IE6 I

Re: [Tobago] textarea with scrollbars?

2007-06-13 Thread David Steinkopff
OK, I make a mistake with fixed rowsize. 2007/6/14, David Steinkopff <[EMAIL PROTECTED]>: Hi, its possible to enable scrollbars in the textarea component? regards David

Re: [Tobago] Exception Handling in Tobago Pages

2007-06-13 Thread Bernd Bohmann
Hello Madan, please look at the error handling example in the tobago-example-demo. Regards Bernd Madan Narra wrote: Hi All, I need to show up the Exception occured in the Tobago Page when an Error Occures in Server, say 500 error. I configured the error and its jsp page in web.xml , and am

[Tobago] textarea with scrollbars?

2007-06-13 Thread David Steinkopff
Hi, its possible to enable scrollbars in the textarea component? regards David

[Tobago] Exception Handling in Tobago Pages

2007-06-13 Thread Madan Narra
Hi All, I need to show up the Exception occured in the Tobago Page when an Error Occures in Server, say 500 error. I configured the error and its jsp page in web.xml , and am able to see the page when an error occures. But am confused how to show up the exception that is occured. This is the J

Component nesting error with 1.0.1 from trunk

2007-06-13 Thread Laurie Harper
I just upgraded an application from a pre-release build of 1.0-incubating to a snapshot of 1.0.1 build from trunk a couple of days ago, and (after making a few changes to my templates to accommodate component name changes and such) am getting the following errors in my logs. Can anyone offer

Re: Is problem with myfaces ?

2007-06-13 Thread sandipp
Hi , Thanks for the response. Here I am registering my bean as, loginFormBean com.LoginForm request As you said keep only one jar out of jsf & myfaces. But my another project working fine when I kept both jars.(actually I need both jars because if I remove one of jars then some of fu

Re: How to Re-Initialize JSF Backing Bean on Form Submit

2007-06-13 Thread Iskandar Zaynutdinov
On 6/14/07, bansi <[EMAIL PROTECTED]> wrote: Thanks Andrew. As very correctly suggested by you i already have the code in backing bean to clear the backing bean properties. But the problem is when i move back and forth (i.e. navigate) from Current page to Other pages and come back to Current pa

Re: How to Re-Initialize JSF Backing Bean on Form Submit

2007-06-13 Thread bansi
Thanks Andrew. As very correctly suggested by you i already have the code in backing bean to clear the backing bean properties. But the problem is when i move back and forth (i.e. navigate) from Current page to Other pages and come back to Current page, i want the backing bean associated with the

Re: [Trinidad] Page flow scope and Back button

2007-06-13 Thread Adam Winer
On 6/13/07, D. Cardon <[EMAIL PROTECTED]> wrote: Thanks for the tip! That makes a lot of sense to me, but I'm a little confused about implementation. Does it make a difference 'when' in the lifecycle I set the variables? For example, suppose the user enters the URL for my create page: */crea

Re: [Trinidad] PPR scope and external fields

2007-06-13 Thread Adam Winer
The only fields that are refreshed are those that are part of the PPR target, exactly. Arbitrary components can be added to PPR with RequestContext.addPartialTarget(), so you could (for instance) have a PhaseListener that made sure that certain bits of content did get replaced. There's some skan

Re: Tomahawk Compatibility?

2007-06-13 Thread Mike Kienenberger
1.1.6 is 1.1.5 + a security patch. It should be 100% compatible (In an ideal world, it would have been released as 1.1.5.1, but we don't have processes in place to do that yet). On 6/13/07, Andrew Robinson <[EMAIL PROTECTED]> wrote: Sorry for the simple question, but the compatibility matrix is

Re: How to Re-Initialize JSF Backing Bean on Form Submit

2007-06-13 Thread Andrew Robinson
I didn't mean to clear the form, but clear the backing bean properties. public class MyBean { private MyObject myObject; public String save() { // EntityManager or hibernate session save here // clear the properties: clearState(); } public void onCancel(ActionEvent evt) { clearS

Tomahawk Compatibility?

2007-06-13 Thread Andrew Robinson
Sorry for the simple question, but the compatibility matrix is not updated yet. Is tomahawk 1.1.6 compatible with core impl 1.1.5?

Re: How to Re-Initialize JSF Backing Bean on Form Submit

2007-06-13 Thread bansi
I figured out that i can do something like this ... In session scope, only one instance of the backing bean will be used during the whole browser session. When you want to recreate the managed bean inside the backing bean during session, then do FacesContext .getCurrentInstance() .getExte

Re: How to Re-Initialize JSF Backing Bean on Form Submit

2007-06-13 Thread bansi
Andrew I totally agree with you on "its the desired behavior of a session bean -- one instance for the user's session" But is their a way to recreate the instance of backing bean in following situations 1) Whenever a new record is inserted into database. The reason i mention this is my backing b

Re: How to Re-Initialize JSF Backing Bean on Form Submit

2007-06-13 Thread Andrew Robinson
That is the desired behavior of a session bean -- one instance for the user's session. If you want to use session, and have it be able to be cleared, then you will want to create a clear action or action listener method that clears all of the member variables when executed. I would instead recomm

How to Re-Initialize JSF Backing Bean on Form Submit

2007-06-13 Thread bansi
We have backing bean defined in "session" scope So whenever we do a submit on JSF Form, it holds onto same backing bean. This is not desirable as -> The Form will have different set of values each time it does a submit -> The Backing bean has variable defined to instantiate a POJO i.e.private My

Re: Validation errors when using h:selectManyCheckbox

2007-06-13 Thread Michael Obster
Hi Andrew, hmm, looks like you are right. I've implemented this thing now with an unique id number each ArticleGroup has. Because I get the ArticleGroup from a Hibernate persistence layer I also couldn't use the object itself. Thanks for your help! Cheers, Michael Andrew Robinson schrieb: D

[Trinidad] PPR scope and external fields

2007-06-13 Thread Renzo Tomaselli
Hi, I would appreciate a bit of enlightening about the overall handling of form fields when PPR enters this game. Assume we have a form containing a PPR component (say a tr: table) and a hidden field H external to this component, although within the form. I noticed (from debugging) than whenever

Re: [Trinidad] Page flow scope and Back button

2007-06-13 Thread D. Cardon
Thanks for the tip! That makes a lot of sense to me, but I'm a little confused about implementation. Does it make a difference 'when' in the lifecycle I set the variables? For example, suppose the user enters the URL for my create page: */create.jsf Then, there will be no attributes stored on

Re: [Trinidad] how to reset a message area after PPR

2007-06-13 Thread Adam Winer
I'll have to check, but my memory of h:messages is thatit always updates itself during PPR, so sounds like something may have changed here. -- Adam On 6/13/07, Renzo Tomaselli <[EMAIL PROTECTED]> wrote: Hi, I noticed that PPR does not reset any h:messages contents located on a page. E.g., ful

Re: and hour/minute oddity

2007-06-13 Thread Adam Winer
The issue here (I'm guessing) is that the field is goingin and out of daylight savings time, and some bit of code isn't accounting for that. That's why when you pick a date back in January, you get a bump in time - because January is really one hour different from June. -- Adam On 6/13/07, Chr

Re: [Trinidad] repeated insertion of a js chunk during PPR

2007-06-13 Thread Adam Winer
There's supported JS APIs to catch when we gofrom busy to idle or idle to busy. Don't know if that'll meet your needs, but we can definitely add other hooks as needed. It'll be much more predictable and less hacky now. -- Adam On 6/13/07, Renzo Tomaselli <[EMAIL PROTECTED]> wrote: Thanks A

[Trinidad] how to reset a message area after PPR

2007-06-13 Thread Renzo Tomaselli
Hi, I noticed that PPR does not reset any h:messages contents located on a page. E.g., full page refreshing resets this message - provided that there are no news - while PPR (table paging or tree expansion) leaves message contents according to last page refresh. How do I cleanup the message (or

Re: Validation errors when using h:selectManyCheckbox

2007-06-13 Thread Andrew Robinson
Do you have an equals method implemented on ArticleGroup? Since the values are converted, reference equals will always return false. convertedValueFromComponent.equals(valueFromSelectItemValue) must evaluate to true for one of the select items On 6/13/07, Michael Obster <[EMAIL PROTECTED]> wrot

Re: and hour/minute oddity

2007-06-13 Thread Chris Hane
Adam Winer wrote: On 6/12/07, Chris Hane <[EMAIL PROTECTED]> wrote: When I select add an tag with a converter that displays the hours/minutes also, the hours are not correct. For example, in the demo inputDate.jspx, change the last inputDate to be: I added the "hh:mm"

Re: how to get ordered list to work? problems with dataList

2007-06-13 Thread Andrew Robinson
The example I saw on the myfaces website had exactly what I entered below that I was having problems with. Is the documentation incorrect? Sounds like it may be Also does this mean that my strings must be defined/declared in the backing bean and not in the xhtml? Yes, the entire purpose of da

panelNavigation2

2007-06-13 Thread Koester, Ralf
Hi, i am using the Tomahawk(1.1.6 - before 1.1.5) panelNavigation2. My problem is that it looses its state when I navigate from one view to another. Best regards, Ralf

Re: Did the tomahawk sandbox get included completely in tomahawk JAR?

2007-06-13 Thread Matthias Wessendorf
should be usable w/ 116 and no, it's the case that the sanbox is part of tomhawk JAR On 6/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Sorry if this sounds like a stupid question; however, did the tomahawk-sandbox get completely included into the tomahawk 1.1.6 JAR? If not, which tomahawk

Did the tomahawk sandbox get included completely in tomahawk JAR?

2007-06-13 Thread SOSELLA
Sorry if this sounds like a stupid question; however, did the tomahawk-sandbox get completely included into the tomahawk 1.1.6 JAR? If not, which tomahawk sandbox JAR can be used with the 1.1.6 JAR?

Re: sitemesh & MyFaces sandbo

2007-06-13 Thread Titi Wangsa
On 6/13/07, binya <[EMAIL PROTECTED]> wrote: Hi our project works with jsf & sitemesh, I'm trying to use a componenet of MyFaces sandbox: s:tableSuggestAjax (which gives a suggest list with Ajax to an input) When I insert a input nothing happens, and I get this warnning: WARN org.apache.myfa

Re: [Trinidad] Table with two rows per record?

2007-06-13 Thread Chris Hane
Matt - thanks for the help. I had not noticed the trh tags. Chris Matt Cooper wrote: Hi Chris, The tr:table component does not support column spanning. (Note, my original panelGroupLayout example is what I was imagining you'd put inside of each of your tr:column components.) If the la

RE: [Trinidad] Problems with skinning tables

2007-06-13 Thread MOLINA Stéphane
Hi All, I just found the problem. In fact, I did not use in my jsf page. The CSS files are compiled in the HeadRenderer which is a child of document. This explains why cache/styles was empty. Bye, -- Stéphane Molina -Message d'origine- De : Petr Kotek [mailto:[EMAIL PROTECTED] En

Re: [Tobago] Using tc:command with client side JavaScript

2007-06-13 Thread David Steinkopff
Hi Dieter, maybe its the problem in , please try regards David 2007/6/13, Melnizky Dieter <[EMAIL PROTECTED]>: I want to toggle the disabled attribute of input fields, depending on the selected value of a tc:selectBooleanCheckbox. The idea is to add a JavaScript function that enables the fi

Re: [Tobago] Using tc:command with client side JavaScript

2007-06-13 Thread Helmut Swaczinna
Hi Dieter, the onclick attribue of tc:command does not work (is not implemented). I tried the same thing as you before. See http://issues.apache.org/jira/browse/TOBAGO-272 Maybe it will be implemented if there's more than one request for it. As a workaround you can do the disabling on the serv

[Tobago] Using tc:command with client side JavaScript

2007-06-13 Thread Melnizky Dieter
I want to toggle the disabled attribute of input fields, depending on the selected value of a tc:selectBooleanCheckbox. The idea is to add a JavaScript function that enables the fields, which should be called when the selectBooleanCheckbox is clicked. Since the onchange-Attribute is not supported,

RE: [Trinidad] RequestContext had not been properly released on earlier request.

2007-06-13 Thread Jongsma, Leon
My web.xml http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"; version="2.4"> org.apache.myfaces.trinidadinternal.DI

[REMINDER] This list is "subscribers only"!

2007-06-13 Thread Manfred Geiler
This mail is sent from time to time and is meant to remind you, that the users@myfaces.apache.org and [EMAIL PROTECTED] mailing lists - like most of the ASF lists - are "subscribers only". This means that you MUST subscribe BEFORE you post to one of the lists. Please make sure, that you post your

RE: [Tobago] Database paging with Tobago

2007-06-13 Thread carsten.manshusen
Hi Volker, thanks for your advice. I'll try the DataModel as sheet source for DB paging in my Tobago app. Best regards, Carsten -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Volker Weber Sent: Wednesday, June 13, 2007 11:20 AM To: MyFaces Discussion Su

sitemesh & MyFaces sandbox

2007-06-13 Thread binya
Hi our project works with jsf & sitemesh, I'm trying to use a componenet of MyFaces sandbox: s:tableSuggestAjax (which gives a suggest list with Ajax to an input) When I insert a input nothing happens, and I get this warnning: WARN org.apache.myfaces.renderkit.html.util.DefaultAddResource - My

RE: [Trinidad] Input Text Format That Uses A Mask

2007-06-13 Thread William Hoover
Thanks for the input Adam! I updated the code snippet below with some comments and updates that dynamically attach the keydown/blur events. Could you elaborate on how to implement the inline hook and where to look in the code to do this? I would like to convert the component into a validator/co

Re: [Trinidad] panelTabbed style

2007-06-13 Thread Martin Ahrer
Meanwhile I have found a good workaround that I wanted to share... I'm using a navigationPane component bound to a custom class for controlling the active tab. The only problem that I still face is to make the first tab active when the navigationPane is displayed the first time? Maybe someone rea

Re: Trinidad seems to be ignoring my old menuTabs styling

2007-06-13 Thread Simon Lessard
Hello Daniel, The following are the valid selectors for navigationPane: public static final String AF_NAVIGATION_LEVEL_TABS_ACTIVE_STYLE_CLASS = "af|navigationPane::tabs-active"; public static final String AF_NAVIGATION_LEVEL_TABS_BOTTOM_END_CONTENT_STYLE_CLASS = "af|navigationPane::

Re: Validation errors when using h:selectManyCheckbox

2007-06-13 Thread Michael Obster
Hi Andrew and list, I've written a converter which converts ArticleGroup into a string and backwards. The ArticleGroup has 3 attribute id(long), description(String) and active(boolean). Converting in both directions are running. The resulting string looks like "1;ASAP PC;true". Using Strings

[ANNOUNCE] MyFaces Tomahawk v1.1.6 Security Update Release

2007-06-13 Thread Manfred Geiler
The Apache MyFaces team is pleased to announce the release of "MyFaces Tomahawk 1.1.6". Please note: This release is a security update that fixes a severe cross-site scripting vulnerability when using the "autoscroll" feature (CVE-2007-3101). MyFaces Tomahawk provides a series of JavaServer Face

Re: t:inputText and validation on empty value

2007-06-13 Thread Michael Obster
Hi, yes works ;-). But I think it will be difficult to give this to normal user. You know the OSI Layer 8 ;-). Tried my own converter where I return a new Date() instead of null on empty value, which is the default when you use convertDateTime. Then the validator is running where I can set an

Re: [Tobago] Database paging with Tobago

2007-06-13 Thread Volker Weber
Hi David, possible values in sheet are the same as in plain jsf: java.lang.Object[], java.util.List, javax.faces.model.DataModel, java.sql.ResultSet resultSet, javax.servlet.jsp.jstl.sql.Result and java.lang.Object. DataModel is the best choice for implement paging and sorting. Regards, Vo

Re: t:inputText and validation on empty value

2007-06-13 Thread Cagatay Civici
Hi, Try setting showDetail to true on h:messages Cagatay On 6/13/07, Michael Obster <[EMAIL PROTECTED]> wrote: Hi, can somebody tell me how I get a validation on an empty value running? I use a I have seen, that when no value is entered, the validator is not executed. But this is not

t:inputText and validation on empty value

2007-06-13 Thread Michael Obster
Hi, can somebody tell me how I get a validation on an empty value running? I use a I have seen, that when no value is entered, the validator is not executed. But this is not the expected behaviour. So how can I run this validator also on a empty value? Do I need to write an own converter

nested dataTables

2007-06-13 Thread syllepsa
Hi, I have JSF page with the following structure: JScookMenu parentTable childTable_1 childTable_2 childTable_n /parentTable The parent table serves as an iterator for internal dataTables. Unfortunatelly parent table takes some space on the screen thus there is a gap between JScook

Re: Leveraging other JSF open source libraries in MyFaces with new contribution projects?

2007-06-13 Thread Werner Punz
David Steinkopff schrieb: > OK, and what way can LGPLv3 combine with ALv2? That its the license > question about JBoss and MyFaces. > Well I assume, as always, the Apache license is a bsdish license which means everyone can use the code as long as some rules are followed (keep the headers intact i

RE: [Tobago] Database paging with Tobago

2007-06-13 Thread carsten.manshusen
Hi Bernd, a Tobago example would be very useful, because the wiki example works with a DataModel and not a List like the Tobago sheet. Best regards, Carsten -Original Message- From: Bernd Bohmann [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 9:16 PM To: MyFaces Discussion Subje

Re: myfaces Too much locking?

2007-06-13 Thread Werner Punz
Ok the synchronized collection is necessary, but my question goes towards along the lines of thinking around the box, could it be that you have something serious going on in one of the setter or getter methods of a bean which causes a hang or lock on the server side? Maybe a database related proble

Sun Java Application Server 9

2007-06-13 Thread Juan Ignacio Sánchez Lara
Has anybody managed to make MyFaces 1.1.5 work on SJAS 9? When I try to load a jsf page it throws an exception: java.lang.UnsupportedOperationException javax.faces.application.Application.getELResolver(Application.java:443) ... It throws it even when I remove jsf-impl from server's lib directory

Re: [Trinidad] repeated insertion of a js chunk during PPR

2007-06-13 Thread Renzo Tomaselli
Thanks Adam. Btw, I actually catch _pprIFrame loading to perform some inizialization scripts on pages needing it. I hope there willl be some alternative way to achieve the same result once XMLHttp will replace the iframe. -- Renzo Adam Winer wrote: ScriptEval is used to evaluate JS sent down

Re: Skinning tr:inputText

2007-06-13 Thread Petr Kotek
Hello, You must use in css: .myStyleClass label { font-weight: bold; } I check it in Firefox only, but I think in IE must be the same. Eventually refresh page in browser by Ctrl+F5. Beside class, You may use element ID as: #inputID label { ... Best regards, Peter Stéphane Molina wrote: