Problems with tomahawk calendar (type mismatch)

2007-05-23 Thread SiSi'mon
I am using tomahawk calendar and get the following error when submitting the form. display.xhtml @60,34 value=#{myBean.startDate}: Exception setting property startDate of base with class bb.Display, Bean: bb.Display, property: startDate, argument type mismatch My setter and getter in the

Re: [Tobago] Problem with input suggestion and change facet

2007-05-23 Thread Bernd Bohmann
Hello Helmut, please add a jira issue. Regards Bernd Helmut Swaczinna wrote: Hi, I've a tc:in with a suggestMethod and a change facet with a command tag. But the command is not executed when I choose a value from the suggestion list. It is only executed when the suggestion list is empty.

Re: [Tobago] tc:validateFileItem forces required=true

2007-05-23 Thread Bernd Bohmann
Hello Helmut, see https://issues.apache.org/jira/browse/TOBAGO-407. Should be fixed on trunk. Regards Bernd Helmut Swaczinna wrote: Hi, when I add a tc:validateFileItem tag to a tc:file tag then a filename must be entered. But I want the file upload to be optional in my page and

Re: [Tobago] Problems with myFaces 1.1.5 and tabGroup binding (Reminder)

2007-05-23 Thread Bernd Bohmann
Hello Helmut, do you really need the component binding for the tabGroup? Regards Bernd Helmut Swaczinna wrote: Hi, some days ago I posted several (3) problems with myFaces 1.1.5 and tabGroup binding. Please see my postings Re: [Tobago] Another problem with myFaces 1.1.5 and Re: [Tobago]

Re: [Tobago] Compoment Refresh inside a popup

2007-05-23 Thread Bernd Bohmann
Hello, the prefered method is with the renderPartialy attribute. Regards Bernd Helmut Swaczinna wrote: Hi Yazid, you can not reload the selectOnechoice directly but the enclosing panel: Tobago.reloadComponent(':page:sheetRuleConfigPopup:type2Pan','@autoId'') Should also work with

Re: enumerated type and f:selectItems

2007-05-23 Thread Erlend Hamnaberg
Here is a custom localized selectItem creator from enums. Assumes you have a resource bundle configured in faces config. It also expects values for each Enum Value. If you have this enum: package com.exampe; public enum Example { EXAMPLE } Then the appropriate entry in the message bundle

RE: enumerated type and f:selectItems

2007-05-23 Thread Beelen, Marco
Hello all, I'm using a slighty different alternative. I added the method getLabel to my Enum, which returns the key of the property for that value of Enum. My page contains a the following scrap: h:selectOneRadio layout=pageDirection value=#{createRequestBean.category}

Re: Needs help for creating a new JSF component

2007-05-23 Thread David Delbecq
There are tutorial on how to create components and renderes. Now while your goal is easy, it's realization isn't, creating composite components is not straightfoward in JSF. I see 4 ways to do so 1) don't use child components, just render several form fields in the renderer and decode them

h:selectOneMenu bean properties not set in core 1.1.5, worked in 1.1.4

2007-05-23 Thread Scott Fauerbach
I upgraded from MyFaces Core/Impl 1.1.4 to 1.1.5 and the property setter never gets called even though the form is submitted (I have a phase listener that was called plus you could tell the browser makes a request). I went back to the 1.1.4 and it worked fine. I'm using the standard

Re: [Tobago] tx:date EndDate not before BeginDate

2007-05-23 Thread Clemens Sietas
Hello Udo, I found something like that, however, it does not work. No message is displayed. Do I use the wrong id when adding the message? The message is generated in any case just for testing. Thanks for any help! Clemens Client: tc:panel ... tx:date id=vldtyBeg

selectItems and converter

2007-05-23 Thread Walter Oliver (BR/ICI3)
Hi all, just a question about using SelectItems and converter. I have the following code: h:selectOneMenu id=levelFilter value=#{commands.levelFilter} valueChangeListener=#{commands.filter} onchange=submit() converter=levelConverter f:selectItems value=#{commands.levelList} /

Re: selectItems and converter

2007-05-23 Thread Svilen Ivanov
Use the SelectItem constructor for label *and* value: SelectItem(java.lang.Object value, java.lang.String label) This way you can specify both value of the option tag and the label displayed to in the dropdown. 2007/5/23, Walter Oliver (BR/ICI3) [EMAIL PROTECTED]: Hi all, just a question

Re: [Tobago] Problems with myFaces 1.1.5 and tabGroup binding (Reminder)

