Using spry datasets with Googlemaps

I am using googlemaps with XML as the data source. I want to
have a spry data grid under my map that shows all of the map
points. I am already parsing the map point's XML into a javascript
array. Is it possible to use this array to populate a spry
datagrid? Most of the examples seem to be using xml or json as the
datasource but figured since google has parsed it for me that I
could just use their array as the datasource.

Hi,
We have a couple ways of putting data into data sets.
Check out:
http://labs.adobe.com/technologies/spry/samples/data_region/DataSetSample.html
I think that might be what you are looking for...
Hope this helps,
Don

Similar Messages

  • Use Spry Validation with jQuery Form to Form Wizard (v1.1)

    I am trying to use spry validation widgets with jQuery Form to Form Wizard script found here http://www.dynamicdrive.com/dynamicindex16/formwizard.htm
    This is a script that makes a long form into a multi part wizard/form with next and back buttons.
    for the most part it works with the spry widgets on blur and onsubmit, but to make it work properly the next buttons of the script should be disabled until the user corrects what has caused spry error messages.  The script creator has made onpagechangestart event handler to allow for this.  Description here http://www.dynamicdrive.com/dynamicindex16/formwizard_suppliment.htm. By returning false from this event handler, you disable the user's ability to go on to the next page until a value of true is returned.
    How can I script for Spry validation to return false if it has errors from this event handler?
    Thanks in advance for any help,

    did you check this example:
    http://labs.adobe.com/technologies/spry/samples/form_submission/Submit_and_Validate_Form.p hp.html

  • How to use Spry validation with link styled submit buttons..??

    I'm working with a theme package that comes with a bunch of button styles that work with basic links.  For example:
    <a href='page.html' class='small-button smallblue'><span>Button Label</span></a>
    I've got a basic form setup with Spry validation, but the submit button needs some styling to make it look nice with the site.  Since there are already styles ready for me to turn links into buttons I figured I'd use the same thing for my submit buttons.
    To accomplish that, I'm using the following javascript...
    <script type="text/javascript">
    function submitForm() {
        document.getElementById("form_name").submit();   
    </script>
    And then I'm updating my submit button to something like this...
    <a href='javascript: submitForm()' class='small-button smallblue'><span>Button Label</span></a>
    When I do this, the form submits as expected, but the Spry validation doesn't work.  Is there a way I can make the Spry stuff work with these types of buttons?  I know I could create separate styles for the submit buttons themselves, or I could use an image type button, but I'd really like to figure out how to get these existing styles to work for me since the theme already has so many of them done for me.
    Any information on this would be greatly appreciated.  Thanks!

    Save yourself a lot of trouble and style the normal submit button as per
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css">
    <style>
    .Standout {
        font-family: Geneva, Arial, Helvetica, sans-serif;
        text-transform: uppercase;
        color: #FFFFFF;
        font-size: 16px;
        background-color: #CC0000;
        font-weight: bold;
        border-style: none;
        padding-top: 6px;
        padding-bottom: 5px;
        padding-right: 64px;
        padding-left: 64px;
        letter-spacing: 1px;
    .Standout:hover {
        background-color: #000000;
    </style>
    </head>
    <body>
    <form action="" method="get" name="myform">
      <span id="sprytextfield1">
      <label for="text1"></label>
      <input type="text" name="text1" id="text1">
      <span class="textfieldRequiredMsg">A value is required.</span></span>
      <input name="input" type="submit" class="Standout">
    </form>
    <script>
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:["blur"]});
    </script>
    </body>
    </html>
    Gramps

  • Spry DataSet with a href rel tag

    Hi,
    I am having a problem I have a link that uses the "rel" tag to display the link in a floating box over the page.
    When I create the page in a php recordset all is good.
    When I use a spry data set the link no longer opens the floating box.
    php do {
    [a rel="floatbox" href="linktofile.php"]Link[/a]
    } while {blah blah} //Works fine
    spry:repeat
    [a rel="floatbox" href="linktofile.php"]Link[/a]
    // No longer opens in floatbox, just links like a normal link
    TIA

    Hi Apple User,
    I couldnt find a spry specific forum.
    I only found
    Dreamweaver General Discussion
    Dynamic HTML General Discussion
    Dreamweaver Application Development
    Dreamweaver Extensions
    Would you be kind and post a link?
    Thank you
    Yes I am using Lytebox. :)

  • Anyone have examples of using Spry Datasets for updating data?

    I'm working on a webpage that displays timesheet information.
    I want the user to be able to click on the row of data in the
    timesheetthey want to edit and open a hidden form at the bottom of
    the screen that will be populated with the data. Then the user can
    edit the data in the form, hit submit, and the updates display back
    in the row in the timesheet. I can't find an example of how to do
    this.

    Hi Sergey,
    My experience is of using Web Dynpro to work with work items from an already-started workflow, and I have used the following SAP_WAPI calls:
    SAP_WAPI_GET_HEADER - to get high level information about a work item
    SAP_WAPI_GET_WORKITEM_DETAIL - to get information about a work item
    SAP_WAPI_READ_CONTAINER - to get information from a work item's container
    SAP_WAPI_DECISION_READ - to get the available decision options for a decision-type work item
    SAP_WAPI_CREATE_EVENT - to create a work item event with attached container values
    SAP_WAPI_GET_OBJECTS - to get information about the BOR objects associated with a work item
    SAP_WAPI_WORKITEM_COMPLETE - to complete a work item and update container values at the same time
    SAP_WAPI_SUBSTITUTES_GET - get a list of the specified user's substitutes
    SAP_WAPI_WRITE_CONTAINER, SAP_WAPI_SET_WORKITEM_COMPLETD and SAP_WAPI_WORKITEM_CONFIRM are called by the UWL Updating Container action handler.
    In general if you browse function group SWRC you can see all the SAP_WAPI function modules and see what they do.
    Best regards,
    Darren

  • Using Spry Navigation with php includes in a Dreamweaver dwt file

    I am working on a large site and am attempting to set up templates in Dreamweaver, which will include the navigation as an includes file with php.  First of all, wondering if it is possible?  Second, how do I address the problem of my pages being at different levels within the site?  Very new to php coding, but my pages that are not connected to a template are working properly. 
    Thanks for your help.
    Kim

    Yeah!  David!  I don't know what you get paid, but it is not enough.  After replacing the file, it is working.  I did change the links in my index page and took off the /.  But the menu is now showing on all the pages now that were having issues.  I probably corrupted it somehow.  I really appreciate your help with this.  What a way to spend the holiday.  I guess we are making it true to its name.  This has definitely been laborous.  If there is such a word.
    Send me your address and i will mail you some of the best chocolate chip cookies.
    Kim
    P.S.  Can I take my links down up there?

  • Spry dataset querys

    After some time working with ASP and databases I've tryed to
    experiment with
    Spry as I though it would be more powerful and easy to work.
    After some
    tests I'm totally frustrated with it.
    I've seen that I can create a Spry dataset but it only allows
    to get
    information from an XML or HTML table. This makes information
    totally
    static. I know that I can build an ASP page that query a
    database and
    creates the XML. But I've not found any way to pass diferent
    parameters on
    the Spry dataset wizard to call this ASP.
    I though that I can use querys to create Spry datasets with
    searches and
    filter information. But now seems almost impossible to me.
    I'm missing
    something or is this Spry dataset useless?
    Regards,
    Angel

    Thanks Massimo!
    I've checked you example and I don't have much knowledge of
    Could Fusion as
    I'm used to ASP. But I see that it can be done. I will study
    it further.
    As I'm not a big coder I just want to create this using
    Dreamweaver server
    behaviours and Spry elements, but I''m stuck as it seems that
    the Spry
    dataset doesn't have an option to pass a parametter when
    calling the ASP
    page that querys the database.
    Basically I need to create a Spry dataset but tell the
    dataset to call a
    "query.asp page" with a parametter "id=x" so the dataset will
    call the ASP
    and generate the XML with the choosen "x" parameter. As it
    seems the dataset
    object is simply created when the page is open I don't know
    how to recall it
    with different parameters to change his contents.
    Regards,
    Angel
    >
    > You are indeed missing something :-))
    >
    > You can send either a GET or POST request to the .asp
    page that creates
    > the XML or JSON used to feed the dataset. The search
    parameters can be
    > either inside the querystring for GET or inside the POST
    request.
    >
    > I am sorry I don't have any ASP sample available, but
    here you can find a
    > small demo with insert/update/delete and search that
    uses CF and Spry:
    >
    http://www.massimocorner.com/spry/dynamic_spry.zip
    >
    > Hope it could help.
    >
    >
    > --
    > ----------------------------
    > Massimo Foti, web-programmer for hire
    > Tools for ColdFusion, JavaScript and Dreamweaver:
    >
    http://www.massimocorner.com
    > ----------------------------
    >
    >
    >
    >
    >
    >

  • Jquery widget equivalent to spry dataset for dreamweaver CC 2014.1?

    I built a website a while back with either CS4 or CS5. I used spry datasets to pull menu items into the tables on the website. I did some research and found that spry widgets were pulled from the CC suites for some reason and replaced with jquery widgets. I'm not 100% sure why adobe did this, but what jquery widget equivalent is there for the spry datasets in dreamweaver cc 2014.1?
    Thanks for your help everyone!
    -Joe

    The closest that you will get to it http://www.dmxzone.com/go/21863/html5-data-bindings

  • Spry Dataset and XML problem

    I think this problem is a result of my lack of knowledge regarding XML but hope someone can help set me straight.  I am using Spry datasets in several web pages all accessing HTML pages with data in tables format.  These work great.
    I would like to use XML files for some other data on another site I am working on and while the Spry Dataset wizard allows me to call the XML file the information I get in the Row Element panel and the Data Preview panel appear to have nothing to do with the XML file I am accessing.  I am expecting a list of US states and instead get a heading called Types with Default and Override as the two indented lines beneath type.
    I have tried several other xml files that I have created or downloaded as samples from the web and always get the same headings.
    I am trying to insert into a plain vanilla HTML page.
    What am I doing wrong? I have attached the XML file I am using
    Hope someone can help.
    Cheers
    les

    You cannot do cross domain requests with Ajax, you will need to use a server side transporter / proxy to get the file for you.
    Heres a nice proxy for PHP:
    http://webreflection.blogspot.com/2009/05/php-full-proxy-work-in-progress.html

  • Spry dataset is not working properly in IE8, Help me plz...

    I am a new user of dreamweaver CS5. I have designed some pages which are using Spry Dataset. It is working perfect in Firefox and IE 7 but it was not working at all in IE 8. Ben asked me to paste the following into the <HEAD> section
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
    and after doing that it was working properly. But today I tested my site again and I came to know that it is only showing the Master Table, when we click on any master Picture of Spry Dataset it is not showing the details.
    Here is the link of  my site
    http://dsdforu.com/WomensKNewArrivalCollection.htmlhttp://www.dsdforu.com/WomensKSDWCollection.html
    I was trying to solve it by myself but I can't. Can any one tell me what am I doing wrong? or what would be the solution.
    Thanks for your time.
    Suboohi

    Hi Suboohi,
    I think the problem may be the pictures themselves. They do not seem to be loading quickly which gives the impression that they are not showing, especially when you have a slow connection.
    You might look at optomising the pictures and preloading the images to allow your site to work properly.
    I hope this helps.
    Ben

  • How to open a pdf file using OPEN DATASET

    Im trying to convert a pdf into binary format. So im trying to read the contents of the pdf into a XSTRING. Using the FM 'SCMS_XSTRING_TO_BINARY' i can convert the XSTRING to binary format.
    How to open a pdf file using OPEN DATASET and transfer its contents in a XSTRING variable.
    What i've tried is....
    DATA: f_name type string value 'C:\rep_output_pdf.pdf',
          x1 type xstring,
          LT_DATA TYPE STANDARD TABLE OF X255.
    OPEN DATASET f_name FOR input IN BINARY MODE.
    READ DATASET f_name INTO x1.
    CLOSE DATASET f_name.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          BUFFER     = x1
        TABLES
          BINARY_TAB = LT_DATA.
    Im getting a short dump .
    Short text: The file is not open.
    Plz help me out.

    Hello Rajesh,
    You are trying to do use OPEN DATASET with a local file. NOT POSSIBLE
    You have to have the file in the app server to use OPEN DATASET.
    BR,
    Suhas

  • Help me Plz. I am unable to view spry dataset in Internet Explorer 8

    I am a new user of dreamweaver CS5. I have designed some pages which are using Spry Dataset. It is working perfect in Firefox and IE 7 but it's not showing any thing in IE 8.
    Here is the link of  my site
    http://www.dsdforu.com/WomensKSDWCollection.html
    I was trying to solve it by myself but I can't. Can any one tell me what am I doing wrong? or what woould be the solution.
    Thanks for your time.
    Suboohi

    A very quick and dirty solution, paste the following into the <HEAD> section
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
    This will help, but keep searching for a proper solution.
    Ben

  • Disable a  mitre of spry panel with mitre

    hello,
    I use spry panel with mitre of dreamweaver in a dynamic
    website (PHP) , and i want to disable a mitre of spry panel with
    mitre ,by code ( javascrypt or PHP).
    How to do ?
    thanks

    im so sorry im just a newbie in php, i still dont know how to publish it on the net, im using wamp server.
    here are the codes for the recordset paging navigator which are inside the spry accordion content:
    <td><?php if ($pageNum_rs_ProgramList > 0) { // Show if not first page ?>
                        <a href="<?php printf("%s?pageNum_rs_ProgramList=%d%s", $currentPage, 0, $queryString_rs_ProgramList); ?>">First</a>
                        <?php } // Show if not first page ?></td>
                      <td><?php if ($pageNum_rs_ProgramList > 0) { // Show if not first page ?>
                        <a href="<?php printf("%s?pageNum_rs_ProgramList=%d%s", $currentPage, max(0, $pageNum_rs_ProgramList - 1), $queryString_rs_ProgramList); ?>">Previous</a>
                        <?php } // Show if not first page ?></td>
                      <td><?php if ($pageNum_rs_ProgramList < $totalPages_rs_ProgramList) { // Show if not last page ?>
                        <a  href="<?php printf("%s?pageNum_rs_ProgramList=%d%s", $currentPage, min($totalPages_rs_ProgramList, $pageNum_rs_ProgramList + 1), $queryString_rs_ProgramList);?>">Next</a>
                        <?php } // Show if not last page ?></td>
                      <td><?php if ($pageNum_rs_ProgramList < $totalPages_rs_ProgramList) { // Show if not last page ?>
                        <a href="<?php printf("%s?pageNum_rs_ProgramList=%d%s", $currentPage, $totalPages_rs_ProgramList, $queryString_rs_ProgramList); ?>">Last</a>
                        <?php } // Show if not last page ?></td>
                    </tr>
                  </table></td>
    thanks in advance...

  • Using Multiple Datasets and Spry in DW CS3

    Hi there, I am currently trying to get an XML file pushed
    into a HTML page by using Spry in Dreamweaver CS3.
    However it uses three datasets. The schema is like this:
    funds-and-headings
    ----> properties+
    ------------> region
    ------------> reference
    ------------> known-as
    ------------> funds+
    ---------------------> type
    ---------------------> heads+
    -----------------------------> description
    (where there is a + this means a heading)
    but I am struggling to pull in the data.
    If I highlight 'properties' I can pull in the first 3 records
    but funds gives an 'unspecified' error message.
    I just want to know how I can then pull in the other fields
    all into one line and return all the results from the XML.
    Any hlep most welcome and sorry if I missed anything out that
    would help.

    Thought I'd drop a url so that my issue is more clear. :)
    This is in Alpha, but a url would be:
    http://center4spine.com.s11267.gridserver.com/how_we_help/spinal_decompression/
    . You'll see the categories on the left; clicking a title changes
    the content on the right. The first category's content is displayed
    initially. I need to be able to link directly to the FAQ. How do I
    get that page to show up with the FAQ loading first via a
    hyperlink? I hope that's more clear!

  • Slimbox not working with Spry Dataset

    Hi there,
    I'm trying to populate a page with Spry Dataset and use Slimbox2 to show a set of 4 images when a thumbnail is clicked.
    The original webpage WITHOUT Spry Dataset is here:
    http://shadowmuseum.com/portfolio/p-web.html
    Currently it works with just slimbox, but as soon as I add a Spry Dataset, the large images won't load anymore. When a thumbnail is clicked on, it opens the 1st large image of the set in a new page, completely removing the lightbox effect.
    I've scouted the internet for solutions; it's been suggested that slimbox doesn't work because spry doesn't have time to load the content first. But I'm not savvy with javascript at all, so have no idea how to work around it....
    Any help would be greatly appreciated.
    Thanks a lot.
    P.S. Below is the HTML code for the page with both spry & slimbox:
    <!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"><!-- InstanceBegin template="/Templates/bone.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="keywords" content="Shadow Museum, design, photography, london, web, web design, ana, ana lorraine lui, benjamin, backhouse, E1, E8, N16, graphic design, st martins, creative, agency, bespoke, multi-disciplinary" /><meta name="description" content="London based bespoke multi-disciplinary creative agency. Services include web design, photography, print design, and filmmaking." />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Shadow Museum || London-based bespoke multi-disciplinary creative agency</title>
    <script type="text/javascript" src="../zzAssets/scripts/Lightbox/jquery-1.3.1.min.js"></script>
    <script type="text/javascript" src="../zzAssets/scripts/Lightbox/js/slimbox2.js"></script>
    <script src="../zzAssets/scripts/SpryAssets/xpath.js" type="text/javascript"></script>
    <script src="../zzAssets/scripts/SpryAssets/SpryData.js" type="text/javascript"></script>
    <link rel="stylesheet" href="../zzAssets/scripts/Lightbox/css/slimbox2.css" type="text/css" media="screen" />
    <!-- InstanceEndEditable -->
    <link href="../zzAssets/scripts/main.css" rel="stylesheet" type="text/css" />
    <script src="../zzAssets/scripts/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../zzAssets/scripts/SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../zzAssets/scripts/clock/clockp.js"></script>
    <script type="text/javascript" src="../zzAssets/scripts/clock/clockh.js"></script>
    <!-- InstanceBeginEditable name="head" -->
    <script type="text/javascript">
    <!--
    var dsWeb = new Spry.Data.XMLDataSet("p-web.xml", "portfolio/project");
    dsWeb.setColumnType("info", "html");
    //-->
    </script>
    <!-- InstanceEndEditable --><!-- InstanceParam name="footer" type="boolean" value="true" --><!-- InstanceParam name="clock" type="boolean" value="true" -->
    </head>
    <body>
    <div id="clock_a"></div>
    <div id="menu">
      <ul id="mainMenu" class="MenuBarHorizontal">
        <li><a href="../index.html">Home</a>      </li>
        <li><a href="../news/news.html">News</a></li>
        <li><a class="MenuBarItemSubmenu" href="#">About</a>
            <ul>
              <li><a href="../about/our_story.html">Our Story</a></li>
              <li><a href="../about/our_values.html">Our Values</a></li>
            </ul>
        </li>
        <li><a href="#" class="MenuBarItemSubmenu">Services</a>
          <ul>
            <li><a href="../services/web_design.html">Web Design</a></li>
            <li><a href="../services/print_design.html">Print Design</a></li>
            <li><a href="../services/photography.html">Photography</a></li>
            <li><a href="../services/filmmaking.html">Filmmaking</a></li>
            </ul>
        </li>
        <li><a href="#" class="MenuBarItemSubmenu">Portfolio</a>
          <ul>
            <li><a href="p-web.html">Web Design</a></li>
            <li><a href="p-print.html">Print Design</a></li>
            <li><a href="p-photography.html">Photography</a></li>
            <li><a href="p-filmmaking.html">Filmmaking</a></li>
          </ul>
        </li>
        <li><a href="../contact/contact.html">Contact</a></li>
      </ul>
    </div>
    <!-- InstanceBeginEditable name="content area" -->
    <div id="content">
      <div id="p-web">
        <h2>Web  Portfolio</h2>
         <div class="SpryHiddenRegion" spry:region="dsWeb">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr spry:repeat="dsWeb">
            <td align="center" valign="top">
                   <a href="../zzAssets/images/p-web/{pic1}" rel="{label}" title="{title}"><img src="../zzAssets/images/p-web/{thm}" width="180" height="130" /></a>
                   <a href="../zzAssets/images/p-web/{pic2}" rel="{label}" title="{title}"></a>
                   <a href="../zzAssets/images/p-web/{pic3}" rel="{label}" title="{title}"></a>
                   <a href="../zzAssets/images/p-web/{pic4}" rel="{label}" title="{title}"></a>
              </td>
            <td align="left" valign="top">
                   <h3>{title}</h3>
                   {info}
                   <p><a href="http://{url}" target="_blank">{url-label}</a></p>
              </td>
          </tr>
        </table>
         </div>
        <p> </p>
      </div>
    </div>
    <!-- InstanceEndEditable -->
    <div id="footer">
      <div id="watermarkRight">
        <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td align="left" valign="top">©2009 Shadow Museum | Company Number 6576238
              | <a href="../terms.html" class="colourless">Terms &amp; Conditions</a></td>
            <td align="right" valign="top">contact us: <a href="mailto:[email protected]">[email protected]</a></td>
          </tr>
        </table>
      </div>
    </div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("mainMenu", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    <!-- InstanceEnd --></html>

    You are not re-initializing the lightbox library code after Spry have generated the markup.
    You can use the Spry region observer onPostUpdate to get notified of region re-generation and recall the initialization code of the lightbox.

Maybe you are looking for

  • Creating org unit under group???

    We are running SAP CRM 7.0.  I am fairly new to SAP and CRM in general. I was trying to create a BP (Business Partner).  I would of thought a group entailed a major division such as say "FORD MOTOR COMPANY" and within that all the organzations for FO

  • How to scroll to given position in a scrollpane?

    while using a jScrollpane how can i scroll down to a particular position?

  • New Mac Pro and Cores

    The way that I see the new Mac Pro being advertised is that it is one processor with 4,6,8,12 cores.  Is this saying that cores are as good as processors now.  For example, my current Mac Pro has 2 Xeon quad cores, with a total of 8.  It seems to me

  • Exp/imp problems

    Hi, Kindly Help. I plan to export full the database then I'll import it back to the same database, my purpose is to fix the fragmentation of the tables/tablespaces. 1. Before importing the export file should I do anything to the database( e.g. trunca

  • Saving ' from JTextField in Database

    Hi I am trying to save String that includes ' to database but getting errors. For example "Pack Size 2 x 14's". Error is occured from 's. Please Help. Mortoza