MyFaces-API issue: getValue of UIInput

2007-03-01 Thread Martin Marinschek
Wanted to discuss a small thing with you: UIOutput currently has the following code: public Object getValue() { if (_value != null) return _value; ValueBinding vb = getValueBinding(value); return vb != null ? (Object)vb.getValue(getFacesContext()) : null;

Re: MyFaces Fusion Documentation

2007-03-01 Thread Werner Punz
Mario Ivankovits schrieb: Hi! I've started the documentation by creating two xdoc files in myfaces/fusion/core/src/site, now when I run mvn site from within myfaces/fusion it creates a site, but only a handful of pages in core/target/site and they do not use our stylesheet. Now: *)

Re: MyFaces-API issue: getValue of UIInput

2007-03-01 Thread Cagatay Civici
Hi Martin, I just tried the scenario but couldn't reproduce it. Shouldn't the second step be; 2) conversion and validation phase: -- setValue(); isLocalValueSet = true; setSubmittedValue(null); An empty string instead of null is set by setValue(), so the local value becomes , preventing the

Re: MyFaces-API issue: getValue of UIInput

2007-03-01 Thread Martin Marinschek
that entirely depends on the converter! If the converter sets a 'null' as the local-value (which is the only choice if the date-type is not a string), we are having a problem. regards, Martin On 3/1/07, Cagatay Civici [EMAIL PROTECTED] wrote: Hi Martin, I just tried the scenario but couldn't

[jira] Commented: (MYFACES-1549) MyFaces-API issue: getValue of UIInput

2007-03-01 Thread Martin Marinschek (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476879 ] Martin Marinschek commented on MYFACES-1549: I added the value in UIInput to the

[jira] Commented: (MYFACES-1549) MyFaces-API issue: getValue of UIInput

2007-03-01 Thread Martin Marinschek (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476878 ] Martin Marinschek commented on MYFACES-1549: I had to change a bit more, cause the value field is

[jira] Resolved: (MYFACES-1549) MyFaces-API issue: getValue of UIInput

