How can i set/alter control properties programmaticaly in manage bean?

Hi,
i want to enable a selectonechoice on click of a button in adf.how can i do this using code in managebean.
my jdev version is 11.1.1.5.0

Let say you have binding <af:inputText label="World" binding="#{backing_bean.id1}" id="id1"/>
and button <af:commandButton text="Press Me!" binding="#{backing_test1.cb1}" id="cb1" actionListener="#{backing_test1.toggleInputText}"/>
public void toggleInputText() {
if (id1.isDisabled()) {
        id1.setDisabled(false);
}

Similar Messages

  • Tables - How to get cell value? How to get/set UI controls properties?

    Hi,
    I want to get a the cell's value of row x and col y.
    The table is not bounded so I cannot use:
    Table1.Items(key).DataSourceRow.DataItem("ColID")
    Another question:
    How to I set the properties of a table column which contains UI elemtents that I create dynamically?
    for exmpale:
    c1 is a TableBodyCell
    tr is a tableRow
    c1 = New TableBodyCell(Table1, tr, 0)
    c1.TableCellContent = New InputField
    tr.Cells.Add(c1)
    How do I set/get the properties of the InputField?
    Thanks,
    Omri

    Thanks Reshef,
    My Table's scheme:
    Column 0 - TextView
    Column 1 - InputField
    I was able to get a cell value of type TextView by using what you suggested:
    Write(CType(Table1.Items(0).Cells(0).TableCellContent,TextView).Text)
    However, when I tried to do the exact thing to InputField I didn't get any value (nor error)
    Write(CType(Table1.Items(0).Cells(1).TableCellContent, InputField).Value)
    I fill the Input Field and then push "Execute" button which supposed to write the value.
    About my second question:
    By using the cast (CType) I can access the properties I need (like Width) so it kind of solve my problem.
    for example:
    CType(Table1.Items(1).Cells(1).TableCellContent, InputField).Width = "15px"

  • How can i set parental control up on iphone4s for teenager or is there an app available

    how can i setup parental control on iphone4s for my teenager or is there an app available to download

    You can try contacting your carrier and see if they can do anything.
    also look to the right -----> at more like this

  • How can I set the textbox properties to get only integer on netbean?

    I use Netbean GUI and I create the swing textbox how can I set it to enter only Integer I don't want the people to enter the string.

    Please ask netbeans questions on the netbeans forum.
    Sounds like you want a JFormattedTextField or maybe a JSpinner.

  • How can we set the security properties of adobe

    Hi all,
    I am developing an interactive form in Adobe lifecycle designer 8 .
    The Document properties -> security   "signing " is set as not allowed .
    Is there a way to change the properties when I am designing the form in ALD ?
    Thanks ,
    naval bhatt .

    Hi all ,
    we just need adobe pro you can change the settings in the menu .
    Advanced -> change usage rights in Adobe reader

  • How can i set the item properties at top level

    Dear all
    i want to set the responsiblityname and operating unit name at the top of the page
    is there any specific regions are there to set at the top level of the page(Image region)
    Regards
    Sreekanth

    FND Framework Compataibiity Mode is a Profile Option you can set the value as 11.5.10.
    And instead of creating product branding progrmatically create product branding and incontextbranding at design time.
    Also, for both of these items we have View Object and View Instance properties...
    For this you take two transient attributes in VO and then as you have grabbed the responsibility name and operating unit...
    then you can set these values on these Transient attributes and then they will be visible on Top region of page.
    Associate these transient Attributes on product branding and incontextbranding items.
    Thanks,
    Gaurav

  • How can we set two events in a single button ???

    HI
    I created a button named bold , when i click it first time the textarea texts will became as bold..
    I created another button bold cancel when i click at that button textarea texts will became plain...
    But how can i set that controls in a single button (in button bold) ???
    Would anybody please tell me ...

    I would have one event listener that is aware of a boolean variable that has scope outside of the event listener, isBold for instance?
    When you click on the button, have the event listener toggle the boolean variable and then if true, set the text to bold, if false set the text to plain.

  • How can I get Connection(Database Connection)on my backing bean

    hello guys!
    How can I get the Database Connection on my managed bean?
    I want to use this connection for my reports.
    thanks a lot!
    alvin

    Alvin,
    You can access the data provider through ADF the binding. The data provider represents the business service you use. Once you have a handle to this you can get the connection.
    You don't mention the business service, so I cannot help you more than this. If it is ADF BC, have a look at http://download.oracle.com/docs/html/B25947_01/toc.htm and the stored procedure section. Steve Muench explains a trick to access the "real" JDBC connect used by ADF BC
    Frank

  • How can i set up icloud control panel on a microsoft surface 2 with windows rt 8.1

    How can I setup icloud control panel on a microsoft surface 2 with windows rt 8.1.

    I apologize for semi-hijacking the topic of this thread from "Multiple iCould IDs with single AppleID. Possible?" 
    Perhaps my reasoning for doing this was flawed, but here it is.  That thread was started back in June when the real details of iCloud were somewhat conjecture.  It is now about 14 pages long.  There are some recent posts to the thread, but for the life of me I can't tease a solution to my question above out of them.  I just may not be reading carefully enough.  If so, I apologize.
    What I am looking for is more of a STEP BY STEP guide to setting up iOS 5 and OS 10.7.2 for a family in my situation with my needs.  I think I do represent a fair segment of users.
    If the monitors of this forum think my thread should be tack on to the end of the above mentioned forum...by all means do so.
    Honestly, If Steve were alive today I think he would not be happy with this situation faced by Apple customers.  Steve always said his guiding mantra for his products was..."It just works."  I honestly believe he meant that.  But, with regard to this iCould business...for normal pedestrian users like myself,  I would have to say, "It just doesn't work."

  • I do not see where to enter IP addresses in the Open VPN setup. Also, how can I set it up so that I can choose different servers in the same way as I can currently choose them with my VPN app but for PPTP?

    I think I have it working on my iPhone 5. But, I do not see how I can control the exit point that I would like for the VPN. Are all the exit points shown in the VPN setting now going to work with Open VPN, or do they remain PPTP? If I am reading correctly, they look like they remain PPTP. If I cannot control the exit point for open VPN, which exit point is the default in the profile you provided me?I note that Open VPN Connect does not work with any of the new 64 bit devices like the iPhone 5S, the iPad Air, and the new iPad MIni. Is there any chance that you guys will come up with an update for your app so that open VPN can be made to work on all iOS devices? That would be nice, particularly if the Open VPN Connect app does not give me a choice of exit points.Thanks,
    I do not see where to enter IP addresses in the Open VPN setup. Also, how can I set it up so that I can choose different servers in the same way as I can currently choose them with my VPN app but for PPTP?
    Just a quick note to tell you that Open VPN has updated their app so that it is compatible with 64 bit ARM devices like the iPhone 5S, the iPad Air, and the iPad Mini Retina.That does not resolve the problem of how to easily choose among the various possibilities for the exit server. We need to find an easy way to choose.

    Thank you for trying the new Firefox. I'm sorry that you’re unhappy with the new design.
    I understand your frustration and surprise at the removal of these features but I can't undo these changes. I'm just a support volunteer and I do not work for Mozilla. But you can send any feedback about these changes to http://input.mozilla.org/feedback. Firefox developers collect data submitted through there then present it at the weekly Firefox meeting
    I recommend you try to adjust to 29 and see if you can't make it work for you before you downgrade to a less secure and soon outdated version of Firefox.
    Here are a few suggestions for restoring the old design. I hope you’ll find one that works for you:
    *Use the [https://addons.mozilla.org/en-US/firefox/addon/classicthemerestorer/ Classic Theme Restorer] to bring back the old design. Learn more here: [[How to make the new Firefox look like the old Firefox]]
    *Use the [https://addons.mozilla.org/en-US/firefox/addon/the-addon-bar/ Add-on Bar Restored] to bring back the add-on bar. Learn more here: [[What happened to the Add-on Bar?]]

  • How can I set BPEL server enviorment and create BPEL domain?

    Without use the http console, how can I set BPEL server enviorment and create BPEL domain?
    When I try to use API like below
    import com.oracle.bpel.client.Server;
    Server s = new Server(ServerAuthFactory.authenticate("oracle","localhost"));
    But I always got four exceptions and one warning like below:
    java.io.FileNotFoundException: C:\Workspace\WOSEDISystem\BPEL_Domain_Creation\config\security.properties (The system cannot find the path specified)
    java.io.FileNotFoundException: C:\Workspace\WOSEDISystem\BPEL_Domain_Creation\config\ejb.properties (The system cannot find the path specified)
    Warning: unable to read transaction.interoperability config property
    java.io.FileNotFoundException: C:\Workspace\WOSEDISystem\BPEL_Domain_Creation\config\security.properties (The system cannot find the path specified)
    java.lang.Exception: Failed to create "ejb/collaxa/system/ServerBean" bean; exception reported is: "javax.naming.CommunicationException: Can't find SerialContextProvider
    Is it right to use com.oracle.bpel.client.Server like this, please help me.
    Best regards,
    Vita

    Anyone can help me? Because I need deploy BPEL process on production server, so I need the Java funtion to create domain. Thank you very much if you can tell me the correct method of using com.oracle.bpel.client.Server API.

  • How can i set the alternating colors for a table rows

    Dear All,
    Please any one help me how can i set the Alternating colors for Table Rows.
    i created a theam there i set the background alternating color to brown and i set the table design properity to alternating. but it is not reflecting.

    Hi,
    The design property in Table properties should work for your requirement. Select "alternating" value for design.
    Please see the API below:
    design
    Determines the appearance of the table. The property design can take the following values and is represented by enumeration type WDTableDesign.
    alternating - The table rows are displayed alternately in a different color.
    standard - The table background has one color. The individual table rows are displayed with grid net lines.
    transparent - The table background is transparent. The individual table rows are displayed without grid net lines.
    Check whether you have changed the right property or not? Also table should contain more than one rows to test this scenario.
    Regards,
    Jaya.
    Edited by: VJR on Jun 17, 2009 6:43 PM

  • How can I set one loop's frequency as a slave of another loop ?

    I have 2 loops in parallel. The first runs at 500Hz. The AIread controls the frequency. How can I set the second one at 100Hz ? It is very easy to set it with local variable, but really not clean. The second loop must not use the CPU while waiting the next 100Hz tick. Is it possible ? I am trying to use occurrence, but the second loop will always (I think) use CPU while waiting next tick !
    Is it possible to set one loop in one thread and the other one in another thread ? Then set each thread to a CPU (I use a bi-xeon PC)
    Thanks

    cariboo wrote in news:5065000000080000001EBE0000-
    [email protected]:
    > I have 2 loops in parallel. The first runs at 500Hz. The AIread
    > controls the frequency. How can I set the second one at 100Hz ? It is
    > very easy to set it with local variable, but really not clean. The
    > second loop must not use the CPU while waiting the next 100Hz tick. Is
    > it possible ? I am trying to use occurrence, but the second loop will
    > always (I think) use CPU while waiting next tick !
    > Is it possible to set one loop in one thread and the other one in
    > another thread ? Then set each thread to a CPU (I use a bi-xeon PC)
    > Thanks
    One solution is to place a case inside the loop which run at 500 Hz. Put
    your 100Hz code inside the True case. Use the "Quot
    ient & Remainder"
    funtion and the iteration counter to execute the true case every fift
    execution of the 500Hz loop.
    This may not work if the 100Hz code use to much time, it will then delay
    the 500Hz loop.
    I would go for the occurences solution. The wait will use some CPU
    resources while waiting but i don't think that should be any problem (when
    done correctly).
    Rolf

  • Apple ID for my 9 year old - How can I set up an ID for my 9 years old. We have bought him an ITouch for his birthday, he also has a $30 iTunes card. To load up the iTunes card he needs an ID. When I try to set him up it says he is below the min age.

    How can I set up anApple ID for my 9 years old. Every time I try it tells me he is bolew the min age. If this is the case how can he download free games and how can he redeem his birthday $30 iTunes card? I dont want him to use my ID as it has my credit card details.
    I'm very fustrated with this as it seems the Apple kit is for 13 years and older only.
    Cheers
    Brad

    That's great your 9-yr-old is responsible enough to handle an iTouch!
    There's no way around the age limit. I suggest a family account that you, an adult, control.

  • How can I set up a 2nd user on mac pro

    want a family member to be able to log in on my desktop mac without access to my applications. How can I set up 2nd user?

    System Preferences > Accounts > ...
    Click on the lock in the bottom left and enter your Admin Username and password.
    Click on the Plus [+] button under the left column.
    Create a new user, generally NOT [ ] allow user to administer this computer.
    This user is completely separate, can have their own email, their own desktop, and cannot mess up your settings on shared Applications or email. They WILL have access to Applications in /Applications, but not the ones in /Users/<yourname>/applications.
    If you need additional restrictions, use Parental Controls.

Maybe you are looking for

  • Forced closing open Approved POs with data related issues

    Hello All, I have a requirement to force "Final Close" all the old Pos (2 - 3 year old) as part of data clean up. Most of the POs can't be closed through froms as they are all 3-way match POs and their recieved/delivered qty <> invoice qty. I 'm wond

  • How do i authorize my ipod to a new computer?

    how do i authorize my ipod to a new computer? i got a new computer for x-mas and i already had my ipod how do i make sure that when i sync my ipod to my computer it wont delet everything already on my ipod?

  • Unable to do goods movement when calling BAPI_PRODORDCONF_CREATE_TT

    Hi, I have used BAPI_PRODORDCONF_CREATE_TT as RFC. When I run the bapi with that of input payload seperately production order confirmation and goodsmovement  are done successfully. But when I run the interface then only production order confirmation

  • Cancelling contract due to Overcharges and NO RESOLUTION

    I have been a Verizon customer on a plan with my mother for over 5 years now. I recently moved out of state and wanted to upgrade my phone to an Iphone before I moved. Because I was not an "authorized user" on the account (my Mother wanted to be the

  • Connecting exchange to hp eprint

    I am unable to connect my work outlook account to eprint on my ipad. When i go to add email account. I can enter my email address, domain, password and hostname. There is no place to enter my username that is required for my serve to accept. Please a