[ 
http://issues.apache.org/jira/browse/MYFACES-1069?page=comments#action_12364460 
] 

Sukhada commented on MYFACES-1069:
----------------------------------

I didn't change anything but put id for the component. In web.xml changed url 
pattern from security/* to /*

<filter>
    <filter-name>MyFacesExtensionsFilter</filter-name>
    
<filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
  </filter>
  <filter-mapping>
    <filter-name>MyFacesExtensionsFilter</filter-name>
    <url-pattern>*.faces</url-pattern>
  </filter-mapping>
  <filter-mapping>
    <filter-name>MyFacesExtensionsFilter</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>


 <t:inputCalendar id="calendar" renderPopupButtonAsImage="true" 
monthYearRowClass="yearMonthHeader" currentDayCellClass="currentDayCell" 
value="#{dateBean.date}"  weekRowClass="weekHeader" renderAsPopup="true" />

thats it. It started working.



> inputCalendar ctl2 has no properties
> ------------------------------------
>
>          Key: MYFACES-1069
>          URL: http://issues.apache.org/jira/browse/MYFACES-1069
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk
>     Versions: 1.1.1
>  Environment: Linux
>     Reporter: Sukhada

>
> I am using security filter,tiles in my project. Page is divided into five 
> parts. I am using tomahawk inputCalendar in one of the part of the page. The 
> page displays the image of the calendar but pop up is not working. I am 
> getting the following javascript error:
> Error: ctl2 has no properties
> Source File: 
> http://localhost:8080/WebModule1/faces/myFacesExtensionResource/calendar.HtmlCalendarRenderer/11302665/popcalendar.js
> Line: 483
> I added the extension filter in the web.xml. I have commons-lang-2.1.jar and 
> tomahawk.jar (1019.8 KB size). I don't undestand what I am missing or doing 
> wrong.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to