Re: META-INF/faces-config.xml not loaded

2005-09-28 Thread Andreas Schenk
Am Dienstag, 27. September 2005 15:25 schrieb Martin Marinschek: Hmm... if you look at the following code in public class FacesConfigurator     private static final String FACES_CONFIG_RESOURCE = META-INF/faces-config.xml; you see that we do try to parse this. Strange that it shouldn't

using redirect/ in navigation case problem

2005-09-28 Thread Catalin Kormos
Hi there, Can someone explain to me, why when redirect/ is used in a navigation case, the final page doesn't displays the properties values determined in the action method that was executed? I have this navigatin case: navigation-case from-action#{addresses.showAddresses}/from-action

Re: mf 1.1.0 and jscookmenu

2005-09-28 Thread Marco Barbi
Francesco Consumi wrote: Quoting Martin Marinschek [EMAIL PROTECTED]: If it isn't this, try out the examples if they are working with your version of MyFaces! I'm still trying to use jscookmenu in my app without including js code. I've studied simple.war web.inf file, and I'm trying to use

Re: META-INF/faces-config.xml not loaded

2005-09-28 Thread Martin Marinschek
Yes, there has been a change in this a few weeks ago! So this was a version problem... Get yourself the latest nightly and work with this! regards, Martin On 9/27/05, Andreas Schenk [EMAIL PROTECTED] wrote: Am Dienstag, 27. September 2005 15:25 schrieb Martin Marinschek: Hmm... if you

Re: DataTable with Immediate Buttons Lose Submitted Values In 1.1.0

2005-09-28 Thread Martin Marinschek
Sorry for me causing confusion ;) regards, Martin On 9/27/05, Mathias Brökelmann [EMAIL PROTECTED] wrote: I´ve closed this bug since it is documented in the spec that it should be as we have implemented it. See http://issues.apache.org/jira/browse/MYFACES-632 2005/9/27, [EMAIL PROTECTED]

Re: -- 1.1.0: 'lifetime' of the param is shorter than that of the managed bean

2005-09-28 Thread Nebojsa Vasiljevic
I sead: ... it is hard todeterminate*in what request*the session (bean) was initialized ... I haven't sead that a managed bean could be initialized outside of any request/response cycle. BTW, does JSR specifications specify that a managed bean can't be initialized outside of any

Re: mf 1.1.0 and jscookmenu