2007-05-23 Thread Helmut Swaczinna
Hello Bernd, I needed the component binding to determine the number of tabs in the tabGroup dynamicly. As a workaround I configured the number somewhere staticly. So I don't need it for now. But don't you agree with me that there's a problem with component binding and myFaces 1.1.5? There

Re: [Tobago] tx:date EndDate not before BeginDate

2007-05-23 Thread Helmut Swaczinna
Hello Clemens, you have to specify the id of input component not of the message component in addMessage(). For example facesContext.addMessage(myPage:vldtyEnd, new FacesMessage(FacesMessage.SEVERITY_ERROR, message, message)); Regards Helmut - Original Message - From:

RE: Issue with commandLlink and commandButton with popup.

2007-05-23 Thread Anil
Hi All, I resolved this isssue few days back and forgot to post it in this list. The solution is I was using return true in onlick event of button which is avoiding the the myfaces generated javascript code being called. MyFaces is generating the javscript code to clear the target and hidden

[Trinidad] _validateAlert is not defined

2007-05-23 Thread Michael Trompertz
Hello After switching from trinidad-1.0.1-incubating-SNAPSHOT to trinidad-1.0.1-SNAPSHOT I got the message _validateAlert is not defined after pressing the tr:commandButton action=#{loginData.login} text=Anmelden / With switching back to the incubator jars everything is ok. I am using trinidad

Re: Submitting parent window from child window?

2007-05-23 Thread Bjørn T Johansen
No one has done this before or? BTJ On Tue, 22 May 2007 13:15:25 +0200 Bjørn T Johansen [EMAIL PROTECTED] wrote: I have searched all day but I can't seem to find a solution that does work (I have found many solutions but none works for me...) I am using the myfaces wiki

Re: Why do managed beans must implement the Serializable interface

2007-05-23 Thread Werner Punz
This has to be done due to the jsf inherent state saving and also some app server serialize the sessions for clustering. Werner Trumml schrieb: I use MyFaces (1.1.5) with Tomahawk and Facelet support. I added the following commmand to my xhtlm site: h:commandButton value=doXY

Re: Philosophy of JSF

2007-05-23 Thread Werner Punz
Ted Husted schrieb: For the most part, they don't have the concept of View State. If a control uses data that is not in the post, and the page needs to be presented again (because, say, validation failed), then an action-based framework will go and fetch the control data again. (In fact,

Re: Submitting parent window from child window?

2007-05-23 Thread Volker Weber
Hi Bjørn, i have done this before, but with tobago, not with tomahawk or plain jsf. I don't know what is needed there to submit, but something like window.opener.document.getElementById('form:buttonId').click(); should at least simulate a click on a button in the parent window. hope this

How to include a subview more than once

2007-05-23 Thread Helmut Swaczinna
Hi, I want to include the same subview more than once in my page but I get a error message saying the id of the subview is not unique. This is correct. But how can I make the ids of the subview unique? Is it possible to pass the subview id as param to jsp:include? Example: myPage.jsp

Re: [Trinidad] _validateAlert is not defined

2007-05-23 Thread Danny Robinson
Michael, This method was modified a few days ago, so it sounds like your browser cache needs to re-read the javascript. Did you clear it? Danny On 5/23/07, Michael Trompertz [EMAIL PROTECTED] wrote: Hello After switching from trinidad-1.0.1-incubating-SNAPSHOT to trinidad-1.0.1-SNAPSHOT I

how to handle myfaces warnings

2007-05-23 Thread deepraj
i am using myfaces tomhawk components but i m getting many warnings. how to solve this problem -- View this message in context: http://www.nabble.com/how-to-handle-myfaces-warnings-tf3803870.html#a10763347 Sent from the MyFaces - Users mailing list archive at Nabble.com.

warnings when using myfaces and jsf together

2007-05-23 Thread deepraj
i am using jsf and myfaces together .it will give me warnings like you cannot use both ri and myfaces together. only one is there. -- View this message in context: http://www.nabble.com/warnings-when-using-myfaces-and-jsf-together-tf3803875.html#a10763372 Sent from the MyFaces - Users mailing

[Tobago] How to make tobago pages printable

2007-05-23 Thread H. Swaczinna
Hi, when I print a tobago page every style information is lost. This is because in the stylesheet references the media attribute is set to screen. Is there somewhere a switch to set this to print? Regards Helmut

Re: [Trinidad] tr:table/ and emptyText property

