5 Replies Latest reply: Dec 28, 2011 5:57 AM by jobz RSS

    client Id of a component

    jobz
      Hi,

      Please help me, how can I see the client Id created by the ADF runtime in 10.1.2.3

      Regards,

      Joby joseph
        • 1. Re: client Id of a component
          Timo Hahn
          Not sure I understand you question, but try using a tool like firebug (on FF) and inspect the page when you run it.

          Timo
          • 2. Re: client Id of a component
            Abhijit Dutta
            Hi,

            check if this helps

            http://dkleppinger.blogspot.com/2010/12/accessing-adf-components-using-client.html
            http://illegalargumentexception.blogspot.com/2009/02/jsf-working-with-component-ids.html

            ~Abhijit
            • 3. Re: client Id of a component
              jobz
              while running the adf page, a unige id is created for each component in the page. Is there any method to get that id ?

              Like....

              <af:column sortProperty="CustFeedback" sortable="false"
              headerText="Feedback">
              <h:inputHidden value="#{row.CustFeedback}" id="hidenFedbak" />

              </af:column>

              component h:inputHidden is changed to
              <input id="myForm:_id28:0:hidenFedbak" name="myForm:_id28:0:hidenFedbak" value="bsasdjkahdah" type="hidden">

              at the time of running...
              how can I get the value of new ID?
              • 4. Re: client Id of a component
                jobz
                Hi Anijith,

                I tried with the data from the link
                http://illegalargumentexception.blogspot.com/2009/02/jsf-working-with-component-ids.html

                It says the function is not applicable. error in the jspx page itself...

                Another link is for 11g rite.. it is also not possible in my case..
                let me check
                • 5. Re: client Id of a component
                  jobz
                  Hi...


                  Anybody, plz help me to find a solution for the above problem...

                  Help me to find out this...

                  Regards,

                  Joby Joseph