SOLVED: Limit default view with Multiple non-destructive filters mode

This was solved:
I deleted the { subPaths: "word" } within my dataset. The dataset was pulling and displaying the subpath content which I don't need.
==================================================================
Hi,
I’m using the Multiple Filters Mode Sample to filter headlines in my xml file by the keywords associated with them.
My question is, with no filters selected, how do you display only one headline for the default view? So, instead of the <headline> node repeating itself for every keyword within that node, it just displays one headline. I just want to display only one headline instead of repeating the headline based on the amount of keywords associated with it.
If you view the donut example given a donut is displayed for every topping associated with it.
I’m not as experienced with JS but I thought that if I create an array of all the possible keyword combinations and then use an if-then to display just one combination then it might work. The problem is that the amount of keywords will grow with time. I might amass 15-20 keywords in the next month, so an array might not be practical.
Also, my “Remove All Filters” doesn’t work. The debugger is giving me an error that states: ‘documents.forms.0.noneCB’ is null or not an object -This would mean that the checkbox has not been selected is this correct?
I’ve included the code and my xml data below. Any assistance would be greatly appreciated!
<html>
<head>
<script language="JavaScript" type="text/javascript" src="/SpryAssets/xpath.js"></script>
<script language="JavaScript" type="text/javascript" src="/SpryAssets/SpryData.js"></script>
<script language="JavaScript" type="text/javascript" src="/SpryAssets/SpryDataExtensions.js"></script>
<script type="text/javascript">
<!--
var dsHeadlines = new Spry.Data.XMLDataSet("headlines_test.xml", "/headlines/headline", { subPaths: "word" });
function ffNone(ds, row, index){ return (row.word == "None") ? row : null; };
function ffJudicial(ds, row, index){ return (row.word == "Judicial leadership") ? row : null; };
function ffProBono(ds, row, index){ return (row.word == "Pro bono") ? row : null; };
function ffHearings(ds, row, index){ return (row.word == "ATJ hearings and events") ? row : null; };
function ffCreation(ds, row, index){ return (row.word == "ATJ entities creation and structure") ? row : null; };
function ToggleFilter(enable, f)
            if (enable)
                        dsHeadlines.addFilter(f, true);
            else
                        dsHeadlines.removeFilter(f, true);
function RemoveAllFilters()
            document.forms[0]["noneCB"].checked = false;
            document.forms[0]["judicialCB"].checked = false;
            document.forms[0]["probonoCB"].checked = false;
            document.forms[0]["hearingsCB"].checked = false;
            document.forms[0]["creationCB"].checked = false;
            dsHeadlines.removeAllFilters(true);
-->
</script>
</head>
<body>
            <div class="liveSample" style="float: left; margin-bottom: 4px;">
            <form action="">
            <p>Select any of the following:</p>
            <ul style="list-style:none">
                <li><label><input name="noneCB" type="checkbox" value="" onclick="ToggleFilter(this.checked, ffNone);" />None</label></li>
                <li><label><input name="judicialCB" type="checkbox" value="" onclick="ToggleFilter(this.checked, ffJudicial);" />Judicial leadership</label></li>
                <li><label><input name="probonoCB" type="checkbox" value="" onclick="ToggleFilter(this.checked, ffProBono);" />Pro Bono</label></li>
                <li><label><input name="hearingsCB" type="checkbox" value="" onclick="ToggleFilter(this.checked, ffHearings);" />ATJ hearings/events</label></li>
                <li><label><input name="creationCB" type="checkbox" value="" onclick="ToggleFilter(this.checked, ffCreation);" />ATJ entities: creation and structure</label></li>
</ul>
            <p><label>Filter Mode: <select onchange="dsHeadlines.setFilterMode(this.value, true);"><option value="and" selected="selected">-- AND --</option><option value="or">-- OR --</option></select></label>
            <input type="button" value="Remove All Filters" onclick="RemoveAllFilters();" /></p>
            </form>
            </div>
            <div spry:region="dsHeadlines">
                <table>
                    <tr><th>Title</th><th>Date</th><th>State</th></tr>
                    <tr spry:repeat="dsHeadlines"><td valign="top"><a href="{hyperlink}">{title}</a><p></p></td><td valign="top">{date}</td><td valign="top">{state}</td></tr>
                </table>
            </div>