2007-03-01 Thread Martin Marinschek (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Marinschek resolved MYFACES-1549. Resolution: Fixed MyFaces-API issue: getValue of UIInput

[jira] Created: (MYFACES-1549) MyFaces-API issue: getValue of UIInput

2007-03-01 Thread Martin Marinschek (JIRA)
MyFaces-API issue: getValue of UIInput -- Key: MYFACES-1549 URL: https://issues.apache.org/jira/browse/MYFACES-1549 Project: MyFaces Core Issue Type: Bug Components: JSR-127 Affects

[jira] Updated: (MYFACES-1548) UIComponent State change if getValueBinding() is called.

2007-03-01 Thread Martin Haimberger (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-1548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Haimberger updated MYFACES-1548: --- Status: Patch Available (was: Open) UIComponent State change if

[jira] Updated: (MYFACES-1548) UIComponent State change if getValueBinding() is called.

2007-03-01 Thread Martin Haimberger (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-1548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Haimberger updated MYFACES-1548: --- Status: Open (was: Patch Available) UIComponent State change if

[jira] Commented: (TOBAGO-286) target and tip attributes for tc:menuitem and tc:tree nodes

2007-03-01 Thread Guido Dubois (JIRA)
[ https://issues.apache.org/jira/browse/TOBAGO-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476899 ] Guido Dubois commented on TOBAGO-286: - That's it! Thanks... target and tip attributes for tc:menuitem and

[jira] Commented: (MYFACES-1531) Incorrect handling of FacesContext

2007-03-01 Thread David Moss (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-1531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476904 ] David Moss commented on MYFACES-1531: - FWIW - I had exactly this problem, until I realised that I hadn't

Re: MyFaces-API issue: getValue of UIInput

2007-03-01 Thread Cagatay Civici
I think using a converter can cause this issue, here's the code from UIInput public void validate(FacesContext context) { if (context == null) throw new NullPointerException(context); Object submittedValue = getSubmittedValue(); if (submittedValue == null) return;

Re: MyFaces-API issue: getValue of UIInput

2007-03-01 Thread Martin Marinschek
Yeah, exactly. Did you read my mail from before? Plus my new issue-evaluation? regards, Martin On 3/1/07, Cagatay Civici [EMAIL PROTECTED] wrote: I think using a converter can cause this issue, here's the code from UIInput public void validate(FacesContext context) { if (context

[jira] Commented: (TOBAGO-308) Tree Rendering Only Root Node

2007-03-01 Thread Udo Schnurpfeil (JIRA)
[ https://issues.apache.org/jira/browse/TOBAGO-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476958 ] Udo Schnurpfeil commented on TOBAGO-308: Does the tree in the tobago-example-demo working on your system? On

Re: MyFaces-API issue: getValue of UIInput

2007-03-01 Thread Mike Kienenberger
What's the spec say about UIInput's getValue()? If it's silent, I'd say your solution makes sense. On 3/1/07, Martin Marinschek [EMAIL PROTECTED] wrote: Wanted to discuss a small thing with you: UIOutput currently has the following code: public Object getValue() { if

RE: MyFaces Fusion Naming

2007-03-01 Thread Kito D. Mann
Just out of curiosity, why is this part of MyFaces as opposed to Shale. It sounds more like something that belongs there... ~~~ Kito D. Mann - Author, JavaServer Faces in Action http://www.JSFCentral.com - JavaServer Faces FAQ, news,

MyFaces interview

2007-03-01 Thread Kito D. Mann
Hello everyone, I'd like to conduct a new e-mail interview with one or two people from the MyFaces Core team. The last one was in 2004 (http://www.jsfcentral.com/articles/geiler-04-04.html), and at that time, it made sense to interview Manfred, since he is the founder and was very heavily

Re: MyFaces Fusion Naming

2007-03-01 Thread Mario Ivankovits
Hi ! Just out of curiosity, why is this part of MyFaces as opposed to Shale. It sounds more like something that belongs there... We developed it under the MyFaces umbrella during the last months, we started with a tag base way until we reached the spring based solution we have now. So, thats

[jira] Created: (MYFACES-1551) UIViewRoot.getPhaseListeners() must not be generated

2007-03-01 Thread Mathias Broekelmann (JIRA)
UIViewRoot.getPhaseListeners() must not be generated Key: MYFACES-1551 URL: https://issues.apache.org/jira/browse/MYFACES-1551 Project: MyFaces Core Issue Type: Bug Components:

[jira] Created: (MYFACES-1550) generated MyFaces id's produce duplicates which throw exceptions in container, rendering existing apps unusable

2007-03-01 Thread Lisa Sanchez (JIRA)
generated MyFaces id's produce duplicates which throw exceptions in container, rendering existing apps unusable --- Key: MYFACES-1550 URL:

Re: @PreDestroy, Servlet API,

2007-03-01 Thread Paul McMahan
OK, I think your interpretation of the spec makes sense and there's one particular aspect we should discuss a little further. The container doesn't know which classes are managed beans so it wouldn't know when to intercept the instantiation process to perform injection. What would you all think

Re: MyFaces Fusion Naming

2007-03-01 Thread Mike Kienenberger
Might be significant that two people have asked this question so far :-) On 3/1/07, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi ! Just out of curiosity, why is this part of MyFaces as opposed to Shale. It sounds more like something that belongs there... We developed it under the MyFaces

Re: MyFaces-API issue: getValue of UIInput

2007-03-01 Thread Mike Kienenberger
In this case, I'd strongly recommend that you run this by the spec folks. If nothing else, we should get a clarification for the next revision. On 3/1/07, Martin Marinschek [EMAIL PROTECTED] wrote: I didn't find anything in the spec. JavaDoc of getValue in UIOutput says: Gets the value of

Re: MyFaces Fusion Naming

2007-03-01 Thread Arash Rajaeeyan
and may be thats because shale has chosen a different approach? On 3/2/07, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi ! Just out of curiosity, why is this part of MyFaces as opposed to Shale. It sounds more like something that belongs there... We developed it under the MyFaces umbrella