How this piece of html code is encoded from commandLink?Help!

Hi, this is the jsf code:
<h:panelGrid columns="1">
                     <h:dataTable value="#{temp.nameFile}" var="myL"
                         rendered="#{temp.show1}">
                         <h:column>
                              <h:commandLink actionListener="#{temp.create}" value="#{myL.name}"
                                   immediate="true">
                                   <f:param name="name" value="#{myL.name}" />
                                   <f:param name="path" value="#{myL.path}" />
                              </h:commandLink>
                         </h:column>
                    </h:dataTable>
               </h:panelGrid>And this is the html code it generates:
<table>
     <tbody>
          <tr>
               <td>
               <table>
                    <tbody>
                         <tr>
                              <td><a href="#"
                                   onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id2:0:_id4';
                                                         document.forms['_id0']['name'].value='ISO-3166';
                                                         document.forms['_id0']['path'].value='D:/Tomcat5.0/webapps/test/WEB-INF/iso3166.xml';
                                                         document.forms['_id0'].submit(); return false;">ISO-3166</a></td>
                         </tr>
                         <tr>
                              <td><a href="#"
                                   onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id2:1:_id4';
                                                          document.forms['_id0']['name'].value='NAICS';
                                                          document.forms['_id0']['path'].value='D:/Tomcat5.0/webapps/test/WEB-INF/naics.xml';
                                                          document.forms['_id0'].submit(); return false;">NAICS</a></td>
                         </tr>
                         <tr>
                              <td><a href="#"
                                   onclick="document.forms['_id0']['_id0:_idcl'].value='_id0:_id2:2:_id4';
                                                         document.forms['_id0']['name'].value='UNSPSC';
                                                         document.forms['_id0']['path'].value='D:/Tomcat5.0/webapps/test/WEB-INF/unspsc.xml';
                                                         document.forms['_id0'].submit(); return false;">UNSPSC</a></td>
                         </tr>
                    </tbody>
               </table>
               </td>
          </tr>
     </tbody>
</table>there is a line of html code like this:
document.forms['_id0']['_id0:_idcl'].value='_id0:_id2:1:_id4';I know that "_id0" is the form ID, and "_id0:_idcl" is the clientID,but what is the value part "_id0:_id2:1:_id4" and what is the meaning of each part?I am writing my custom renderer, so i need to know how it is encoded,please help:)
Best Regards:)
Robin

_id0 - id of the form
_id2 - id of the datatable
1 - row index
_id4 - id of the commandlink                                                                                                                                                                                       