2005-09-28 Thread Francesco Consumi
Quoting Marco Barbi [EMAIL PROTECTED]: I got problem using myfaces-all.jar (actually I can't remember if it was the same error you are experiencing) so I replaced it with the separate jars (available in the 1.1.0 binary distribution as well) and the menu works. Since I did the same error,

Re: mf 1.1.0 and jscookmenu

2005-09-28 Thread Martin Marinschek
Well, it looks as if your FacesServlet doesn't work any more - are you sure you keep the mapping of the faces servlet, and also have the right sequence of things in your web.xml? regards, Martin On 9/28/05, Francesco Consumi [EMAIL PROTECTED] wrote: Quoting Marco Barbi [EMAIL PROTECTED]:

Re: DataTable with Immediate Buttons Lose Submitted Values In 1.1 .0

2005-09-28 Thread Mathias Brökelmann
input components inside a datatable depends on a datamodel. If processing in validation and update model phases succeeds without an error we have to get a new value of the datamodel. This new datamodel can be changed in every aspect. It could have the same content but in different order, can have

Re: DataTable with Immediate Buttons Lose Submitted Values In 1.1 .0

2005-09-28 Thread Martin Marinschek
With preserveRowState, you mean something like preserveDataModel, but storing it until the end of the lifecycle? regards, Martin On 9/28/05, Mathias Brökelmann [EMAIL PROTECTED] wrote: input components inside a datatable depends on a datamodel. If processing in validation and update model

Re: mf 1.1.0 and jscookmenu

2005-09-28 Thread Francesco Consumi
Quoting Martin Marinschek [EMAIL PROTECTED]: Well, it looks as if your FacesServlet doesn't work any more - are you sure you keep the mapping of the faces servlet, and also have the right sequence of things in your web.xml? Martin, here is my web.xml file.. web-app version=2.4

MyFaces 1.1.0

2005-09-28 Thread shed
Hello! I have problems with importing the new jar file (myFaces-all.jar) I have errors in when I'm starting my tomcat. java.lang.ClassNotFoundException: org.apache.myfaces.custom.rssticker.HtmlRssTicker at

Re: MyFaces 1.1.0

2005-09-28 Thread Jens Weintraut
Hi, it's a known bug. Use the three other jars instead. --- Ursprüngliche Nachricht --- Von: [EMAIL PROTECTED] An: users@myfaces.apache.org Betreff: MyFaces 1.1.0 Datum: Wed, 28 Sep 2005 10:05 +0200 Hello! I have problems with importing the new jar file (myFaces-all.jar) I have

Re: DataTable with Immediate Buttons Lose Submitted Values In 1.1 .0

2005-09-28 Thread Mathias Brökelmann
preserveRowState will not store the datamodel it only stores the rowstate which is held/created during the livecycle and will not be a part of the state between the requests. 2005/9/28, Martin Marinschek [EMAIL PROTECTED]: With preserveRowState, you mean something like preserveDataModel, but

Re: TabbedPane Navigation

2005-09-28 Thread Jens Weintraut
Hi, I've found another mysterious behaviour. I can only navigate through Tree2, if toggling is handled by client-side javascript. If I use server-side toggling, I see Tab1 after every click in the tree. --- Ursprüngliche Nachricht --- Von: Jens Weintraut [EMAIL PROTECTED] An: MyFaces

Re: MyFaces 1.1.0

2005-09-28 Thread Bruno Aranda
Well, that's not the problem. The thing is that the rssTicker was kind of 'deprecated' because it used a development dependency. Any ideas on when we will restore this component? We could put it in the sandbox... Regards, Bruno 2005/9/28, Jens Weintraut [EMAIL PROTECTED]: Hi, it's a known

NotSerializableException

2005-09-28 Thread Navid Vahdat
Title: Not serializable Guys, I get this not serializable exception. The exception is correct, because metamodel.ListType, a value in a hidden field with a working converter, definitely is not serializable. Why is myFaces (ver. 1.1.0) trying to serialize it? Thanks, Navid Not serializable

Re: Master-Detail with SelectOneRadioButtons

2005-09-28 Thread Mathias Brökelmann
try this one: h:dataTable var=row value=#{data.rows} h:column t:selectOneRadio id=selectRadio forceId=true forceIdIndex=false value=#{data.selectedRowId} f:selectItem itemValue=#{row.id} itemLabel= / /t:selectOneRadio /h:column /h:dataTable

Re: MyFaces 1.1.0

2005-09-28 Thread Martin Marinschek
Well, there is still the -rssTicker -WMLRenderKit -code generation stuff missing. We should get this fixed pretty soon. regards, Martin On 9/28/05, Bruno Aranda [EMAIL PROTECTED] wrote: Well, that's not the problem. The thing is that the rssTicker was kind of 'deprecated' because it used a

Antwort: Re: DataTable with Immediate Buttons Lose Submitted Values In 1.1.0

2005-09-28 Thread mathias . werlitz
Ok, you are right! But somehow I still have the feeling that the spec is wrong here ... a personal aversness to inconsistent behaviour. This way input components behave different within and outside of a dataTable. But this time I will have to cope with the situation as it is :/

[tree2] TreeStateBase uses physical node id

2005-09-28 Thread Mario Ivankovits
Hi! I have seen the tree2 component uses a (I will call it) physical node id like 0:0:0 to store the expanded/collapsed states. Now if one inserts a new record into say a database and regenerate the tree it might happen that those ids no longer match the data and e.g. a illogical state

AW: Master-Detail with SelectOneRadioButtons

2005-09-28 Thread andreas.mitter
First of all this works, but the Problem is, that when I am doing like this: h:column t:selectOneRadio id=selectRadio forceId=true forceIdIndex=false value=#{searchResultDto.paId}

Antwort: Re: DataTable with Immediate Buttons Lose Submitted Values In 1.1 .0

2005-09-28 Thread mathias . werlitz
Ooops, missed this one ... sounds reasonable. An extended behaviour of t:dataTable would also be nice :)

Antwort: [tree2] TreeStateBase uses physical node id

2005-09-28 Thread mathias . werlitz
I already proposed this. The problem is, that much of the code in the renderer an the _javascript_ relies on the physical node id. By the way, MYFACES-568 should fix the illogical state problem ... but does not save you from possibly expanding to wrong node. [EMAIL PROTECTED] schrieb am

Re: DataTable with Immediate Buttons Lose Submitted Values In 1.1 .0

