[richfaces-issues] [JBoss JIRA] Created: (RF-8273) calendar: day cell content has the same id for all the days

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Tue Jan 19 09:08:47 EST 2010


calendar: day cell content has the same id for all the days
-----------------------------------------------------------

                 Key: RF-8273
                 URL: https://jira.jboss.org/jira/browse/RF-8273
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 3.3.3.BETA1
            Reporter: Ilya Shaikovsky
            Assignee: Nick Belaevski


Proposed to fix in 3.3.3 in order to avid possible cross-browsers problems. 

 <a4j:outputPanel layout="block" id="cell" onclick="#{rich:component('organizer')}.resetSelectedDate()" style="height: 100%;">
                <h:panelGrid columns="1" width="100%">
                    <h:outputText value="{day}" style="align:center"/>
                    <h:outputText value="{data.shortDescription.escapeHTML()}"/>
                    <h:outputText value="{data.description.escapeHTML()}"/>
                </h:panelGrid>
            </a4j:outputPanel>
inside the rich calendar defines markup for the day. So this components encoded once as template for the day. And all the day cells in the result constructed from the tamplate are div's with the same id.

Proposed to add month and day to id in order it to became like form:cell:month_day

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

        


More information about the richfaces-issues mailing list