ANN: Using Spry 1.6 with Essential Guide to DW CS3

It has been brought to my attention that most of the example
files in
Chapters 19 and 20 of "The Essential Guide to Dreamweaver CS3
with CSS,
Ajax, and PHP" don't work as expected after upgrading to Spry
1.6. This
is because Spry 1.6 handles HTML in CDATA sections
differently. The
solution is to add entityEncodeStrings:false to the options
passed to
the Spry XML Dataset. For details, see the book's updates
page at the
following address:
http://foundationphp.com/egdwcs3/updates.php#spryhtml
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

David Powers wrote:
> It has been brought to my attention that most of the
example files in
> Chapters 19 and 20 of "The Essential Guide to
Dreamweaver CS3 with CSS,
> Ajax, and PHP" don't work as expected after upgrading to
Spry 1.6. This
> is because Spry 1.6 handles HTML in CDATA sections
differently. The
> solution is to add entityEncodeStrings:false to the
options passed to
> the Spry XML Dataset. For details, see the book's
updates page at the
> following address:
>
>
http://foundationphp.com/egdwcs3/updates.php#spryhtml
>
Thanks, David. ;-)
Bonnie

Similar Messages

  • ANN: Using Spry 1.6 with Essential Guide to Dreamweaver CS3

    It has been brought to my attention that most of the example
    files in
    Chapters 19 and 20 of "The Essential Guide to Dreamweaver CS3
    with CSS,
    Ajax, and PHP" don't work as expected after upgrading to Spry
    1.6. This
    is because Spry 1.6 handles HTML in CDATA sections
    differently. The
    solution is to add entityEncodeStrings:false to the options
    passed to
    the Spry XML Dataset. For details, see the book's updates
    page at the
    following address:
    http://foundationphp.com/egdwcs3/updates.php#spryhtml
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

    datasetname.setColumnType('row','html'); is also a solution.
    u can read more about it in the API.

  • The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and PHP by David Powers

    The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and
    PHP by David Powers:
    Would this book help me learn about Spry and Ajax and how
    applications can be made with them, if I my e-commerce site runs on
    a compiled C code shopping cart (ShopSite) but supports PHP
    server-side scripts or is it only for shopping carts based on PHP
    itself (like X-Cart)?
    I am not sure. Someone please let me know so I can purchase
    this book. Thanks.

    ahsenabro wrote:
    > 1. Do I have to be a developer/programmer in order to
    learn from this book or
    > can a tech-savvy entrepreneur can also get some gems out
    of it and direct his
    > programmer?
    You don't need any prior knowledge of Ajax or PHP, but you do
    need to
    know the basics of HTML and CSS. As I say in the
    introduction, "You
    don't need to be an expert, but you do need to have an
    inquiring mind.
    It doesn't teach the basics of web design, nor does it
    attempt to list
    every single feature in Dreamweaver CS3. There are plenty of
    other books
    to fill that gap. However, by working through this book,
    you'll gain an
    in-depth knowledge of the most important features of
    Dreamweaver."
    > 2. I am interested in purchasing this book mainly to
    implement cool Ajax/Spry
    > stuff on my e-commerce site. I am asking about PHP
    because the book's content
    > mentions making a PHP site. Now I realize this book is
    not about shopping
    > carts, but the Ajax/Spry stuff can be implemented on
    e-commerce sites, right?
    The book provides detailed coverage of the Spry 1.4 features
    in
    Dreamweaver CS3, which can be applied to any site. With minor
    adaptation, you can also use Spry 1.6. It's important to
    realize,
    though, that the Spry/Ajax features in Dreamweaver CS3 do
    *not* cover
    asynchronous requests to the server. The ability to
    communicate
    asynchronously with the server was added in Spry 1.6. If it's
    asynchronous server calls and responses that you're after,
    your
    programmer will need to dig around in the Spry 1.6
    documentation on the
    Adobe Labs site, and hand-code it.
    The Spry features covered in the book are Spry Effects, Spry
    UI widgets
    (menu, accordion, tabbed panels, and collapsible panels),
    Spry
    Validation Widgets, and Spry XML Data Sets.
    > I just want to know if I can learn and implement
    Ajax/Spry apps on my
    > simple HTML/CSS-based pages, on a server which allows
    server-side PHP scripts
    > but the pages themselves are not with .php extension. Is
    this book still going
    > to be applicable?
    Yes. All the Spry techniques can be used on any web page. It
    doesn't
    need to be a PHP one.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Using Spry Vertical Navigation with Templates-Need to indicate current page

    Using Spry Vertical Navigation with the Dreamweaver templates.  Using editable attributes etc., the current page mennu item does not seem to be changing.  How do you indicate the. current page.

    Persistent Page Indicator on Site Wide CSS Menus:
    http://alt-web.com/Articles/Persistent-Page-Indicator.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Use Spry.$$ functions with Ancestor node

    Hi,
    I wish to be able to select a node, navigate its parent (no more than 2 levels up the dom tree) and then add and remove some classes with the addClassName and removeClassName functions of Spry.$$
    I've found the.Spry.Utils.getAncestor function but cannot find documentation on it.
    Is it possible to use the Spry.$$ functions with the parent node of a node selected?
    var achild = Spry.$$("#child");
    var a = Spry.Utils.getAncestor(achild).addClassName("parent")
    Hopefully you get the idea of what I need to be able to do.
    I don't have full control over the html elements I'm trying to select and add classes to. This runs within a SharePoint environment.
    Other thoughts appreciated.
    Phil

    Yes that'll work.  You arew right that the css selctor is more complication but the principle is the same. What do you know about the second parameter the getAncestor accepts for finding an ancestor. Can I use full CSS selectors in there as well / what are its limitations?
    MyDreamweaverExtensions <[email protected]> wrote:
    You then have to use the forEach element selector function. Here is a test page for you:
    <!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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Document sans nom</title>
    <script type="text/javascript" src="SpryAssets/SpryDOMUtils.js"></script>
    <style type="text/css">
    .redBorder {
        border: 1px solid #F00;
    </style>
    </head>
    <body>
    h1. Test: getAncestor
    <div>
      <p>paragraph 1</p>
      <p>paragraph 2</p>
    </div>
    <div>
      <p>paragraph3</p>
      <p>paragraph 4</p>
      <p>paragraph 5</p>
    </div>
    <div>
      <p>paragraph 6</p>
      <p>paragraph 7</p>
    </div>
    <script type="text/javascript">
    *Spry.$$("p").forEach(function(n) {
        Spry.Utils.addClassName(Spry.Utils.getAncestor(n), 'redBorder');
    </script>
    </body>
    </html>
    Your selector might be more complicated, but you just have to adapt it. As long as you get an array of elements, this way will work anyway.
    Hope this helps,
    Xav
    >

  • Error message when using Spry Data set with XML

    Hi,
    I have what i see as a big problem, might just be me being
    dumm, but here we go.
    When I try to use the feature of spry XML Data Set and insert
    spry table I get error message when trying it in IE 7.
    There are even a problem when I use fireworks automated slide
    show function, where you can choose to use the Spry/XML gallery
    feature.
    The error message I get everytime (incl the auto gallery in
    fireworks) is:
    The tag: "html" doesn't have an attribute: "xmlns:spry" in
    currently active versions.[XHTML 1.0 transitional]
    The tag: "div" doesn't have an attribute: "spry:region" in
    currently active versions.[XHTML 1.0 transitional]
    The tag: "th" doesn't have an attribute: "spry:sort" in
    currently active versions.[XHTML 1.0 transitional]
    and so on.
    What´s wrong?!

    Hello barvid,
    Ok, let's take each problem step by step:
    1. The first error you see in the browser: " Exception while
    loading ..." normally appears when you try to load files that are
    not permitted by the browser security model. This means the XML
    file you try to load is located on a different server than your
    HTML which is not allowed. The browser is not permitting to load
    any files that are not in the same domain as the current page
    because of the complex security risks. You'll have to either get
    the XML file from its original location and save it in your website
    or use a proxy on your web server that should request that file
    from the external server and send it to the browser as an XML from
    the same domain as the HTML origin.
    1.2 The "Exception while loading ..." error you see is a
    generic error and my previous advise is based on my experience. In
    case this is not your scenario you'll have to open the SpryData.js
    and around line 112 you'll see the following code:
    Spry.Debug.reportError("Exception caught while loading " +
    url + ": " + e);
    Please change this line with the following line of code:
    Spry.Debug.reportError("Exception caught while loading " +
    url + ": " + (e.message?e.message:e));
    to obtain a more verbose error message that may clarify the
    reasons of your errors.
    2. The problems you describe are not browser errors but they
    are w3c validation errors. At this point the XHTML standard allows
    every application that define custom namespace attributes to also
    link a DTD to the page so the page to continue to be valid.
    Unfortunately at this point this feature is not correctly supported
    by the FF and IE so we wrote an articles about how you should
    link
    the Spry DTD to your page so the validator understand the
    custom attributes Spry use. You'll find inside the full description
    of the problems and all the technical details you'll need to know
    to solve this issue.
    Regards,
    Cristian

  • How to use spry in the dreamweaver with the php/mysql

    hello,
    Iam new to the spry framework
    and i want to know can we use the spry in the dreamweaver
    along with php / mysql code
    if so please tell how to do this
    thanks in advance

    swetha123 wrote:
    > but when i complie this page it is not showing the
    preiew or any thing in the
    > browser i saved this page with the extension .php if i
    run the same page with
    > .html then i can see the design but it is not being
    executed
    The reason you get nothing when you save the page with a .php
    extension
    is because you have display_errors turned off, so you can't
    see the
    error message telling you there's a syntax error. The
    semicolon is
    missing at the end of this line:
    > echo "<font color='white'>Hello
    Swetha</font>"
    The reason it doesn't work with an .html extension is
    probably because
    you haven't uploaded SpryAssets/SpryTabbedPanels.js. I have
    copied your
    page and tested it locally with the correct JavaScript file,
    and the
    tabbed panels work as expected.
    There are lots of other mistakes in your page. You can't use
    float and
    position:absolute on the same element. In at least one place,
    you have
    used </br> instead of <br />. You have also got
    an closing paragraph tag
    after the paragraph that contains abc.jpg.
    Getting Spry or any other JavaScript library to work
    correctly relies on
    good, clean code. Your mixture of inline styles and font tags
    is going
    to make it difficult to incorporate Spry into your pages. I
    suggest you
    improve your HTML and CSS before bringing Spry into the mix.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • 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

  • I am still using my Apple G4 1.25 Ghz MDD running Leopard 10.5.8 with iTunes 10.6.3 installed. Can I use an Phone 4s with iOS 5 with this set up? I have read the iPhone iOS 5 user guide and it appears that I can but is anybody actually doing it ?

    Hello to all my readers.I am still using my Apple G4 1.25 Ghz MDD running Leopard 10.5.8 with iTunes 10.6.3 installed. Can I use an Phone 4s with iOS 5 with this set up? I have read the iPhone iOS 5 user guide and it appears that I can but is anybody actually doing it ? My current phone is a £10 Nokia and I've neither wish nor cash to spend more than a grand upgrading to an intel based machine (at the moment) ! Regards to you all.

    If you can find an iPhone running iOS5 and those are the specs for iOS5, there is no reason it should not work.
    If you want a more current version of iOS or a more current device, a Windows computer is always an option at significantly less cost. 
    Granted, there is no requirement to have a computer to use an iPhone.

  • 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

  • PLease guide me to use vendor sub range with functionality

    Dear All,
    PLease guide me to use vendor sub range with functionality
    thx

    Hi,
    The basic concept of Vendor Sub Range is to use different Purchasing Data as well as Partner Functions for a particular range of products supplied by individual your vendor.
    In SPRO you can activate  Vendor Sub-range in following path
    SPRO->Logistic General->Business Partner->Vendors->Control->Define Account Group & Field Selection
    In this screen Select your Vendor account group and double click, sys will take to new screen and here you select check box of Vendor sub-range relevant in data retention level-poaching tab and save.
    Now create following master data:
    Let’s say you’re purchasing two pumps from your Vendor (V), HDPE and SS manufactured by different company (HDPE and SS ) & they have different purchasing data like payment terms, delivery term etc…
    1. Create two materials HDPE and SS
    2. Create Vendor (V)
    3. Create Info record (ME11) M1 & M2 with vendor (V) and here in each material maintain vendor sub range
    4. Now create PO (ME21), all related data you will get in PO w.r.t. material and save.
    Regards,
    Biju K

  • Using Spry with large amounts of data

    I was wondering if it is plausible to use spy's Auto suggest
    feature with queries that return around 18,000 rows of data.
    What are the limitations of using spry with this kind of
    overhead?
    My current Situation
    I currently have a cfc that returns a query which is then
    converted to xml using a toXML function and then loaded into spry.
    At this time the xml that is created only contains around 500
    rows but when this is all hooked up to spry's auto suggest feature
    i am experiencing very slow load time.
    What am i doing wrong? My end result would like to be a
    lookup to over 18,000 employees

    in your text box, include an onChange attribute (i think it's
    supported) like this:
    onChange="yourCustomCall(yourformid)"
    Then each time that the text box is changed, a new spry call
    will be made to the server.
    Be warned though: This, like all other AJAX calls, can lead
    to very high server load. each time you make a change in that text
    box, you are making a CF call. Be sure your environment can scale
    to handle that load if it is a high-use site.

  • Problems with using Spry photo gallery and Opera browser

    Using Dreamweaver CS3. I'm working on a website for a friend.
    It looks great in:
    -IE 6 and 7
    -Firefox
    -Safari
    But in Opera, the photo gallery I put in (uses spry to change
    images as the user rolls over the thumbnail) pops up a login box in
    Opera. It doesn't do this in any other browser and it works
    perfectly in all other browsers.
    WDYT? TIA, Steve

    Using Dreamweaver CS3. I'm working on a website for a friend.
    It looks great in:
    -IE 6 and 7
    -Firefox
    -Safari
    But in Opera, the photo gallery I put in (uses spry to change
    images as the user rolls over the thumbnail) pops up a login box in
    Opera. It doesn't do this in any other browser and it works
    perfectly in all other browsers.
    WDYT? TIA, Steve

  • Is the i phone any good for those with essential tremour

    is the i phone any good for those with essential tremour

    Hi auchenshugglegranny,
    Welcome to the Support Communities!
    The iPhone has a number of accessibility features that may be helpful to you, including Siri, which will accept voice commands. The article below will provide an overview for you.
    Apple - Accessibility
    http://www.apple.com/accessibility/
    Below is a list of features included in the iPhone User Guide:
    Accessibility features - iPhone
    http://help.apple.com/iphone/7/#/iph3e2e4367
    VoiceOver
    Support for braille displays
    Siri
    Zoom
    Invert Colors
    Speak Selection
    Speak Auto-text
    Large, bold, and high-contrast text
    Reduce onscreen motion
    On/off switch labels
    Hearing aids
    Subtitles and closed captions
    LED Flash for Alerts
    Mono audio and balance
    Call audio routing
    Assignable ringtones and vibrations
    Phone noise cancellation
    Guided Access
    Switch Control
    AssistiveTouch
    Widescreen keyboards
    Turn on accessibility features. Go to Settings > General > Accessibility, or use the Accessibility Shortcut. See Accessibility Shortcut.
    Use iTunes to configure accessibility. You can choose some accessibility options in iTunes on your computer. Connect iPhone to your computer and select iPhone in the iTunes device list. Click Summary, then click Configure Accessibility at the bottom of the Summary screen.
    Hope this information helps ...
    Happy Holidays!
    Judy

  • How to Submit a Service Request with Essential laptops

    [quote]
    Submit a Service Request
    Create a technical or warranty service request ticket and check its status using our online ticketing system.
    Note:
    i) Only applicable for THINK branded products
    ii) For IDEA branded products, kindly contact our support centre for assistance.
    [/quote]
    Which option do we use, with Essential brand laptops? I have a G710 and have been unable to navigate the tech support pages very well.

    hi mutecebu,
    Thanks for using Lenovo Forums!
        For Idea Branded Lenovo Product,
    You should Contact Lenovo Technical Team for Hardware Software Assistance.
    http://support.lenovo.com/en_US/feedback/detail.pa​ge?LegacyDocID=MIGR-76613
    Hope this helps
    Cheers!
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

Maybe you are looking for

  • BI Content Error:  Characteristic 0XASUPPLIER

    When I am trying to activate Business content objects related to Spend Analytics, I get an error for 0XASUPPLIER infoobject. The Activation job fails When I see the error in the Job log, this is what it gives me... Characteristic 0XASUPPLIER: To many

  • Camera uses too much power error.

    I have the iPad connection kit but get error camera uses too much power. How do I resolve this?

  • FlexConnect Access Point - Wired 802.1X or MAB Authentication

    Hi all, We are piloting wired 802.1X but have hit a snag - FlexConnect AP switchport configuration requires the port be configured as trunk, with the native VLAN for management and access VLAN(s) for client data. I know 802.1X cannot be configured on

  • Ms CRM 2013 Autosave loop in quote form.

    Hi Everyone, I have problem with autosave feature. I disabled this feature but in quote form when im triying to add quoteitem from quotedetailsGrid, form trying to save item. And never stop. I cant enter my quoteitem's name or discount because form t

  • OWB Process Schedule Logging

    I have created a process and want to schedule it to run on a daily basis. I created the calendar, applied it to the process, saved, deployed and started it. The schedule now appears to run as required however when I check the execution in Control Cen