2005-09-28 Thread Martin Marinschek
Well, but if you don't store the dataModel, you get the odd problems you mentioned above (that the model is reloaded and the submitted value might not belong to the correct data anymore). Wouldn't storing the dataModel as long as the submitted value makes sense solve these problems? regards,

ViewHandler redirect doesnt' work in 1.1.0

2005-09-28 Thread Patrick Voigt
Hello, I use my own ViewHandler to do authentication checks. Here is the code of the class I use, it was posted by Adam Winer in another forum. It worked with 1.0.9, but doesn't with 1.1.0. The createView() method gets called but changing the viewID (to force a redirect to an authentication

Re: [tree2] TreeStateBase uses physical node id

2005-09-28 Thread Mario Ivankovits
[EMAIL PROTECTED] wrote: I already proposed this. The problem is, that much of the code in the renderer an the javascript relies on the physical node id. But no one really relies on its content. For what I can see is that there is no need to have it somethink like 0:0:0 - I didnt found a split

Re: DataTable with Immediate Buttons Lose Submitted Values In 1.1 .0

2005-09-28 Thread Mathias Brökelmann
we could also keep the old datamodel if preserveRowState=true. Hopefully the user knows what he is doing by using this attribute since the value of uidata is only requested in the decode phase. 2005/9/28, Martin Marinschek [EMAIL PROTECTED]: Well, but if you don't store the dataModel, you get

multiple component jars

2005-09-28 Thread Jesse Alexander \(KBSA 21\)
Hi I use some components from the tomahawk collection and have written my own components as well. Now I am in the process of packaging my own components into jar-files and have run into a nasty feature of the JSF configuration. It is nice that each component-jar-file can have its own

Re: multiple component jars

2005-09-28 Thread Martin Marinschek
No way around this. Same problem with PhaseListeners. Maybe the spec should introduce something like a priority (like the z-index in CSS) to get round such problems. regards, Martin On 9/28/05, Jesse Alexander (KBSA 21) [EMAIL PROTECTED] wrote: Hi I use some components from the tomahawk

Re: Tree2 state problem

2005-09-28 Thread Steffen Hankiewicz
Hi all, I had the same problem as you. I fixed the problem by not discarding the previous tree. Instead of building a new one, just clean the one you have, i.e. , get rid of all children - don't forget to set the expanded nodes as not expanded too. How do you get rid of the children of a tree?

RE: multiple component jars

