To check the checkbox dynamically used in thmlb tag

Hi all,
I am new to crm 2007,
  I have added a thtmlb tab to create a checkbox. I am able to get checkbox event to get value of the check box and process. But when reopen the  view the check box should be checked  dynamically depending on the conditions.
               how to make a check box checked dynamically.
Thanks
Hema

Hi john,
I have table control with fore fileds like this..
'text box'-------'get button'.
chkbox---item-material---qty
box1--1abcde--
10
box2--2xyhnb--
20
Nothing is allow input value except chkbox.
Values are coming by one text box above this table.
Text box allow input value..
if i click box1 ...that row will be selected and it takes to second screen.....
But this box is not allowing to check...
kaki
Message was edited by: Kaki R
Message was edited by: Kaki R

Similar Messages

  • Populate the selectOneListbox Dynamically using Query.. Frank plz check

    Hi,
    I am using JDeveloper 11G
    How Can I populate the selectOneListbox Dynamically using Query in Jsp pages...
    Kindly let me know...
    Thanks in advance
    Jithesh

    try this,
    public SelectItem[] getSelectOneList() {
    DCIteratorBinding testListIter1 = getItrtBindings("ViewObj1Iterator");
    ViewObject vo1 = testListIter1.getViewObject();
    //vo1.setNamedWhereClauseParam("id", someid);
    vo1.executeQuery();
    DCIteratorBinding iter= getItrtBindings("ViewObj1Iterator");
    int startIdx = iter.getRangeSize();
    iter.setRangeSize(-1);
    Row[] rows = iter.getAllRowsInRange();
    SelectItem[] selectOneList = new SelectItem[rows.length];
    SelectItem item = null;
    if(rows != null && rows.length > 0){
    for(int i=0; i<rows.length; i++){
    Row r = rows;
    String attribute = r.getAttribute("FunctName").toString();
    String label = r.getAttribute("FunctName").toString();
    item = new SelectItem();
    item.setValue(attribute);
    item.setLabel(label);
    selectOneList[i] = item;
    iter.setRangeSize(startIdx);
    return selectOneList;

  • Disabling input text component on checking the checkbox

    Hi,
    I have created INPUT TEXT and CHECKBOX dynamically by the following code.
    List<UIComponent> children;
    children = pgl.getChildren();
    RichPanelGroupLayout pgll;
    pgll = new RichPanelGroupLayout();
    pgll.setLayout("horizontal");
    List<UIComponent> children1;
    children1 = pgll.getChildren();
    RichInputText it;
    it = new RichInputText();
    UIComponent cb = new RichSelectBooleanCheckbox();
    children1.add(it);
    children1.add(cb);
    children.add(pgll);
    Now on checking the checkbox i shud disable the inputtext box.. can someone help me out in getting it?

    In the valueChangeListener of the checkbox, set the disable propoerty of the input box to true and call the partial trigger on the input box using AdfFacesContext.addpartialTarget("idoftheinputbox"). Also set the partial submit of the checkbox to true.

  • How to check the user is using mobile to browse my website??

    Dear all,
    i am new in Java.Pls help!!i want to check the user is use what tools to browse my website...i mean if the user is using mobile to vist my website(eg:http://www.abc.com), it will rediect the mobile user to a webpage only for mobile user,otherwise,it will redirect to normal page for normal user(use browser such as ie,netscape)...
    how to do it? which function did i use?please give me some tips!!!
    Java baby , Frankie

    Check the User-Agent header of your request. Most phones will identify themselves through it.

  • Is it possible to check the list of used password for my apple account?, Is it possible to check the list of used password for my apple account?

    Is it possible to check the list of used password for my apple account?, Is it possible to check the list of used password for my apple account?

    No Alvin I'm sorry but you can't access a list of used passwords for an Apple ID (or any account for that matter) as it would be consider a security flaw

  • How to check the checkboxes that are dynamically displayed in the browser

    Hi
    Here the requirement is ,I am dynamically diaplaying the text boxes based on the data captured from the database.Here depending upon the number characters in Database,related that much of checkboxes will display.How can i provide Javascript client event handling in this without knowing the checkbox ID'.
    Needs urgent reply,
    Regards
    Usman

    code to check all check boxes in a page.
    <body>
    <SCRIPT language=JavaScript>
    function doCheckAll()
      with (document.dam) {
        for (var i=0; i < elements.length; i++) {
            if (elements<i>.type == 'checkbox' )
               elements<i>.checked = true;
    </SCRIPT>
    <FORM  name=dam>
    <INPUT  type=checkbox value=1>
    <INPUT  type=checkbox value=2>
    <INPUT  type=checkbox value=3> <br>
    <INPUT  type=checkbox value=4>
    <INPUT  type=checkbox value=5>
    <INPUT  type=checkbox value=6> <br>
    <INPUT  type=checkbox value=7>
    <INPUT  type=checkbox value=8>
    <INPUT  type=checkbox value=9> <br>
    <INPUT onclick=doCheckAll() type=button value="Check all">
    <INPUT type=reset value="Reset">
    </FORM >
    </body>
    How you are generating check boxes? if you are generating checkboxes then you would also be generating ids for them. why cant you use them?
    Regards
    Raja

  • How to check the database connection using OCI

    I am working on enhhancement of very old application developed using C and OCI. It has a background process which acts as a middleware for interaction of any other front end process with oracle database. Any processes, which needs to interact with database sends a request to background peocess and then it will execute a call to execute the stored procedures for performing requested operation (like select, update, insert) on table and will send the result back to respective process. So this process has to be always running in background and connected to branch database.
    If branch database gets restarted or connection gets dropped due to some ad-hoc problem then the background process also has to be restarted manually. Because this process establishes the connection to branch database only once on start up and it does not have the intelligence to reconnect automatically in such scenario.
    I am looking forward to build the intelligence in this process to automatically reconnect if connection with branch database is lost. But I am not familer with OCI, and I am not sure if there is any OCI call which can determine if my earlier connection is still available. Can any one please tell me if there is any other way to check the connection other than the execution of dummy query, then check if it gets executed properly and then do the actual query.
    Thanks in advance,
    Deeapk

    Hi,
    If you are reworking the application can you not build in the functionality to re-establish a connection if there is a failure? That is, a submission from the application server to the database server detects a failure, etc. and then re-establishes the connection. If you need a more frequent check than during a user-initiated roundtrip, you may be best served by using the "dummy query" technique on some time interval.
    From my understanding using HA Event Notification would require a RAC database (plus a multi-threaded application and services correctly configured on the RAC-side).
    In the documentation I see this:
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14250/oci09adv.htm#sthref1495
    "Applications must connect to a RAC instance to enable HA event notification."
    In any case, this has the potential to be a bit complicated...
    Regards,
    Mark

  • How to check the customer class using CRM_PRICING_BADI...

    Hello Experts,
    I am using the said BADI in transaction CRMD_ORDER to check the
    customer class and condition exclusion. What data do I need to use and pass?
    Sorry since I am fairly new to CRM module.Hope you can help me guys.Thank you and take care!

    No answer...

  • HOW TO CHECK THE CHECKBOX VALUE WITH SQLCE DATABASE

    Hai All,
       Good Day! I am using VB in Visual Studio 2008. I have a form with check boxes and one button control. If i selected the check box and then click the button, check the database table field and check box text are equal. if both are equal then
    how to check?
     I have tried it. The code is:
    Public Class Form1
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Dim conn As New SqlCeConnection
    Dim cmd As New SqlCeCommand
    conn.ConnectionString = "DataSource = E:\Vbprojectex\WindowsApplication3\WindowsApplication3\Database1.sdf"
    Try
    cmd.Connection = conn
    conn.Open()
    If CheckBox1.CheckState = 1 Then
    cmd.CommandText = "SELECT Aerator FROM ttabpagelist where Aerator = CheckBox1.Text"
    TextBox1.Text = 1
    End If
    cmd.ExecuteNonQuery()
    Finally
    conn.Close()
    End Try
    End Sub
    End Class
    Thanks & Regards Sasi ................. Go Green

    probably something like (ofc below will never give result since Aerator can't have 2 values, you will have to adjust the second check box column obviously)
    Try
    cmd.Connection = conn
    conn.Open()
    dim strsql as string = "= "SELECT Aerator FROM ttabpagelist "
    Dim whereConcatenator As String = " WHERE "
    Dim Wherestatement As String = String.Empty
    If checkbox1.checked = True Then
    Wherestatement += whereConcatenator
    Wherestatement += "Aerator = " & checkbox1.Text
    whereConcatenator = " AND "
    End If
    If checkbox2.checked = True Then
    Wherestatement += whereConcatenator
    Wherestatement += "Aerator = " & checkbox2.Text
    End If
    cmd.commandtext = strsql & wherestatement
    TextBox1.Text = 1
    End If
    cmd.ExecuteNonQuery()
    Finally
    conn.Close()
    End Try

  • Checking the checkbox based on the BSP application

    Hi all,
              I added a button and a checkbox in Accounts Application(CRMM_ACCOUNT).On clicking this button it call a custom bsp application.If there r no rows displayed in bsp, then this checkbox must not be checked else it must be checked.i.e
    1.I am calling bsp from pcui
    2.Based on bsp application ,I should change the pcui application.
              Do I have to call MAC in my BSP application?
    Please suggest.
    Regards,
    Ruby.

    Hello Ruby,
    chan you explain wht the Checkbox should indicate?
    Regards
    Gregor

  • How to check the checkbox of Adobe Installer with the Aplescript??

    Hi All,
    am trying to Install Adobe Flash Player thru stand alone Installer, I want to check the check box and need to click on Install button,
    Whem am trying to get the entire contents of window thru UIElementInspector, am unable to get the contents of checkbox and Install buttons..
    I just tried myself with the below script to click the checkbox, but did not succeed, error saying unable to get the checkbox.. Pls suggest how to check..
    tell application "System Events"
        tell process "Adobe Flash Player Install Manager"
            set frontmost to true
            click the checkbox "I have read and agree to the terms of the Flash Player License Agreement" of window "Adobe Flash Player 11.5 Installer."
        end tell
    end tell
    Pls check the below link to view the image of the Adobe Flash Player Installer.
    https://docs.google.com/document/d/1yzyBTrvi94QxjlEAlcbudOBpXiTGPEI2LA3D1iEo8Gw/ edit

    I'm working on a similar script, but when I execute the script, I run into this error:
    error "System Events got an error: Can’t make {563, 234} into type list." number -1700 from {563, 234} to list
    Any ideas? Here's the background: I'm trying to click the search box on this page: http://www.alexa.com/siteinfo/payeasenet.com
    Here's my UI Inspector results of said element:
    <AXGroup>
         <AXScrollArea: “”>
          <AXWebArea: “”>
           <AXGroup: “”>
            <AXGroup: “”>
             <AXTextField: “Enter a search query”>
    Attributes:
       AXRole:  “AXTextField”
       AXSubrole:  “AXSearchField”
       AXRoleDescription:  “search text field”
       AXChildren:  “<array of size 0>”
       AXHelp:  “”
       AXParent:  “<AXGroup: “”>”
       AXPosition:  “x=550 y=212”
       AXSize:  “w=214 h=30”
       AXTitle:  “Enter a search query”
       AXDescription:  “”
       AXValue (W):  “”
       AXFocused (W):  “1”
       AXEnabled:  “1”
       AXWindow:  “<AXWindow: “Payeasenet.com Site Info”>”
       AXSelectedTextMarkerRange (W):  “(null)”
       AXStartTextMarker:  “<AXTextMarker 0x60800024af80 [0x7fff758b4eb0]>{length = 24, bytes = 0xbd040000000000006024c514010000000000000001000000}”
       AXEndTextMarker:  “<AXTextMarker 0x600000248a30 [0x7fff758b4eb0]>{length = 24, bytes = 0xbf0400000000000040420c17010000000100000001000000}”
       AXVisited:  “0”
       AXLinkedUIElements:  “(null)”
       AXSelected:  “0”
       AXBlockQuoteLevel:  “0”
       AXTopLevelUIElement:  “<AXWindow: “Payeasenet.com Site Info”>”
       AXNumberOfCharacters:  “0”
       AXSelectedText (W):  “”
       AXSelectedTextRange (W):  “pos=0 len=0”
       AXVisibleCharacterRange (W):  “pos=0 len=0”
       AXInsertionPointLineNumber:  “0”
       AXTitleUIElement:  “(null)”
       AXAccessKey:  “(null)”
       AXRequired:  “0”
       AXInvalid:  “false”
       AXPlaceholderValue:  “”
       AXARIABusy:  “0”
    Actions:
       AXPress - press
       AXShowMenu - show menu
       AXScrollToVisible - AXScrollToVisible

  • Checking all checkboxes - dynamically

    I have read, "Quickly Checking all Check Boxes in a Report". I entered the javascript as identified in this blog. Unfortunately, when I click on the checkbox in the header, nothing happens. I'm can't seem to find a way to debug what is happening or not happening. The javascript is written correctly (I think) and located where instructed in the page region header. Where should I look when nothing happens???

    I haven't read the Blog.. but I assume there is a loop to check the item type/name so it can determine that it is a checkbox called whatever it is that needs a check.
    put an alert in the loop to give you a notification

  • How to check the material consumption using tables

    Hi,
    I would like to know how to generate or view the material consumption at table level. Can anyone please specify the transactions codes and tables names how to check the consumption of material. I also like to know how to analysis the consumption of material between components and finished material. Please provide me the step by step wise how to do.Thanking you
    Regards,
    Sivaji Kumar Madhu Kiran

    You can calculate material consumption in table MSEG. you will need to segregate the material documents based on movement types and then add or reduce the quantities of each material document. for example a material document with movement 101, add the quantity for the material, and when there is a issue material document like 201 or 221 reduce the quantity from the material stock.

  • I am not being able to connect to another Apple device using the Face time what settings do i need to check.The device being used is an iPad mini

    I am not being able to connect to another Apple device using the Face time.The device being used is an iPad mini.
    The internet connectivity is perfect the wifi is even working.

    '''plafstudiesdotc'''
    You are welcome.
    '''''So that other users can find answers that have worked, please take a couple of minutes to return to the forum, sign in and click "Solved" next to my answer. Thanks. '''''

  • Iam Using Gridview Cell Click Event to Check the Checkbox Status of the GridViewCheckboxCell. But It Always Return False Even it is Checked

      private void GridViewRoom_CellClick(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e)
                  if (e.ColumnIndex==19)
                       bool isChecked = Convert.ToBoolean(GridViewRoom.CurrentRow.Cells[e.ColumnIndex].Value);   // It Return False only, Even If it is Checked

    Telerik is a 3rd party company, please use their forums if you need help with using their controls:
    http://www.telerik.com/forums

Maybe you are looking for