Databinding within UIX include pages

I have a uix file (call it browseTable.uix) with this line of code:
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.CountryCodeView1,'CountryCodeRid')}"/>
But I'm trying to make this uix file into an include file, so I want to replace the references to "CountryCodeView1" and "CountryCodeRid"
with databound values that will be supplied by the including page.
So here's what I did
1) The including page has this inline data provider:
<data name="rootPage">
<inline>
<VO name="CountryCodeView1"/>
<Rid name="CountryCodeRid"/>
</inline>
</data>
and includes the browseTable.uix like this:
<include node="${ctrl:parsePage(uix,' browseTable')}"/>
2) and in the included page (browseTable.uix), I tried changing the line
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.CountryCodeView1,'CountryCodeRid')}"/>
to be
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings[uix.data.rootPage.VO.name], '${uix.data.rootPage.Rid.name}')}"/>
But the page isn't displaying the databound values. The documentation said that included pages can see data providers defined in the including page, so perhaps my syntax is wrong? I tried databinding a simple styledText element <styledText text="${uix.data.rootPage.VO.name}"/> in the included page to display inline data defined in the including page but that didn't work either (nothing was displayed).
Any help would be appreciated!
Thanks
J
PS I'm using JDeveloper 9.0.5.2

Hi Jancia,
It looks correct to me. I mocked up a test case that works, so maybe you can try it and it will help you figure out what you are doing wrong:
includeTest.uix:
<ctrl:page xmlns="http://xmlns.oracle.com/uix/ui" xmlns:ctrl="http://xmlns.oracle.com/uix/controller" xmlns:data="http://xmlns.oracle.com/uix/ui" xmlns:html="http://www.w3.org/TR/REC-html40" expressionLanguage="el" xmlns:ui="http://xmlns.oracle.com/uix/ui">
  <ctrl:content>
    <dataScope>
      <contents>
   <stackLayout>
    <contents>
     <header text="including InlineTest">
      <contents>
       <include  node="${ctrl:parsePage(uix, 'inlineTest')}"/>
      </contents>
     </header>
    </contents>
   </stackLayout>
     </contents>
           <provider>
             <data name="rootPage">
               <inline headerText="Using inline" linkText="Click">
                <Rid name="CountryCodeRid" />
               </inline>
             </data>
      </provider>
     </dataScope>
  </ctrl:content>
</ctrl:page>inlineTest.uix
<ctrl:page xmlns="http://xmlns.oracle.com/uix/ui"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:data="http://xmlns.oracle.com/uix/ui"
xmlns:html="http://www.w3.org/TR/REC-html40"
expressionLanguage="el" xmlns:ui="http://xmlns.oracle.com/uix/ui">
  <ctrl:content>
           <button   text="${uix.data.rootPage.Rid.name}"/>
  </ctrl:content>
</ctrl:page>