2005-09-28 Thread Jesse Alexander \(KBSA 21\)
-Original Message- No way around this. -/Original Message- Feared so :( -Original Message- Same problem with PhaseListeners. -/Original Message- and any other configurable item... -Original Message- Maybe the spec should introduce something like a

Re: multiple component jars

2005-09-28 Thread Martin Marinschek
too late for 1.2, I suppose! exactly the right time for 2.0... I think there is something like an issue tracker on dev.java.net. regards, Martin On 9/28/05, Jesse Alexander (KBSA 21) [EMAIL PROTECTED] wrote: -Original Message- No way around this. -/Original Message- Feared

jsp:include and value binding

2005-09-28 Thread Andreas Schenk
Hi, I have a simple problem but no answer. Can someone please help me? I would like to use jsp:include with a value binding expression, like jsp:include page=#{bean.property}/ where bean is a managed bean. Unfortunately jsp does not understand vb expressions of jsf, i.e. #{..}. Can I just

Get value of to-view-id of faces-config.xml

2005-09-28 Thread Stefan Gesigora
Hi folks! Im looking for a way to read the to-view-id of the faces-config.xml My application knows the unique from-outcome value and wants to get the to-view-id value! Is there a way to get this? regards, Stefan Gesigora

selectOneRadio in myfaces 1.1

2005-09-28 Thread stefanom (sent by Nabble.com)
With myfaces version 1.09 I can use a Boolean method in h:selectOneRadio value tag and the component converts the Boolean value in String automatically. In version 1.1 this conversion doesn't work and I need to use another method for the conversion. Thank you Stefano Sent from the MyFaces

RE: Master-Detail with SelectOneRadioButtons

2005-09-28 Thread Andrew Robinson
Just use the Tomahawk selectOneRadio component and set the layout to spread. You can then drop the Tomahawk radio buttons wherever you want on the page and they will behave as expected. There is docs at the myfaces.apache.org web site on how to do this. -Original Message- From: Mathias

RE: Get value of to-view-id of faces-config.xml

2005-09-28 Thread Andrew Robinson
I went digging around in the MyFaces code and was not able to find this. The NavigationHandlerImpl has the code, but none of it is protected or public (all private). So you would haveto parse the XML yourself. It would be a good idea for Sun to mod the JSF spec to split the information from

Re: selectOneRadio in myfaces 1.1

2005-09-28 Thread Paul Klaer
It's a known bug and fixed in the nightly build. On Wed, 28 Sep 2005 15:25:56 +0200, stefanom (sent by Nabble.com) [EMAIL PROTECTED] wrote: With myfaces version 1.09 I can use a Boolean method in h:selectOneRadio value tag and the component converts the Boolean value in String

AW: Get value of to-view-id of faces-config.xml

2005-09-28 Thread Stefan Gesigora
Thanks Andrew! Im going to try this Stefan Von: Andrew Robinson [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 28. September 2005 15:41 An: 'MyFaces Discussion' Betreff: RE: Get value of to-view-id of faces-config.xml I went digging around in the MyFaces code and was not

Re: selectOneRadio in myfaces 1.1

2005-09-28 Thread Caroline Jen
Hi Paul, Thanks for the information regarding that the bug with the ValueChangeListener in the selectOneRadio tag has been fixed in the nightly build. Please advise me which jar files that I have to replace because I am using an IDE, which has its own built-in JSF version.

AW: selectOneRadio in myfaces 1.1

2005-09-28 Thread andreas.mitter
You need an f:selectItem or an f:selectItems Tag between your h:selectOneRadio you need something like that h:selectOneRadio value=#{bean.id} f:selectItem itemValue=#{person.id}/ /h:selectOneRadio regards -Ursprüngliche Nachricht- Von: Caroline Jen [mailto:[EMAIL PROTECTED]

jsCookMenu

2005-09-28 Thread Arash Bijanzadeh
I could not figure out what shall I use in the action tag of jscookmenu? I couldn't figure out what nav_page1 or go_page1 means in the config file and the menu handlers! And if the style changed in the new release?! I mean in the tomahawk there is no itemLabel property Regards Arash-- from debian

Re: selectOneRadio in myfaces 1.1

2005-09-28 Thread Paul Klaer
Hi Caroline, it is the myfaces-api.jar. I don't know if there is a problem for the tomahawk implementation because I use only the api reference for the selectOneRadio tag. Paul On Wed, 28 Sep 2005 16:00:55 +0200, Caroline Jen [EMAIL PROTECTED] wrote: Hi Paul, Thanks for the

RE: multiple component jars

2005-09-28 Thread Jesse Alexander \(KBSA 21\)
-Original Message- too late for 1.2, I suppose! exactly the right time for 2.0... I think there is something like an issue tracker on dev.java.net. -/Original Message- Not really. Ed Burns has answered this: -Original Message- Yes, this problem is real, but we

newspaperTable docs and info

2005-09-28 Thread Luca Conte
Hi to Everyone, I just found and tried the newspaperTable component! For my job it's fantastic but I need a feature and I don't know, because of the documentation's leaks, if this feature exists: may be very useful for me if the table may be filled horizontally and not only vertically. For example

Re: selectOneRadio in myfaces 1.1

2005-09-28 Thread Paul Klaer
This bug has no Exception. The value is not correctly displayed as checked because of a comparison of the variable which is not converted into String so the result of the equals method returns false each time. On Wed, 28 Sep 2005 15:55:56 +0200, Caroline Jen [EMAIL PROTECTED] wrote: Hi

Re: AW: selectOneRadio in myfaces 1.1

2005-09-28 Thread Caroline Jen
I know that. I simply want to idenfy where my error message is from. I omitted the detailed code. I did have f:selectItems tag in between the selectOneRadio tag. --- [EMAIL PROTECTED] wrote: You need an f:selectItem or an f:selectItems Tag between your h:selectOneRadio you need

Re: AW: selectOneRadio in myfaces 1.1

2005-09-28 Thread stefanom (sent by Nabble.com)
Yes, but with 1.09 I use: class MyBean{ private Boolean id; public Boolean getId(); .. and this works correctly; with 1.1 I need public String getIdStr(){ return id.toString(); } and h:selectOneRadio value=#{bean.idStr} f:selectItem itemValue=#{person.id}/ /h:selectOneRadio

Tree2 does not select node

2005-09-28 Thread Carsten Burghardt
I have a tree2 with client side toggling (also tried server side but that didn't solve the problem). The problem is that the nodes do not get selected. The action is triggered fine but the nodes (facet plugin) do not change their css style. h:form t:tree2 value=#{navigationBean.treeData}

Re: multiple component jars

2005-09-28 Thread Martin Marinschek
Cool! Yes, we do have a great expert group there ;) I don't fully understand the proposed solution, though. It will make sure that the jars are loaded in a certain order, and that order will be the name of the jar-files. How are we able to change this with the proposed scheme? Or am I

Re: AW: selectOneRadio in myfaces 1.1

2005-09-28 Thread Bruno Aranda
I think that was fixed yesterday in the source code. Could you try with the most recent nightly? Regards, Bruno 2005/9/28, stefanom (sent by Nabble.com) [EMAIL PROTECTED]: Yes, but with 1.09 I use: class MyBean{ private Boolean id; public Boolean getId(); .. and this works

Re: NotSerializableException

2005-09-28 Thread Navid Vahdat
Can somebody give me a hand on this? The Exception seems to be connected to using a h:inputhidden with a custom converter. When the value is null, everithing is fine. When the value is set to an object (in this case metamodel.ListType), rendering the page is fine, but triggering a UICommand

Re: Get value of to-view-id of faces-config.xml

2005-09-28 Thread Bruno Aranda
You can also access to the information of the faces-config at runtime using the RuntimeConfig singleton (only with myfaces impl). RuntimeConfig.getCurrentInstance(externalContext) You can access from there to the registered navigation rules, managed beans, etc... Regards, Bruno 2005/9/28,

Re: NotSerializableException

2005-09-28 Thread Luca Conte
Can U post the jsp code? Navid Vahdat ha scritto: Can somebody give me a hand on this? The Exception seems to be connected to using a h:inputhidden with a custom converter. When the value is null, everithing is fine. When the value is set to an object (in this case metamodel.ListType),

Re: open with commandlink a new window

2005-09-28 Thread Bruno Aranda
I don't know if I understand your problem, but commandLink also have a target attribute. It is not ok? Bruno 2005/9/28, Stefan Gesigora [EMAIL PROTECTED]: Hi! I wanna use the commandlink in a way like this: a href=http://aktuell.de.selfhtml.org/; target=_blankSELFHTML aktuell/a

Conditional error check

2005-09-28 Thread Luca Conte
Hi, does exists a way to test (possibly with jstl) if there is at least one error in the page after a form sumbit? In Struts: c:if test=${requestScope['org.apache.struts.action.ERROR']!=null} ... /c:if

RE: Conditional error check

2005-09-28 Thread Andrew Robinson
You could implement a custom function (if using the new libraries for EL) and check if the getMessages on FacesContext has messages. in FacesContext: public abstract java.util.Iterator getMessages() Return an Iterator over the FacesMessages that have been queued, whether or not they are

Re: selectOneRadio Problem - Conversion Error setting value ''{0}'' for ''{1}''.

2005-09-28 Thread Caroline Jen
Please help me to identify the problem that I ran into. Meanwhile, I am unable to find the JSF version in the IDE I use. I am uncertain if my problem is related to the version 1.1 of JSF or the problem is with my code. I have put a ValueChangeListener for my radio button. I have two radio

Re: multiple component jars

2005-09-28 Thread Mike Kienenberger
Since the ordering is currently unspecified, and since 1.2 is a ways off for MyFaces, it seems to me that there's nothing stopping the MyFaces project from imposing our own ordering system on the loading process under JSF 1.1. And if it's demonstrated to be a good way of doing things, perhaps

AW: selectOneRadio Problem - Conversion Error setting value ''{0}'' for ''{1}''.

2005-09-28 Thread andreas.mitter
I don't exactly know if it's this problem, but what Java types to you have in your SelectItems value. Perhaps the value binding of the selectOneRadio is binded to the wrong Java Type... You know what I mean... For example: If your SelectItem consists of (int, String) then the value binding of

AW: Master-Detail with SelectOneRadioButtons

2005-09-28 Thread andreas.mitter
Sounds interesting... Can I use Jenia together with MyFaces? I have read that MyFaces is supported on the Homepage of Jenia? To I only have to include the jar file? Regards, Andy -Ursprüngliche Nachricht-Von: Mike Kienenberger [mailto:[EMAIL PROTECTED]Gesendet: Mittwoch, 28.

Having a Default commandButton

2005-09-28 Thread CONNER, BRENDAN \(SBCSI\)
Is there a way to specify one's h:commandButton so it is the default button? In other words, is there a way to specify it such that it is clicked when the user hits the enter key? Also, on a related note, is there a way to specify an h:inputText such that the cursor gets placed there

Re: selectOneRadio Problem - Conversion Error setting value ''{0}'' for ''{1}''.

2005-09-28 Thread Mike Kienenberger
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117) You might have better luck on the Sun JSF RI mailing lists since you're not using MyFaces. On 9/28/05, Caroline Jen [EMAIL PROTECTED] wrote: Please help me to identify the problem that I ran into. Meanwhile, I am unable

Re: Master-Detail with SelectOneRadioButtons

2005-09-28 Thread Mike Kienenberger
Yes, you should be able to use it with MyFaces. I'm still in the process of trying to use the Jenia4Faces PopupFrame component. I haven't gotten it to work yet, though, but it might be because I'm also using Facelets. Take a look at Werner's wiki page for more integration details:

Re: multiple component jars

2005-09-28 Thread Martin Marinschek
It might be good to be able to hook in a customized comparator for this proposed map- we could then easily change the order of the loaded chars by providing a different comparator implementation. wdyt? regards, Martin On 9/28/05, Mike Kienenberger [EMAIL PROTECTED] wrote: Since the ordering

Re: multiple component jars

2005-09-28 Thread Mike Kienenberger
That's a pretty interesting idea. Can we make it chainable? Ie, tomahawk adds a comparator that requires that myfaces-impl is loaded first. sandbox adds a comparator that requires that tomahawk is loaded. Alexander adds a comparator that requires that tomahawk is loaded before JarX. It'd be

Re: multiple component jars

2005-09-28 Thread Martin Marinschek
Nice! But how would we make sure that Alex' comparator wraps the sandbox comparator wraps the tomahawk comparator? regards, Martin On 9/28/05, Mike Kienenberger [EMAIL PROTECTED] wrote: That's a pretty interesting idea. Can we make it chainable? Ie, tomahawk adds a comparator that requires

Re: multiple component jars

2005-09-28 Thread Mike Kienenberger
Chainable probably wasn't the right word. I was originally thinking of wrapping like ViewHandler or NavigationManager, but by the time I was done writing the message, I didn't see how it could work that way. Probably just adding in all of the comparators and doing some kind of dependency

Re: Tree2 does not select node

2005-09-28 Thread Frank Langelage
Carsten Burghardt wrote: I have a tree2 with client side toggling (also tried server side but that didn't solve the problem). The problem is that the nodes do not get selected. The action is triggered fine but the nodes (facet plugin) do not change their css style. h:form t:tree2

Re: MyFaces 1.1.0

2005-09-28 Thread Sean Schofield
I thought RSSTicker had been completely removed for the time being. How is this error message even possible if he is using 1.1.0? sean On 9/28/05, Martin Marinschek [EMAIL PROTECTED] wrote: Well, there is still the -rssTicker -WMLRenderKit -code generation stuff missing. We should get

Fwd: MyFaces 1.1.0

2005-09-28 Thread Martin Marinschek
-- Forwarded message -- From: Martin Marinschek [EMAIL PROTECTED] Date: Sep 28, 2005 8:11 PM Subject: Re: MyFaces 1.1.0 To: Sean Schofield [EMAIL PROTECTED] You are right - there is no occurence of RssTicker anywhere in the source-code. So this must be a problem of old jars, old

Re: multiple component jars

2005-09-28 Thread Martin Marinschek
Hmmm, I'll try to include Ed on this discussion - wonder what he thinks on this. @Ed: We have discussed how your proposed solution to the ordering problem of the faces-config.xml files would also solve the problem that a user might need to reorder them to fix problems occuring by a wrong load

Re: Which source code invokes StartupServletContextListener ?

2005-09-28 Thread Mike Kienenberger
It has indeed moved to the myfaces-core.tld file in the META-INF/ directory for the jar file (either myfaces-impl.jar or myfaces-all.jar). However it still has to be added to the web.xml file for some containers (jetty 5.1.3, for sure). It should be in impl/tld/myfaces_core.tld if you check out

Fwd: multiple component jars

2005-09-28 Thread Martin Marinschek
Hmmm, I'll try to include Ed on this discussion - wonder what he thinks on this. @Ed: We have discussed how your proposed solution to the ordering problem of the faces-config.xml files would also solve the problem that a user might need to reorder them to fix problems occuring by a wrong load

Re: Tree2 does not select node

2005-09-28 Thread Carsten Burghardt
Am Wednesday 28 September 2005 19:58 schrieb Frank Langelage: Carsten Burghardt wrote: I have a tree2 with client side toggling (also tried server side but that didn't solve the problem). The problem is that the nodes do not get selected. The action is triggered fine but the nodes (facet

Re: Which source code invokes StartupServletContextListener ?

2005-09-28 Thread wolfgang127us
Hi Mike, Thanks for the quick response. I found it ! Regards, Wolfgang -- Know more about Breast Cancer http://pr.mail.yahoo.co.jp/pinkribbon/

How to change the destination of request on the fly ?

2005-09-28 Thread wolfgang127us
Hi gurus, Let's say when a user accesses http://whatever/faces/index.jsp;, I want the user actually sees http://whatever/faces/XXX/index.jsp; where XXX is from database. (The second index.jsp contains JSF tags.) There're two ways I can think of. 1, In /faces/index.jsp, use a

Re: Fwd: multiple component jars

2005-09-28 Thread Ed Burns
On Wed, 28 Sep 2005 20:16:57 +0200, Martin Marinschek [EMAIL PROTECTED] said: MM Hmmm, MM I'll try to include Ed on this discussion - wonder what he thinks on this. MM @Ed: We have discussed how your proposed solution to the ordering MM problem of the faces-config.xml files would also solve

Re: Fwd: multiple component jars

2005-09-28 Thread Martin Marinschek
What happens if we (or the user) needs to change the ordering? e.g. myfaces-sandbox.jar needs to make sure that the faces-config.xml of myfaces-tomahawk.jar is parsed first. We probably won't rename tomahawk to aaa_tomahawk ;) regards, Martin On 9/28/05, Ed Burns [EMAIL PROTECTED] wrote: On

Re: inputDate

2005-09-28 Thread Dave
what is the difference between inputDate and inputCalendar? Is the difference: inputDate can have hour/minute/second, but inputCalendar can not?Bruno Aranda [EMAIL PROTECTED] wrote: This is a bug solved after 1.1.0 (MYFACES-601), but it is currentlyfixed in the nightlies.Regards,BrunoWed, 28 Sep

setProperties() method problem

2005-09-28 Thread Eurig Jones
I'm trying to create my own custom tag extending UIComponentTagBase. with a boolean property called whiteOnBottom... m:board whiteOnBottom=true / ...when does the setProperties method actualy get run? How do I update my components value when the property is changed?? Changes to the

Re: Fwd: multiple component jars

2005-09-28 Thread Ed Burns
On Wed, 28 Sep 2005 20:57:34 +0200, Martin Marinschek [EMAIL PROTECTED] said: MM What happens if we (or the user) needs to change the ordering? MM e.g. myfaces-sandbox.jar needs to make sure that the faces-config.xml MM of myfaces-tomahawk.jar is parsed first. MM We probably won't rename

Re: setProperties() method problem

2005-09-28 Thread Dennis Byrne
UIComponentTagBase.setProperties() gives the tag author a chance to set properties of the UIComponent , not the Tag itself. The properties of the tag are set by the web container. Original message Date: Wed, 28 Sep 2005 20:24:30 +0100 From: Eurig Jones [EMAIL PROTECTED] Subject:

Re: Fwd: multiple component jars

2005-09-28 Thread Martin Marinschek
You are right - simple naming rules are great! But RoRs naming rules try to make it simpler for the user - this one makes it more complex, as he has to take care of this ordering. The users won't want to rename the libs to make this work... I have carefully thought about it, and I think we will

Re: Fwd: multiple component jars

2005-09-28 Thread Mike Kienenberger
The problem with something like priority is that it either requires an absolute priority scale, or another configuration file with an option like load-on-startup specified for every jar file used. What really needs to be done is a specification of dependencies. jar A needs to be able to specify

Re: Fwd: multiple component jars

2005-09-28 Thread Craig McClanahan
On 9/28/05, Martin Marinschek [EMAIL PROTECTED] wrote: You are right - simple naming rules are great! But RoRs naming rulestry to make it simpler for the user - this one makes it more complex,as he has to take care of this ordering.The users won't want to rename the libs to make this work... +1.

Re: Fwd: multiple component jars

2005-09-28 Thread Mike Kienenberger
Exactly! I was going to use the MANIFEST Class-Path: attribute as an example in my last message, but I wasn't sure if it was evaluated for any jar other than the original target jar. On 9/28/05, Craig McClanahan [EMAIL PROTECTED] wrote: Some sort of dependency declaration is going to be

RE: Fwd: multiple component jars

2005-09-28 Thread Andrew Robinson
There is always adding another XML config file to WEB-INF using a new XSD for validation. Each element could reference a file in a jar or on the file system relative to the WEB-INF directory. If the container doesn't find this configuration file (with a standard file name, and/or have it as a

Re: Fwd: multiple component jars

2005-09-28 Thread Martin Marinschek
Mike, Craig, that was a solution I thought about as well. But what do you do for the case that the user needs to insert himself somewhere in the middle of this whole dependency pi-pa-po? There was an issue on the MyFaces mailing list were a user needed to get his phase-listener executed right

Re: Fwd: multiple component jars

2005-09-28 Thread Martin Marinschek
Yes, if this was handled, we all would be more than satisfied with the solution ;) regards, Martin P.S.: pi-pa-po = nice German term for something like mess On 9/28/05, Craig McClanahan [EMAIL PROTECTED] wrote: On 9/28/05, Martin Marinschek [EMAIL PROTECTED] wrote: Mike, Craig, that

Re: Fwd: multiple component jars

2005-09-28 Thread Martin Marinschek
P.S.: In any case - Ed's solution is very simple, might find its way even in 1.2, and is a whole lot better than having no possibility at all to get this problem fixed in your webapp! regards, Martin On 9/28/05, Martin Marinschek [EMAIL PROTECTED] wrote: Yes, if this was handled, we all would

inputHtml strange behavior

2005-09-28 Thread Dave
For the MyFaces simple example inputHtml, when I type something in the text area, then click Submit, nothing changes as expected. But when moving mouse over the text area, all the text in the text area willdisappear immediately. Anyone experiencing this issue? I am using nightly build 9/12. Or

Re: Using Javascript to submit a form doesn't work [Problem Solved]

2005-09-28 Thread Paul Klaer
Be careful with that script! Your onsubmit method is executed twice if it will return a value true! You have to use this code: if(document.forms['body:theForm'].onsubmit) { document.forms['body:theForm'].submit(); } else { document.forms['body:theForm'].submit(); } otherwise:

Re: Using Javascript to submit a form doesn't work [Problem Solved]

2005-09-28 Thread Matt Blum
No, it's not. When you invoke the submit method on a form, its onsubmit handler is not executed at all. That's the reason this code is necessary in the first place. -MattOn 9/28/05, Paul Klaer [EMAIL PROTECTED] wrote: Be careful with that script!Your onsubmit method is executed twice if it will

RE: Fwd: multiple component jars

2005-09-28 Thread Jesse Alexander \(KBSA 21\)
-Original Message- In any case - Ed's solution is very simple, might find its way even in 1.2, and is a whole lot better than having no possibility at all to get this problem fixed in your webapp! -/Original Message- a) great to see it already in 1.2 b) easy enough to backport it

Re: if-else

2005-09-28 Thread Andrew robinson
Use facelets. Then you can use the JSTL if choose/when/otherwise tagsOn 9/28/05, Dave [EMAIL PROTECTED] wrote:h:outputTex value=ABC render=#{bean.booleanFunction } / h:outputTex value=EFG render=#{!bean.booleanFunction}/ If JSF supports If-else tags, it wll improve performance, and code

Re: MyFaces 1.1.0

2005-09-28 Thread Matthias Wessendorf
Yes, rss stuff has been removed. That is ok! The problem was using examples of Digester... but they moved it out of the api. I'll give feedparser a try. -Matthias On 9/28/05, Martin Marinschek [EMAIL PROTECTED] wrote: -- Forwarded message -- From: Martin Marinschek [EMAIL

Re: MyFaces 1.1.0

2005-09-28 Thread Matthias Wessendorf
Regarding wml render kit I yesterday contaced Jiri, so I think we both will work that out next week. since there aren't many users out there this seams not be a showstopper However, I think it will be the best, if wml stuff is its own svn subproject. For me WML renderkit makes no sense in

Re: jsCookMenu

2005-09-28 Thread Simon Kitching
Arash Bijanzadeh wrote: I could not figure out what shall I use in the action tag of jscookmenu? I couldn't figure out what nav_page1 or go_page1 means in the config file and the menu handlers! The action string in jscookmenu can be a literal string, in which case you write a navigation rule

  1   2   >