2007-05-23 Thread Chris Hane
FYI, I opened a new JIRA (https://issues.apache.org/jira/browse/TRINIDAD-38) for this so it doesn't get lost in the cracks. Thanks, Chris Adam Winer wrote: I don't see any reason why it shouldn't be implemented the way you suggest. -- Adam On 5/18/07, Chris Hane [EMAIL PROTECTED] wrote:

Re: Submitting parent window from child window?

2007-05-23 Thread Anil Kommareddi
If you use Trinidad, you can use their dialog framework for this. If using Tomahawk, take a look at ajax2jsf's reRender support. http://labs.jboss.com/file-access/default/members/jbossajax4jsf/freezone/doc s/devguide/index.html -Original Message- From: Bjørn T Johansen [mailto:[EMAIL

[Trinidad] How to add a custom JavaScript resource script

2007-05-23 Thread William Hoover
I was wondering if anyone knows how to add a js resource in Trinidad? I have a custom component that needs to render a script. I noticed that there is a org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlUtils class that has the writeLibImport(FacesContext context, RenderingContext

[Tomahawk] ModalDialog: close with dialogok-event

2007-05-23 Thread Matthias Imhof
hi all ! I've downloaded the example and am trying to run it in my own project. -- http://example.irian.at/example-sandbox-20070523/dojo/dojoDialog.jsf after open the modal dialog with the link open dialog and then closing it with the link close window there should be a server call cause it's

Re: [Tomahawk] ModalDialog: close with dialogok-event

2007-05-23 Thread Mario Ivankovits
Hi! after open the modal dialog with the link open dialog and then closing it with the link close window there should be a server call cause it's the dialogok-event. but nothing happens ... But the dialog box closes? Do you use IE or firefox? Do you see any javascript error? For firefox

dataTable rows per page--user-defined??

2007-05-23 Thread eric . jung
Hi, I have a dataTable with dataScroller. I'd like the user to be able to change how many rows are displayed per page. The following code displays the table and scroller just fine, t:dataTable binding=#{myBean.dataTable} rows=15 ... ... But this code causes an exception: h:outputText

Re: h:selectOneMenu bean properties not set in core 1.1.5, worked in 1.1.4

2007-05-23 Thread Andrew Robinson
That is invalid code for the JSF specification (MyFaces = 1.1.4 was not JSF compliant in that respect). Your item values are strings (0, 1) not Long instances. You have to either (1) use string in your backing bean, (2) use EL in the itemValue to force the instantiation of numbers (though it

Re: Submitting parent window from child window?

2007-05-23 Thread Bjørn T Johansen
I tried several variants of this but no one worked but yours did... Thx... :) BTJ On Wed, 23 May 2007 14:35:48 +0200 Volker Weber [EMAIL PROTECTED] wrote: Hi Bjørn, i have done this before, but with tobago, not with tomahawk or plain jsf. I don't know what is needed there to submit, but

Re: Submitting parent window from child window?

2007-05-23 Thread Bjørn T Johansen
We are using components from tomahawk, maybe I should check out ajax2jsf... BTJ On Wed, 23 May 2007 09:35:06 -0400 Anil Kommareddi [EMAIL PROTECTED] wrote: If you use Trinidad, you can use their dialog framework for this. If using Tomahawk, take a look at ajax2jsf's reRender support.

Re: [Tomahawk] ModalDialog: close with dialogok-event

2007-05-23 Thread Matthias Imhof
But the dialog box closes? Do you use IE or firefox? Do you see any javascript error? For firefox install the FireBug extensions and for IE you might have to enable the checkbox in extras/... (dont know where exactly ;-) ) to show javascript errors now I've tested the example with IE ...

[ Tobago ] Help Regarding custom message for Conversion Errors

2007-05-23 Thread Madan Narra
Hi All, I have a Sheet which has a column with tc:in/. It should accept only numerics and nothing other then that. I placed tc:messages on top of the sheet to see if there are any errors. If at all i submit my page with alphabets entered in tc:in/ , i get Conversion Error . But i need to

Dojo integration usage documentation

2007-05-23 Thread Juan Ignacio Sánchez Lara
I've just seen at the wiki a really interesting articlehttp://wiki.apache.org/myfaces/WYSIWYG_Editorabout Dojo wrapping inside Tomahawk. Can I do something similar to use dropdown calendar?? Is it documented somewhere?? -- Juan Ignacio Sánchez Lara Ingeniero Informático + Técnico de Sistemas

Re: [Tomahawk] ModalDialog: close with dialogok-event

2007-05-23 Thread Mario Ivankovits
Hi Matthias! But the dialog box closes? Do you use IE or firefox? Do you see any javascript error? For firefox install the FireBug extensions and for IE you might have to enable the checkbox in extras/... (dont know where exactly ;-) ) to show javascript errors now I've tested the

