TextInput (with lookup reference) which doesn't display database value

Hi,
We are using JHeadstart 11.1.1.0.31 and have a problem with a field (varchar2 displayed as textInput) which references a lookup table. The value which is displayed is not the database value we expected but a number which seems to be the number of the record in the table. When we display the referenced field from the lookup table, we see the correct database value.
When we run the service in the Model layer, this problem doesn't exist.
Thanks for helping us,
Petra Wernars / Jonathan Damen

Hi,
The issue here is that:
- a model LOV has been defined on the View Object attribute
- you are using a normal texinput to display the value
- you are using something like #{bindings.MyField.inputValue} to bind the value
The 'inputValue' will in this case assume a choicelist is rendered (because of the model LOV definition) so it will give the index within the choicelist, instead of the normal VO attribute value!
Use 'attributeValue' instead in this case, so you will always show the real attribute value. Or remove the model LOV if you are not using it. Notice that with default options selected, JHeadstart will create a model LOV on each column that references another viewobject.
Regards
Evert-Jan de Bruin
JHeadstart Team

Similar Messages

  • How to add a column to a list created with the Dynamic List Wizard to display the values of the fiel

    Hi,
    ADDT, Vista, WAMP5.0
    We have 2 tables: clients_cli (id_cli, name_cli, tel_cli, and several more fields) and cases_cas (id_cas, idcli_cas, court_cas, and a lot of other fields).
    Clients may have many cases, so table cases_cas have a foreign key named idcli_cas, just to determine which case belongs to which client.
    We designed the lists of the two tables with the Dynamic List Wizard and the corresponding forms with Dynamic Form Wizard.
    These two forms are linked with the Convert Dynamic List and Form Wizards, which added a button to clients list named "add case".
    We add a client and then the system returns to the clients list displaying all clients, we look for the new client just added and then press "add case", which opens the Dynamic Form for cases, enter all case details and everything processes ok.
    However, when we view the cases list it display all the details of the case, including the column and values for the foreign key idcli_cas. As you can image, it is quite difficult for a human to remember the clients ids.
    So, in the cases list we added a another column, named it Name, to display the names of the clients along with cases details. We also created another recordset rsCli, selected the clients_cli table, displaying all columns, set filter id_cli = Form Variable = idcli_cas then press the Test button and everything displays perfect. Press ok.
    Then, we position the cursor inside the corresponding cell of the new Name column, go to Bindings, click on name_cli and then click on insert. The dynamic field is inserted into the table cell as expected, Save the page, and test in browser.
    The browser call the cases list but fails to display the values of the Name column. The Name column is simply empty.
    This issue creates a huge problem that makes our application too difficult to use.
    What are we doing wrong?
    Please help.
    Charles

    1.     Start transaction PM01, Create Infotype, by entering the transaction code.
    You access the Create Infotype screen.
    2.     Choose List Screen.
    3.     In the Infotype no. field, enter the four-digit number of the infotype you want to create.
    When you specify the infotype number, please remember to enter any leading zeros.
    4.     In the Screen Number field, enter the screen number of the list screen you want to enhance.
    5.     Choose Create.
    The Dictionary: Initial screen appears:
    6.     Create the list screen structure.
    7.     Choose Activate.
    8.     Return to the Enhance List Screen in the Enhance Infotypes transaction (PM01).
    9.     Choose Create All.
    The additional fields are displayed on the list screen, however, they contain no data.
    The fields can be filled in the FORM routine FILL-LISTSTRUCT in the generated program ZPnnnn00. The FORM routine is called for each data record in the list.
    Structure ZPLIS is identified when it is generated with a TABLES statement in the program ZPnnnn00.
    The fields can be filled from the Pnnnn structure or by reading text tables.

  • Bridge CC (German) doesn't display aperture values correctly

    Hi everyone,
    the German edition of Bridge CC still seems to have the same bug as Bridge CS6:
    Bridge displays aperture values as integer values both in the filter column and in the metadata box, e.g. f1.4 is shown as 1.0, f2.8 is shown as 2.0, f5.6 is shown as 5.0 etc.
    I've reported this bug last year to Adobe and they call it a "known issue" due to the decimal sign ("," instead of "."). Unfortunately, Adobe didn't care to correct it for the CC-Upgrade.
    It can be corrected manually by changing the variable "Decimal" from "," to "." in the file strings.txt which can be found in the folder "Content/Resources/de.lproj" (accessible, when right-clicking on Bridge.app, => "Show content"). You will need admin rights to do so.
    So far I've had to repeat these steps after each Camera Raw Upgrade which is a little annoying.
    I hope this can help other's having this issue.
    Cheers, Joe

    Thank you for bring that up again.  I too thought after you told then exactly what to do, and they acknowledged it the changes were made.
    If others having this problem (probably European languages) they have a workaround.

  • Count() doesn't display 0 values

    Hi everyone, how to display 0 values from query:
    SELECT TO_CHAR(first_time,'DD-MON-YY:HH24') DAY, COUNT(TO_CHAR(first_time,'MM-DD-YY HH24')) Switches_per_hour
      FROM v$log_history
      WHERE TRUNC(first_time) BETWEEN TRUNC(sysdate) - 6 AND TRUNC(sysdate)
      GROUP BY TO_CHAR(first_time,'DD-MON-YY:HH24')
      ORDER BY TO_CHAR(first_time,'DD-MON-YY:HH24');

    Similar query (doing the same in different way) displays 0 values
    SELECT TO_CHAR(first_time,'DD-MON') DAY,
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'00',1,0)) "00",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'01',1,0)) "01",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'02',1,0)) "02",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'03',1,0)) "03",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'04',1,0)) "04",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'05',1,0)) "05",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'06',1,0)) "06",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'07',1,0)) "07",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'08',1,0)) "08",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'09',1,0)) "09",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'10',1,0)) "10",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'11',1,0)) "11",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'12',1,0)) "12",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'13',1,0)) "13",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'14',1,0)) "14",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'15',1,0)) "15",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'16',1,0)) "16",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'17',1,0)) "17",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'18',1,0)) "18",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'19',1,0)) "19",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'20',1,0)) "20",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'21',1,0)) "21",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'22',1,0)) "22",
      SUM(DECODE(TO_CHAR(first_time,'hh24'),'23',1,0)) "23",
      COUNT(TO_CHAR(first_time,'MM-DD')) Switches_per_day
    FROM v$log_history
    WHERE TRUNC(first_time) BETWEEN TRUNC(sysdate) - 6 AND TRUNC(sysdate)
    GROUP BY TO_CHAR(first_time,'DD-MON')
    ORDER BY TO_CHAR(first_time,'DD-MON') ; Anyone?

  • Query with a condition - Overall results row displays incorrect value

    Hi All,
    I have a bw query with top 40 conditions. However, The Overall Result Row Figures Do Not Equal The Sum of the Column Rows.
    Although the top condition is activated, the overall result still displays the overall result of the whole report.
    I have 3 columns in the report
    Selected Period
    Prior Period and
    Variance
    The formula for variance is (Selected Period/Prior Period)-1.
    Does anyone have an idea to fix this?
    Thank you so much in advance.
    Have a great day!

    Hi Gaurav,
    Thank you so much for your reply, however this does not solve fully the issue.
    Changing the properties to "Summation" will indeed provide me with the correct sum for the "selected period" and "Prior Period." However what I need in the Overall Result Row for the "Variance" column is not the total but instead the value when the total of Selected Period is divided by Prior Period then minus 1.
    Overall Variance = (Overall Selected Period/Overall Prior Period)-1
    Do you know a way to make this possible.
    Thank you so much.

  • Dynamic PDF field value doesn't display XFDF value when no keyboard focus

    I created a simple PDF (test.pdf) file (one text field), and saved it as a "static PDF". I created a XFDF file, and when I double-click on the XFDF file, the sample PDF opens and the field is populated.
    Here's the problem: I save test.pdf as a "dynamic pdf" file. I double-click on the xfdf file and the pdf opens up, but the data is not displayed in the field. If you click on the field, the text appears. If you click out of the field, it disappears. If you update the field value, and navigate away, the value stays.
    There is nothing but the field on the page, no scripts, no subforms, nothing.
    Is this a bug in Adobe Reader 7.0? or is there some weird setting in Live Cycle Designer that I'm missing?
    Thanks

    What is your xfdf file look like? Something like:<br /><br /><?xml version="1.0" encoding="UTF-8"?><br />     <xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"><br />          <f href="file:///C|/test3.pdf" /><br />     <fields><br />          <field name="firstName"><br />               <value>William</value><br />          </field><br />          <field name="lastName"><br />               <value>White</value><br />          </field><br />     </fields><br /></xfdf>

  • Bug in preview portal doesn't display database list in back up section

    There seems to be a bug in the website back up option in the new portal. Even if you have connection strings defined it says:
    "You don't have any databases defined in the connection strings for this website"
    Unless I'm doing something wrong?

    Hi sir,
    Do your try it on Azure manage portal (https://manage.windowsazure.com )? Azure preview portal currently is preview version and no support approach. So you can confirm this issue on manage portal. If it always
    has this error, please feel free to let me know.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • JSP doesn't display Oracle varchar2 Items on screen

    I recently bought new laptop with windows XP professional with service pack 2. Loaded Oracle 10g Client on it. I have a Dell server with Linux and Oracle database 9i. Accessed the this database through new laptop using SQL plus window and works OK. (With that it is sure that my hosts file updated correct with proper IP address of server and tnsnames.ora files).
    I have created a JSP application to access this database. It works perfectly OK in my old laptop with Windows XP home with service pack1. The connections are established through ODBC Data Source Administrator (Control Panel->Administrative Tools->Data Sources) by adding a System Data Source. The application works perfectly OK and displays all fields that I intended and coded for. Only thing is it has Oracle 9i client.
    But the same application in the new laptop doesn't work properly. It doesn't display Varchar2 values. It displays only Number and Date data types. This shows it is connecting to the database (oracle 9i). But varchar2 values are not displayed. The connections are established through ODBC Data Source Administrator.
    I'm using Tomcat server (jakart-tomcat-5.0.27) on both the laptop. Please help me here.

    Suggestion: don't use the ODBC driver to connect to Oracle. I presume you are using sun's JDBC-ODBC bridge?
    Oracle have got a reasonably good 100% java JDBC driver which is all you need, and is a lot better than the ODBC bridge. I would recommend using the Oracle thin driver.
    Your java code should remain largely unchanged. The only thing you would need to alter would be
    1 - driver class being loaded (oracle.jdbc.driver.OracleDriver)
    2 - driver url (default would be something like: jdbc:oracle:thin:@127.0.0.1:1521:ORCL)
    3 - You would need the oracle jdbc driver in the classpath (ojdbc14.jar) You can find that in [ORA_HOME]/jdbc/lib
    If you've written your database connection using a JNDI datasource, then all you would need to change would be the configuration in your tomcat server.
    Hope this helps,
    evnafets

  • Bridge CC doesn't display dpx files

    We just upgraded from cs5 and there is a huge problem with bridge cc - it doesn't display previews for any dpx files.
    I already exported 10bit, 12bit and 16bit dpx files and none of them display!!!
    This pretty much makes Bridge useless for any postproduction facility.
    We have it installed on 5 separate machines.
    PS, AE and Premiere display the files without a problem.

    Here are three different dpx fotmats exported form AE CC - 10bit, 12bit and 16bit - none of them displays in Bridge, all open fine in any of the Adobe applications.
    Using OSX 10.8.4 and Bridge CC 6.0.1.6 (latest update for CC just appeared last week) and can view the 10 and 16 bit versions without problems in Bridge CC as thumbs and as previews but the the 12 bit version is only a document icon. Select purge cache for selection has no effect
    I also can open and view the 12 bit version in AE so the file itself should be OK but here it ends I'm afraid due to next to none experience with AE. Tried to export again but got lost in the wood of options and a save as command saves as an AE project which also can't be viewed in Bridge…

  • Browser player doesn't display my site as it is built in Flash?

    I"m using FlashCS3 I am developing a site. When I run the swf file using "test movie" or even by going to the folder containing the .swf file and not through the Flash program it plays perfectly as I want it look. But when I upload it to the site and hit it with my browser it doesn't display the same way???
    In fact the browser shoes a background that I replaced with the partially transparent filter effect you see when played locally??   I have looked all through my movie clips and can not find where i tcould insert the old background?
    I have made some snaps of what it looks like when played through the player outside of the flash editor (but this is the same as when played through the editor) and another pic of what it looks like on the web.
    I am using Actionscript 2.0 mode for publishing, Flash player 8 or better, Bottom Up with compress movie and export hidden layers checked.

    ok i found the solution here by deleting the corrupted library
    http://portablevideo.blogspot.com/2008/12/music-player-database-problems.html 
    now one of these below is for the music and one for the photos and i didnt have a problem with the photos but did it anyways and now the player can see my music:
    these are the files that need deleting in order to get rid of the corrupted library.
    Storage Drives: (Mass storage E, Memory Card F)
    \private\101ffca9\harvesterdbvx_x.dat
    \private\10281e17\[string]mpxvx_x.db
    \private\10281e17\[string]pcvx_x.db 
    TIP: Connect the device in USB mass storage mode (File Transfer), to locate the private folder from the PC.
    TIP: STRING and x_x will change depending on your phone. (my files had slightly different names than above on the n97)

  • Insert Textpool with dictionary reference

    Hi!
    I want to translate a textpool per down and upload in excel. I translate the downloaded textpool in excel and upload it for the new language.
    The problem is: if the parameters are with dictionary reference, it doesn´t work - after INSERT TEXTPOOL it shows the parameter-text instead of the Dictionary-text.

    Unfortunately, the checkbox (Dictionary Ref.) is not part of the TEXTPOOL structure. So when you read the text pool and update it using INSERT TEXTPOOL, it will overwrite all your existing settings including this checkbox. You will have manually go into the selection texts and check this box again.

  • Cinema Display (clear) with DVI/ADC box doesn't work with MacBook Pro

    Cinema Display (clear) with DVI/ADC box doesn't work with MacBook Pro when plugged in with a dvi to mini dvi cable. Any ideas what to do to make it work? I lugged the 23" 2500 miles into the wilderness and I need help

    Okay, here's an update: the DVI to ADC adapter does work with the Apple displays that I have tried, but it won't work with the Formac. I have tried multiple time to contact them, but to no avail... they don't even respond to threats of posting my opinion of them, which is this:
    DON'T BUY ANYTHING FROM FORMAC! They make quality products, but their customer service is a big time joke! They won't take care of you.

  • How to install W.7 on 2011 Macbook pro which doesn't come with bootcamp dvd?

    how to install W.7 on 2011 Macbook pro which doesn't come with bootcamp dvd?

    Use the Boot Camp Assistant in the /Applications/Utilities/ folder to put the Boot Camp drivers onto an optical disk or USB thumbdrive.
    (80603)

  • I have a PowerBook G4 with a non-functioning monitor.  It used to work with an external monitor, but I reinstalled the OS, which cleared the display preferences and now when I restart it won't detect the external monitor. How do I fix?

    I have a PowerBook G4 with a non-functioning monitor.  It used to work with an external monitor, but I reinstalled the OS, which cleared the display preferences and now when I restart it won't detect the external monitor. This means I can't use the computer anymore. How do I fix? I tried using the Command+F2 keyboard shortcut, but it doesnt' work.  It's possible that since I reinstalled the OS, it still needs to be set up, so there's only a welcome screen (but since I can't see it I'm not sure).

    There is no limit to the number of times you can re-install Office on the same computer.
    You can activate by telephone:
    The last paragraph is the relevant bit

  • I have two children each with an ipod which has FaceTime - I have the iphone 4s with FaceTime.  All of these devices are connected to itunes through the one account.  How do I set up the FaceTime on the two ipods so as it doesn't ring both of them?

    I have two children each with an ipod which has FaceTime - I have the iphone 4s with FaceTime.  All of these devices are connected to itunes through the one account.  How do I set up the FaceTime on the two ipods so as it doesn't ring both of them?

    I started to do that then it said that this will become their apple I.D or similar and then I thought that will disconnect them from the same iTunes?  I want them still on my iTunes as they are only young (8 and 10)?  Or have I got this all wrong and even if I do set them up with a different e-mail will they still be on my itunes?  For example if they want to purchase an App will it still go through my account even if they use their ipod?

Maybe you are looking for

  • Iphone 4; connected to wifi but in cannot connect safari and appstore

    Hi, any one knows how to fix my problem? my iphone 4 is connected to my wifi home network. When I use the appstore it says "cannot connect to itunes store". when I use safari "safari cannot open page because it is not connected to the internet". HELP

  • 10.1.0.4 to 11gR2 (11.2.0.2.0)

    Hi there, We are going to upgrade our database from 10g to 11g and we are planning on using the export/import method. Will the fact that we are on 10.1.0.4 as oppose to 10.1.0.5 make any difference seeing as we are using the export/import method? As

  • Rounding profile: convert ordered qty to another UoM

    Hi all, I would like to convert the ordered qty on the sales order into a different unit of measure. This can be done with rounding profile. However, I don't want it to round if it is not exact. For example: 1 case = 100 EA. If a customer orders 100

  • Dw CS3 Updates - latest version ?

    CS3 Updates. I know about the Help | Updates - and the updater runs automatically to check for updates, but my build is still at 3481. I checked the update log detailed here: http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402323&sliceId=

  • Bug: "default applications" does not work

    I set my internet browser to "opera mobile".  nonetheless, everything gets opened in the nokia browser.   What exactly is the benefit of changing the "default applications" then?