You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by sh...@sms.at on 2005/08/11 14:36:00 UTC

Calendar component

Hello!

I have problems by using the calendar component from my faces. My source
code:

<x:inputCalendar id=3D"calendar" monthYearRowClass=3D"yearMonthHeader"
weekRowClass=3D"weekHeader"
                    currentDayCellClass=3D"currentDayCell"
value=3D"#{ScheduleBean.date}" renderAsPopup=3D"true"/>

If I don't use the renderAsPopup attirbute the calendar works fine. But if I set this attribute true I get an Error on the page. I think it's a java script error.

What make I wrong?

In my web.xml:

<context-param>
        <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
        <param-value>true</param-value>
        
    </context-param>


Maybe this is the reason?

Thanks,
Conny


--
Ein Service von http://www.sms.at


Re: Calendar component

Posted by Martin Marinschek <ma...@gmail.com>.
have you configured the extensions-filter in your web.xml?

regards,

martin

On Thu, 11 Aug 2005 14:36 +0200, shed@sms.at <sh...@sms.at> wrote:
> 
> Hello!
> 
> I have problems by using the calendar component from my faces. My source
> code:
> 
> <x:inputCalendar id=3D"calendar" monthYearRowClass=3D"yearMonthHeader"
> weekRowClass=3D"weekHeader"
> currentDayCellClass=3D"currentDayCell"
> value=3D"#{ScheduleBean.date}" renderAsPopup=3D"true"/>
> 
> If I don't use the renderAsPopup attirbute the calendar works fine. But if 
> I set this attribute true I get an Error on the page. I think it's a java 
> script error.
> 
> What make I wrong?
> 
> In my web.xml:
> 
> <context-param>
> <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
> <param-value>true</param-value>
> 
> </context-param>
> 
> 
> Maybe this is the reason?
> 
> Thanks,
> Conny
> 
> 
> --
> Ein Service von http://www.sms.at
> 
>