[richfaces-issues] [JBoss JIRA] (RF-13091) Adding Month filter that will change datatable values

Asim Shaikh (JIRA) jira-events at lists.jboss.org
Mon Jul 15 08:36:26 EDT 2013


    [ https://issues.jboss.org/browse/RF-13091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789637#comment-12789637 ] 

Asim Shaikh commented on RF-13091:
----------------------------------

code for YearFiletr

public String showOutputRecords() {
    try {
      this.inputSearch = "";
      this.outputSearch = "";


      Integer sessionFilterYear = this.yearFilter;

      FacesContext facesContext = FacesContext.getCurrentInstance();
      HttpSession session = (HttpSession) facesContext.getExternalContext().getSession(false);

      if (sessionFilterYear != null) {
        session.setAttribute("proyearfilter", sessionFilterYear);
      }

    } catch (Exception e) {
      log.info("Exception in ProMaster:showRecords():" + e.getMessage());
    }
    return "outputClient";
  }
                
> Adding Month filter that will change datatable values
> -----------------------------------------------------
>
>                 Key: RF-13091
>                 URL: https://issues.jboss.org/browse/RF-13091
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: accessibility
>    Affects Versions: 4.1.0.Final
>            Reporter: Asim Shaikh
>              Labels: waiting_on_user
>
> I am trying to Add MOnth filter .I allready have Yearfilter 
> {code}
> <rich:select value="#{proMaster.yearFilter}" id="proMasterselect">
>  <f:selectItems value="#{proMaster.yearDropDown}" />
>  </rich:select>
>  <h:commandButton  value="#{lbl['label.showrecords']}" action="#{proMaster.showOutputRecords}" id="proMastershowrcrd"/>
> {code}
> how can I add Month Filter .I have YearMaster table and YearId in ProMaster 
> I am also having Date column how can I put event filetr

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list