Assistance to the construction of a link online and a Style in 4.1.1.00.23

Version 4.1.1.00.23

Hello

I need help to build an online link to another page that has to be Modal, and adding a STYLE POLICE / data of the calling page.

I have an interactive report that displays data (dates) in green, red or no staining according to the conditions. There is now an application to transform this data into a link to display a modal window with details related to the data.

The request contains BOX instructions to treat various conditions on multiple columns. This code is just for one of the columns. When it is working I can duplicate the technique for other conditions and columns.

It is one of the CASE statements with the current style:

...
,CASE
    WHEN ( ( ryg.proj_status != 2 AND ryg.proj_status != 4 ) OR TRUNC( SYSDATE ) <= TRUNC( wi_initiation.end_date ) ) THEN 
        TO_CHAR(pg_initiation.pgr_date,'MM/DD/YYYY')
    WHEN ( pg_initiation.status = 'C' AND pg_initiation.pgr_date IS NOT NULL AND TRUNC( wi_initiation.end_date ) IS NOT NULL ) THEN
           '<span style="width:100%;display:block;weight:bold;background-color: green;">' || TO_CHAR(wi_initiation.end_date,'MM/DD/YYYY') || '</span>'
    WHEN (pg_initiation.pgr_date IS NULL AND TRUNC(SYSDATE) > TRUNC( wi_initiation.end_date )) THEN
           '<span style="width:100%;display:block;weight:bold;background-color: red;">' || NVL(TO_CHAR(wi_initiation.end_date,'MM/DD/YYYY'),'Past Due') || '</span>'
    WHEN pg_initiation.pgr_date IS NULL OR pg_initiation.status = 'I' OR pg_initiation.status IS NULL OR TRUNC( wi_initiation.end_date ) IS NULL THEN
           '<span style="width:100%;display:block;weight:bold;background-color: red;">' || NVL(TO_CHAR(wi_initiation.end_date,'MM/DD/YYYY'),'Not Found') || '</span>'
END initiation
...

Once again, the request must now make data, end Date, a link to a modal page that displays the details of that Date.

The modal page will accept the 4 parameters to retrieve the correct record and display information.

That's what I've tried so far, however, I only display the code of the State where I worked with to try to keep this short code. I work with the 3rd condition, that if there is no Date, then display "suffering".

...
,CASE
...
    WHEN (pg_initiation.pgr_date IS NULL AND TRUNC(SYSDATE) > TRUNC( wi_initiation.end_date )) THEN
           '<a href="#" onclick=javascript:modalWin("||portfolio.portfolio_id,ryg.ryg_proj_id,pg_initiation.pdm_phase_id,pg_initiation.status||")>
            <span style="width:100%;display:block;weight:bold;background-color:red;color:blue">'||NVL(TO_CHAR(wi_initiation.end_date,'MM/DD/YYYY'),'Past Due')||'</span></a>'
...
END initiation
...

The Javascript code for the modalWin function is in the service and the declaration of global variables from the Page definition in the region of Javascript:

function modalWin(PORT_ID,RYG_PROJ_ID,PHASE_ID,INIT_STATUS)
{
    window.showModalDialog("f?p=&APP_ID.:118:&SESSION.:POP:NO::P118_PORTFOLIO_ID,P118_RYG_PROJ_ID,P118_PDM_PHASE_ID,P118_PHASE_GATE_STATUS:" + PORT_ID + "," + RYG_PROJ_ID + "," + PHASE_ID + "," + INIT_STATUS"::","name","dialogWidth:"+screen.availWidth+";dialogHeight:"+screen.availHeight+";scrollbars:yes");
}

I hope I'm clear and can someone help me get the link to work.

If something is not clear, please let me know!

Thank you

Joe

I see the property Expression of HTML in a column of IR in 4.2.0.

Have you looked at the video tutorial for the skillbuilders plugin? You should be able to build a link to the plugin using a more declarative way.

You will still flood your SQL shared pool with instructions similar sql with this technique.

Your query could be back 'lack of keyword' because of something not included in your extract, but based on your current technique, do not build your string in the same way that you have built your channel of dialogue above

... portfolio.portfolio_id | ',' | RYG.ryg_proj_id...

Tags: Database

