I'm proud of your invitation, but unfortunately I haven't got enough time to 
contribute in MyFaces. If I finish this feature, I can commit the code.

Since then I started to add a lazy-evaluation feature to the buffer component. 
(If this feature is turned on, the render of the content of the buffer will 
accour only if the bean specified by the into attribute is currently null.) But 
I faced again the same problem: I can't extend your components, because the 
important functions and fields are defined as private, or visible only from the 
original package. (Specially the buffer.fill() function, and the 
_intoExpression field.) It would be nice, if you could review the visiblity 
settings of the most components - if you have time, of course ;]

Csaba




-----Original Message-----
From: Bruno Aranda [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 19, 2005 2:54 PM
To: MyFaces Discussion
Subject: Re: HtmlDateRenderer method visiblity

Csaba, why don't you modify the current HtmlDateRenderer and enable it
to use the current locale? It would be a nice feature to have in
myfaces...

Regards,

Bruno

2005/7/19, Sebestyén Csaba <[EMAIL PROTECTED]>:
>  
>  
> 
> Hi! 
> 
>   
> 
> I try to extend the inputDalendar to set the order of day, month and year
> fields by the current locale. I extended the
> org.apache.myfaces.custom.date.HtmlDateRenderer class,
> rewrote the encodeEnd() method, but the base rendering methods
> (encodeInput[Day|Month|Year...]) are private, so I can't
> use them. 
> 
> Can you change the visiblity of these methods to protected? 
> 
>   
> 
> (Of course, I can change it in the source on my own. But I want to be
> up-to-date, and use the latest version of MyFaces components.) 
> 
>   
> 
> TYIA, 
> 
>   
> 
> Csaba 
> 
>

Reply via email to