Re: How to include a subview more than once

2007-05-23 Thread Gary VanMatre
From: Helmut Swaczinna [EMAIL PROTECTED] Hi, I want to include the same subview more than once in my page but I get a error message saying the id of the subview is not unique. This is correct. But how can I make the ids of the subview unique? Is it possible to pass the subview id as

Re: Dojo integration usage documentation

2007-05-23 Thread Werner Punz
Here is a custom facelet component I have written a while ago... ui:composition t:dojoInitializer require=dojo.widget.DropdownDatePicker / t:inputText value=#{entity[fieldName]} id=#{id} forceId=true s:convertDateTime pattern=dd.MM./ /t:inputText

Re: Submitting parent window from child window?

2007-05-23 Thread Ayhan Güngör
give a chance to this; window.parent.opener.document.getElementById('form:buttonId').click(); i use parent-refresh-from-popup with oracle adf faces. dialogs in adf faces are automatically placed in a frame, so i use window.parent... On 5/23/07, Bjørn T Johansen [EMAIL PROTECTED] wrote: We

Re: [ Tobago ] Help Regarding custom message for Conversion Errors

2007-05-23 Thread H. Swaczinna
Hi Madan, I put these messages in resource-dir/html/theme/standard/property/togabo.properties.xml. This works but I don't know if it's the right way to do this. Regards Helmut - Original Message - From: Madan Narra To: MyFaces Discussion Sent: Wednesday, May

Re: [Trinidad] How to add a custom JavaScript resource script

2007-05-23 Thread Adam Winer
FYI, folks, all of those APIs are currently in the private, internal package, which means they might get changed/moved/etc. Just so ya know! (For instance, we really should move META-INF/adf to META-INF/trinidad). -- Adam On 5/23/07, William Hoover [EMAIL PROTECTED] wrote: Danny, Thanks

Re: [Tomahawk] ModalDialog: close with dialogok-event

2007-05-23 Thread Matthias Imhof
opened an issue: TOMAHAWK-1007 thanx to you matze But the dialog box closes? Do you use IE or firefox? Do you see any javascript error? For firefox install the FireBug extensions and for IE you might have to enable the checkbox in extras/... (dont know where exactly ;-) ) to show

Re: Why do managed beans must implement the Serializable interface

2007-05-23 Thread Trumml
Thanks for this short reply. But this serialization is a little bit problematic for me... I have a site with two different backing beans and a command button. The command button calls method A.1 from bean A, the site is reloaded (the method changes some properties of bean A) and all properties of

Re: Why do managed beans must implement the Serializable interface

2007-05-23 Thread Trumml
Thanks for this short reply. But this serialization is a little bit problematic for me... I have a site with two different backing beans and a command button. The command button calls method A.1 from bean A, the site is reloaded (the method changes some properties of bean A) and all properties of

Why so many problems with MyFaces?

2007-05-23 Thread SiSi'mon
Does anyone know why Myfaces sucks so much? It was supposed to solve some problems but we have seen nothing but project delays since deciding to use it. Is it a poor specification or a poor implementation of a very bad specification or a very bad implementation of a very bad idea? Si'mon --

Re: [ Tobago ] Help Regarding custom message for Conversion Errors

2007-05-23 Thread Madan Narra
Hi Helmut, Can you please send me the sample for the entry for specifing the error messages... I was confused how can i specify the error messages in the xml file... Regards, Madan N

Re: Why so many problems with MyFaces?

2007-05-23 Thread Grant Smith
Not knowing the nature of your project, or the nature of the delays you've experienced, this question is impossible to answer. If you could be more specific ? On 5/23/07, SiSi'mon [EMAIL PROTECTED] wrote: Does anyone know why Myfaces sucks so much? It was supposed to solve some problems but

Re: Why so many problems with MyFaces?

2007-05-23 Thread Andrew Robinson
That is probably not the best way to get an answer (insulting open source developers). If you don't like the quality of the code (1) become a contributor and help them fix the parts that you think suck or (2) don't use it or (3) report bugs in the bug tracker and work with this mailing list to

Re: Why do managed beans must implement the Serializable interface

