Spry Table - way to select only parts of the dataset to be displayed?

I have been enjoying putting together a simple spry table (DW CS3) that pulls data from an xml file.  At this point when the table loads it pulls all rows from the dataset and displays them in the table.  My question: is it possible to create a link or some way to pull only certain rows to be displayed.  For instance if the data was about donuts and included, 4 chocolate, 6 glazed and 5 plain, is there a way to only display the 6 glazed?  I have thirty rows of data and it is just a bit too much for people to be able to go through with ease and would love to have the ability to "sort" by asking for only certain types of data and then having those types displayed.
Is there a way to do this?
Thanks
Tom

You can apply filters to your data set.
These samples might help you out:
Filtering with XPath
Multiple Non-Destructive Filters
Multiple Non-Destructive Filters Mode
Non-destructive Filter
XPath filtering with URL Params
URL Utils with Spry Data
Hopes this helps

Similar Messages

  • SQLException while selecting only part of XML document

    Hi,
    I'm newbie in oracle XML DB. I'm trying to make an example application but I'm still getting an SQLException while selecting only part of my XML document. I'm using oracle 11g release 1.
    I have following XML document:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <CATALOG>
    <CD>
    <TITLE>Empire Burlesque</TITLE>
    <ARTIST>Bob Dylan</ARTIST>
    <COUNTRY>USA</COUNTRY>
    <COMPANY>Columbia</COMPANY>
    <PRICE>10.90</PRICE>
    <YEAR>1985</YEAR>
    </CD>
    <CD>
    <TITLE>Hide your heart</TITLE>
    <ARTIST>Bonnie Tyler</ARTIST>
    <COUNTRY>UK</COUNTRY>
    <COMPANY>CBS Records</COMPANY>
    <PRICE>9.90</PRICE>
    <YEAR>1988</YEAR>
    </CD>
    </CATALOG>
    and following java code:
    import oracle.jdbc.OraclePreparedStatement;
    import oracle.jdbc.OracleResultSet;
    import oracle.xdb.XMLType;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    public class Select {
    private static String SQL_1 = "SELECT OBJECT_VALUE FROM CATALOG";
    private static String SQL_2 = "SELECT extract(OBJECT_VALUE,'/CATALOG/CD/ARTIST') FROM CATALOG";
    public static void main(String[] args) throws SQLException {
    Connection conn = createConnection();
    OraclePreparedStatement stmt = (OraclePreparedStatement) conn.prepareStatement(SQL_1);
    OracleResultSet orset = (OracleResultSet)stmt.executeQuery();
    while (orset.next()) {
    // get the XMLType
    XMLType poxml = XMLType.createXML(orset.getOPAQUE(1));
    // get the XMLDocument as a string...
    System.out.println(poxml.getStringVal());
    conn.close();
    private static Connection createConnection() {
    try {
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn =
    DriverManager.getConnection("jdbc:oracle:thin:@hruby.marbes.cz:1521:oracle", "hruby", "password");
    return conn;
    } catch (SQLException e) {
    e.printStackTrace();
    return null;
    While executing SQL_1 statement everything goes well and I get whole document.
    While executing SQL_2 statement I get following exception:
    Exception in thread "main" java.sql.SQLException: Only LOB or String Storage is supported in Thin XMLType
         at oracle.xdb.XMLType.processThin(XMLType.java:2817)
         at oracle.xdb.XMLType.<init>(XMLType.java:1238)
         at oracle.xdb.XMLType.createXML(XMLType.java:698)
         at oracle.xdb.XMLType.createXML(XMLType.java:676)
         at Select.main(Select.java:27)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
    I expect to get such result:
    <ARTIST>Bob Dylan</ARTIST>
    <ARTIST>Bonnie Tyler</ARTIST>
    any suggestion???
    Thanks

    OBJECT_VALUE in this case refers to an XMLType datatype (fragment due to the use of "extract"). Convert it on "the fly" to a CLOB using getCLOBVal(). Then pick it up in java as a LOB.

  • With 2 devices, how do I sync only part of the library on one device? That is, sync only music and not the podcasts.

    Trying to sync part of a library on one device and all of the library on another. Not finding any options to select only parts of a library to be sync'ed. Any help appreciated.

    In ipod menu in iTunes, tick the "manually manage music and videos" then select the items that you want to sync. Cheers!

  • Display only part of the STRING field, but search ALL field

    Hi all,
    I have a field VARCHAR2(4000) that holds a lot of text.
    When I make a report in APEX, it shows in each row, ALL text, so the report is very "ugly".
    I want to limit the display of that column for only the first 60 characters.
    I tried to use the SUBSTR function, that worked, but the search option will search for the text only in that 60 lenght characters, and will now search in the rest (not displayed) part of the field.
    Is there a way to do this full search and display only part of the field?
    Thanks

    You can have the 'substring' column displayed to the user, but have another column which shows the full text lets say it has an ALIAS of "*SEARCH_LARGE_TEXT*" in the report definition(and is among the displayed columns).
    You can hide the large text column(SEARCH_LARGE_TEXT) using JS as
    $('th[id="SEARCH_LARGE_TEXT"],TD[headers^="SEARCH_LARGE_TEXT"]').hide()
    Note: ^= syntax used to match data column even when break formatting used
    You can make sure that the column stays hidden even after an IR filter or refresh by binding it to the refresh event of the IR by
    $('#apexir_WORKSHEET_REGION').bind('apexafterrefresh', function(){ 
      $('th[id="SEARCH_LARGE_TEXT"],TD[headers^="SEARCH_LARGE_TEXT"]').hide()
    change the string "SEARCH_LARGE_TEXT" with your column's alias
    Hope it helps

  • Syncing only part of the playlists

    Hi,
    Is it possible to sync only part of the playlists? It seems that if I remove some of the songs from my hard drives, iTunes removes the files from my iPod as well. For example, in my iPod I have a playlist called ABC that contains a song DEF and GHI. If my hard drive no longer has these songs and the playlist's removed in PLAYLISTS, playlist ABC and the songs in my iPod will be deleted after I do a sync. How do I keep the songs in my iPod when they're no longer in my hard drive?
    Thanks,
    Sun

    If I select just one of the many playlists I want to update, it seems to update just that playlist and remove everything else.
    iTunes won't remove anything from the iPod if you are Manually managing your music.
    To remove songs from the iPod, YOU have to select the songs and delete them yourself.
    Just like if you want any songs on the iPod, YOU have to select them and drag them to the iPod.
    So it doesn't do incremental synchronizing?
    If you are manually managing your music on the iPod, it doesn't do ANY syncing.

  • How to select different parts of the text? cmd button no longer does that...

    After installing Maverics i can no longer propertly edit my work as I cannot mark different parts of text using cmd button. Shift works as before for highlighting all the text from starting point to selected point but I can no longer use cmd to highlight different areas of the text. Is this an OS bug? Or was the button for selecting different parts of the text changed? I tried everything...

    It's just a small part of what makes Pages 5 so "stunning" (Apple's word). You think stripping out the nifty ability to mark non-contiguous passages of text was neat? Sure that was nice. But Apple has gotten rid of more, so much more. And for free!
    Just wait till you put the product through its paces and you discover other nice features that are missing, such as (but not limited to):
    - no linking of text boxes!  Yes, that's right. Now a newsletter that had a "continued on page 6" or whatever will be broken by Pages 5. Stunning! (Even more stunning, Pages 5 will strip out all sorts of formatting from documents created with Pages 4.3 and it will do ao without warning and will save the document in a NEW unified file format so that it cannot be opened by Pages 4.3, thereby potentially losing users hours and hours of work. Stunning!
    There's more!
    - Pages 5 has no mail merge, no bookmarks, no images in headers/footers! Pages 4.3 has those features, but this stunning new release removes them.
    - Pages 5 features vastly reduced and simplified set of templates (there used to be about 130 Apple-cupplied templates, now there are about 60).
    - Page 5 also boasts NO RTF SUPPORT, so a paper your wrote with Apple's own TextEdit is not natively readable with Pages: Stunning!
    - No detail was too small to omit in this stunning new release: the vertical ruler, so you can easily place text or an obejct at a certain place in a document: gone! Setting the default zoom: gone!  Status bar reproting word count and pagecount (e.g., Page 4 of 48): Gone! View comments in the left side bar: Gone!  Autocapitalization: Gone! Search & Replace: drastically simplified!
    But here's the really good news: Pages 5 is just PERFECT for creating a one page-poster advertising a new concert by Apple employee Eddie Cue. What's more you can collaborate on it with someone else, even if they're using a PC. Now that's "stunning"!

  • Exporting only part of the Sequence

    I do not have any in and out points on my sequence, but when I export, only part of the sequence exports. I have chosen numerous encoding presets, tried placing in and out points at the beginning and end, but it still does not work.

    I've tried exporting through DV NTSC and DVCPRO720p60.
    Say if I had a 10 minute sequence, then it'd only export 3/4th of it.

  • Thunderbolt connection to projector doesnt work: only part of the screen is projected. Solution??

    When I hook up my air to a LCD screen only part of the image on the air is projected. Solution anyone?

    Basic troubleshooting steps clearly outlined in the User Guide are restart, reset, restore from backup, restore as new.
    If you've gone through ALL the troubleshooting steps and you're still having the problem, then you most likely have a hardware issue and will need to bring your phone to Apple for evaluation.

  • Is there a way to remove only parts of audio in a clip (remove music but keep voiceover)

    I've been given a promotional video to edit, with a voiceover and background music. The file I have is an MP4 file, and I do not have the separate pieces of the file (Video, audio, and music).
    Is there a way to remove the music but keep the voiceover? I doubt there is..
    Thanks

    If the voiceover is in a narrow range of frequencies you might get lucky. You can use the Graphic Equalizer to reduce the volume of all frequencies except those that the voice is using. There may still be some music in these frequencies as well, but it is worth a try.
    Select your clip and open the inspector to the Audio Tab. Under Audio Enhancements, you will see the word "Equalization". Over to the right you will see a small icon of a graphic equalizer. Click this and it will open the Graphic Equalizer.
    That will bring up the Graphic Equalizer window. You can set the Graphic Equalizer to display 10 bands of frequencies or 31 bands. Choosing 31 bands will give you more control.
    There are probably many other things you could try, since you have access to all the Logic Pro X synthesizers in FCPX, but that is the most straightforward.

  • How to copy only part of the music media folder and library to another Mac

    Dear friends,
    I run iTunes in Mac OS. The iTunes music media folder is now located in an external HD because it´s quite large (2T). The problem is that I´got a second Mac and I´d like to copy -in this second Mac, only part of my music using only its internal  HD (300 Mb) . How can I do this copy while preserving art and play-lists?
    Thanks in advance

    tcynk00 wrote:
    how I can transfer only selected pieces of music (all library will not fit anyway)
    that's what playlists are for.
    and how to maintain transfer process in future when I want to change the music on my nano.
    add/delete track to/from the playlist you sync to your device.
    JGG

  • I have Office 2011 which includes Word.  Ever since downloading Mavericks, when I try to send a two-page word document, some recipients get only one page.  Also sometimes when I burn an image from iPhoto on to a disc, only part of the image appears.  Why?

    I have Office 2011 which includes Word.  Ever since downloading Mavericks, when I try to send a two-page Word document by email, some recipients get only one page.  Also when burning an image from iPhoto (usually no larger than 1mb) on to a disc, only part of it appears.  It appears to have been magnified so that only a part of the image appears.  Can anyone enlighten me as to what is happening?  And how to fix it??

    I have Office 2011 which includes Word.  Ever since downloading Mavericks, when I try to send a two-page Word document by email, some recipients get only one page.  Also when burning an image from iPhoto (usually no larger than 1mb) on to a disc, only part of it appears.  It appears to have been magnified so that only a part of the image appears.  Can anyone enlighten me as to what is happening?  And how to fix it??

  • Scrolling only part of the screen

    Hi,
    I have the following problem.
    1. I created a JFrame, that fills the whole screen.
    2. The frame contains two JPanels.
    Now for the problem:
    I want the top panel to hold a JPEG that is much bigger than itself, so it should contain a JScrollPane or a JViewport, because I want it to be scrollable. It seems, that I only can change the viewport, that the image scrolls downwards. For some reason the area doesn't even react when I try to change the position of the image, so that I can view the part of it that is outside of the panel. Is there anything I can do ?
    To better visualize the problem :
    Do you know the computer game civilization ? The bottom part of the screen holds menues. The uppermost part is a scrollable map. I want to create something similar.

    maybe you need a JSplitPane, split the frame into upper-lower two parts. The upper part holds the JScrollPane for the image panel, the lower part holds the second panel

  • Grep to replace only part of the found text

    I'm using ^.+~> to search the begging of a paragraph up to an EN space, but is it possible with GREP to format just PART of the string found?
    There are roman numerals that precede a period and an EN space and I want to apply formatting to just the roman numerals, leaving the period and EN space alone.
    I did found one post that mentions using "some" but I'm not familiar enough with GREP to know how it works.
    Can anyone commend a good source for GREP coding?
    Thanks,
    Ken

    Try this:
    ^(.+)(?=\.~>)
    I just changed your original code to use the period and en-space as a positive lookahead -- it'll only find characters at the beginning of the line if they're followed by a period and an en-space, but will not include them as part of the found text.
    If these items all have the same paragraph style applied to them and that style isn't used anywhere that you wouldn't want the formatting, I'd also consider setting this up as a GREP style. You could also do it as a nested style applying your character style up to (.~>). (Don't include the parantheses - I was just trying to make it clear what the expression to use is.) 
    Hope that helps.

  • HT1727 I downloaded my previous song purchases to my new MacBook and they are all only parts of the songs.. How can I fix this?

    I downloaded my previously purchased songs to my new macbook, but only parts of each song are available. How do I fix this problem?

    Delete the Song(s) and re-download...
    See Here  >  Download Past Purchases
    http://support.apple.com/kb/HT2519
    If no joy... Contact iTunes Customer Service
    Apple  Support  iTunes Store  Contact Us

  • Retrieve part of the dataset, not the entire set

    Hi all.
    Am currently conducting a research project regarding location based services using Oracle and Java. I have got some datasets for the map of adams county in the US. Currently working with Mapviewer and JDeveloper. I have created a datasource in mapviewer to retrieve the data from the database. but now when i get the image of the map it displays the entire map of the county. i also have a user location function where the user types in their lat/long location and it centers the map to that location.
    But what if at every user request instead of loading the entire data i only want to retrieve a small amount of data around the user's location? is that possible in mapviewer? Any help would be greatly appreciated.
    Avinash

    Hi Avinash,
    You can define a MapViewer request with a query window and then just the data inside this query window will be selected. For example, the following map request has the <center> tag, that defines the center and the map size (height).
    <?xml version="1.0" standalone="yes"?>
    <map_request
      <center size="5">
        <geoFeature>
          <geometricProperty typeName="center">
            <Point>
              <coordinates>-90.0,32.0</coordinates>
            </Point>
          </geometricProperty>
        </geoFeature>
      </center>
    </map_request>On MapViewer's Users Guide you will find some other examples. You can also develop programs using the java API which has methods to set your request window (such as setCenterAndSize and others).
    Joao

Maybe you are looking for

  • ITunes cannot read the data on my iPod touch

    Just three weeks or so ago, I was able to use iTunes without any problems to put a few songs on my iPod Touch 2nd Gen. Recently, however, whenever I try to connect my iPod to iTunes via USB, I get an error message that says something along the lines

  • Help! I suddenly can't open iTunes.

    When I click on the iTunes logo in my dock, I get the message "The application iTunes quit unexpectedly. Mac OS X and other applications are not affected. Click Reopen to open the application again. Click Report to see more details or to send a repor

  • Authentication with hashed password

    Hi, the user passwords in my iPlanet 5.1 are stored by using SHA. I authenticate a user from a JBoss AppServer by using an LDAPLoginModule which works fine. Now I want to secure this access by no longer sending the clear text password over the networ

  • Help with BW/SEM-BPS

    Hello Folks, I am new to BW-BPS. If you had any material/documentation(BW370 or BW380),FAQ's regarding BW/SEM-BPS can you please send to [email protected] I would appreciate any help. Thanks,

  • How to put timestamp

    Tried using timestamp in iweb08. i can see the time/text in the web page but its not working. im using yahoo web hosting is there a way to make it work?am i missing something? if iweb timestamp will only work if you publish it to .mac does any body k