Problem with adf table when adding component in table column.

Hi All,
i am using jdev version 11.1.1.5.0.
use case: i have created one adf table which is based on DC VO. now i have added one select one radio group component(which contain 4 radio button approved ,reject,back,None) in adf table.
table have many rows for example in first row i have select approved and to next row i have select reject now when i get value of radio group in backing bean using component binding i got last selected value.(in that case reject).
And second is that when i set radio button value for current row using binding like
rb.setValue("R") then reject option selected for all rows.
so my question is that-
how can i get and set value of select one radio group in row level using component binding.

Hi,
I don't see a reason for not using a transient attribute for the radioGroup in your previous reply.
Here is the example i tried.
                        <af:selectOneRadio label="#{bindings.DeptView1.hints.DeptnoRadio.label}" id="sor1"
                                value="#{row.bindings.DeptnoRadio.inputValue}">
                            <af:selectItem label="A" value="A" id="si1"/>
                            <af:selectItem label="B" value="B" id="si2"/>
                            <af:selectItem label="C" value="C" id="si3"/>
                            <af:selectItem label="D" value="D" id="si4"/>
                            <af:selectItem label="E" value="E" id="si5" disabled="#{row.bindings.EnableDisable.inputValue}"/>
                        </af:selectOneRadio>Where DeptnoRadio is the transient attribute i've created (which will have some random values between A and E), and EnableDisable is another transient variable of boolean type which would return true or false based on some condition.
Now, for every row, the value is different (and corresponding radio button is selected) and for a row, which matches the condition, the option E is disabled.
-Arun