2007-05-23 Thread Andrew Robinson
If you use component binding, make sure that the binding's scope is request and not session. Bound components should not be serialized/re-used across requests. On 5/23/07, Trumml [EMAIL PROTECTED] wrote: Thanks for this short reply. But this serialization is a little bit problematic for me...

Re: dataTable rows per page--user-defined??

2007-05-23 Thread eric . jung
Nevermind, I figured it out: t:dataTable binding=#{myBean.dataTable} rows=#{myBean.rowsPerPage} ... ... h:outputText value=Rows per page:/ h:inputText value=#{myBean.rowsPerPage}/ ... Thank you, Eric Jung Eric Jung/X/PH/Novartis 05/23/2007 10:37 AM To users@myfaces.apache.org cc Subject

Re: [ Tobago ] Help Regarding custom message for Conversion Errors

2007-05-23 Thread Helmut Swaczinna
The XML file is just an alternative format for specifying properties. tobago.properties.xml: properties entry key=javax.faces.component.UIInput.REQUIREDPflichtfeld nicht ausgefüllt./entry entry key=javax.faces.component.UIInput.REQUIRED_detailBitte geben Sie in das Feld {0} einen Wert

Re: Why so many problems with MyFaces?

2007-05-23 Thread Cagatay Civici
That is probably not the best way to get an answer (insulting open source developers). If you don't like the quality of the code (1) become a contributor and help them fix the parts that you think suck or (2) don't use it or (3) report bugs in the bug tracker and work with this mailing list to

RE: Why so many problems with MyFaces?

2007-05-23 Thread mario.buonopane
MyFaces is not a specification is just an implementation. If you prefer you can choice other implementation. I just want to say that I'm using MyFaces + Tomahawk + Struts Tyles + Shale and I didn't see any delay, just advantages! May be the problem are you? Mario -Original Message-

Re: Why so many problems with MyFaces?

2007-05-23 Thread Werner Punz
SiSi'mon schrieb: Does anyone know why Myfaces sucks so much? It was supposed to solve some problems but we have seen nothing but project delays since deciding to use it. Is it a poor specification or a poor implementation of a very bad specification or a very bad implementation of a very

Re: Why do managed beans must implement the Serializable interface

2007-05-23 Thread Trumml
Okay, I did not get that point... But as described below, when I call method A.1 which changes both properties of bean A and B, should the refreshed view show both updates of bean A and B? This does not work and that's the reason why I tried the component binding... Andrew Robinson-5 wrote:

Re: [ Tobago ] Help Regarding custom message for Conversion Errors

2007-05-23 Thread Arvid Hülsebus
For more information on the XML file format see http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html#loadFromXML(java.io.InputStream) and http://java.sun.com/dtd/properties.dtd Specifying string resources in XML -- though being a little bit more verbose -- has the advantage that

Re: [Trinidad] How to add a custom JavaScript resource script

2007-05-23 Thread Matthias Wessendorf
good point https://issues.apache.org/jira/browse/TRINIDAD-39 On 5/23/07, Adam Winer [EMAIL PROTECTED] wrote: FYI, folks, all of those APIs are currently in the private, internal package, which means they might get changed/moved/etc. Just so ya know! (For instance, we really should move

Started using Myfaces 1.1.5 and every page is broken (duplicate ID in the faces tree Component)

2007-05-23 Thread SiSi'mon
We are getting errors on nearly every page now that we are using MyFaces 1.1.5. All seem to point to a duplicate ID problem but checking the xHTML there is no duplicate ID. This seems to be generated or something. Something seems quite mucked up. any ideas? --- SEVERE: Error Rendering

Re: Started using Myfaces 1.1.5 and every page is broken (duplicate ID in the faces tree Component)

2007-05-23 Thread Andrew Robinson
Are you by any chance using component binding with beans that are session scoped? On 5/23/07, SiSi'mon [EMAIL PROTECTED] wrote: We are getting errors on nearly every page now that we are using MyFaces 1.1.5. All seem to point to a duplicate ID problem but checking the xHTML there is no

RE: Why so many problems with MyFaces?

2007-05-23 Thread SiSi'mon
No, the problem is definitely with MyFaces. I have used many other UI frameworks in the past with fewer problems. We have gone through most all of the documentation we have with MyFaces. This technology seems to be lacking. Maybe it will work in a few years. The documentation on the apache

Re: Why so many problems with MyFaces?

2007-05-23 Thread SiSi'mon
so you are basically saying that open source is inferrior because it is not backed by corporations? I have been misled. I thought open source had some kind of magic and was supposed to be better. oh well. Andrew Robinson-5 wrote: That is probably not the best way to get an answer

