Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13144

Hello I have Rich :calender componemt Now I want to use it as input and call DataTable values from Table I am trying this but wont look like work

    Details

    • Type: Feature Request
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: base functionality
    • Labels:
      None

      Description

      this is my code in

      <rich:calendar value="#{eventMaster.eventDate}"
                     popup="#{eventMaster.popup}"
                     datePattern="#{eventMaster.pattern}"
                     showApplyButton="#{eventMaster.showApply}"
                     cellWidth="24px"
                     cellHeight="22px"
                     style="width:200px"
                     disabled="#{eventMaster.disabled or eventMaster.viewMode}">
      </rich:calendar>
      <h:commandButton  value="#{lbl['label.search']}" 
                        action="#{eventMaster.searchOutputScreenRecords}" 
                        id="evntrtys99rchhh"/>
      

      now i wanted to call a action which will Search my Database(MySql) and display the records of selectedDate I ma calling it on commandbutton .I also write query above commandbutton works for h:inputText .Please help me in this regard

      My Bean----

      public Date getEventDate() {
          return eventDate;
        }
      
        public void setEventDate(Date eventDate) {
          this.eventDate = eventDate;
        }
      
      Action-------
      
      public String searchOutputScreenRecords() {
          this.searchVariableAvailable = true;
          EventMasterOps opsObj = new EventMasterOps();
          if (this.outputSearch != null) {
              this.outputList = opsObj.searchRecordsInDatabase(this.outputSearch, ConstantsUtility.searchOutputForm);
      
              if (this.outputList == null) {
                  this.massage = "No Search Record is found.";
              }
          }
      }
      

      In this method this.outputList = opsObj.searchRecordsInDatabase(this.outputSearch, ConstantsUtility.searchOutputForm); I have write my query to find search inputs

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lfryc Lukáš Fryč
                Reporter:
                asimshaikh1 Asim Shaikh
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: