Re: findNestingForm

2006-11-23 Thread Manfred Geiler
Yep, those _ classes where meant as internal classes and never for public API-like use. And if I remember right, they where all package private (you know, those weird classes that lack the access modifier ;-) in the beginning. Didn't realize they have been changed to public... Hmm Of course there

Re: findNestingForm

2006-11-23 Thread Matthias Wessendorf
k lemme work on that (already opend an issue) the pubic in the class was in that particular case the weired thing here for me ;) -M On 11/23/06, Manfred Geiler [EMAIL PROTECTED] wrote: Yep, those _ classes where meant as internal classes and never for public API-like use. And if I remember

Re: findNestingForm

2006-11-22 Thread Matthias Wessendorf
are using RendererUtils. Which sounds to much like a util for a renderer developer :) But on the other hand the findNestingForm is much more related to renderers and if we move only that function away, we have a class with a single method. Also why is the name starting with _ ? Thanks, Matthias

Re: findNestingForm

2006-11-22 Thread Mario Ivankovits
Hi! _ComponentUtils to RendererUtils ? Also why is the name starting with _ ? I think that was to express the fact that this is an internal utils class. Not for public use. You know, one of the major oddities in java, you can't have package and sub-package private methods. Ciao, Mario

Re: findNestingForm

2006-11-22 Thread Matthias Wessendorf
internally for me in that case only means inside the shared; I consider shared as an API so a *user* of shared shouldn't use _XXX -M On 11/22/06, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi! _ComponentUtils to RendererUtils ? Also why is the name starting with _ ? I think that was to

Re: findNestingForm

2006-11-22 Thread Matthias Wessendorf
in myfaces-api we have the same; but nobody outside of myfaces-api uses them ;) so same should be true for shared as well... On 11/22/06, Matthias Wessendorf [EMAIL PROTECTED] wrote: internally for me in that case only means inside the shared; I consider shared as an API so a *user* of

Re: findNestingForm

2006-11-22 Thread Mario Ivankovits
Hi! in myfaces-api we have the same; but nobody outside of myfaces-api uses them ;) so same should be true for shared as well... I think those _ thingies were introduces before the shared comes to live, so thats why we have them all around. If we think this breaks our naming convention we

Re: findNestingForm

2006-11-21 Thread Matthias Wessendorf
, why we have the findNestingForm method twice? with the same logic. I'd like to refactor that, if there is no real reason. -M -- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog: http://jroller.com/page

Re: findNestingForm

2006-11-21 Thread Martin Marinschek
in the _Com.. clazz -M On 11/17/06, Matthias Wessendorf [EMAIL PROTECTED] wrote: is there a reason, why we have the findNestingForm method twice? with the same logic. I'd like to refactor that, if there is no real reason. -M -- Matthias Wessendorf http

Re: findNestingForm

2006-11-19 Thread Martin Marinschek
[EMAIL PROTECTED] wrote: is there a reason, why we have the findNestingForm method twice? with the same logic. I'd like to refactor that, if there is no real reason. -M -- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog: http://jroller.com/page/mwessendorf

Re: findNestingForm

2006-11-19 Thread Matthias Wessendorf
prefer to remove the method in the _Com.. clazz -M On 11/17/06, Matthias Wessendorf [EMAIL PROTECTED] wrote: is there a reason, why we have the findNestingForm method twice? with the same logic. I'd like to refactor that, if there is no real reason. -M -- Matthias

[jira] Created: (MYFACES-1496) findNestingForm implemented twice

2006-11-18 Thread JIRA
findNestingForm implemented twice -- Key: MYFACES-1496 URL: http://issues.apache.org/jira/browse/MYFACES-1496 Project: MyFaces Core Issue Type: Improvement Components: General Affects Versions

Re: findNestingForm

2006-11-18 Thread Matthias Wessendorf
created issue and assigned to me: http://issues.apache.org/jira/browse/MYFACES-1496 I prefer to remove the method in the _Com.. clazz -M On 11/17/06, Matthias Wessendorf [EMAIL PROTECTED] wrote: is there a reason, why we have the findNestingForm method twice? with the same logic. I'd

Re: findNestingForm

2006-11-18 Thread Matthias Wessendorf
://issues.apache.org/jira/browse/MYFACES-1496 I prefer to remove the method in the _Com.. clazz -M On 11/17/06, Matthias Wessendorf [EMAIL PROTECTED] wrote: is there a reason, why we have the findNestingForm method twice? with the same logic. I'd like to refactor that, if there is no real reason. -M

findNestingForm

2006-11-17 Thread Matthias Wessendorf
is there a reason, why we have the findNestingForm method twice? with the same logic. I'd like to refactor that, if there is no real reason. -M -- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com

findNestingForm() : FormInfo (was Re: MyFaces 1.1.4 with Struts-Faces 1.3.5)

2006-09-24 Thread Matthias Wessendorf
Hi devs, since we ran into issues with some FormComponents which *extend* UIForm, but override the Family maybe we should add an instanceof to the findNestingForm() method ? Currently we test if the Form is a member of the following families: javax.faces.Form org.apache.struts.faces.Form

Re: findNestingForm() : FormInfo (was Re: MyFaces 1.1.4 with Struts-Faces 1.3.5)

2006-09-24 Thread Martin Marinschek
True, definitely. Let's do that. regards, Martin On 9/24/06, Matthias Wessendorf [EMAIL PROTECTED] wrote: Hi devs, since we ran into issues with some FormComponents which *extend* UIForm, but override the Family maybe we should add an instanceof to the findNestingForm() method ? Currently

[jira] Created: (MYFACES-1422) findNestingForm() tests only against component family and against instanceof UIForm

2006-09-24 Thread JIRA
findNestingForm() tests only against component family and against instanceof UIForm --- Key: MYFACES-1422 URL: http://issues.apache.org/jira/browse/MYFACES-1422 Project

Re: findNestingForm() : FormInfo (was Re: MyFaces 1.1.4 with Struts-Faces 1.3.5)

2006-09-24 Thread Matthias Wessendorf
maybe we should add an instanceof to the findNestingForm() method ? Currently we test if the Form is a member of the following families: javax.faces.Form org.apache.struts.faces.Form org.apache.myfaces.trinidad.Form oracle.adf.Form The family org.apache.struts.faces.Form I added to day

[jira] Resolved: (MYFACES-1422) findNestingForm() tests only against component family and against instanceof UIForm

2006-09-24 Thread JIRA
[ http://issues.apache.org/jira/browse/MYFACES-1422?page=all ] Matthias Weßendorf resolved MYFACES-1422. - Fix Version/s: 1.1.5-SNAPSHOT Resolution: Fixed fixed in svn findNestingForm() tests only against component family and against