RE: Started using Myfaces 1.1.5 and every page is broken (duplicate ID in the faces tree Component)

2007-05-23 Thread mario.buonopane
Are you working on IBM RAD or WAS? -Original Message- From: SiSi'mon [mailto:[EMAIL PROTECTED] Sent: 23 maggio 2007 18.16 To: users@myfaces.apache.org Subject: Started using Myfaces 1.1.5 and every page is broken (duplicate ID in the faces tree Component) We are getting errors on

Re: Why so many problems with MyFaces?

2007-05-23 Thread SiSi'mon
The myfaces forum seems to be one of the more active forums with more problems posted here than any other project I have ever seen. The documentation on the apache website is wrong concerning how many things work. How does crap like this happen? SiSi'mon wrote: Does anyone know why

Re: Why so many problems with MyFaces?

2007-05-23 Thread Matthias Wessendorf
On 5/23/07, Cagatay Civici [EMAIL PROTECTED] wrote: That is probably not the best way to get an answer (insulting open source developers). If you don't like the quality of the code (1) become a contributor and help them fix the parts that you think suck or (2) don't use it or (3) report bugs

Re: Why so many problems with MyFaces?

2007-05-23 Thread Matthias Wessendorf
use ruby on rails. that solves all address book problems, you have :-) On 5/23/07, SiSi'mon [EMAIL PROTECTED] wrote: No, the problem is definitely with MyFaces. I have used many other UI frameworks in the past with fewer problems. We have gone through most all of the documentation we have

Re: [Trinidad] How to add a custom JavaScript resource script

2007-05-23 Thread Danny Robinson
Will, I'm not totally sure on that one, but I believe the functions parameter is related to Trinidad ensuring any depend libraries/functions are also included for you. From memory, I'm not certain this is really working as all the core js libraries that are part of the framework are listed out

Re: Started using Myfaces 1.1.5 and every page is broken (duplicate ID in the faces tree Component)

2007-05-23 Thread Helmut Swaczinna
Hi, after switching to myFaces 1.1.5 I had many problems in my pages also. Code that worked with 1.1.4 didn't work with 1.1.5. I found out that all problems had the same cause: a session scoped compoment binding. After removing this evering works fine. But the question is, why worked the

Re: Why do managed beans must implement the Serializable interface

