Filter on a field displayed differently than stored

Hello,
I want to filter a table on a field which is an IP address but represented as a single number in the database and not xxx.yyy.zzz.ttt.
but for user friendlyness, it's better to input the field as an IP on the jsp page.
but i don't know how to do that ? where can i do this transformation nicely ?
anyone could help me with this ?
many thanks
regards

i'm using ADF and how can i create a converter ?
otherwise, there is no method i can override in the view object or entity object ?
if it existed i could get the where clause parameter and replace it with the converted one just before the select is executed

Similar Messages

  • I have just intalled PSElements 12 on a new PC with windows 8.1. It installed ok but when I open it up it displays different than on my windows 7 PC. The buttons and text are tiny and almosy impossible to see even when I drag it to full screen. How do I a

    I have just intalled PSElements 12 on a new PC with windows 8.1. It installed ok but when I open it up it displays different than on my windows 7 PC. The buttons and text are tiny and almosy impossible to see even when I drag it to full screen. How do I adjust it to look normal?

    Hi Paul ,
    It could be a compatibility issue as well as Acrobat 8 is an older version.
    Do you get any error message while registering for the product?
    Try repairing it and once and also check for updates as well.
    Is it happening with all the word files or any specific one'?
    Regards
    Sukrit Dhingra
    Acrobat 8 and Windows 7 Don't Work

  • Number field displays differently on two systems.

    I have a ColdFusion front end/Oracle backend application I inherited from the company that lost the contract to my company.  In one screen, there is a field the customer wished to increase from NUMBER (10,3) to NUMBER (10,8).  After researching and conferring with the Gov't DBAS supporting the production and test systems, it was suggested that I just alter the field to plain NUMBER,  I did so on my Development system and changed the CF code to allow for proper display.  It worked quite well.   I had the Gov't DBAs change the field in the production and test databases to match.   I then FTP'd the CF code to the test system.   It allows for entry and initial display of the new field size, but upon saving it (unlike my Development test) truncates/rounds up (i.e.- 123.87654321 becomes 123.87700000).  I have ensured the proper code is there and verified with the Gov't DBAs that the databases matches my Develop database.   What things could cause this problem?   It has me baffled.   All the instances are identical and the code on Development and Test is identical.   Any ideas?

    es336td wrote:
    I remove all designation and set to just NUMBER.   From Oracle documentation...
    NUMBER(p,s)
    Number having precision p and scale s. The precision p can range from 1 to 38. The scale s can range from -84 to 127.
    There are 2 different concepts of number here. You should not mix them up.
    With Number, there is no explicit precision and no explicit scale. That is, there are no arguments p, s. In that case, Oracle stores a number in the form d * 10^s, where d is a number that can have up to 38 digits and s ranges between -84 and 127. This is similar to the so-called scientific notation.
    However, your original question is about 123.87654321. You want this number to differ from 123.87700000. These are decimals, which imply you require precision and scale. The number 123.87654321 requires the type Number(11,8). You had allocated Number(10,8) to it, which falls short.
    I also notice that the conversion 123,87700000 has a comma. If that is indeed so, and not just a typing mistake, then it means two things: (1) The conversion already occurred, even before the database, in a locale in which a comma is used as decimal separator; (2) the database column is not of numeric type.

  • Interactive report column filters to display differently than column values

    Greetings...
    We use images a lot in our interactive reports to provide a visual representation to a status, or something locked for update, or what-have-you. By default, when a user clicks the column heading of a column which contains images, the drop-down list that shows up displays the actual images, which is nice for the user to identify exactly which thing they want to filter on. The problem is when the user selects on of the options in the filtering drop-down, the resulting condition that is displayed under the interactive report search bar is the HTML code of the image. I'd like something else to display there because showing the user the HTML code is atrocious.
    I didn't think what I want is possible, but then I came across the Page Locks page within ApEx (page 4000:291 in ApEx 4.0.1) which displays a list of all the pages of an application and whether they are locked or not. It also allows you to bulk lock or bulk unlock a bunch of pages. That page uses an interactive report with a column called "Status" which contains images that represent whether the page is locked or not. When you click the "Status" column heading to filter, instead of seeing the images of an open and closed lock, you see the words "Page Locked" and "Page Unlocked." And even better... when you select on of them, the condition that is displayed to the user is very user-friendly.
    Can someone tell me how this is done so I can replicate it in my own apps?
    Shane.

    Why not create the IR using the text you require e.g. 'Lock', 'Unlock' and then use JQuery to replace the text in the report with the image you want. All the filters should then show the plain text and the report will display the image. e.g.
    http://apex.oracle.com/pls/apex/f?p=46801:1
    Here's what I did:
    Firstly make sure the IR has a region template.
    Then create a Dynamic Action with the following attributes:
    1. Advanced
    2. Event: After Refresh
    3. Selection Type: Region
    4. Region: [select the IR Region]
    5. Action: Execute JS Code
    6. Fire on page load: [checked]
    7. Code:
    $('td [headers="TEST"]').each(function(index) {
      if ($(this).text() == 'Lock') {
        $(this).empty().html('<img src="/i/htmldb/icons/locked_small.gif" alt="Lock" />');
      else {
        $(this).empty().html('<img src="/i/htmldb/icons/unlocked_small.gif" alt="Unlock" />');
    });Where TEST is the column name.
    That's it, this may also be of interest:
    http://simonhunt.blogspot.com/2011/10/adjusting-interactive-report-column.html
    I hope it helps
    Shunt

  • Why is firefox displaying differently than IE?

    I'm trying to display the slideshow on my homepage without any border.  The correct view is found with firefox.  The main content in my css currently has a 1pt solid border because two things happen when i remove it.
    1. Firefox will display the slideshow off to the side.
    2. Firefox shows a space between the main content and the logo section
    I'd like to remove the border so that IE can display it correctly but i haven't found a way to do this without affecting the look in firefox.  I'm thinking it has something to do with margins and so forth but i can't pin it down.  Any help is much appreciated!
    site is found at http://moss1.moranshipping.com and I've attached my css

    In case anyone was wondering the below seems to have solved my problem:
    mainContent{
    border-top:inset solid #FFF;
    border-top:inset;
    With this I still have the border in firefox that I need so there are no spaces in between sections and IE will not display a thick border around my slideshow.

  • IE displays differently than on browserlab

    A specific page oon a site I am building is not rendering correctly in EI, EI is not seeing the Javascripts mycarousel or lightbox. In browserlab the carousel is correct. Just wondering if there is some adjustment i need to make on my EI program for it to use the those scripts.
    Site is www.deependesign.com
    Thanks in advance.

    Hi pereo,
    I'm not sure what the issue is. You might check out this blog post which has some details about how we have configured our versions of IE: http://blogs.adobe.com/browserlab/2011/06/22/ie-9-and-compatibility-view/

  • PDFs display differently in Internet Explorer 9 versus FireFox

    We use Adobe Reader X in all cases (10.4.1)
    On old computer, we have a website we go to using Internet Explorer (version 8.x on XP) where we ope/save & print to a PDF file. The information on the PDF prints vaules in a certain order - for example:   A,B, C    --works great--this is what we want it to do.
    We buy a new computer, Windows 7 with IE9, and the PDF displays with the same values in this order:  C,B, A  -   not good, do not want that.
    We try FireFox on the new computer  -- works great --just like it did on the old computer.
    What setting in IE9 is causing this PDF to display differently than in FireFox (or IE8)?
    UPDATE:  We did load IE8 on Windows 7 (by uninstalling IE9) and the PDF works fine --so it's not just something unique to FireFox. IE9 is displaying information in this PDF differently--why?

    Add/update these params in your web.xml and redeploy so the style class names are not optimized and client debugging is easier.
    <context-param>
        <param-name>org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT</param-name>
        <param-value>true</param-value>
      </context-param>
      <context-param>
        <param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name>
        <param-value>true</param-value>
      </context-param>

  • Lightroom displays colors differently than Photoshop

    Lightroom (and my image previewer - IfranView) display my image colors differently than photoshop.  This is very disturbing (why can't Adobe make this simple!)! 
    Image in question - see below.  Center image is Photoshop, left is Lr 4 and right is InfranView.
    Colorspace:  AdobeRGB 1998
    Image color (exported the TIFF file in Lr, what is shown below):  AdobeRGB 1998
    NOTE:  when I export out as sRGB, IfranView displays it correctly (I don't know why, it can't display ProPhoto correctly, but never had a problem with AdobeRGB).  Lightroom looks incorrect when viewing the TIFF, AdobeRGB JPEG and sRGB JPEG.
    What is going on??  I've tried this on two computers now and it is the same problem!

    The larger file is Adobe RGB and the smaller file is sRGB.  I see no difference in overall tone or color between the two files in LR 3, LR 4, LR 5, PS CS5, PS CS6, PS CC 2014, or Windows Photo Viewer which is color-managed, aside from an almost imperceptible change in the darkest blacks which I'd expect since you're converting AdobeRGB to sRGB at some point.
    I can make the Adobe RGB one look like it does at the left of your first screenshot if I Assign Profile: sRGB to it in PS.
    Since your monitor appears to be wide-gamut and therefore similar to Adobe RGB, I think the problem you're having is that LR thinks the monitor is sRGB for some reason, perhaps due to your switching the cables from one computer to the other without rebooting and recalibrating.  It's also possible that your profile is stored in the monitor rather than in the computer and one computer understands this and the other doesn't so you're getting double-profiling or no profiling occurring.
    It sounds the your only issue is having two computers attached alternatively to one monitor without having a valid profile on each computer for that monitor and aren't restarting each computer to load that profile.  At least that is my analysis given the limited information.
    I would conclude that nothing is wrong with LR or PS just the hardware connections and the color management confusion between the two computers, not your confusion, the computers'.

  • How do you make the title bar display different text than the page title?

    I'm looking for a way for the title bar display of my web page to be different than the text in the actual nav bar created by iWeb. For instance, I'd like the nav bar to just say Home for my main page, but in the title bar in the browser say "blah blah blah."
    I know there has to be a way to do this. iWeb has actually done it on one page already, but I can't figure out how. I think it picked up the title bar text from the first text box in the page. For instance, the page name in the navigation bar is "blahs for today" but the browser title bar when you open that page says "blah blah," which happens to be the first line of text on the page. The page title in iWeb.app, though, is "blahs for today." But if I look at the source code it lists title as "blah blah."
    I'm guessing I might be able to work around by making an invisible text box with the text that I want in the title bar as the very first thing on the page, and hope iWeb makes that the title bar text. I'd rather have a more correct way of doing it.
    Is there a way of doing this in the source code without having to change a lot of stuff?
    Thanks for any help.

    Richard Kirkman1 wrote:
    I think it picked up the title bar text from the first text box in the page. (...) I'm guessing I might be able to work around by making an invisible text box with the text that I want in the title bar...
    Richard ~ The key is the default Title box that iWeb creates for every new page — it's that which you need to edit, not another text box you've created. And to make the text in that Title box invisible, see here.

  • Power view display more than 500 values in a field

    From my research, it looks like the limit of values in a Power View filter is 500.  does anyone if this is configurable to increase (which
    I am doubting based on Microsoft’s website as I’ve copied below).  If it is not configurable and we cannot display more than 500 values when filtering, then what should be done
    https://technet.microsoft.com/en-us/library/hh231514%28v=sql.110%29.aspx

    You could always do the concatenation on the client. ie: "select action1, action2 from tableX" and then create a boilerplate object with text that references both of these columns. (eg: "&<action1> &<action2>"). This should give you the concatenation you're after.
    Another alternative is to return a "long" column instead. The 4000 is probably down to the varchar datatype restriction.

  • Image layouts display differently in Safari than in Explorer

    I have noticed that web page images display differently in Safari than in Explorer on a PC. On a PC, the web page may display three images side by side. In Safari, I might get two images side by side and the theid image below. Is there any correction for this? Thanks.
    Norb

    #sidebar_1 a:vistied {
    color:#000;
    is stating that all visited links in the #sidebar_1 div to be black. Are you saying that all visited links are black, outside the sidebar_1 div?
    Jim

  • Displaying variable no. of fields for different records

    Hi,
    I have the requirement of displaying variable no of fields for different type of record in the business object.How can this be done in VC. For example i have to show an extra field for country "IN"
    Thanks in advance,
    Regards,
    Anupam

    Hi Anupam,
    Please explain ur requirement more clearly.
    If understanding is right ,you are creating a Table/Form with the information of a particular company ,and u r interested to add another column to this table and this column should not be visible when to select another company. Am I right?
    What is the data source is it a BAPI or Query or Query View?
    1)Drag and drop a table from the Query(if suppose).Or form if u want to include in the form.
    2)And if u want another field(if it is to be calculated) in ur table u can have include an expression box by clicking a "+" sign in the table and specify the formula for it in the Expression field uder the Data source field in the General Tab.
    3)And if u want to hide this field when u select another country then u can set a visibility condition.
    4)Go to control properties window of the new field.U can get this by selecting the new added field and by clicking on configure or by left clicking the new field and then selecting the properties.
    5)Inside the General Tab, u have UI Control,below that u have Hidden which is a check box, just check it.And click on condition. Then type the condition for it to be hidden.Then it is hidden.
    Please try doing the above.
    Reward me with points if its helpful.
    Thanks,Regards,
    Sripriya Srinivasan.

  • How to join  fields from different internal tables and display into one int

    hai i have one doubt...
    how to join  fields from different internal tables and display into one internal table..
    if anybody know the ans for this qus tell me......

    hii
    you can read data as per condition and then can join in one internal table using READ and APPEND statement..refer to following code.
    SELECT bwkey                         " Valuation Area
             bukrs                         " Company Code
        FROM t001k
        INTO TABLE i_t001k
       WHERE bukrs IN s_bukrs.
      IF sy-subrc EQ 0.
        SELECT bwkey                       " Valuation Area
               werks                       " Plant
          FROM t001w
          INTO TABLE i_t001w
           FOR ALL ENTRIES IN i_t001k
         WHERE bwkey = i_t001k-bwkey
           AND werks IN s_werks.
        IF sy-subrc EQ 0.
          LOOP AT i_output INTO wa_output.
            READ TABLE i_t001w INTO wa_t001w WITH KEY werks = wa_output-werks.
            READ TABLE i_t001k INTO wa_t001k WITH KEY bwkey = wa_t001w-bwkey.
            wa_output-bukrs = wa_t001k-bukrs.
            MODIFY i_output FROM wa_output.
            CLEAR wa_output.
          ENDLOOP.                         " LOOP AT i_output
        ENDIF.                             " IF sy-subrc EQ 0
    regards
    twinkal

  • Flash.system.System.totalMemory different than Windows mem display

    Anyone know why flash.system.System.totalMemory is much
    different than what I see FlashPlayer taking up in the Windows Task
    Manager?
    I would expect to see some overhead, but the differences I'm
    seeing are quite large (i.e. 80MB vs 150MB).
    Thanks

    I may have run into something that might be related. The project I am working on was going fine until I added updates and switch from VGA to HDMI. I added the updates via ICE rather than download after install. The OS install went through the normal
    routine and rebooted. I removed the installation disk and the system rebooted and started to continue the install process. Then the screen went blank as if the system was going to reboot... nothing. I checked the HDMI output and still nothing. I removed
    all the updates and tried again, same exact result. If I power cycle the message says that the install failed.
    I went into the BIOS and found the video settings had support for CRT, HDMI and LVDS. I have ran into LVDS issues before. I disable LVDS, and set the system to output from CRT. This time the OS installer worked as expected. My guess is that the video driver
    switched to the LVDS screen. You might be getting a video driver update - check the BIOS settings and disable LVDS if enabled.
    Sean Liming - Book Author: Starter Guide SIM (WEI), Pro Guide to WE8S & WES 7, Pro Guide to POS for .NET - www.annabooks.com / www.seanliming.com
    There's no driver updates, also I don't have the option for LVDS in the bios. The computer has a display port and HDMI, I'm using the HDMI.
    I re-imaged the computer and tried updating 1 update at a time to try an isolate the problem. About 5 updates in I realized it would take several hours to complete the job, so I started to group the updates. The problem re-occurred with the following
    group of updates.
    KB2991963
    KB2992611
    KB2993958
    KB3003743
    KB3004361
    Unfortunately I don't see a correlation. I re-imaged and re-installed the updates on 3 other identical machines and could not reproduce the problem. Very frustrating...

  • Can OmniPortlet  display more than 5 fields?

    My OmniPortlet can only display 5 fields. Do I need to develop my own portlet if I want to display more fields?The ias10g I am using was downloaded from oracle.com. Is it because of the version of ias?

    Yeah Omni Portlet Can display more than 5 Fields. Edit OmniPortlet's Provider.xml and add the following information. For adding the following information, search for "DataFieldDefinition" in provider.xml. Add the following statements as last one in DataFieldDefinitions. This statment will add the 6th field to OmniPortlet. if you want one more then add the same again, but do change the Field name to Field7.
    Thanks,
    Seshan K.
    <dataField class="oracle.webdb.reformlet.definition.DataFieldDefinition">
    <name>Field6</name>
    <displayName>Column6</displayName>
    <description>Field6</description>
    <text>##column##</text>
    <alignment>left</alignment>
    <displayAs>hidden</displayAs>
    <type>linebreak</type>
    <font>Arial.3.Plain.None</font>
    <color>#000000</color>
    <style>none</style>
    <styleType>custom</styleType>
    </dataField>

Maybe you are looking for