Similar Messages

  • How can I render an active link (yrl) within a UIX/XML page

    How can I render an active link (url) within a UIX/XML page.
    How can I get <jbo:ShowValue> to work in UIX/XML, or is there another way?
    Bill G...

    It may seem strange, but the <contents> of <rawText> aren't actually
    raw - it's only the "text" attribute that's raw. (It seems strange because
    it is. Ah well.) This is different from UIX JSP.
    So, try something like the following:
    <bc4j:attrScope name="Notes">
    <contents>
    <rawText text="&lt;a href=&quot;"/>
    <rawText>
    <boundAttribute name="text">
    <bc4j:attrProperty name="value"/>
    </boundAttribute>
    </rawText text="&quot;&gt;"/>
    Some text in the link.
    <rawText text="&lt;/a&gt;"/>
    </contents>
    <bc4j:attrScope>
    Thankfully, this will be much simpler in 9.0.3, when the following
    will work:
    <link text="Whatever you want">
    <boundAttribute name="destination">
    <bc4j:attrValue name="Notes"/>
    </boundAttribute>
    </link>

  • How to use ShowValue within a UIX/JSP page to display an active link?

    I am storing URL's in the DB and want to display them as active links on a UIX/JSP page. I thought that I had this working some time ago, but now it no longer works.
    Using <bc4juix:RenderValue datasource="ds1" dataitem="myTextField" /> will display "http://www.otn.oracle.com" as an inactive link using UIX/XML which is expected.
    Using <jbo:ShowValue datasource="ds1" dataitem="myTextField" /> will display an active link using if using BC4J/JSP, which is expected.
    However, I have not been able to do this using a UIX/JSP page.
    Is it possible to use ShowValue within a UIX/JSP page to display an active link?
    Thanks,
    Bill G

    Hi Juan,
    I've done the following and it does not work for me;
    --- snip ---
    <uix:form name="form1" method="GET">
    <bc4juix:Table datasource="ds1" >
    <uix:columnHeaderStamp>
    <uix:styledText textBinding="LABEL"/>
    </uix:columnHeaderStamp>
    <%--
    <jbo:AttributeIterate id="dsAttributes" datasource="ds1" hideattributes="UixShowHide">
    <bc4juix:RenderValue datasource="ds1" dataitem="<%=dsAttributes.getName()%>" />
    </jbo:AttributeIterate>
    --%>
    <bc4juix:RenderValue datasource="ds1" dataitem="FacilityDesc" />
    <bc4juix:RenderValue datasource="ds1" dataitem="LocationId" />
    <bc4juix:RenderValue datasource="ds1" dataitem="LocationDesc" />
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <uix:rawText>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    </uix:rawText>
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <uix:contents>
    <uix:rawText>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    </uix:rawText>
    </uix:contents>
    --- snip ---
    Bill G...

  • GetQuery within UIX

    I can get what my where clause is set to by executing the following:
    <invoke method="getWhereClause"
    javaType="oracle.jbo.ViewObject"
    instance="${bindings.Datadescription.viewObject}"
    result="${sessionScope.MyWhereClause}" />
    I would like to get the complete SQL including FROM, WHERE and ORDER BY clause together in a single statement. I tried the following and received an error.
    <invoke method="getQuery"
    javaType="oracle.jbo.ViewObject"
    instance="${bindings.Datadescription.viewObject}"
    result="${sessionScope.MyWhereClause}" />
    The error I get is as follows:
    oracle.jbo.InvalidOperException: JBO-25048: Operation getQuery is invalid for a working set view object.
    Does anyone have any ideas on how I can make this work?
    Thanks in advance, ED

    Hi Jancia,
    It looks correct to me. I mocked up a test case that works, so maybe you can try it and it will help you figure out what you are doing wrong:
    includeTest.uix:
    <ctrl:page xmlns="http://xmlns.oracle.com/uix/ui" xmlns:ctrl="http://xmlns.oracle.com/uix/controller" xmlns:data="http://xmlns.oracle.com/uix/ui" xmlns:html="http://www.w3.org/TR/REC-html40" expressionLanguage="el" xmlns:ui="http://xmlns.oracle.com/uix/ui">
      <ctrl:content>
        <dataScope>
          <contents>
       <stackLayout>
        <contents>
         <header text="including InlineTest">
          <contents>
           <include  node="${ctrl:parsePage(uix, 'inlineTest')}"/>
          </contents>
         </header>
        </contents>
       </stackLayout>
         </contents>
               <provider>
                 <data name="rootPage">
                   <inline headerText="Using inline" linkText="Click">
                    <Rid name="CountryCodeRid" />
                   </inline>
                 </data>
          </provider>
         </dataScope>
      </ctrl:content>
    </ctrl:page>inlineTest.uix
    <ctrl:page xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    expressionLanguage="el" xmlns:ui="http://xmlns.oracle.com/uix/ui">
      <ctrl:content>
               <button   text="${uix.data.rootPage.Rid.name}"/>
      </ctrl:content>
    </ctrl:page>

  • Include within an Include not loading?

    On a page I have an Include, within that include is another include. However, the include that is already in an include doesn't appear to load or render. I double checked the file paths and those are correct.
    Can I have an include within an include?

    I just realized I missed something, oops!. I have an include within an include working but the include within an include within an include isn't. So it is three deep: Include > Include > Include. I know content holders work that deep but includes?
    Didn't realize I was nesting them three deep until I followed the path.
    {%include "/_System/includes/sign-in-form.tpl"-%} <!-- First include on a page. -->
    <!-- HTML within include then next include. -->
    {%include "/_System/includes/signup-form.tpl"-%} <!-- This include works. -->
    <!-- HTML within include mentioned above then final include. -->
    {%include "/_System/includes/recaptcha-fix.tpl"-%} <!-- Final Include. -->

  • Forward from an included page

    When we try to <jsp:forward> from an included (<jsp:include>) page, the
    rest of the page that includes gets rendered after the forwarded page.
    Let's say "main.jsp" includes "subpage.jsp". If there is an error in
    "subpage.jsp", we want to forward in to an eror page called "error.jsp"
    However, after the "error.jsp" is rendered, the remaining section of the
    main.jsp (after where the include is made) is rendered as well. So we
    see the contents of "error.jsp" and remaining-sections of "main.jsp" in
    a single page.
    Is there a way to stop this?
    Thanks

    It is very odd to fw: from an included page. Very odd. Forward basically
    means "go somewhere else to render the page" and include basically means
    "while rendering this page, include something from somewhere else". It is
    handy to code a servlet, for example, without any presentation logic, and so
    at the end of its processing, it just forwards to a JSP or HTML page or XSL
    processor. It is handy from within a JSP to include a standard page heading
    and a standard left navigation pane and a standard right navigation pane and
    a standard footing so your JSP has includes to suck those things in.
    Cameron Purdy
    "Muhtar Akbulut" <[email protected]> wrote in message
    news:[email protected]..
    When we try to <jsp:forward> from an included (<jsp:include>) page, the
    rest of the page that includes gets rendered after the forwarded page.
    Let's say "main.jsp" includes "subpage.jsp". If there is an error in
    "subpage.jsp", we want to forward in to an eror page called "error.jsp"
    However, after the "error.jsp" is rendered, the remaining section of the
    main.jsp (after where the include is made) is rendered as well. So we
    see the contents of "error.jsp" and remaining-sections of "main.jsp" in
    a single page.
    Is there a way to stop this?
    Thanks

  • How do I get rid of words being highlighted within my web page

    Words are highlighted within my web page and if you hover over the word it loads an advertisement.

    You may have installed the "DownLite" trojan, perhaps under a different name. Remove it as follows.
    Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "VSearch" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    /Library/LaunchDaemons/Jack.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /Library/PrivilegedHelperTools/Jack
    /System/Library/Frameworks/VSearch.framework
    ~/Library/Internet Plug-Ins/ConduitNPAPIPlugin.plugin
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot" or "Conduit" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    This trojan is distributed on illegal websites that traffic in pirated movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the DownLite developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight is inexcusable and has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Retrieve all the WindowBackingContext within the current page ?

    Hello,
    How can I retrieve all the WindowBackingContext within the current Page?
    For example,
    Page1 has a Book1,
    Book1 includes Portlet1, Porlet2 and Book1_1
    Book1_1 includes Portlet3 and Portlet4.
    How can I get all the Portlets(WindowBackingContext) in Page1 ????
    Best regards,
    Eric

    * This method returns a deep List containing all the Window, Page, and Book
    * backing contexts of these type of controls that are rendered.
    * @return List of BookBackingContext, WindowBackingContext, and PageBackingContext
    public List getRenderedChildrenWindowBackingContexts()

  • Issue using Super LOV within Skillbuilders Modal page

    Hi,
    I have an app that has an Interactive Report which opens a form using the Skillbuilders Modal page when you click Create button. Within the Modal Page I have a few items that are using the Skillbuilders Super LOV. It all initially works great but when my validations fire and there are any errors displayed, the Super LOVs stop working. So it won't allow user to search using the LOV.
    I have an example here: http://apex.oracle.com/pls/apex/f?p=70422
    Any help would be appreciated.
    Apex 4.2.0, 11g
    thanks,
    Spaa124

    I am using Firefox 17.0.6.
    It works fine in Chrome

  • How can I POST data within the same page if I have a A HREF -tag as input?

    How can I POST data within the same page if I have a <A HREF>-tag as input? I want the user to click on a line of text (from a database) and then some data should be posted.

    you can use like this or call javascript fuction and submit the form
    <form method=post action="/mypage">
    cnmsdesign.doc     
    </form>

  • Every single website, or link within a website page is being added to my location bar/address bar drop down menu. How can I stop this? This just started happening.

    Every single website url address, or url address within a website page is being added to my location bar/address bar drop down menu.
    I don't want everything added or saved in the location bar. Only urls that I used a lot used to be saved there but now every single url (and url within a url)I visit is being added to it.
    How can I stop this? This just started happening.
    I'm sure it's a simple browser setting but I've checked and nothing gives an option to control this.
    Firefox 3.0.17
    Windows XP
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.17) Gecko/2009122116 Firefox/3.0.17

    A possibility is to open the links via the right-click context menu or a middle-click in a new tab to make sure that Firefox sees them as regular links.

  • How to make fields grow dynamically within the same page and in column wise

    Hi,
    Like the newspaper format: Where contents of news are shown columns wise.
    We need to make the fields in a page grow column wise within that same page.
    For example, in a page:
    Column 1 Column 2
    ASDASDASDGKASHDGKAA | ASDFASGFHSJFAJKSD
    ASDFASDFASDJFASGJKDFHA | ASDFASDASDFASDFASD
    AFSDFASDFASDHGFKASDFASD | ASDFASDFASDFASDFASDFA
    ASDFSDGFJASHDGFJKASHDGKFAS |
    ASDFAGASDHFKASHDGFHASDJKFHASJKHF |
    ASDFHASGDKFASDJGHFASDFJKSDGFJKAGSDJ |
    If the Column 1 is full with the fields in the page it should start filling the column 2 which is also in the same page.
    If the Column 2 is also full then only it should move to the next page and should continue the same scenario.
    Please suggest a better way to do this in the Adobe Output Designer.
    Thanks and regards,
    Gurunath V.
    E-Mail: [email protected]
    P.S: Please also mail to my e-mail ID.

    Hi Gurunath, if you steel need a solution on this problem, I think this could help:
    1- place two fields on the form (JF01, JF02), one under each other.
    2- Make two subform with them (Sline1, Sline2)
    3- Make the field JF02 expand on same subform.
    4- Modify the preamble in this way:
    ^define group:D_line1 \field$POSITION\reserve"0.333",in\subformSline1.\positionsave,"first_line"
    ^define group:JF01!OnOverflow \groupG_Sline2.\fieldJF02.
    ^define group:G_Sline2!OnBOF \positionrestore,"first_line"\positionright,"3.65",in
    In the data file put all the text in JF01.
    -The first line say:
    When JF01 is called, save it's y position (\positionsave,"first_line")
    -The second line means:
    when the text overflow JF01 put it in JF02.
    (cause JF02 overflow on itself all the remaining data is overflowed in JF02)
    -The third line means:
    if JF02 arrives at the end of the page (OnBOF), restore the saved position ( \positionrestore,"first_line") and move to the right of "3,65" inches (\positionright,"3.65",in).
    In other words, when JF02 arrive at the and of the age, the next field JF02 is positioned at the same height of JF01 and is shifted on the right
    Take care that in this way JF02 cannot anymore go o a new page.
    Hope this help.
    Andrea

  • How do i send hyperlink to a text box within the same page

    how do i send hyperlink to a text box within the same page on iweb

    It's called an anchor. It's often discussed in this forum.
    2 days ago : anchor
    Here's a search of the past year : anchors

  • Linking to an anchor within the same page

    Anyone know how to link to an anchor within the same page?
    For instance, im making a FAQ page. at the top of the page I would like to list all the questions. i would like the viewer to be able to click a question which brings them to the answer on the bottom of the page.
    looked in inspector couldn't find it. linking to anchors is pretty basic, so id be really suprised if iweb doesn't have this feature. so im assuming im missing it.......
    how do i do this?

    Anyone know how to link to an anchor within the same page?
    how do i do this?
    Linking to an anchor within the same page is no more than scrolling to it, and can be (easily) emulate with javascript window.scroll function.
    See my post here: http://discussions.apple.com/thread.jspa?messageID=7676908&#7676908
    All javascript is linked to the example page.

  • Problem with complex dataBinding within concat

    Im trying to create a link with a databound onClick attribute like so:
    <link ....>
    <boundAttribute name="onClick">
    <concat>
    <fixed text="submitForm('result',0,{'event':'action','action':'"/>
    <dataObject select="defaultAction" source="fti:search"/>
    <dataObject select="##','index':'%index%'});return false;" source="resultRow@fti:search"/>
    </concat>
    </boundAttribute>
    </link>
    fti:search is a dataObject that returns another dataObject for the selectString resultRow. The resultRow dataObject should then be called with the selectString ="##','index':'%index%'});return false;
    However the resultRow dataObject is never called with that selecString.
    I also tried writing:
    <fixed data:text="##','index':'%index%'});return false;@resultRow@fti:search"/>
    but with the same result.
    I'm using this syntax for many other controls, but for the text attribute of a <fixed> element it doesn't seem to work.
    So how can I do a complex dataBinding within a <concat> element?
    Thanks,
    Guido

    Hi Guido
    I think you need this
    <dataObject select="##,'index':'%index%});return false;" data:source="resultRow@fti:search"/>Cheers
    Ian

Maybe you are looking for

  • FM for characterstic value of a function location (asset)

    Hi All, Can any one please tell me the FM module to be used for finding the characterstic value for a given characterisctic name of a function location in IL03 (classification). I have tried using BAPI_CLASS_GET_CHARACTERISTICS, but it is not yieldin

  • Http post issue in soa suite 11g  with 10g wsdl

    I have 10g process that has http post wsdl as below. When I'm trying to create a project in 11g 11.1.1.4 with same wsdl, getting the following error at building the project. "Error(12,61): Parse of component type files failed, check the adf-config.xm

  • Why does Boot Camp think I have more than one partition on my hard drive?

    I'm surprised I'm finding no remedy for this problem in my searches so far. My symptom is that when I run the Boot Camp Assistant app, I get the following error message: "The startup disk cannot be partitioned or restored to a single partition." The

  • Trying to download new version of itunes

    Trying to download the new version of itunes onto my DELL computer & it aburptly stops installing because "proble with the window installer package".  What is that & how do I correct the problem? Deb

  • Using Personal Domain

    Hello Thanks to Roddy for advice re. inserting Google maps - I think users in UK are going to have a lot of trouble ! The required address format is so specific that most people will get it wrong. Mac have used an address format which just isn't used