Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9236

Re: Description of field value in label

$
0
0

Hi Praveen,

 

if you want to display label and input field using thtmlb this is the procedure.

 

<thtmlb:grid columnSize = "1"

                  rowSize    = "2"

                  width      = "100%" >

       <thtmlb:gridCell columnIndex = "1"

                        rowIndex    = "1"

                        height      = "100%" >

         <thtmlb:grid columnSize = "6"

                      rowSize    = "5"

                      height     = "60%"

                      width      = "100%" >

           <thtmlb:gridCell columnIndex         = "1"

                            rowIndex            = "1"

                            colSpan             = "1"

                            horizontalAlignment = "RIGHT" >

             <thtmlb:label design = "label"

                           id     = "HeaderInput1"

                           for    = "//"

                           text   = "LABLE" />

           </thtmlb:gridCell>

           <thtmlb:gridCell columnIndex = "2"

                            rowIndex    = "1"

                            colSpan     = "5" >

             <thtmlb:inputField id       = "HeaderInput1"

                                value    = "<%= gv_lable %>"

                                width    = "100%"

                                disabled = "true" />

           </thtmlb:gridCell>

</thtmlb:grid>

 

what my Suggestion is in your case dont fallow thtmlb coding.

just add attribute under context node and move that field from available to display in getter method

fetch the description based on code.

 

Creating a Custom field and display it in a table view

 

in the above link i have added value attribute under context node fallow the same and display that attribute in getter write your own logic.

 

Thanks & Regards,

Srinivas.


Viewing all articles
Browse latest Browse all 9236

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>