Return multiple links (href)

Hi,
I am customizing a software application using Stored Procedure and XML to display information on multiple links (a href tag). My scenario is as follows.
I am accepting SP parameters and returning reference cursor for 1 or more records (depending on the condition). I am wondering how I can use multiple link values based on each record unique value (ID etc).
Can I test result of reference cursor using IDE (PL/SQL developer, Oracle sql developer).
My stored procedure works fine without links.
PROCEDURE GetLinkValues (
resultData OUT SYS_REFCURSOR
) AS
BEGIN
OPEN resultData FOR
select
id, name, '<a href GetDetails.dll' a.id || '</a>' as MultipleLinks
from Test
where {Filter Recrods}
END GetLinkValues;
Any help is appreciated.
Thanks
Sam

The calling program must set this flag, not your search-help.
On a select-option field, don't press F4 but the yellow arrow right, the multiple line selection screen is displayed, there you press the "multi-selection" box.
Regards

Similar Messages

  • link href="style sheet error returned"

    <link href="rescueRegister.css" rel="stylesheet" type="text/css" />
    Check browser compatibility in DW CS4 on mac returned the following but did not suggest solution. Anyone have a suggestion?
    Found 4 errors in rescueRegister.css
    Affects: Internet Explorer 6.0, 7.0; Internet Explorer for Macintosh 5.2; Opera 8.0, 9.0; Safari 2.0

    Here is the css
    @charset "UTF-8";
    body  {
    padding: 0;
    text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
    color: #000000;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 100%;
    background-color: #000;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    .thrColFixHdr #container {
    width: 1024px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
    background: #FFFFFF; /* the auto margins (in conjunction with a width) center the page */
    border: 1px solid #000000;
    text-align: left; /* this overrides the text-align: center on the body element. */
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    height: 825px;
    .thrColFixHdr #header {
    background-color: #DDDDDD;
    background-image: url(images/rescuehead.jpg);
    height: 200px;
    padding-top: 0;
    padding-right: 10px;
    padding-bottom: 10;
    padding-left: 20px;
    margin: 0px;
    .thrColFixHdr #sidebar1 {
    float: left; /* since this element is floated, a width must be given */
    width: 205px; /* padding keeps the content of the div away from the edges */
    padding-top: 25px;
    padding-right: 0px;
    padding-bottom: 15px;
    padding-left: 0px;
    height: 500px;
    background-color: #F9F4EF;
    }.smallprint {
    font-size: 10px;
    color: #444;
    CSS
    #navcontainer
    background: #f0e7d7;
    width: 205px;
    font-family: georgia, serif;
    font-size: 13px;
    text-align: center;
    text-transform: lowercase;
    margin-top: 0;
    margin-right: 0px;
    margin-bottom: 0;
    margin-left: 0px;
    padding-top: 1em;
    padding-right: 0;
    padding-bottom: 1em;
    padding-left: 0;
    ul#navlist
    text-align: left;
    list-style: none;
    padding: 0;
    width: 205px;
    margin-top: 0;
    margin-right: 0px;
    margin-bottom: 0;
    margin-left: 0px;
    ul#navlist li
    display: block;
    margin: 0;
    padding: 0;
    ul#navlist li a
    display: block;
    width: 100%;
    padding: 0.5em 0 0.5em 2em;
    border-width: 1px;
    border-color: #ffe #aaab9c #ccc #fff;
    border-style: solid;
    color: #555;
    text-decoration: none;
    background: #f7f2ea;
    #navcontainer>ul#navlist li a { width: auto; }
    ul#navlist li#active a
    background: #f0e7d7;
    color: #800000;
    ul#navlist li a:hover, ul#navlist li#active a:hover
    color: #800000;
    background: transparent;
    border-color: #aaab9c #fff #fff #ccc;
    .thrColFixHdr #mainContent {
    margin-top: 0;
    margin-right: 55px;
    margin-bottom: 0;
    margin-left: 220px;
    padding-top: 0;
    padding-right: 10px;
    padding-bottom: 0;
    padding-left: 10px;
    .thrColFixHdr #footer {
    padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
    background:#DDDDDD;
    .thrColFixHdr #footer p {
    margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
    padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    font-size: 11px;
    .fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
    float: right;
    margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page */
    float: left;
    margin-right: 8px;
    h2 {
    font-size: 18px;
    a:link {
    color: #022A4E;
    text-decoration: none;
    a:visited {
    text-decoration: none;
    color: #5D1A0F;
    a:hover {
    text-decoration: none;
    a:active {
    text-decoration: none;
    h1 {
    font-size: 24px;
    line-height: normal;
    font-style: normal;
    text-align: left;
    padding: 0px;
    margin-top: 21px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    #mainContent p small print {
    font-size: 12px;
    color: #777;
    #mainContent p small print {
    font-size: 10px;
    color: #444;

  • [UIX] How To: Return multiple values from a LOV

    Hi gang
    I've been receiving a number of queries via email on how to return multiple items from a LOV using UIX thanks to earlier posts of mine on OTN. I'm unfortunately aware my previous posts on this are not that clear thanks to the nature of the forums Q&A type approach. So I thought I'd write one clear post, and then direct any queries to it from now on to save me time.
    Following is my solution to this problem. Please note it's just one method of many in skinning a cat. It's my understanding via chatting to Oracle employees that LOVs are to be changed in a future release of JDeveloper to be more like Oracle Forms LOVs, so my skinning skills may be rather bloody & crude very soon (already?).
    I'll base my example on the hr schema supplied with the standard RDBMS install.
    Say we have an UIX input-form screen to modify an employees record. The employees record has a department_id field and a fk to the departments table. Our requirement is to build a LOV for the department_id field such that we can link the employees record to any department_id in the database. In turn we want the department_name shown on the employees input form, so this must be returned via the LOV too.
    To meet this requirement follow these steps:
    1) In your ADF BC model project, create 2 EOs for employees and departments.
    2) Also in your model, create 2 VOs for the same EOs.
    3) Open your employees VO and create a new attribute DepartmentName. Check “selected in query”. In expressions type “(SELECT dept.department_name FROM departments dept WHERE dept.department_id = employees.department_id)”. Check Updateable “always”.
    4) Create a new empty UIX page in your ViewController project called editEmployees.uix.
    5) From the data control palette, drag and drop EmployeesView1 as an input-form. Notice that the new field DepartmentName is also included in the input-form.
    6) As the DepartmentName will be populated either from querying existing employees records, or via the LOV, disable the field as the user should not have the ability to edit it.
    7) Select the DepartmentId field and delete it. In the UI Model window delete the DepartmentId binding.
    8) From the data controls palette, drag and drop the DepartmentId field as a messageLovInput onto your page. Note in your application navigator a new UIX page lovWindow0.uix (or similar) has been created for you.
    9) While the lovWindow0.uix is still in italics (before you save it), rename the file to departmentsLov.uix.
    10) Back in your editEmployees.uix page, your messageLovInput source will look like the following:
    <messageLovInput
        model="${bindings.DepartmentId}"
        id="${bindings.DepartmentId.path}"
        destination="lovWindow0.uix"/>Change it to be:
    <messageLovInput
        model="${bindings.DepartmentId}"
        id="DepartmentId"
        destination="departmentsLov.uix"
        partialRenderMode="multiple"
        partialTargets="_uixState DepartmentName"/>11) Also change your DepartmentName source to look like the following:
    <messageTextInput
        id=”DepartmentName”
        model="${bindings.DepartmentName}"
        columns="10"
        disabled="true"/>12) Open your departmentsLov.uix page.
    13) In the data control palette, drag and drop the DepartmentId field of the DepartmentView1 as a LovTable into the Results area on your page.
    14) Notice in the UI Model window that the 3 binding controls have been created for you, an iterator, a range and a binding for DepartmentId.
    15) Right click on the DepartmentsLovUIModel node in the UI Model window, then create binding, display, and finally attribute. The attribute binding editor will pop up. In the select-an-iterator drop down select the DepartmentsView1Iterator. Now select DepartmentName in the attribute list and then the ok button.
    16) Note in the UI Model you now have a new binding called DCDefaultControl. Select this, and in the property palette change the Id to DepartmentName.
    17) View the LOV page’s source, and change the lovUpdate event as follows:
    <event name="lovSelect">
        <compound>
            <set value="${bindings.DepartmentId.inputValue}" target="${sessionScope}" property="MyAppDepartmentId" />
            <set value="${bindings.DepartmentName.inputValue}" target="${sessionScope}" property="MyAppDepartmentName" />
        </compound>
    </event>18) Return to editEmployees.uix source, and modify the lovUpdate event to look as follows:
    <event name="lovUpdate">
        <compound>
            <set value="${sessionScope.MyAppDepartmentId}" target="${bindings.DepartmentId}" property="inputValue"/>
            <set value="${sessionScope.MyAppDepartmentName}" target="${bindings.DepartmentName}" property="inputValue"/>     
        </compound>
    </event>That’s it. Now when you select a value in your LOV, it will return 2 (multiple!) values.
    A couple things to note:
    1) In the messageLovInput id field we don’t use the “.path” notation. This is mechanism for returning 1 value from the LOV and is useless for us.
    2) Again in the messageLovInput we supply “_uixState” as an entry in the partialTargets.
    3) We are relying on partial-page-refresh functionality to update multiple items on the screen.
    I’m not going to take the time out to explain these 3 points, but it’s worthwhile you learning more about them, especially the last 2, as a separate exercise.
    One other useful thing to do is, in your messageLovInput, include as a last entry in the partialTargets list “MessageBox”. In turn locate the messageBox control on your page (if any), and supply an id=”MessageBox”. This will allow the LOV to place any errors raised in the MessageBox and show them to the user.
    I hope this works for you :)
    Cheers,
    CM.

    Thanks Chris,
    It took me some time to find the information I needed, how to use return multiple values from a LOV popup window, then I found your post and all problems were solved. Its working perfectly, well, almost perfectly.
    Im always fighting with ADF-UIX, it never does the thing that I expect it to do, I guess its because I have a hard time letting go of the total control you have as a developer and let the framework take care of a few things.
    Anyway, I'm using your example to fill 5 fields at once, one of the fields being a messageChoice (a list with countries) with a LOV to a lookup table (id , country).
    I return the countryId from the popup LOV window, that works great, but it doesn't set the correct value in my messageChoice . I think its because its using the CountryId for the listbox index.
    So how can I select the correct value inside my messageChoice? Come to think of it, I dont realy think its LOV related...
    Can someone help me out out here?
    Kind regards
    Ido

  • How can I return multiple values with PL/SQL Web Services

    Hi,
    I'm new to developping Web Services. I'm doing some tests with JDeveloper and OC4J on my local machine with a Web Services based on a PL/SQL function within a package. Right now that function only returns one value. So the xml response only has one output.
    I'd like to know how can I return multiple values with my PL/SQL Web Service. For example, if I want to return an employee's name and id? And that the xml contains two output : <employee>, <empid>?
    Reginald
    ps : I have searched the forum and I couldn't find an answer to this question, if that has been discussed AND answered before, can you please post the link? Thanks

    Alright, I actually found my answer. Since this was asked I think as a followup somewhere else I'll give my answer.
    It is very simple, all you have to do is create an Object Type and then Return that object type. After that, JDeveloper will take care of everything and you will have an xml response with multiple values. Here
    {color:#ff0000}
    create or replace TYPE person AS OBJECT
    ( id_interv number,
    first_name VARCHAR2(50),
    last_name VARCHAR2(50),
    date_birth date
    );{color}
    Then your function used in your Web Service should look something like this :
    {color:#ff0000}
    function info_emp (p_empno IN VARCHAR2) RETURN person AS
    l_emp person := person(-1,'','','');
    BEGIN
    SELECT first_name
    ,last_name
    ,emp_no
    INTO l_emp.first_name
    ,l_emp.last_name
    ,l_emp.emp_no
    FROM emp
    WHERE upper(emp_no) = upper (emp_no);
    {color}
    {color:#ff0000}
    RETURN l_emp;
    EXCEPTION WHEN NO_DATA_FOUND THEN
    l_emp := person (-1,'n/a','n/a','n/a');
    RETURN l_emp ;
    END info_emp;{color}
    {color:#ff0000}{color:#000000}After that, this is what the xml response looks like :{color}{color}
    &lt;first_name xsi:type="xsd:string"&gt;John&lt;/first_name&gt;
    &lt;last_name xsi:type="xsd:string"&gt;Doe&lt;/last_name&gt;
    &lt;emp_no xsi:type="xsd:string"&gt;0250193&lt;/emp_no&gt;

  • [svn] 889: Add test case for BLZ-82 where HttpService should return multiple headers with the same name .

    Revision: 889
    Author: [email protected]
    Date: 2008-03-21 13:08:05 -0700 (Fri, 21 Mar 2008)
    Log Message:
    Add test case for BLZ-82 where HttpService should return multiple headers with the same name.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-82
    Added Paths:
    blazeds/trunk/qa/apps/qa-regress/remote/MultipleHeadersTest.jsp
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/proxyService/httpservice/MultiHe aderTest.mxml

    Hi again,
    this may be old news to some people, but I just realized we can have the desired benefits I originally listed (encapsulation, reuse, maintainability, security) TODAY by using pipelined functions and using the table() function in Apex report region queries.
    So the report query basically becomes, for example (if get_employees is a pipelined function)
    select * from table(my_package.get_employees(:p1_deptno))
    The only downside compared to a (weakly typed) sys_refcursor is that you have to define the type you are returning in your package spec (or as an SQL type). So it's a bit more coding, but it's still worth it for the other benefits it provides.
    I like Apex even better now! :-)
    - Morten

  • How to apply style to multiple links?

    I'm a newbie here, so maybe this is a simplistic question.  I am having trouble applying a color style to multiple links on a webpage at the same time.  I have a page setup with a layout similar to the Drudge Report, which posts href links separated by horizontal rule lines.  I want to apply a color style to these links, but I'm finding I have to select each link individually in design mode to apply the style.  When I select multiple links in design mode, the color doesn't apply to the text.  It's time consuming to select each link individually.  I can do this easily in Microsoft Visual Web.  How can I do it in Dreamweaver?

    The best way is to put all related links into a division. 
    Let's say you want to have red links in your #header and white links in your #footer which has a black background.
    CSS, set up two sets of link styles:
    #header a {text-decoration:none}
    #header a:link {color:red}     /**unvisited**/
    #header a:visited {color:gray} /**visited**/
    #header a:hover,               /**on mouse over**/
    #header a:active,              /**on click**/
    #header a:focus                /**on tab key**/
        {text-decoration:underline}
    #footer {background: #000;}
    #footer a {text-decoration:none}
    #footer a:link {color:white}
    #footer a:visited {color:yellow}
    #footer a:hover,
    #footer a:active,
    #footer a:focus 
        {text-decoration:underline}
    HTML:
    <div id="header">
    <a href="some-link.html">Link in the header</a> |
    <a href="some-link.html">Link in the header</a> |
    <a href="some-link.html">Link in the header</a> |
    </div>
    <div  id="footer">
    <a href="some-link.html">Footer link</a> |
    <a href="some-link.html">Footer link</a> |
    <a href="some-link.html">Footer link</a> |
    </div>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • Updating a table with a query that return multiple values

    Hi,
    I'm trying to update a table which contain these fields : ItemID, InventoryID, total amounts
    with a query that return these values itemId, inventoryid and total amounts for each items
    Mind you, not all the rows in the table need to be updated. only a few.
    This what i wrote but doesn't work since the query return multiple values so i can't assign it to journalAmounts.
    UPDATE [bmssa].[etshortagetemp]
    SET JournalAmounts = (SELECT sum(b.BomQty) FROM [bmssa].[Bom] b
    JOIN [bmssa].[SalesLine] sl ON sl.ItemBomId = b.BomId
    JOIN [bmssa].[SalesTable] st ON st.SalesId = sl.SalesId
    WHERE st.SalesType = 0 AND (st.SalesStatus IN (0,1,8,12,13)) AND st.DataAreaId = 'sdi'
    GROUP BY b.itemid, b.inventdimid)
    Any advise how to do this task?

    Remember that link to the documentation posted above that explains exactly how to do this. When you read it which part exactly were you having trouble with?

  • Custom database functoid to return multiple rows from database

    Hi,
    I have created a custom database fucntoid to execute a stored procedure which returns just single row from the database.But I could not manage to return multiple rows from the database.
    Does anyone know how to return multiple rows from DB and create a node with that many occurrences in the target schema?
    Thanks
    JB

    If you want to do this in messaging-only way without orchestration, then only option let to you is using .NET in BizTalk:
    We had similar requirement with one of our clients, where they didn’t want to use orchestration (though we emphasised on less impact orch would have compared to manageability),
    they still wanted to have pure-messaging only.
    We extended the custom XslTransform component that ships with BizTalk SDK (<BizTalk installation directory>\SDK\Samples\Pipelines\XslTransformComponent)).
    Created a custom disassembler pipeline component, used the XslTransform component from SDK to execute the map’s XSLT. Here we created a map with every links except the database ones. After executing the map, access the database, execute the store procedure
    which returns more than one row/dataset, enrich the XSLT transformed message with the dataset from your database in disassembler.
    Since .NET gives you the flexibility of access the dataset with more than one row, you can enrich the message in custom pipeline code.
    Other option is code the message transformation completely in .NET code in custom disassembler by passing the received message to method/code which would code the map/enrichment.
    While enriching you can execute the store procedure which returns more than one row/dataset, enrich the message further with the dataset from db.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • How to return multiples values useing functions

    Hi to all,
    I am using functions to return multiple values of two rows or multiple rows.
    For example emp id = 100 and i need to return the value for this(empid) input and output of this first_name and salary.
    I am tried in this way below but got errors (ORA-00932: inconsistent datatypes: expected NUMBER got HR.EMP_TYPE)
    create or replace type emp_type as object(first_name varchar2(20),salary number);
    create or replace function f1(empid in number)
    return emp_type
    as
    emp_record emp_type;
    begin
    select first_name,salary into emp_record.first_name,emp_record.salary from employees where employee_id = empid ;
    return emp_record;
    end;
    select f1(100) from dual;

    Sql is Sql and plsql is plsql. Though we can almost use all the sql objects inside a plsql code but vice versa is not always possible. Since plsql is tightly integrated with sql , if you return a number/date/varchar2 datatype values from plsql code to sql code,there is nothing wrong .Sql acknowledges this return type and knows well about how to handle it .But plsql record is a plsql specific datatype ,oracle was not built keeping in mind the fact that people will be creating difference types of records in plsql .So if you return a plsql datatype into a sql statement (which is processed by a sql engine) ,you need to tell oracle that I have written a plsql code which is going to return a record type so that sql engine can interpret it well.
    So all you need to do is create record in sql (known as object in sql ),when you make one, the entry is going to be shown in user_types views. Now use it like any other data type. I assume that the forum link provided in the above post is the best one to understand.
    Thanks,
    Rahul

  • How can IWD_VALUE_HELP return multiple values, instead of one

    Hello expert,
    I have requirement to use F4 help to return multiple values to the using WD component. Basically in my main WD component, I have a View where I have a list box, this list box has a F4 assigned to it, clicking on the F4 brings up hte F4 help, in the F4 help, user can select multiple values which should be returned to my main component / view to be displayed in the list box.
    I'd implement IWD_VALUE_HELP to create my own F4 help component. However I have difficulty to return multiple values. As I understand there is only way to return data from F4 help to the calling Main WD component / view:
    Item_LISTENER->F4_CONTEXT_ELEMENT->set_attribute( name = 'MYATTRName' value = myvalue).
    Do you guys know how to archive what is required here?
    Thanks
    Jayson

    Hello Jayson,
    the element reference that is passed into the IWD_VALUE_HELP implementing component is the element of the calling application's context.
    Therefore you can use methods like
    IF_WD_CONTEXT_ELEMENT->GET_NODE
    (to get the parent node of the element) and 
    IF_WD_CONTEXT_ELEMENT->GET_CHILD_NODE
    to get access to other parts of the context.
    say for example your value help should populate a pop-in table with multiple entries.
    your application allows you to choose a type of ice-cream cone and then to choose the flavour of ice-cream (multi selection)has a structure like:
    Context_root
    --> List_of_ice_creams (0..n)
    >Ice_cream_flavours(1..n)
    In the element of list_of_ice_creams you have an attribute "flavour" which links to your value help.
    Choosing this value-help should allow you to select multiple flavours, return these and populate them into the sub-node Ice_cream_flavours.
    Within your custom value help you can get a reference to the node Ice_cream_flavours by calling the method
    lo_flavour_node = IItem_LISTENER->F4_CONTEXT_ELEMENT->GET_CHILD_NODE("ICE_CREAM_FLAVOURS"). You could then populate this in you value help component.
    As I mentioned - this isn't great as it means the value help cannot really be used elsewhere as it has a dependency on the structure of the calling context. But that may not be an issue for you.
    Hope that helps,
    Chris

  • Crash app with link href

    app Windows phone 8.1 java script model hub
    if i insert a link href
    <a href "/page1.html">example</a>
    i go to the page1.html but if i insert a link href with an img or h1, h2,h3 ecc 
    <a href="/page2.html"><h1>cis</h1></a>
    tha app crash! why?
    http://1drv.ms/1Gqkeuq this is the app
    this is my home.js
    (function () {
    "use strict";
    var nav = WinJS.Navigation;
    var session = WinJS.Application.sessionState;
    var util = WinJS.Utilities;
    // Ottenere i gruppi utilizzati dalle sezioni associate a dati dell'hub.
    var section3Group = Data.resolveGroupReference("group4");
    var section3Items = Data.getItemsFromGroup(section3Group);
    WinJS.UI.Pages.define("/pages/hub/hub.html", {
    processed: function (element) {
    return WinJS.Resources.processAll(element);
    // La funzione viene chiamata quando un utente passa a questa pagina. Popola
    // gli elementi della pagina con i dati dell'applicazione.
    ready: function (element, options) {
    var hub = element.querySelector(".hub").winControl;
    hub.onheaderinvoked = function (args) {
    args.detail.section.onheaderinvoked(args);
    hub.onloadingstatechanged = function (args) {
    if (args.srcElement === hub.element && args.detail.loadingState === "complete") {
    hub.onloadingstatechanged = null;
    hub.element.focus();
    // TODO: inizializzare la pagina qui.
    WinJS.Utilities.query("a").listen("click", linkClickEventHandler, false); //Intersect the href and call the linkClickEventHandler function
    section3DataSource: section3Items.dataSource,
    section3ItemNavigate: util.markSupportedForProcessing(function (args) {
    var item = Data.getItemReference(section3Items.getAt(args.detail.itemIndex));
    nav.navigate("/pages/item/item.html", { item: item });
    unload: function () {
    // TODO: rispondere alle navigazioni all'esterno di questa pagina.
    updateLayout: function (element) {
    /// <param name="element" domElement="true" />
    // TODO: rispondere alle modifiche nel layout.
    function linkClickEventHandler(eventInfo) {
    // Prevent the navigation
    eventInfo.preventDefault();
    // Get the target page link
    var link = eventInfo.target;
    // Call the navigation function instead
    WinJS.Navigation.navigate(link.href);

    app Windows phone 8.1 java script model hub
    if i insert a link href (<a href "/page1.html">example</a> i go to the page1.html but if i insert a link href with an img or h1, h2,h3 ecc (<ahref="/page2.html"><h1>cis</h1></a>)
    tha app crash! why?
    this is my home.js
    (function () {
    "use strict";
    WinJS.UI.Pages.define("/pages/home/home.html", {
    // La funzione viene chiamata quando un utente passa a questa pagina. Popola
    // gli elementi della pagina con i dati dell'applicazione.
    ready: function (element, options) {
    WinJS.Utilities.query("a").listen("click", linkClickEventHandler, false); //Intersect the href and call the linkClickEventHandler function
    function linkClickEventHandler(eventInfo) {
    // Prevent the navigation
    eventInfo.preventDefault();
    // Get the target page link
    var link = eventInfo.target;
    // Call the navigation function instead
    WinJS.Navigation.navigate(link.href);

  • Changing Multiple Linked Type Layers

    Changing Multiple Linked Type Layers
    If you want to make the same change to more than one Type Layer at the same
    time, just link all of the Layers you want effected in the Layers palette,
    then hold the Shift key and make your changes to one of the Linked Layers.
    All of the Linked Layers will show the same change.

    Hi Jeff,
    I'm beginning to develop a strong dislike for this forum's new interface!!
    But that's not your fault.
    The tables below use a VLOOKUP formula to retrieve the prices from the Current Pricing, and an IF statement in E1 to determine which column the prices are fetched from.
    The added column isn't necessary; it was just simpler t do that than to go through the hassle of re-merging the single cell in Row 1. With a change of the cell reference in the VLOOKUP formula, the first formula can be placed anywhere convenient.
    In E1:
    =IF(LEFT(A1,1)="I",2,3)
    The result of this formula tells VLOOKUP to return the results from column 2 or 3 of the Current Pricing table, depending on the first letter of the text in A1 being an "I".
    In C3 and Filled Down:
    =IF(B>0,VLOOKUP(A,Current Pricing :: $A:$C,$E$1,FALSE),"")
    IF is used to return a null string unless there is a value greater than zero in column B.
    Looks for the item listed in Column A and returns the value from the row where that item is found and the column specified in E1.
    The error triangle in C9 is a "VLOOKUP cannot find.." error cause by the value '3” screws (25lb box)' not being found in column A of Current Pricing.
    The error triangle in D9 is "There is an error in C9".
    Regard,
    Barry
    PS: The line at the beginning?
    I had complete all but the last line of a previous version of this post, and was deleting the '3" screws..." bit which had pasted as a single cell unnamed table, when the software bumped me back to the previous thread in this community. Not the first time this has happened, and in this case, as in the ones before, there appeared to be no route back to my partly completed message. So it was start over time. (/rant)
    B

  • GetCookies() return multiple cookies?

    I thought cookie identifies a session, and at a time a request could be linked to an unique session. So why bother to return multiple cookies?
    Thank you!

    well, you could have two or more separate pieces of information you wanted to track from the user. You could put all that info in one cookie, and then on the server side, split it out again, or put each in it's own cookie so that it was simpler, coding-wise.
    So long as you don't create too many cookies (i think the max per site is 10) it is fine.

  • The simplest way for plsql procedure to return multiple rows

    Hi,
    What is the simplest way for plsql procedure to return multiple rows (records). There are many combination of ways to do it but I am looking for a solution that is appropriate for plsql beginners. Many solutions use cursors, cursor variables, collections and more that kind of things that are complex on the face of it. Is it somehow possible to achieve the same with less effort?
    Sample query would be: SELECT * FROM EMPLOYEES;
    I want to use returned rows in APEX to compose APEX SQL(in that context plsql) report.
    It is enough to use just SELECT * FROM EMPLOYEES query in APEX but I want to use plsql procedure for that.
    Thank you!

    Hi,
    It depends :-).
    With +...that is appropriate for plsql beginners...+ in mind... it still depends!
    The list of techniques (ref cursors, cursor variables, collections, arrays, using explict SQL) you have referenced in your post can be made to work. but...
    +Is it somehow possible to achieve the same with less effort?+ Less effort : That needs to be defined (measured). Especially in the context of pl/sql beginners (who is a beginner?) .
    What is the level of "programming experience" ?
    What is the level of understanding of "Relational Result set" as processible in Oracle?
    If you are looking for
    Process_the_set_of rows_in APEX () kind of capabilitywhich "abstracts/hides" relation database from developers when working on relation database, it may not be the best approach (at least strategically). Because I believe it already is abstracted enough.
    I find REF CUROSOR most effective for such use, when the "begginer" has basic understanding of processing SQL result set .
    So in a nut shell, the techniques (that you already are familiar with) are the tools available. I am not aware of any alternative tools (in pure Oracle) that will simplify / hide basics from develpers.
    vr,
    Sudhakar B.

  • How to create a function that returns multiple rows in table

    Dear all,
    I want to create a funtion that returns multiple rows from the table (ex: gl_balances). I done following:
    -- Create type (successfull)
    Create or replace type tp_gl_balance as Object
    PERIOD_NAME VARCHAR2(15),
    CURRENCY_CODE VARCHAR2(15),
    PERIOD_TYPE VARCHAR2(15),
    PERIOD_YEAR NUMBER(15),
    BEGIN_BALANCE_DR NUMBER,
    BEGIN_BALANCE_CR NUMBER
    -- successfull
    create type tp_tbl_gl_balance as table of tp_gl_balance;
    but i create a function for return some rows from gl_balances, i can't compile it
    create or replace function f_gl_balance(p_period varchar2) return tp_tbl_gl_balance pipelined
    as
    begin
    return
    (select gb.period_name, gb.currency_code, gb.period_type, gb.period_year, gb.begin_balance_dr, gb.begin_balance_cr
    from gl_balances gb
    where gb.period_name = p_period);
    end;
    I also try
    create or replace function f_gl_balance(p_period varchar2) return tp_tbl_gl_balance pipelined
    as
    begin
    select gb.period_name, gb.currency_code, gb.period_type, gb.period_year, gb.begin_balance_dr, gb.begin_balance_cr
    from gl_balances gb
    where gb.period_name = p_period;
    return;
    end;
    Please help me solve this function.
    thanks and best reguard

    hi,
    Use TABLE FUNCTIONS,
    [http://www.oracle-base.com/articles/9i/PipelinedTableFunctions9i.php]
    Regards,
    Danish

Maybe you are looking for

  • For a given process ID, how do I determine environment variables (e.g. PATH)?

    At command line, what is the best/most direct way to determine the environment variables (e.g. PATH) for a given process ID?  Must be able to query for any arbitrary environment variable.  PATH is just the first example. 'lsof -a -p $PID -d cwd -F' g

  • UCCX 10.5 AppAdmin Parameter - Not allowing a backslash to be added to string parameter - gets removed

    I have a script where the prompt directory is a parameter exposed on the "Application Management" web page. The way the script is structured is that it expects the directory name to have a backslash at the end of it.  Example In the script the full p

  • Cannot add user bassed ACL using ASA abd CDA

    Hi, I installed ASA 5525 with CDA and I tried to configure user based ACL without success. When I tried I received the following error message: "Failed to retrieve users from the active directory server. Try checking the server configuration , networ

  • WWDC Streaming Issues

    Ok, when I click on the WWDC Keynote address I get the following alert from Quicktime: A network error has occured. This computer's Internet connection appears to be online. (-66559). Uh, Ok, of course my network connection is online, I am surfing th

  • Urgent: WMV Playback Issue

    Hi Folks, I have a small Director project which contains two WMV movie clips. We have decided to go with WMV in order to keep file size down since the media we plan to use are business card sized CDs. We realize that this limits our users to Windows