</body>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<headlines>
  <headline>
    <id>1</id>
    <title>
      <![CDATA[Save the date! 2009 National Meeting of State Access to Justice Chairs will take place in Orlando in Saturday, May 16, 2009. Invitations will be mailed out in late January.]]>
    </title>
    <hyperlink>
      <![CDATA[http://www.abanet.org/legalservices/sclaid/atjresourcecenter/annualmeeting.html]]>
    </hyperlink>
    <state>FL</state>
    <date>20090516</date>
    <word id="0001">None</word>
  </headline>
  <headline>
    <id>2</id>
    <title>
      <![CDATA[ABA Day in Washington. ABA Day legislative visits on April 21-22 will focus solely on access to justice issues. Register and receive materials, training, and schedule of events free before March 14 at: http://www.abanet.org/poladv/abaday09/.]]>
    </title>
    <hyperlink>
      <![CDATA[http://www.abanet.org/poladv/abaday09/]]>
    </hyperlink>
    <state>DC</state>
    <date>20090421</date>
    <word id="0002">Pro bono</word>
    <word id="0004">ATJ hearings and events</word>
    <word id="0005">Judicial leadership</word>
  </headline>
  <headline>
    <id>3</id>
    <title>
      <![CDATA[North Carolina Bar Association and North Carolina Bar Association Foundation host second annual 4ALL Statewide Service Day ask-a-lawyer event at five call centers around the state. (3/6/2009)]]>
    </title>
    <hyperlink>
      <![CDATA[http://www.4allnc.org/]]>
    </hyperlink>
    <state>NC</state>
    <date>20090306</date>
    <word id="0002">Pro bono</word>
  </headline>
  <headline>
    <id>4</id>
    <title>
      <![CDATA[Wyoming Access to Justice Commission holds its first meeting. (2/27/2009)]]>
    </title>
    <hyperlink>
      <![CDATA[http://www.nlada.org/DMS/Documents/1236184561.24/AJC%20Appointing%20Order%202009.pdf]]>
    </hyperlink>
    <state>WY</state>
    <date>20090227</date>
    <word id="0003">ATJ entities creation and structure</word>
  </headline>
  <headline>
    <id>5</id>
    <title>
      <![CDATA[Tennessee’s Supreme Court launches Access to Justice Campaign with the first in a series of public hearings. (2/26/2009)]]>
    </title>
    <state>TN</state>
    <date>20090226</date>
    <word id="0003">ATJ entities creation and structure</word>
    <word id="0004">ATJ hearings and events</word>
    <word id="0005">Judicial leadership</word>
  </headline>
</headlines>

1) I deleted bridge-utils, netcfg
2) I edited /etc/hostapd/hostapd.conf:
interface=wlan0
#bridge=br0
edited /etc/dnsmasq.conf:
interface=wlan0
dhcp-range=192.168.0.2,192.168.0.255,255.255.255.0,24h
and edited /etc/rc.local:
ifconfig wlan0 192.168.0.1 netmask 255.255.255.0
ifconfig wlan0 up
3) I added in autostart these daemons: hostapd, dnsmasq and iptables.
Profit!

Similar Messages

  • When viewing the weather default app with multiple cities, how come there isn't a one click shortcut to go back to the first city?

    When viewing the weather default app with multiple cities, how come there isn't a one click shortcut to go back to the first city?

    3.2 you can make multiple clocks, each clock can have a different alarm.

  • OLAP on 11g and Materialised Views with Multiple Value-Based Hierarchies

    Hello OLAPians
    I am trying to setup Orable BIEE to report on an OLAP cube with pre-aggregated data. As OBIEE is not able to hook into the OLAP directly i have to create an SQL cubeview.
    Currently i am on a 10g OLAP environment and am using the oracle sample SQL cubeview generator to create an SQLview of my cube.
    The cube itself has multiple dimensions and these dimensions have multiple VALUE-based (ragged) hierarchies and dimension members can be shared across hierarchies also.
    Initially i had a problem running the view generator plugin because there is a bug within it that does not finish if there are multiple value-based hierarchies present. I was able to get around this by manually editing the limitmap for the cubeview and manually creating the SQL view.
    The question that i want to ask is how robust is the 11g materialised views with multiple value-based hierarchies and the sharing of dimension members across different hierarchies?
    Has anyone successfully been able to create a cubeview and import it into OBIEE without the hassle of manually editing the limitmap?
    A problem arises with the value-based setup whereby if the client creates a newer depth in the ragged hierarchy, i need to manually create the limitmap and the cube-view over again, and then re-map the BI Administration mappings.

    The simple answer to your question,
    how robust is the 11g materialised views with multiple value-based hierarchies...?is that materialized views are not supported on top of value-based hierarchies in 11g. The reason is that it is not possible to write a reasonable SQL statement that aggregates a fact over a value-based hierarchy. Such a SQL statement is necessary if we want to create a rewritable MV on top of the cube.
    But I suspect this is not what you are really asking. If you are trying to set up OBIEE on top of the cube in 10g using the view generator, then you will probably want to use the "ET VIEWS" that are generated automatically in 11g. These are generated whether or not you enable materialized views on top of your cube. I am not aware of any issues with the generated value-based hierarchy view support in 11g. Members may be shared between value hierarchies and you will not need to generate or modify limit maps.

  • How do I create a single PDF Portfolio from an Outlook 2011 email with multiple non-pdf attachments?

    How do I create a single PDF Portfolio from an Outlook 2011 email with multiple non-pdf attachments?
    Email has 3 attachments--some are not pdf. I'd like all three converted into pdf files along with the email itself, and all appear in the email's pdf portfolio.

    I would also like an answer to this question. 
    I am trying to convert an Outlook email to a PDF, then all attachment are appended to the PDF as pages instead of attachments. 

  • Ability to query on all columns from a view with multiple tables

    I have view with 4 tables. view has about 50 columns.
    hypothetically, I want to build a form to give the user an ability to query on any of those 50 columns. user can search on one or more fields.
    what is the best way to write the query to retrieve the results without performance impact.
    please let me know if the question is not clear.

    If you want to permit them to query any of 10 fields with no restrictions, you could create 10 separate single-column indexes. The optimizer would have to try to pick the best of these indexes if you specified multiple search criteria. But since you have a view which presumably means that you've got multiple other indexes involved for the underlying join conditions, you'd probably want/need to combine the column lists of the indexes you're adding for searches with the indexes you've created for joins, which requires looking at the text of the view and figuring out the best way to optimize the 10 single-column searches. Of course, it is possible that the optimizer could chose to do something like a b-tree to bitmap conversion on multiple indexes which could allow it to use multiple independent indexes for your queries, but that's generally not ideal performance-wise.
    All this is a fancy way of saying that there probably isn't a cut and dried answer to your question. You need to figure out the queries you're trying to optimize (say, the 10 single-condition queries) and you need to figure out what set of indexes on the various underlying tables provides the best performance weighing those benefits against the cost on other side of maintenance during DML. Which is going to depend on the text of the view, the underlying tables, the existing indexes, etc.
    Justin

  • SP2013 Set default views across multiple site collections (powershell)?

    I am the editor for a large SharePoint 2013 publishing site with approximately 130+ subsites. Based on our most popular content types, I've create two diffferent default views that will come in handy as we move to a distributed authorship model. (I'm thinking
    specifically about the Quick Edit/Excel-like feature to make quick changes to page/document metadata.) 
    The authors/content owner/editors have NO experience with SharePoint, so while the usual benefit of using views is that they can be tailored to individual needs, I'd like to start them off with something that is VERY easy to change on the fly using Ribbon >
    Library > Quick Edit. It's either that or, as just a power user in the CMS, go to each individual page and document library and change it manually, which could take days, if not longer. The ideal solution would look for all subsite of layout/content type
    foo and change the default views within the page libraries to a set of 17 metadata.
    Any help would be greatly appreciated!
    Ryan D Watters

    Hi Ryan,
    As I understand, you would like to change default view for page/document libraries via powershell.
    Firstly, you need to get all page/document libraries in the site, then add columns to default view.
    Here are some articles for your reference:
    1.Get all document libraries:
    http://www.sharepoint-journey.com/get-all-document-libraries-in-a-site-collection.html
    2.Managing List Views:
    https://nkelkar.wordpress.com/2011/06/21/powershell-create-lists-add-columns-set-new-default-view/
    http://get-spscripts.com/2012/02/managing-creating-and-deleting.html
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Table View with Multiple Context Nodes

    I want to create a table-view consisting of an object composition, e.g. multiple business objects. The chtml:configCellerator -tag supports just one context node which corresponds to just one business object.
    How do you create a table composed by different objects, i.e. BTAdminH and BTAdminI ?
    Edited by: romanglass on May 18, 2010 4:07 PM

    Hi,
    I would suggest to create a new component and not to disturb the standard ones. Because the super class of the header context node (BTAdminH in your case) must be inherited from CL_BSP_WD_CONTEXT_NODE_DTV - Deep table view.
    The dependent nodes must be passed to return parameter rt_result of method GET_SUB_CNODE_DEFINITIONS.
    This cant be done via wizard. I just tried to replicate your scenario. Below are the steps,
    1. create a view with context node BTADMINH as tableview. Then change the super class of the context node to   CL_BSP_WD_CONTEXT_NODE_DTV.
    2. Add another context node BTADMINI and mark it as dependent to BTADMINH.
    3. Now change the super class of context node BTADMINI to CL_BSP_WD_CONTEXT_NODE_TV  (Table View).
    4. Redefine method GET_SUB_CNODE_DEFINITIONS in context node BTADMINH.
    In the view layout you should use cellerator and pass an iterator with interface IF_THTMLB_CELLERATOR_ITERATOR. The interface has a method RENDER_DEPENDANT_OBJECTS which returns the table of dependant objects.
    Regards,
    Arun
    Edited by: Arun Kumar on May 19, 2010 1:01 PM

  • Change default view across multiple page libraries using the same content type/types?

    I am the editor for a large SharePoint publishing site with approximately 130+ subsites. Based on our content, I've create two diffferent default views that will come in handy as we move to a distributed authorship model. (I'm thinking specifically about
    the Quick Edit/Excel-like feature to make quick changes to page/document metadata.) 
    The authors/content owner/editors have NO experience with SharePoint, so while the benefit of using views is that they can be tailored to individual needs, I'd like to start them off with something that is VERY easy to change on the fly. It's either that
    or, as just a power user in the CMS, go to each individual page and document library and change it manually, which could take days, if not longer. Thanks!
    Ryan D Watters

    Essentially, yes.
    That said, I am using SharePoint 2013, and I just now realized that I posted this in the legacy SP forum. You'll have to excuse me -- this is my first time posting:)
    Basically, I have two different "ideal" views based on two different site templates. These two site templates account for over 100 publishing subsites. The view has 18 different metadata that will make editing/making changes to article pages much
    easier for content owners because they will be able to go into the page libary>ribbon>library>quick edit and edit the metadata as if it were an Excel spreadsheet. This comes in especially handy for things like rollup order between primary, secondary,
    tertiary pages within a subsite.  Ideally, it would be nice to be able to add that view as an option within the CMS (similar to the way you can add a view style).
    I hope that makes sense. Also, I'll repost the question to SharePoint 2013. Much appreciated!
    Ryan D Watters

  • Override default view with dynamic navigation

    Hi,
    I have an URL parameter, based on what I do a dynamic navigation
    wd_this->wd_get_api( )->if_wd_navigation_services~do_dynamic_navigation()
    in the WINDOW DEFAULT inbound plug.
    However the navigation is overridden by what is set as a default view in the WINDOW tab.
    I tried
          lr_window_controller = wd_this->wd_get_api( )->get_embedding_window_ctlr( ).
           lr_rr_window = lr_window_controller->get_window_info( ).
           lr_view_usage = lr_rr_window->get_view_usage( 'MAIN_USAGE_0' ).
           lr_view_cnt_assignment = lr_view_usage->get_view_cnt_assignment( 'FUNC_VCA_1' ).
           lr_view_cnt_assignment->set_default_view_usage( 'NOTDEFAULTVIEW_USAGE_1' ).
    but not helping, still the default view is appearing. FUNC_VCA_1 in the above code is a view_container, I am trying to set a view active inside that view container.
    Any ideas?
    Thanks!

    Guys, there are some confusions here. Take the following case:
    1) Embed both COMP_A/VIEW_A and COMP_B/VIEW_B into a view container, and set COMP_A/VIEW_A as default
    2) Create a navigation between outbound plug TO_VIEW_B and inbound plug COMP_B/VIEW_B default plug
    3) In WINDOW default, based on a parameter wd_this->fire_to_view_b_plg( ).
    This works, COMP_B/VIEW_B is visible!
    Now remove the navigation link, remove COMP_B/VIEW_B from the window and enter the following code in the handlefeault:
          wd_assist->m_akt_comp_usage = wd_this->wd_get_api( )->if_wd_navigation_services~do_dynamic_navigation(
               source_window_name        = 'WINDOW'
               source_vusage_name        = 'MAIN_USAGE_0'
               source_plug_name          = 'TO_VIEW_B'
    *          plug_parameters           = lt_params
               target_component_name     = 'Z_WD_COMP_B'
               target_component_usage    = 'COMP_B_USAGE_1'
               target_view_name          = 'WINDOW'
               target_plug_name          = 'DEFAULT'
               target_embedding_position = 'MAIN/VIEWCONTAINER'
    NWhile I do get back the navigation link and inside do_dynamic_navigation there is a code to create the component and fire the plug, COMP_B/VIEW_B is not showing. Also please note, that if I do that on a button click it works. The problem is only inside handle default method.
    Thanks!

  • Multiple Non-Destructive Filter Paged View

    Example - non-working See
    code below
    I would like to apply the multiple filter example to data
    loaded in a paged view.
    So far everything loads and the form controls all work, but
    independently.
    Using the States/Cities data, theoretically a user should be
    able to select the state > show cities that start with Q-Z >
    then search which cities contain X.
    OR
    Select State > Search Cities that contain X > remove
    cities that start with A-H.
    Any thoughts? Any further details need explain?
    My final goal will be to add a third data source such as
    population, where a user could filter out the cities according to
    population size instead of the city names.
    Apologies if this has been addressed in another thread, where
    can I find it?
    I also cannot find documentation on SpryDataExtensions.
    <---Code--->
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xmlns:spry="
    http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Spry.Data.PagedView Sample</title>
    <link href="../../css/samples.css" rel="stylesheet"
    type="text/css" />
    <style type="text/css">
    .select {
    background-color: black;
    color: white;
    .hover {
    background-color: #FFCC66;
    color: black;
    .currentPage {
    font-weight: bold;
    color: red;
    </style>
    <script language="JavaScript" type="text/javascript"
    src="xpath.js"></script>
    <script language="JavaScript" type="text/javascript"
    src="SpryData.js"></script>
    <script language="JavaScript" type="text/javascript"
    src="SpryDataExtensions.js"></script>
    <script language="JavaScript" type="text/javascript"
    src="SpryPagedView.js"></script>
    <script language="JavaScript" type="text/javascript">
    <!--
    var dsStates = new Spry.Data.XMLDataSet("states/states.xml",
    "/states/state");
    var dsCities = new
    Spry.Data.XMLDataSet("states/{dsStates::url}",
    "/state/cities/city");
    // Create a PagedView that will manage the paging of the data
    that is loaded
    // into dsCities.
    var pvCities = new Spry.Data.PagedView(dsCities, { pageSize:
    20 });
    var pvCitiesPagedInfo = pvCities.getPagingInfo();
    // FilterData() and StartFilterTimer() are not required for
    paging at all. They are
    // here only to support the filtering function used within
    this sample to show that
    // the PagedView automatically adjusts paging as the data in
    the data set it depends
    // on changes dynamically.
    function FilterData()
    var tf = document.getElementById("filterTF");
    if (!tf.value)
    // If the text field is empty, remove any filter
    // that is set on the data set.
    dsCities.filter(null);
    return;
    // Set a filter on the data set that matches any row
    // that begins with the string in the text field.
    var regExpStr = tf.value;
    if (!document.getElementById("containsCB").checked)
    regExpStr = "^" + regExpStr;
    var regExp = new RegExp(regExpStr, "i");
    var filterFunc = function(ds, row, rowNumber)
    var str = row["name"];
    if (str && str.search(regExp) != -1)
    return row;
    return null;
    dsCities.filter(filterFunc);
    function StartFilterTimer()
    if (StartFilterTimer.timerID)
    clearTimeout(StartFilterTimer.timerID);
    StartFilterTimer.timerID = setTimeout(function() {
    StartFilterTimer.timerID = null; FilterData(); }, 100);
    function ffAH(ds, row, index){ var c = row.name.charAt(0);
    return c >= 'A' && c <= 'H' ? null : row; };
    function ffIP(ds, row, index){ var c = row.name.charAt(0);
    return c >= 'I' && c <= 'P' ? null : row; };
    function ffQZ(ds, row, index){ var c = row.name.charAt(0);
    return c >= 'Q' && c <= 'Z' ? null : row; };
    function ToggleFilter(enable, f)
    if (enable)
    dsCities.addFilter(f, true);
    else
    dsCities.removeFilter(f, true);
    function RemoveAllFilters()
    document.forms[0]["fAH"].checked = false;
    document.forms[0]["fIP"].checked = false;
    document.forms[0]["fQZ"].checked = false;
    dsCities.removeAllFilters(true);
    -->
    </script>
    </head>
    <body>
    <!-- BEGIN Data loading and filtering controls. -->
    <div> Choose a State: <span spry:region="dsStates"
    id="stateSelector">
    <select spry:repeatchildren="dsStates" name="stateSelect"
    onchange="dsStates.setCurrentRowNumber(this.selectedIndex);">
    <option spry:if="{ds_RowNumber} == {ds_CurrentRowNumber}"
    value="{name}" selected="selected">{name}</option>
    <option spry:if="{ds_RowNumber} != {ds_CurrentRowNumber}"
    value="{name}">{name}</option>
    </select>
    </span> Enter the Name of a City:
    <input type="text" id="filterTF"
    onkeyup="StartFilterTimer();" />
    Contains:
    <input type="checkbox" id="containsCB" checked="checked"
    onchange="FilterData();" />
    </div>
    <!-- END Data loading and filtering controls. -->
    <div class="liveSample" >
    <form action="">
    <label>Filter out 'A' - 'H':
    <input name="fAH" type="checkbox" value=""
    onclick="ToggleFilter(this.checked, ffAH);" />
    </label>
    <label>Filter out 'I' - 'P':
    <input name="fIP" type="checkbox" value=""
    onclick="ToggleFilter(this.checked, ffIP);" />
    </label>
    <label>Filter out 'Q' - 'Z':
    <input name="fQZ" type="checkbox" value=""
    onclick="ToggleFilter(this.checked, ffQZ);" />
    </label>
    <input type="button" value="Remove All Filters"
    onclick="RemoveAllFilters();" />
    </form>
    </div>
    <!-- BEGIN PagedView Controls -->
    <p spry:region="pvCitiesPagedInfo"
    spry:repeatchildren="pvCitiesPagedInfo"> <a
    spry:if="{ds_CurrentRowNumber} != {ds_RowNumber}" href="#"
    onclick="pvCities.goToPage('{ds_PageNumber}'); return
    false;">{ds_PageFirstItemNumber}-{ds_PageLastItemNumber}</a>
    <span spry:if="{ds_CurrentRowNumber} == {ds_RowNumber}"
    class="currentPage">{ds_PageFirstItemNumber}-{ds_PageLastItemNumber}</span>
    </p>
    <!-- END PagedView Controls -->
    <!-- BEGIN PagedView Info Section -->
    <div spry:region="pvCities">
    <p spry:if="{ds_UnfilteredRowCount} &gt; 0">Page
    {ds_PageNumber} of {ds_PageCount} - Items {ds_PageFirstItemNumber}
    - {ds_PageLastItemNumber} of {ds_UnfilteredRowCount}</p>
    <p spry:if="{ds_UnfilteredRowCount} == 0">No matching
    data found!</p>
    </div>
    <!-- END PagedView Info Section -->
    <!-- BEGIN Paged Display Section -->
    <div spry:region="pvCities dsCities">
    <ul spry:repeatchildren="pvCities"
    spry:choose="choose">
    <li spry:when="{pvCities::ds_RowID} ==
    {dsCities::ds_CurrentRowID}" spry:select="select"
    spry:selectgroup="page" spry:selected="selected" spry:hover="hover"
    spry:setrow="pvCities">{pvCities::name}</li>
    <li spry:default="default" spry:select="select"
    spry:selectgroup="page" spry:hover="hover"
    spry:setrow="pvCities">{pvCities::name}</li>
    </ul>
    </div>
    <!-- END Paged Display Section -->
    </body>
    </html>

    Hi,
    Im using the same sample, How can you make so it can also search for xml attribute values?
    Like for example the ABC in title? <role title="ABC">Example</role>
    thank you!

  • Views with multiple associations

    How is it possible to tell JDeveloper 3.0 which associtations to
    use in views when there are multiple associations defined
    between two tables?
    I try to define (part of) a view by:
    - Add table 1
    - Add table 2 with alias name a
    - Add table 2 with alias name b
    I can see from the generated XML file that JDeveloper uses the
    same association for the two definitions of table 2 (2a and 2b)
    in stead of two different associations (as I want).
    How can I tell JDeveloper which assoctioans to use? (If I try to
    edit the XML file, JDeveloper protests.)
    null

    A small subset of my datamodel is:
    Orders table:
    - OrderId
    - CustomerIdSender (foreign key to Customers)
    - CustomerIdReceiver (foreign key to Customers)
    Customer table:
    - CustomerId (primary key)
    - CustomerName
    I try to make a view that gives me:
    - OrderId
    - CustomerIdSender
    - CustomerIdReceiver
    - CustomerNameSender (from Customers)
    - CustomerNameReceiver (from Customers)
    Procedure:
    - ....new view OrderWithLookupvaluesView
    - Choose table orders
    - Choose table customers with alias CustomersSender
    - Choose table customers with alias CustomersReceiver
    I have to associations:
    - OrderCustomerSend (defining foreign key constraint for
    CustomerIdSender in orders)
    - OrderCustomerRec (defining foreign key constraint for
    CustomerIdReceiver in orders)
    In the generated xml file for OrderWithLookupvaluesView i can
    see that the definitions for CustomersSender and
    CustomersReceiver both refer to the same association
    OrderCustomerSend. The result of this is that the generated SQL
    is wrong and that the lookup of the CustomerName is wrong.
    How can i make JDeveloper understand that CustomerReceiver
    should refer to associtation OrderCustomerReceiver and
    CustomerSend to assoctiation OrderCustomerSend?
    JDeveloper Team (guest) wrote:
    : Henning,
    : I am not sure what you are trying to do or why.
    : The associations between tables are automatically picked
    : up from the DB and an association object created.
    : I am not sure why you need to over-ride this, but to
    : change it in any way, simply right click on the association
    : and select Edit.
    : As far as editing XML files, you can edit XML files externally
    : to JDeveloper, but to have JDeveloper use the update
    definitions,
    : you need to have JDeveloper reload your workspace
    : (either switch workspaces or exit JDeveloper and re-enter).
    : I believe you are possibly doing things in a way which is
    : not correct, but without additional details of
    : What you are trying to do, I can not state un-ambiguously.
    : -JDeveloper Team
    : henning (guest) wrote:
    : : How is it possible to tell JDeveloper 3.0 which
    associtations
    : to
    : : use in views when there are multiple associations defined
    : : between two tables?
    : : I try to define (part of) a view by:
    : : - Add table 1
    : : - Add table 2 with alias name a
    : : - Add table 2 with alias name b
    : : I can see from the generated XML file that JDeveloper uses
    the
    : : same association for the two definitions of table 2 (2a and
    2b)
    : : in stead of two different associations (as I want).
    : : How can I tell JDeveloper which assoctioans to use? (If I
    try
    : to
    : : edit the XML file, JDeveloper protests.)
    null

  • Synchronizing Iterators for master view with multiple detail - how to ?

    New to JDeveloper (from Forms) and after an introduction a week or so back, one question I have not yet answered with the ADF framework is how to synchronize iterators. Maybe I missed something simple, but if I have master table A with FK relations from detail tables B and C expressed as view objects and view links in the Model tier, when I package these up into the Application Module / Data Controls it seems I have 2 iterators for table A - one for it and it's detail set B, and another for it and it's detail set C.
    So then, if I drag & drop one of the A data controls onto a page (say from the A-B link) as a read-only-table, my PPR actions from this table work on components derived from this same data control hierarchy - ie: on detail B. But to effect a change in the other detail relationship A-C, and components based on C, seems to mean moving this second iterator on A programmatically.
    How is this generally achieved using the ADF ? I've seen content about chaining master-detail-detail, but this is really master-detail(xN). View links only ever specify 2 tables. It seems I need to put some code in somewhere to move associated iterators when another iterator is moved.
    Also, is there an equivalent java code-point for the when-new-record-instance - ie: when an iterator moves to a different record, whether that be new or not. Not being able to find it thus far, I've put code in the executeQuery of the detail VO which fires when I need it, but there must be a better place.
    Thanks for the help.
    Edited by: litch on Jul 29, 2009 11:20 AM

    You can manipulate your AM Data Model so both details will be under the same master (as long as there are viewLinks from the master to both).
    Then you can drag them to the page and add PPR as described here:
    http://blogs.oracle.com/shay/2008/05/master_with_two_details_on_the.html

  • Adobe Content Viewer with multiple Adobe-IDs

    Hi guys,
    i am having a problem with the Adobe Content Viewer.
    Because we work on several projects for different customers we have different Adobe-IDs for each of them.
    So I used to sign-in and sign-out in the Content Viewer to download the different folios. It used to work this way. Once downloaded I could open every folio, independently from the according Adobe-ID.
    Since - I think - the last Update of the Viewer, folios are going to be deleted, if I log out. There is no thumbnail of the folios any more: only the ones belonging to the Adobe-ID, which I am currently singed-in with.
    Does anyone else have this problem? Is there a work around
    Greetings
    Michaela

    Do the ones already downloaded vanish? Or the ones that are on the server?
    —Johannes
    (mobil gesendet)

  • Create edit form based on view with multiple column key

    Hi
    I have a requirement to create a form to update some tables columns based on a view.
    The problem is that the view has a primary key of 4 columns.
    I have tried to create a rowid key based on one underlying table but this does not work.
    I am calling the form from an interactive report but can only pass 3 keys to the form, so only get 3 fields populated.
    Is there some way i can create the form manually as the wizards cannot cope with this requirement?
    My view is here:
    CREATE OR REPLACE FORCE VIEW "DMOADMIN"."MO_STATUS_LOG_VIEW" ("MONEY_ORD_NO", "STATUS_CODE", "DESCRIP", "STATUS_DATE_TIME", "TXN_DATE_TIME", "LLOG_ID", "LINE_SEQ_NO", "CANCEL_IND", "PROCESS_ID", "PBU_ID", "TXN_SEQ_NO", "CANCEL_REASON", "CONDITION_ID", "ADMIN_DATE_TIME", "ADMIN_LLOG_ID") AS
    SELECT a.money_ord_no,
    b.status_code,
    b.descrip,
    a.status_date_time,
    c.txn_date_time,
    c.llog_id,
    c.line_seq_no,
    c.cancel_ind,
    c.process_id,
    c.pbu_id,
    c.txn_seq_no,
    c.cancel_reason,
    c.condition_id,
    d.txn_date_time admin_date_time,
    d.llog_id admin_llog_id
    FROM mo_status a,
    mo_status_desc b,
    host_txn_log c,
    host_admin_log d
    WHERE a.status_desc_id = b.id
    AND a.money_ord_no = c.money_ord_no(+)
    AND a.status_date_time = c.txn_date_time(+)
    AND a.money_ord_no = d.money_ord_no(+)
    AND a.status_date_time = d.txn_date_time(+)
    WITH CHECK OPTION;
    I have tried to populate the data using with an on load process using a plsql query but it is not working. I get no data found error message. Help!

    Hi Erwin,
    I have a similar situation.
    Tabular form based on a view. The view contains a table in a another instance via dblink and everything works fine.
    The only one difference between my and your view is that my "instead of" view is only for UPDATE. You must to have "intead of" trigger only for UPDATE. Insert and delete works fine withoust "instead of" trigger.
    So, try to delete INSERT and DELETE words from your "INSTEADOFBUBA" trigger.
    hope it helps,
    Mzz

  • Non-destructive Filters

    I'm surprised that by now there has not been a full implimentation of what was begun with the Smart Filters feature.
    Given that After Effects has had editable, on/off switchable, heirarchy-draggable across the board filters for years, it would seem that bringing this across to Photoshop for the entire filter set and making it apply to normal, non-smart-object layers would not be that much of a big deal. Especially again given that the model is basically already there in the Layer Styles feature.

    Really ? Yeah, fair enough then.
    Shame tho, AE's system is fantastic.
    Maybe the next paradigm shift in processing power might make it viable down the track...
    Thanks for the reply Chris

Maybe you are looking for

  • Lost photos on photo stream

    I had 776 photos on my phone and equally the same on the photo stream. When I upgraded to the iphone 6 all my photos backed up onto the camera roll but there are now only 36 photos on the photo stream. Why is this? Is there a solution?

  • InDesign log in error

    Hi I am very sorry if this question has been asked elsewhere. I have dowloaded the free 30 day trial of Creative Cloud so I can use the InDesign package, I have installed on my machine, however when I attempt to sign in I get this error message: 'Ple

  • My sync key is still the same and I didn't even reset the sync but my data is lost. I don't know how? I installed v13.0 while I was using 14.0 earlier.

    I had only one device where I used the Firefox Sync. I installed Windows 8 release preview(fresh install) and entered the sync key I saved using the previous install of my Firefox(v 14.0). Then I installed Firefox on my Windows 8 installation with an

  • Making the City field mandatory in PR05

    Hi, Could anyone please tell me how could i make the city field mandatory in Travel Expense manager (PR05) and also where could i maintain values for that field to appear as a drop down. ant help on this would be much appreciated. Regards, Roville

  • Consuming 3rd Party Web Service - Proxy Generation Error

    Hi All, I am trying to consume a third party Web Service in SE80 and get the below error while completing the steps to configure proxy class. "Exception Occurred in Configuration Handler" Uninstantiated object "new child subject" in method IF_SRT_WSP