Similar Questions

  • How to add the checksum in a link online?

    Hello world.
    I have a small problem... I am building an app and all pages have the Access Protection Page = 'Arguments must have checksum.
    APEX automatically adds the checksum to the URLS in each BRANCH to point and generates a link.
    When I build a link within a procedure, I use APEX_UTIL. Function PREPARE_URL to add this checksum.
    But when I build a link online, I don't know how to add this checksum. Maybe it's just a java thing, but I'm new to javascript so I'm here guys ask for help.
    There are 2 situations where I use the links online:

    As a value of element that displays a link:
    href = "f? p = & APP_ID.:22: & SESSION. : & DEBUG. : P22_TABID:9 "> history

    And in a target URL that opens a pop-up window, some like this:
    JavaScript:popUp2('f?p=&APP_ID.:22:&session.::&Debug.::P22_TABID:9',500,400)

    How to add totals to control here?
    Thanks in advance
    Oscar

    Published by: user10712087 on 01/31/2009 14:29

    Published by: user10712087 on 01/31/2009 14:32

    Hello

    Just for you (and the other) know, the APEX_UTIL. Function PREPARE_URL, Scott has done you, adds a parameter - & cs = - f originally? p URL. When using JavaScript, as in your example, you must escape the ampersand (and other element values, that may contain special characters). You can learn more on this topic in here - http://download.oracle.com/docs/cd/E10513_01/doc/apirefs.310/e12855/apex_util.htm#CDEIBCJD.

    Kind regards
    Arie.

  • Could not find instant during the construction of office linked clone.

    I am trying to build a non-persistent desktopool automated using a linked clone. She finds the parent VM, but it does not find the snapshot used as image to the next step. The computer virtual machine has a snapshot on it.

    The master VM is turned off?

    And also the wink has built with the virtual machine off?

    André

  • I bought a video cord S to go to the back of my laptop. I then connected it to my TV but nothing appears on this video driver from the TV. I looked online and then option it gave me was to go to display settings and add two monitors.

    -no option on my Windows XP Professional to add bi-ecrans

    -no option on my Windows XP Professional to add bi-ecrans

    =======================================
    Perhaps the following links will propose a few ideas:

    How to connect my computer to a TV
    http://hookpctotv.com/

    How to connect your PC to your TV
    http://en.kioskea.NET/FAQ/Sujet-228-how-to-connect-your-PC-to-your-TV-set

    Company information
    http://www.SVIDEO.com/info.html J of volunteer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • The AutoPage plugin can be used to bypass the payment of a product online and still download the product. How can we prevent this?

    The auction site is on a WordPress platform and we have reports that the AutoPager plugin allows to bypass the payment page and that it allows someone to download the products without a payment. How can prevent us this?

    THANK YOU THANK YOU THANK YOU!

    The site is on a WordPress platform and I found a plugin that would eliminate these tags meta (and other unnecessary stuff).

    Once again, everything is perfect! Thank you SOOO much!

  • Links: Assets and hyperlink Styles

    Hello

    Curious to know...

    I have a button and there properties of design for active state...

    The properties of Visual design Active state differ from those of the other States of the button (normal, rollover, down)

    Hyperlink from the button is an anchor on another page...

    The button remains on the two pages...

    When I publish/preview, the active state is not displayed after clicking

    I checked the box inside the Hyperlink dialog box to display the active States

    The button itself has no defined hyperlink style or set however.

    I need styles of hyperlink defined and applied to the key before the active State will show?

    I don't make any sense?

    Thank you. I guess I could run through an exercise to find out but I've been here so I thought I'd post the question.

    I fixed it myself by dumping the widget to third in input/OUTPUT of QooQee.

    http://www.qooqee.com/Adobe-Muse-freebies/in-out-transition-Adobe-Muse-Widget

    Now that I emptied this widget, all anchors and active States act as intended. I should have checked that before giving them positive support on the site Add Ons... Yes. I go to them first for support and none was offered / condition. I received an email or two is to say that they could not help... Seems good test was abandoned by many.

    https://creative.Adobe.com/addons/products/3143#.VE0rHPnF98E

  • How can I cancel a subscription and get a refund? An application does not work, the "assistance of the developer page" link provided by itunes is broken.

    How can I cancel a subscription and get a refund?

    An application does not work, the "assistance of the developer page" link provided by itunes is broken, and email provided by the application developer's sole means of support, but no response in 3 weeks to multiple addresses.

    The page you posted has since how to stop an auto-renewal subscription to renew again (see, change, or cancel your subscription - Apple Support).

    To contact iTunes support try http://reportaproblem.apple.co or https://www.apple.com/emea/support/itunes/contact.html

  • I hope you can help me.  I bought adobe captivate 8 online and when I click the e-mail link for download, it comes up with 7 programs, some are 64-bit and some are not, my computer is 32-bit.  I don't know which of these 7 to download?  All or just

    I hope you can help me.  I bought adobe captivate 8 online and when I click the e-mail link for download, it comes up with 7 programs, some are 64-bit and some are not, my computer is 32-bit.  I don't know which of these 7 to download?  All or just the 4 non 64-bit?

    I tracked down the problem with the download and installation, my windows 7 was missing a file and everything worked after reinstalling windows.  The first 32-bit program in their list was used.  I hope this can help others.

  • On assistance from the line compared to the wide assistance online

    Seen on the line help is fine if you're in the middle of a city where broadband is fast and reliable. I live 3 miles from a telephone switchboard, I can often receive assistance online, or if I can, I have to wait for long periods of time to download.

    Using the option to disable online them using local help files looks like an option and it can be done by using regedit (Windows XP) to the octet of aid from 1 to 0. However, it stops also all updates from Adobe if I read things.

    How can I implement assistance so that the first option is online, and if can't find any help on the subject, I can easily switch allowing the line without having to change my registry everytime. Microsoft word has this option at the click of a button.

    Is there one in the suite CS4?

    I found all the help files for the Adobe programs on my main drive - I opened each individually and made them a favorite in an Adobe Help file.

    Now I just use the Favorites of aid unless I choose to go online.

    I agree that the help or F1 should be for the help file on your computer first. I also wish that adobe would realize that a lot of people in other parts of the world do not have broadband. Although I have broadband, I'm out of town, and it may be intermittent; I'd rather have the choice when I search online.

  • Newbie on the insertion of hypertext links question

    Hello:

    I'm having some trouble finding how to insert a hyperlink in my document. I would like to insert a link in my document that, when clicked, opens a new Web browser at the specified URL. I read the online help and thought that I had inserted the text correct marker but I don't get the results I wanted.

    I have inserted the marker of Hypertext "Message URL" and the URL address. I have a link but nothing happens when I click it. I missed or done wrong? It is even possible to do?

    TIA,

    Kimberly

    PS: I use v8.0P277 on Windows XP. The document will be available to customers in PDF format (I have create using print to PDF).

    Make sure you have a full web address starting with http:// (or https://, ftp: / /, mailto :))

    In addition, the message should be very tiny.

    Shlomo Perets

    MicroType, http://www.microtype.com
    FrameMaker/SDC training & consulting * FM-to-Acrobat TimeSavers/Assistants

  • Updated and now the phone won't work online only works with 4G

    Download ios 10 and now my phone does not work online only work with 4G

    Hello thomas.friar,

    Thanks for asking for help with your iPhone to connect to the internet via wi - fi since the upgrade to iOS 10. We don't like to hear about the problems that occur after an upgrade. Here's what I recommend.

    The first thing we want to make sure that all of your data on the Mac and the iPhone is safe. For iPhone, you can perform a backup in iCloud or iTunes using this article: backing up your iPhone, iPad, and iPod touch.

    Then, follow the steps in this link: If your iPhone, iPad or iPod touch connects to a Wi-Fi network

    Thanks again and have a great rest of your day.

  • Part of the browser screen will flash intermittently and when trying to select a link out of my drop-down lists, click with the mouse selects the link above it.

    These problems occur only when you use Mozilla Firefox. I am using a Lenovo Thinkpad:
    1 site Web seem to flicker on the images, videos, maps, when the mouse moves around the screen.
    2 pointing the mouse over a link in the browser and a left click activating the link above (if it exists)

    Do not experience problems with google or ie. It started a few days ago.

    Thoughts?

    Hello paulo.eichelberger, try Disabling graphics hardware acceleration.

    You will have to perhaps restart Firefox for it to take effect, so save any work first (e.g. you compose mail, documents online that you are editing, etc.).

    Then perform the following steps:

    1. Open the Firefox Options window as follows:

      • Click the menu button

        then select Options.

    2. In the Options of Firefox window, click the Advanced tab, and then select general.
    3. You will find in the list of parameters, the checkbox use hardware acceleration when available . Clear this check box.
    4. Now restart Firefox and see if the problems persist.

    In addition, please check the updates for your graphics driver by following the steps in the following knowledge base articles:

    This solve your problems? Please report to us!

    Thank you.

  • How can I extend the warranty of my phone online?

    Hello

    I would like to know how to extend the warranty on my phone online? My PC model: Compaq 620 Energy Star, product no.-XP866PA, country-India. Unable to get all the details on the site. My 1 year warranty expires the 10th of this month & I want to get a 2-year extended warranty plan.

    Help, please!

    Hello

    Click on the link below:

    Total Care for your HP laptop

  • The good examples of the construction and analysis of the data in bytes?

    Hi all

    Very soon, I'll have to find a way to build messages to bytes to send to a serial port and a serial port to receive and review to the basis of events out of...

    However, before I delve into the complexities of the serial port communication and VISA, etc... I would just like to see some examples of working mainly with data of bytes.

    I found how to get a digital constant the byte value... the binary representations signed and unsigned, etc..

    However, if I could find a simple example or tutorial just to see how to assemble the byte-code... and how to analyze it, it would prove invaluable for me to study.  I've never really worked at the byte level / binary front... and a few examples with LV would be very practical.

    Anyone know of any good links out there something like this?

    I'll eventually be sending 5 bytes out I need to build... and will receive 9 bytes in, each of which I need to parse out and respond...

    Links or information GREATLY appreciated.  I'm pretty decent analysis of the chains, real expressions, etc... but never worked with the construction and analysis of the data in bytes.

    Thank you in advance,

    Cayenne

    If you are comfortable with binary data, you can use the Boolean charts. Look at the number of table Boolean and array Boolean functions numbers. Instead of masking with an AND, you can easy to use array index to check a bit particular.

  • Cannot map 323 D-link; my computer does not recognize the Volume_1 of D-Link

    I'm not able to map my D-Link 323; my computer recognizes the D-Link, but does not recognize the Volume_1 of D-Link.  I would be grateful if someone has an idea how to solve the problem.

    Sincere thanks, Bob

    Hello

    1. which version of the operating system are you using?

    2. do you receive any error messages?

    See the following site:

    http://Windows.Microsoft.com/en-us/Windows7/create-a-shortcut-to-map-a-network-drive

    For more assistance, contact the manufacturer.

Maybe you are looking for