Similar Messages

  • Problem with ADF Table and doDML method.

    HI,
    I have a problem with ADF Trinidad Table. I have one search form and which i click on search button the result is coming it's working fine, And when i click on CreateInsert button to insert a new row it's adding after entering all the data into the table when i click on button on the page i am getting error like
    Messages for this page are listed below.
    Error     
    Missing mandatory attributes for a row with key oracle.jbo.Key[1 ] of type AppModule.CmSubscribersView1
    Error     
    Attribute Name in AppModule.CmSubscribersView1 is required
    Error     
    Attribute CreatedBy in AppModule.CmSubscribersView1 is required
    Error     
    Attribute CreationDate in AppModule.CmSubscribersView1 is required
    Here Created By and Creation Date are not available in the table i need to set these data from back end for that i have used doDML() method in the entity object and i written the logic but this method not even invoking as i couldn't able to see the logs in the server.
    protected void doDML(int operation, TransactionEvent e) {
    super.doDML(operation, e);
    System.out.println("^^^^^^^^^^^^^^^^66666Inside entity object^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ");
    // AppModuleImpl am=new AppModuleImpl();
    // Number userID= am.getUserId();
    //System.out.println("User id in the Entity Object Is: "+userID);
    oracle.jbo.domain.Date dt = new Date();
    if(operation ==DML_INSERT){
    EntityDefImpl cmSubscribers=CmSubscribersImpl.getDefinitionObject();
    CmSubscribersImpl newSubscribers=(CmSubscribersImpl)cmSubscribers.createInstance2(getDBTransaction(),null);
    Number n=new Number(1599);
    newSubscribers.setCreatedBy(n);
    newSubscribers.setCreationDate(dt);
    newSubscribers.setLastUpdateDate(dt);
    newSubscribers.setLastUpdatedBy(n);
    But still the same problem can any one help me inthis.
    Regards,
    Edited by: user5802014 on Aug 21, 2009 2:04 PM

    Hi,
    Modify your method to call super.doDML() after initialization of mandatory attributes as below:
    protected void doDML(int operation, TransactionEvent e) {
         oracle.jbo.domain.Date dt = new Date();
         if(operation ==DML_INSERT){
              //PRE-INSERT code begins     
           EntityDefImpl cmSubscribers=CmSubscribersImpl.getDefinitionObject();
           CmSubscribersImpl newSubscribers=(CmSubscribersImpl)cmSubscribers.createInstance2(getDBTransaction(),null);
           Number n=new Number(1599);
           newSubscribers.setCreatedBy(n);
           newSubscribers.setCreationDate(dt);
           newSubscribers.setLastUpdateDate(dt);
           newSubscribers.setLastUpdatedBy(n);
           //PRE-INSERT code ends
           super.doDML(operation, e);
           //POST-INSERT code if any
         }else
            super.doDML(operation, e);
    }Sireesha

  • Problems with ADF in JDeveloper 10.1.2 - Focus Handling in a Table

    Hi there,
    we have a problem with the focus handling in a JClient-Table
    (embedded in a JScrollPane).
    When I insert a new row in a table (e.g. with 2 columns),
    and insert in the second column some text and
    (while the focus is still in the second column) then
    add again a new row to the table, the text from the
    "lost-focus-column" is moved to the new row.
    Example:
    Add row 1 (columns Name, FirstName) => Result:
    Row 1: Smith John
    Add row 2 => Result:
    Row 2: <empty> John
    Row 1: Smith <empty>
    Is that a bug of the framework or does anyone know a workaround for that
    behaviour ?
    Tanks a lot...
    Cheers, Claus

    Hi,
    problem solved. It's a Swing problem. The following line of code is neccessary:
    dataTable.putClientProperty("terminateEditOnFocusLost", Boolean.TRUE);
    (dataTable is the jTable).
    Unfortunately other Swing-Components (e.g. JTextField) don't have that
    client property :-(.
    Cheers,
    Claus

  • Migration Jdev 11.1.1.1 to Jdev 1.1.2, IDE visual problems with ADF design

    Migration Jdev 11.1.1.1 to Jdev 1.1.2, IDE visual problems with ADF design
    CONTEXT
    I’ve been working my project with Jdev11.1.1.1, when I migrate to JDev 11.1.1.2. I realized that my project didn’t compile successfully as before besides I couldn’t see the design view in a WYSIWYG mode on my JSF pages.
    I had installed (initially) in C:\oracle\Middleware Jdev 11.1.1.1 with WLS 10.3 (default in Installer)
    A couple days ago I realized about the new Jdev release JDev 11.1.1.2 and I decided to migrate because of the IDE improvements such as Bugs Solutions, Maven support, code templates, etc).
    The new version seemed to be non-compatible with WLS 10.3 because I couldn’t mount it in the same middleware so I installed the new one in C:\oracle\Middleware11g2, JDev 11.1.1.2 with WLS 10.3.1 (default in Installer).
    EXAMPLE
    I have created a new sample Project named JDev112App, it only has 1 java class, 1 ADF template and 1 JSPx to show the errors and differences between releases of the IDE… However, I also have added the screenshots of the Project in each IDE, also I have included a screenshot of my real project (Business App).
    NOTE. Business APP project is under subversion SVN and the migration was done successfully when JDEv 11.1.1.2 opened it (it migrated automatically).
    What should I do?? .. thanks
    Best Regards,
    Screenshot1
    http://comunidadoraclehispana.ning.com/forum/attachment/download?id=2315969%3AUploadedFi38%3A15778
    Screenshot2
    http://comunidadoraclehispana.ning.com/forum/attachment/download?id=2315969%3AUploadedFi38%3A15779
    Example APP
    http://comunidadoraclehispana.ning.com/forum/attachment/download?id=2315969%3AUploadedFi38%3A15784

    I think that the problem could be preferences/settings migration from Jdev 11.1.1.1.0 to JDev 11.1.1.2.0, because I migrated not only the application but also the JDev preferences ( "Documents&Settings...Jdeveloper..." ).
    I have installed in a new machine without previous version of Jdev the new release JDev 11.1.1.2.0 and when I deploy my test application with errors ( showed in this post ), it works fine and also the design view is correct.
    I am not SURE but I think the bug or problem could be also the preference/settings migration between JdeveloperS.
    Can anybody tell me the real reason?? How can I fix it ... I don’t want to import each of my settings manually in JDev 11.1.1.2.0 ( I mean templates, javadocs settings, connections, repositories, etc).
    Thanks in advance for your help,

  • Problems with color matching when printing...

         Hi, I work for a small family business in the P.O.P. industry.  We currently have myself and one other designer, we both take illustrator files that have come from the graphic design firm that we contract with and get them ready to print on our Vutek QS3200.  However ever since acquiring the printer we have begun to run into problems with the colors when printing.  When the files are exported off of my computer, I use either .tif or .pdf files, they print as they should, the colors seem to match the proof and everything goes smoothly.  However when the other designer exports a file, he tends to do mainly pdfs, the colors tend to be extremely different from where we want them.  Also we will get very strange results, such as yesterday he kept getting a faint yellow 1/2" border around his prints.  After I believe 3+ hours of him trying, I was given the original CD and instructed to try.  After 15-20 minutes of making the changes that we needed to make (adding a new price point) and ripping, mine printed perfectly. 
         We both use Macs, both have CS3 Design standard, only differences between the computers are mine is newer and a bit faster, and I'm running OS 10.5.6 and he has 10.4.  He has also at some point loaded various color profiles, whereas my CS package is just whatever the default is when I loaded it.  When we were being trained he grabbed the color profile off of the Colorburst RIP server and loaded onto his computer, plus I believe he has a couple for freelancing purposes on there as well.  My thought is that these profiles are somehow corrupting the files that are going through that computer, but I honestly am lost with it at the moment.  He believes the problem lies within the fact that he does not have the newer OS, I honestly cannot see that as having any effect on this at all.  I was wondering if anyone has run into any similar problems, or if anyone might have any advice on this issue?  I would really like to be able to solve this, as I was hired to do mainly structural design for the P.O.P. and I'm having to put in a lot of overtime to get my work done along with the additional work that I'm having to do.
    Thanks for your time

    I've got a few years experience calibrating large format printers.  First, the Yellow sounds like a file problem.  I used to work with two workstations, one PC ( RIP station ), and one Mac ( file prep station ).  I tend to agree with you in that the OS is probably not the problem.  But, any Colorburst profiles should remain in the RIP, not in the originator application.  My workflow consisted of creating EPS files that were based on established color settings in their given applications ( i.e., Illustrator, Photoshop ) which were interpreted by the RIP which had it's own calibrated profile ( perhaps more than one based on how many different substrates were being used ).  Your partner may be complicating things by incorporating a RIP profile prematurely.  If there are deviations big enough to be noticed, there has to be something in the application color settings that is causing some type of corruption.  This could lead back to the operating system, but I would think it lies somewhere in Bridge or the application color settings.  Start there.  You should seriously consider implementing a calibration system if you do not have one already.  Another slight possibility is the driver's ability to interpret files coming out of Leopard vs. files coming out of Tiger.  It may benefit you both to be in the same operating system dynamics, using the same driver versions and RIP profiles.  At the very least, match everything that is currently working successfully and put them on both machines.  If there is still a noticeable problem in color matching, then something is seriously wrong and you should call in a prepress profiling expert.  Hope this helps.

  • Sync problems - tracks dropping off when adding new o

    Has anyone encountered a problem with Zen 8Gb players adding new tracks? I've noticed a couple of times when adding new tracks that some of the tracks that were already on the player have disappeared? Any ideas as to why this happens and how I can avoid it's
    Cheers

    Check the settings for the sync. Is it set to delete old ones to make room for new tracks?

  • Problem with internet. When i open System preferences, Network, message drops down: 'your network settings have been changed by another application'. I click OK, but it drops a message again and again, preventing me to do anything about the setting.

    Problem with internet. When i open System preferences, Network, message drops down: 'your network settings have been changed by another application'. I click OK, but it dropps the message again and again, preventing me to do anything about the setting.

    A Fix for "Your network preferences have been changed by another application" Error 
    In the Library/Preferences/SystemConfiguration/ folder delete the following:
    com.apple.airport.preferences.plist
    NetworkInterfaces.plist
    preferences.plist
    com.apple.nat.plist
    You will have to re-configure all your network settings since deleting.
    (10.4.10)
    Use Software Update to update your OS to last version of Tiger.  Install all the other updates that goes along w/it.

  • I am suddenly having a problem with my iMac - when I try to restart or shut down, it hangs on a gray screen, and I have to hard reset to turn it off.  How do I fix this?

    I am suddenly having a problem with my iMac - when I try to restart or shut down, it hangs on a gray screen, and I have to hard reset to turn it off.  How do I fix this?

     
    http://support.apple.com/kb/TS2570 Mac OS X: Gray screen appears during startup 

  • Hi, i have a macbook air and i've been having problems with the camera when i'm using skype. i know im no the 1st one and i'd like to know when apple or someone 'll do something about this.

    hi, i have a macbook air and i've been having problems with the camera when i'm using skype. i know im no the 1st one and i'd like to know when apple or someone 'll do something about this.

    Try reinstalling Combo Update.
    http://support.apple.com/kb/DL1676
    Best.

  • I have a problem with my ipad when choosing software update it is continously loading the message checking for updates without showing any results

    I have a problem with my ipad when choosing software update it is continously loading the message checking for updates without showing any results  

    Hello SuzMiller
    Check out the article for the troubleshooting steps for issues with email on your iPhone and iPad.
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Good evening I would please help me, IGood evening I would please help me, I have problems with flash player when update on my computer Flash Player for windows 8, gives me error in the installation that is not apply on my computer. Please help. Thank You

    Good evening I would please help me, IGood evening I would please help me, I have problems with flash player when update on my computer Flash Player for windows 8, gives me error in the installation that is not apply on my computer. Please help. Thank You

    First, confirm that ActiveX Filtering is configured to allow Flash content:
    https://forums.adobe.com/thread/867968
    Internet Explorer 11 introduces a number of changes both to how the browser identifies itself to remote web servers, and to how it processes JavaScript intended to target behaviors specific to Internet Explorer. Unfortunately, this means that content on some sites will be broken until the content provider changes their site to conform to the new development approach required by modern versions of IE.
    You can try to work around these issues by using Compatibility View:
    http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-11
    If that is too inconvenient, using Google Chrome may be a preferable alternative.

  • Is there a bug or problem with increased noise when exporting pictures out of Lightroom 4?

    Is there a bug or problem with increased noise when exporting pictures out of Lightroom 4?

    As you are asking about it, looks like you do see a problem. So if googling does not provide a solution, you should describe the issue in detail so we can try to help out.

  • Problem with a design when open in firefox like

    problem with a design when open in firefox like http://3a6aayer.com/Default.aspx

    What kind of problems do you have?
    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.

  • Problem with mapping the Entity beans onto database tables

    Hi,
    I got a problem with mapping the Entity beans onto database tables. Here are what I did:
    First Step:
    asant capture-schema
    Second Step:
    capture-schema -driver com.pointbase.jdbc.jdbcUniversalDriver -dburl jdbc:pointbase:server://localhost/sun-appserv-samples -username pbPublic -password pbpublic -table APPLICANT -table APPLICANTSKILL -table CUSTOMER -table LOCATION -table job -table JOBSKILL -table SKILL -out build/agency.dbschema
    The first step was fine. But, in the second step, I got the error message as follow:
    using dburl:jdbc:pointbase:server://localhost/sun-appserv-samples
    using username:pbPublic
    using password:pbpublic
    using driver:com.pointbase.jdbc.jdbcUniversalDriver
    using schemaname:null
    using output file:build/agency.dbschema
    JDO71100: Failed to find a class. Verify that the class is available on your CLASSPATH
    java.lang.ClassNotFoundException: com.pointbase.jdbc.jdbcUniversalDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at com.sun.forte4j.modules.dbmodel.jdbcimpl.ConnectionProvider.<init>(Co
    nnectionProvider.java:38)
    at com.sun.jdo.api.persistence.mapping.ejb.CaptureSchema.main(CaptureSch
    ema.java:130)
    at com.sun.jdo.spi.persistence.support.ejb.util.CaptureSchemaWrapper.mai
    n(CaptureSchemaWrapper.java:29)
    Thanks for your help!

    You need to add the pbclient.jar or some similar name like that, in the CalssPath.

  • I have a problem with Apple store when installing large application: The system crashes. Any suggestion?

    I have a problem with Apple store when installing large application (example xCode): The system crashes.
    It begun with 10.8 usualy with few tries it work but with 4.6 no succes.
    Any suggestion?

    If you have more than one user account, you must be logged in as an administrator to carry out these instructions.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Select the most recent panic log under System Diagnostic Reports. Post the entire contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports.

Maybe you are looking for

  • Save as file format CSV in Excel

    Does anyone know the correct syntax on this one? I have an excel file which should be saved as CSV. This is what I came up with, but it doesn't run. tell application "Microsoft Excel" activate worksheet "worksheet1" set fileSaveName to get save as fi

  • Error when creating a Transformation

    Hi BI pros, I want to create a transformation between an InfoObject (ZVO_MAT) and DataSource (Z_VO_MAT_ATTR). So, II tried to create the transformation by the following below:- > Right clicking the DataSource (Z_VO_MAT_ATTR) > select Create Transform

  • OCCI version problem

    Hi, I am having a version problem with 9i. How can i compile OCCI with 9i database installetion? Which library would i need? my server is a SOL-Sparc-64 machine and oracle database server is installed there versiion oracle 9i 32bit. I tried to compil

  • Account Problems HP Mini 200

    I have an HP Mini 200 Netbook with Windows 7 Starter.  I'm trying to add a printer but keeps saying that I need to have Administrator privelages. I have no guest account but HP connection manager will not support Guest Accounts.  I've tried all optio

  • Geek Question About Terminal Command Prompt

    Strange Question: On my wife's Mac (10.9.5) her Terminal command prompts end with "%" (no quotes). On my Mac (also 10.9.5) my Terminal command prompts end with "$" (no quotes). This was also the case under Mountain Lion. Neither one of us has ever ed