Similar Messages

  • How can I write HTML code in this forums

    Sorry but I didn't know where to post this thread.....
    How can I write HTML code in this forums?

    Hello,
    Every piece of code in your post should be wrapped with the forum tags [ code] and [ /code], without the blanks.
    In case of the &lt;a> tag, that is not enough. In this case, you have several options. The most elegant one is to use the entity name for the less-then sign - & lt; - without any spaces. Other options is to add a space between the less-then and the ‘a’ character (and make a note of it) or change the less-then character with a left bracket one.
    When posting code, you should always use the forum preview option, just to make sure the forum software “understood” your code correctly.
    Hope this helps,
    Arie.

  • How do i add html code to my muse site? I want pintrest to verify my site.

    how do i add html code to my muse site? I want pintrest to verify my site.

    Hi,
    There are multiple ways in which you can add the HTML code to your site. Few methods are :-
    1) Copy your HTML code, In Muse -> Select Objects-> Insert HTML . Paste your HTML code on the page.  Please reer to this screenshot :- http://prntscr.com/52vprn
    2) If you want to add the HTML code in the Head section of your page, Go to Page Properties-> Metadata-> HTML for <Head> .    Please refer to this screenshot :- http://prntscr.com/52vpx5
    Hope this helps
    Regards,
    Rohit Nair

  • How to clean the html code multiple pages simultaneously with Dreamweaver or other soft ?

    hello,
    How to clean the html code multiple pages simultaneously with Dreamweaver or other soft ? I have hundreds of pages to clean
    Thanks !

    I would start afresh. I would also use Dreamweaver's template system to make thing a lot easier. Have a look at the following, copy and paste into a new document and view in your favourite browser.
    <!doctype html>
    <html>
    <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css" />
    <script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
    <script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
    <style>
    .hline {
        background: url(http://yannick.michelat.free.fr/barre.gif);
        height: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
    </style>
    </head>
    <body>
    <div class="container">
        <div class="row">
            <div class="col-xs-7">
                <img alt="" class="img-responsive pull-right" style="margin-top:20px;" src="http://yannick.michelat.free.fr/Calanques.gif" />
            </div>
            <div class="col-xs-5">
                <img alt="" class="img-responsive center-block" style="margin-top: 40px;" src="http://yannick.michelat.free.fr/grandportfolio.gif" />
            </div>
        </div>
        <div class="row hline"></div>
        <div class="row">
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-01.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-02.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-03.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-04.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-05.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-06.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-07.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-08.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-09.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-10.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-11.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-12.jpg" alt="" class="img-responsive"></a></div>
        </div>
        <div class="row hline"></div>
    </div>
    </body>
    </html>

  • How to import my html code in to portal?

    hi all,
    I have got designed all my htmls pages from a web designer now how can i put all this html code in to portal package without a long by line cut and paste from html in to pl/sql??please suggest as i have around 60 odd htmls pages and badly need a direct way to import all these to pl/sql pakage into portal
    thanx in advance
    anurag

    I have tried the above mentioned solutions but it only adds a link to the html page and the full page.The tutorial says add a perspective and add a file item to it(ur html page) and then publish that perpective as portlet.So i did it that way but first i couldn't get the genereated code for the portlet and then felt even if i would have get the page there would have been just a link to html page and not the page it self??please suggest a solution for this as I have around 60 html pages with vey complex designs so line by line code cut/paste gonna be avery time consuming/complex option.
    null

  • How to display some html code in the front panel

    Hello.
    I am trying to properly display a few lines of html code in some kind of indicator on my front panel.
    I was trying to use an ActiveX container with MS IE in it, but all the methods I find are to make it navigate to a given URL. I did not find any method or property by which I could give it some html code and it would display it.
    Anybody know of a way to do this? It does not have to be using ActiveX or MS IE.
    Thanks in advance,
    Alejandro

    Here is a simple way using the activeX that I have embedded in some programs in the past. You will have to call the file path to show the file.
    Hope this helps some.
    -Dave
    Attachments:
    HTML Window.vi ‏36 KB

  • How to get embedded HTML code of slideshow created with photoshop elements 8?????

    How do I get the EMBEDDED HTML CODE after creating a SLIDE SHOW using Photoshop Elements 8?????

    You're welcome. How about awarding them duke stars?
    edit: cheers!

  • How to read the HTML code from a webpage

    Hi, I want to be able to read the HTML code of a web page
    In order to extract some info from some pages.
    How can I do that?
    is it using cl_http_client ? I played with that class a bit, but wih no sucess to what I need...

    Hi RagnaRock,
    You can use the following form, hope it helps you.
    Regards,
    Ozcan.
    form get_data_from_url using iv_url type clike changing iv_data type string.
    DATA: HTTP_CLIENT TYPE REF TO IF_HTTP_CLIENT .
      clear  iv_data.
      CALL METHOD CL_HTTP_CLIENT=>CREATE_BY_URL
           EXPORTING
            URL                = IV_URL
    *          PROXY_HOST         = '10.1.1.1'
    *          PROXY_SERVICE      = '1234'
    *       SSL_ID             =
           IMPORTING
             CLIENT             = HTTP_CLIENT
           EXCEPTIONS
             ARGUMENT_NOT_FOUND = 1
             PLUGIN_NOT_ACTIVE  = 2
             INTERNAL_ERROR     = 3
             OTHERS             = 4.
      CHECK SY-SUBRC = 0.
      CALL METHOD HTTP_CLIENT->SEND
        EXCEPTIONS
          HTTP_COMMUNICATION_FAILURE = 1
          HTTP_INVALID_STATE         = 2.
      CHECK SY-SUBRC = 0.
      CALL METHOD HTTP_CLIENT->RECEIVE
        EXCEPTIONS
          HTTP_COMMUNICATION_FAILURE = 1
          HTTP_INVALID_STATE         = 2
          HTTP_PROCESSING_FAILED     = 3.
      CHECK SY-SUBRC = 0.
      iv_data = HTTP_CLIENT->RESPONSE->GET_CDATA( ).
    endform.                    "get_data_from_url
    Edited by: Ozcan Gurdal on Aug 11, 2010 4:07 PM

  • How to use h:message to display HTML code in message from property file

    I am using <h:message for="somecomponentid"/> to display the error message for a validator attached to a component and the error message which resides in message property file contains HTML elements like <br> and
    The HTML doesnt get displayed properly and the code <br> etc is displayed instead.
    Is there a method to get h:message to display HTML elements correcly.
    [I know there is an h:outputFormat which has an escape parameter to allow HTML to be rendered correcly but it has no for parameter to specify the component id whose validation error message I want to display]
    eg.
    <h:message for="somecomponentid"/>
    to display from errormessages.properties
    com.somecompany.thevalidationerrormessage=You have an error<br> Please click here to return to homepage

    Hello Ivan,
    Fortunately I have just recently found a solution to my problem by using code by a developer who had already had this problem in the past and who provided a patch on the Apache MyFaces jira site.
    See following link for the solution I downloaded and then used :
    http://issues.apache.org/jira/browse/MYFACES-155
    I believe they are intending to eventually release this in a future release of MyFaces extensions on this site.
    I used the escape attribute on the tag to allow 'escaped' html code in error messages to be used.
    Hope it solves your problem too..
    Suhel

  • How to take away html codes

    Hi Everyone,
    i am now currently doing a project and my part is to do fourm, i just want to ask abt this problem:
    If i post a new topic and i enter in html codes that will be very dangerous. So is there anyway to remove the htm codes when i post the new topic? Pls reply asap.
    Thank you.

    To keep the html as a part of the post:
    Parse the posted string and replace all < with &lt;, > with &gt; and & with &amp;
    To complete remove it from the post:
    This part is a litlle more tricky only using string parsing. But the basic algorithm is to find the first tag and last tag and remove the tag including the content (or keep the content?).

  • How can i obtain HTML code

    Hi,
    I need obtain the source code of one webpage (the page is http://www.banxico.org.mx/tipcamb/tipCamIHAction.do).
    Until now, i obtained the source code of pages with the function module SCMS_HTTP_GET_WITH_URL, but this page return the code 404 (Not found). The esception is: Access error HTTP: IF_HTTP_CLIENT->RECEIVE 1 ICM_HTTP_CONNECTION_FAILED
    How can i obtain the source code of this page? Exists other function module o class for this?
    Best regards and, thanks!

    amy be
    1. the site was down when you called.
    2. your ICM was down.
    3. some authentication is required from your environment to call internet (proxy) which is missing in your call.
    Exists other function module o class for this?
    you can use cl_http_client class for the same

  • How can I view html codes ?

    I have some text and images composed in a yahoo group.  I need to cut and paste it into an html box on MYSPACE.  I've already tried checking Yahoo's "View html Source" box.  Nothing appears.  I also tried clicking on my imac "View Source" in the tool bar, pasted the code into the html box but only got code, not text and images. 
    Is this something that can't be done unless you are an html code wiz?

    I don't use Myspace, but if you're given an HTML box to fill in, it will almost certainly show as code until you submit it, and then, if the code is correct, it should display your layout correctly as text and images on the new page.
    Note that images may not transfer correctly unless their source tags contain absolute references - eg "http://yahoo.com/images/myimage1.jpg" should be fine, but "../images/image1.jpg" will not work.
    Matt

  • How to shorten the HTML code name when it's a hyperlink?

    Hi there,
    I'm trying to make all of my hyperlink html codes short and to the point. If you go to one of my site pages http://tinyurl.com/pj5rqz then roll your curser over the Download PDF and then roll it over the pictures them selves. You'll see that there is redundancy in the names and their all different. I'd like the code to simply read Best of Flowers 2. Is that possible? What do I need to do?
    Thanks.

    Hi RagnaRock,
    You can use the following form, hope it helps you.
    Regards,
    Ozcan.
    form get_data_from_url using iv_url type clike changing iv_data type string.
    DATA: HTTP_CLIENT TYPE REF TO IF_HTTP_CLIENT .
      clear  iv_data.
      CALL METHOD CL_HTTP_CLIENT=>CREATE_BY_URL
           EXPORTING
            URL                = IV_URL
    *          PROXY_HOST         = '10.1.1.1'
    *          PROXY_SERVICE      = '1234'
    *       SSL_ID             =
           IMPORTING
             CLIENT             = HTTP_CLIENT
           EXCEPTIONS
             ARGUMENT_NOT_FOUND = 1
             PLUGIN_NOT_ACTIVE  = 2
             INTERNAL_ERROR     = 3
             OTHERS             = 4.
      CHECK SY-SUBRC = 0.
      CALL METHOD HTTP_CLIENT->SEND
        EXCEPTIONS
          HTTP_COMMUNICATION_FAILURE = 1
          HTTP_INVALID_STATE         = 2.
      CHECK SY-SUBRC = 0.
      CALL METHOD HTTP_CLIENT->RECEIVE
        EXCEPTIONS
          HTTP_COMMUNICATION_FAILURE = 1
          HTTP_INVALID_STATE         = 2
          HTTP_PROCESSING_FAILED     = 3.
      CHECK SY-SUBRC = 0.
      iv_data = HTTP_CLIENT->RESPONSE->GET_CDATA( ).
    endform.                    "get_data_from_url
    Edited by: Ozcan Gurdal on Aug 11, 2010 4:07 PM

  • How can I edit HTML code that was previously inserted?

    Inserting HTML code is easy enough - Object -> Insert HTML...
    But editing the code does not seem possible. It seems that it's necessary to delete the HTML object and reinsert it to make a change. What am I missing?

    Right click. I'm on my phone, but an option like "Edit HTML..." should be among the choices when an HTML embed object is selected.

  • It is possible to insert a html code in iWeb?? help please!!

    Hi there, and thanks for helping me!
    I have a question. I am new to iWeb, and  I am making my first website with Adobe Dreamweaver CS5. I have the HTML, CSS code ready to be uploaded to the web. So I wonder if it is possible to insert my HTML and CSS code in iWeb so I can publish it? I mean, my code in Dreamweaver is ready to be publish, so I want to put the code in iWeb and then publish it with all HTML, CSS and Javascript code. Thanks!

    You might be able to reuse some of your html in iWeb with the HTML-snippet:
    Whenever I need to do something tricky in iWeb I insert a HTML-snippet from the drop down insert menu -> widgets  (or the Media Browser Widgets palette), adjust its size and paste the HTML code into the snippet.
    You will not be able to recreate a complete page this way, but you might be able to save some  preformatted parts of your page, like elaborate tables and groups of pictures.

Maybe you are looking for

  • Text Wrap doesn't apply

    I brought in a photo and applied text wrap to it (wrap bounding box; wrap to both left and right) and it had no effect when I applied it to the text. I tried the text wrap command on another document and it worked fine. Any ideas what is happening? T

  • Error message when opening Mail

    I did a routine software update. Now receive error message: " You can't use this version of Mail with this version of Mac OS X" You have Mail version 4.3 (1081/1082). It can't be used on Mac OS X Version 10.6.6 (Build 10J567). For more information, c

  • How to restore ipad

    I do the upgrade 5.0 All photo and data in ipad is gone. Can it be Restore ? I open the mobilesync and I find bund of code file  ,but  i could not restore back ? The photo i need it back urgently. What can i do and can it restore back Thanks! Delon.

  • How do I get Microsoft to stop sending me emails? I'm afraid of contracting a virus...

    How do I get Microsoft to stop sending me emails?   I'm afraid of contracting a virus...

  • Adding Project Type as a charecteristic in Drilldown reports

    Hello SAP PS gurus's, Can anyone advise how a Project Type field can be added to the characteristic list in the CJE1 (create report) Hoping for input Regards, Pradeep Palli. Edited by: PRADEEP PALLI on Mar 31, 2009 3:37 AM