2007-05-23 Thread Trumml
I think i know the problem... I use a listener concept to update the properties of B. But this does not work because of the de/serialization of the beans :-( Trumml wrote: Okay, I did not get that point... But as described below, when I call method A.1 which changes both properties of bean

Re: Why so many problems with MyFaces?

2007-05-23 Thread eric . jung
Ignore this troll. Emails with his address now go right to my trash folder. Matthias Wessendorf [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 05/23/2007 12:23 PM Please respond to MyFaces Discussion users@myfaces.apache.org To MyFaces Discussion users@myfaces.apache.org cc Subject Re: Why

Re: Why so many problems with MyFaces?

2007-05-23 Thread Simon Lessard
Hello, I think what Andrew meant is that since MyFaces is not backed by a corporation, people here are not paid to work on this project. Therefore they spend there own free time for the community's gain without any personal gain. Therefore, it's not very diplomatic to come on the list and speak

Re: Why so many problems with MyFaces?

2007-05-23 Thread Werner Punz
SiSi'mon schrieb: The myfaces forum seems to be one of the more active forums with more problems posted here than any other project I have ever seen. The documentation on the apache website is wrong concerning how many things work. Ah yes, we need more people to help us out with the

Re: Started using Myfaces 1.1.5 and every page is broken (duplicate ID in the faces tree Component)

2007-05-23 Thread SiSi'mon
I am not sure what a session scoped component binding is. do you mean a session scoped backing bean? We are using Spring IOC to manage the backing beans and only have one that is session scoped. thanks Si'mon Helmut Swaczinna wrote: Hi, after switching to myFaces 1.1.5 I had many

RE: Started using Myfaces 1.1.5 and every page is broken (duplicate ID in the faces tree Component)

2007-05-23 Thread SiSi'mon
No, we are on Tomcat. thanks Si'mon mario.buonopane wrote: Are you working on IBM RAD or WAS? -Original Message- From: SiSi'mon [mailto:[EMAIL PROTECTED] Sent: 23 maggio 2007 18.16 To: users@myfaces.apache.org Subject: Started using Myfaces 1.1.5 and every page is broken

Re: Search Engines friendly t:dataScroller

2007-05-23 Thread Werner Punz
Dfr schrieb: Hello, im currently facing problem of making product catalog navigation for online store. Product list is displayed with t:dataTable, but because there is a lot of products i set up t:dataScroller to navigate catalog. And it works truly fine except t:dataScroller links look like

Re: Started using Myfaces 1.1.5 and every page is broken (duplicate ID in the faces tree Component)

2007-05-23 Thread Werner Punz
Helmut Swaczinna schrieb: Hi, after switching to myFaces 1.1.5 I had many problems in my pages also. Code that worked with 1.1.4 didn't work with 1.1.5. I found out that all problems had the same cause: a session scoped compoment binding. After removing this evering works fine. But the

Re: Started using Myfaces 1.1.5 and every page is broken (duplicate ID in the faces tree Component)

2007-05-23 Thread SiSi'mon
I have read a lot on component binding but still do not understand under the hood (in low level object/class terms) what it is. We do have some beans that are session scoped. In the xhtml page that is failing, the word binding is never used. The backing beans used in the page are request

Re: Started using Myfaces 1.1.5 and every page is broken (duplicate ID in the faces tree Component)

2007-05-23 Thread Helmut Swaczinna
Yes, I mean a session scoped backing bean which helds a component binding. I got the duplicate ID in the faces tree Component message in a foreach loop. The loop was in a container component which had a binding to a session scoped bean. Helmut - Original Message - From: SiSi'mon

Re: Started using Myfaces 1.1.5 and every page is broken (duplicate ID in the faces tree Component)

2007-05-23 Thread Werner Punz
SiSi'mon schrieb: I am not sure what a session scoped component binding is. do you mean a session scoped backing bean? We are using Spring IOC to manage the backing beans and only have one that is session scoped. thanks Si'mon Well following, if you have referenced this bean into

Re: Started using Myfaces 1.1.5 and every page is broken (duplicate ID in the faces tree Component)

2007-05-23 Thread Werner Punz
SiSi'mon schrieb: I have read a lot on component binding but still do not understand under the hood (in low level object/class terms) what it is. We do have some beans that are session scoped. A the component binding is basically the code representation of the tag in the page you have bound

Re: [Trinidad] How to add a custom JavaScript resource script

2007-05-23 Thread noah
Since (as Adam already said) those Trinidad APIs are not for public consumption, you should look at Shale Remoting. It's pretty lightweight. For example, in your renderer you write: new XhtmlHelper().linkJavascript(context, component, context.getResponseWriter(), Mechanism.CLASS_RESOURCE,

Re: Dojo integration usage documentation

2007-05-23 Thread Werner Punz
Werner Punz schrieb: Here is a custom facelet component I have written a while ago... ui:composition t:dojoInitializer require=dojo.widget.DropdownDatePicker / t:inputText value=#{entity[fieldName]} id=#{id} forceId=true s:convertDateTime pattern=dd.MM./

Re: Started using Myfaces 1.1.5 and every page is broken (duplicate ID in the faces tree Component)

2007-05-23 Thread Andrew Robinson
I am not sure what a session scoped component binding is. A backing bean that is session scoped that has a property that is used for component binding. When using component binding (ns:component binding=#{...}), that value should NEVER be persisted longer than that lifecycle and rendering of

Re: h:selectOneMenu bean properties not set in core 1.1.5, worked in 1.1.4

2007-05-23 Thread Andrew Robinson
Please check the MyFaces WIKI FAQ for more information on this http://wiki.apache.org/myfaces/FAQ Look for the question: Select Items stop working in MyFaces 1.1.5 -Andrew On 5/23/07, Andrew Robinson [EMAIL PROTECTED] wrote: That is invalid code for the JSF specification (MyFaces = 1.1.4 was

RE: [Trinidad] How to add a custom JavaScript resource script

2007-05-23 Thread William Hoover
Using the outputScriplet method I'm getting an HTTP 404 error. I placed the js in the /META-INF/adf/jsLibs/MyScript.js It looks as though the script is requested, but the js file contains the html for a 404. Any clue? -Original Message- From: Danny Robinson [mailto:[EMAIL PROTECTED]

RE: [Trinidad] How to add a custom JavaScript resource script

2007-05-23 Thread William Hoover
Looks like a plausible solution, but I'm using the script resource for a custom component and I am hoping to contribute so using an outside dependency is out of the question for this case. Thanks for the info though! I will keep it in mind for future projects. -Original Message- From:

RE: [Trinidad] How to add a custom JavaScript resource script

2007-05-23 Thread William Hoover
Thanks for the heads up! -Original Message- From: Adam Winer [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 23, 2007 11:35 AM To: MyFaces Discussion Subject: Re: [Trinidad] How to add a custom JavaScript resource script FYI, folks, all of those APIs are currently in the private,

RE: [Trinidad] How to add a custom JavaScript resource script

2007-05-23 Thread William Hoover
I did notice that the LibraryScriplet _getLibraryURL is constructing the url as /myapp/adf/jsLibs/MyJSLib.js. Is this correct? -Original Message- From: William Hoover [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 23, 2007 1:55 PM To: MyFaces Discussion Subject: RE: [Trinidad] How to

Re: Why do managed beans must implement the Serializable interface

2007-05-23 Thread David Delbecq
If you don't want serialized bean, make them request scope bean. Session scope bean must be serializable whatever happen. Not sure i understand you last problem, but if you want to link B to A (so A see the B instance managed by JSF) you can do this in faces-config.xml, using managed-properties.

Caching JSF Dropdown Results

2007-05-23 Thread bansi
I have following dropdown Code: h:panelGrid columns=3 styleClass=detail columnClasses=label h:outputText value=Manufacturer / h:selectOneMenu id=manufList value=#{manufacturerBean.selectedManufacturer} f:selectItem itemLabel=New

Re: Caching JSF Dropdown Results

2007-05-23 Thread Andrew Robinson
How about t:saveState value=#{manufacturerBean.manufacturerList} /? If you are using a4j:region, you will need to make sure the save state tag in in the region (BTW - I haven't tested this). On 5/23/07, bansi [EMAIL PROTECTED] wrote: I have following dropdown Code: h:panelGrid columns=3

AW: [Trinidad] _validateAlert is not defined

2007-05-23 Thread Michael Trompertz
Thanks - it was indeed a caching problem. But now my submit fails without any error message. I stepped through the javascript code, but I did not have any idea. At least the DoSubmit variable is set to false. All my required fields has values. It seems that it has something to with the

Re: Dojo integration usage documentation

2007-05-23 Thread Werner Punz
Juan Ignacio Sánchez Lara schrieb: I've already dealt with Dojo optimizing via searchIds, it really makes a difference. I've used Dojo only at client side, but now I want to make custom JSF components to make developing faster. I will give jMaki another try, but if I finally desist I'll make a

Re: Started using Myfaces 1.1.5 and every page is broken (duplicate ID in the faces tree Component)

2007-05-23 Thread SiSi'mon
Thanks, I am not quite sure I understand everything in the article. We have ID's on every component in the xhtml. Not sure how to implement the suggestion for not using session scoped beans. Si'mon David Delbecq-2 wrote: Since you seem to be using facelets:

Re: Why do managed beans must implement the Serializable interface

2007-05-23 Thread David Delbecq
If you don't want serialized bean, make them request scope bean. Session scope bean must be serializable whatever happen. Not sure i understand you last problem, but if you want to link B to A (so A see the B instance managed by JSF) you can do this in faces-config.xml, using managed-properties.

Re: Caching JSF Dropdown Results

2007-05-23 Thread bansi
Thanks Andrew. As suggested i have placed the snippet right above h:form f:view t:saveState id=save1 value=#{manufacturerBean.manufacturerList} / h:form id=manufacturerForm It results in following exception javax.faces.el.PropertyNotFoundException: /manufacturerForm.xhtml @23,75

Re: Caching JSF Dropdown Results

2007-05-23 Thread bansi
Also i recall your suggestion to cache the getManufacturerList() method in backing bean using RequestMap . I apologize i didnt understood that how this would eliminate unnecessary database calls but still ended developing following snippet in backing bean which results in Null Pointer Exception

Re: Caching JSF Dropdown Results

2007-05-23 Thread David Delbecq
You need a void setManufacturerList(List l) so saveState can restore the state. bansi a écrit : Thanks Andrew. As suggested i have placed the snippet right above h:form f:view t:saveState id=save1 value=#{manufacturerBean.manufacturerList} / h:form id=manufacturerForm It results in

Re: Started using Myfaces 1.1.5 and every page is broken (duplicate ID in the faces tree Component)

2007-05-23 Thread Andrew Robinson
Could you post some of the XHTML code? Also the full error from the duplicate component ID may be helpful. That component path should directly indicate which component is getting the error (it is in a dataTable, and doesn't have an ID assigned to it). Also if you are using facelets includes, you

  1   2   >