Spry:when and page draw

go here:
squarehead
and select either print or illustration. After the data is
loaded I set the current row to -1 and test for it with a spry:when
statement. This loads a different div when the page is first
served. There is a moment, however, when the other div is loaded
then removed causing an annoying flash of incomplete content. Any
way around this?
--sb.

States didn't seem to help. What did work is rebuilding the
architecture so the site is 100% SPRY:AJAX. Just one page. I guess
reloading pages defeats the concept of SPRY:AJAX.
squarehead
--sb.

Similar Messages

  • Keynote and pages are now free, but why do i need to pay for them still when there now free?!?

    keynote and pages are now free, but why do i need to pay for them still when there now free?!?

    Users can obtain the iWorks and iLife applications free, if they purchased a Mac after the beginning of October 2013.
    Older Mac purchases require a paid purchase of these applications.

  • I keep getting an error message when I try to update iMovie and Pages.  What can I do?

    Hi!  I keep getting errors messages when I try to update iMovie and Pages.  Can anyone help me out?  Thanks!

    Jenn4836 wrote:
      Can anyone help me out? 
    Not unless you start by telling us what the error messages say...

  • I deleated numbers and pages files and apps on my iPhone and when I got to work all my files were gone from numbers and pages on my iPad. How do I get those files back on my iPad?

    My storage was getting low on my iCloud, so I decided to delete my files from numbers and pages on my iPhone and delete the apps on my phone because i  did not really use it on my phone.  When I got to work and clicked on pages and numbers on my iPad the files were gone. I assume the files were deleted through iCloud.  I did not want the files deleted on the iPad and would like to know how to get them back?

    If you also backed up to your computer - you can restore from that backup - to retrieve the files. As far as I know- that should have no bearing on deleting them from iCloud - they should still be in that backup.
    If you used iOS file sharing with your computer - and saved the files to your computer - you can retrieve them from there.
    if the only place that the files were saved to was iCloud, I know of no way to get them back.

  • HT1338 I purchased keynote, numbers, and pages when i bought my macbook air. However, the December update will not update because it says I do not own the software, but I do. What can I do to get the software to load? This is my first Mac so I am still le

    I purchased keynote, numbers, and pages when i bought my macbook air in late september. the december update will not load because it says i do not own the software and returns an error messgae 100. i have read manuals and looked over the web but i cannot figure out how to get this software update to identify that i do own these three pieces of software. they are installed and usable. any ideas would be appreciated before i call apple support.
    This is my first mac so i am still learning...
    thanks

    First, make sure you are logged into the App Store with the same AppleID that you used to purchase the apps.
    If that is not it, look in the App Store under Purchases. Are they there?
    If not, go into your account in App Store and click the link to show hidden purchases.
    If they are still not there, use the support link in the App Store.
    If they do show up, copy all the apps to an external drive, then remove them from your Mac. Go to the App Store, Purchases, and install from there.

  • I have just downloaded Mac OS X 10.9 and Pages 5. When I open any pre-existing document in the new Pages the format is zoomed to 125%, the headers are out of position, the margins are changes, and inserted images are also relocated. What can I do?

    I have just downloaded Mac OS X 10.9 and Pages 5. When I open any pre-existing document in the new Pages the format is zoomed to 125%, the headers are out of position, the margins are changes, and inserted images are also relocated. What can I do?

    Have you tried resetting the SMC ?     >  Resetting the System Management Controller (SMC)

  • My up and down arrows as well as page up and page down no longer work properly only when using firefox. Page up and down function more like the "home" and "end" keys as do the arrow keys.

    Honestly I'm not sure if these began just after I updated FF to the current release, but it's been happening for at least 2 weeks. The arrow keys and page up and page down keys all work as if I'm pressing the 'home' and 'end' keys on my keyboard. This is only when using FF. Please contact me if you need more clarification. Thanks in advance!

    Sounds that you have switched on caret browsing.
    * http://kb.mozillazine.org/accessibility.browsewithcaret
    You can press press F7 (on Mac: fn + F7) to toggle caret browsing on/off.
    * Tools > Options > Advanced : General: Accessibility: [ ] "Always use the cursor keys to navigate within pages"
    * http://kb.mozillazine.org/Scrolling_with_arrow_keys_no_longer_works
    * http://kb.mozillazine.org/Accessibility_features_of_Firefox

  • HT5364 I installed OX X Moutain Lion and now I have trouble printing pdf documents--get messages like "plug in failed" or "no pages selected on printer" when clearly pages are selected

    I installed OS X Mountain Lion on my desktop MAC and since then I cannot print pdf documents---I get messages like "plug in failed" or sometimes "no pages selected on printer" when clearly pages are selected

    DO NOT USE PREVIEW TO FILL OUT PDF FORMS, IT WILL DESTROY PDF FILES. Sorry, but I had to shout here to prevent damage to your PDF files.
    Here is one of the symptoms when you fill out a PDF form with Preview: If you save it and return it to the author, they will not be able to see the text that you've added to form fields - unless they click on a field, which will reveal the contents of just that field. You can recover from this problem, but Preview will also remove other field types, and will actually rewrite your complete PDF while ignoring what it does not understand. Take a look at this blog post for more information about the damage that Preview will cause: Preview.app - Killer of PDF Files

  • SP 2010 Publishing - Rollup and Page Images not visible when entering page edit mode

    All:
    Hello, I have an odd issue recently appearing after installation of FEB 2013 CU install. When users select to Edit a Publishing Page the Rollup Image and also Page Image(Article Page Layout) are not visible. Only the "Click here to insert Image from
    SharePoint" link is visible.
    The issue has be confirmed in 5 servers across two farms
    DEV, QA, and PROD on client recently updated
    DEV and PROD in a completely separate client farm
    I have confirmed the issue does not exist in two separate farms running April 2012 CU. In both of those environments the image appears with issue even in Edit page mode.
    In the farms where the issue exists you can click the insert image link and simply hit OK to see the image again. An easy enough work around for tech savvy but my client's content admins are very confused/frustrated by.
    Is this a bug? I have confirmed in two separate farms including brand new web applications using out of the box publishing site templates.

    Hi.
    We have been facing the same issue in a 2013-environment (SP1), but in this case an upgraded 2010 Solution, which still runs in 2010-mode. Because of this, SharePoint still use resource-files in the 14-hive (as we have not performed an upgrade of Master
    Pages etc.) The problem is also reproduced on a clean 2010 Site Collection in the same 2013-environment.
    I have managed to find the cause of the problem (at least in our environment), and that is that as long as the selected picture/image has
    not defined an "AltText"/"Alternate Text" the problem seems to occur.
    In other words, try to define an Alternate Text and click OK in the "Edit Image Properties" Dialog.
    I don't know if this may be the case for everyone else, but give it a try.
    From this, I've further discovered (after hours of js-debugging) that there is a minor change (from 2010 to 2013) in a js-file called "SelectorControls.js" which is responsible for updating the various controls used in Page Layouts etc.
    The problem exist in a method called ASO_UpdateButtonsAndPanels(), which checks whether the Image Control in question has content or not (Url). The local variable "hasContent" is then determined of an if statement, if(this.AssetData.ManageLinkDisplayText)
    which in 2010 (14-hive) seems to be "true" regardless whether the Control is of type Image or Hyperlink. Further the code checks for AssetText (Alternate Text) which on an Image may be left empty.
    In 2013 (15-hive) however, this if statement has been changed to, if(this.SelectorType==ConstLinkSelectorType), which clearly states "Image" or "Link" depending on the type of control.
    I don't know if this is the cause of the problem in 2013, but in 2010 it seems to be exactly that.
    Pending a solution from Microsoft, we have modified SelectorControls.js to overcome this issue until the customer decides to do a Visual Upgrade to 2013.
    This is by all means not a supported nor a a permanent solution to the problem, as future Hotfixes, Service Pack etc. may "reset" our fix.
    Below is a copy of the working solution:
    function ASO_UpdateButtonsAndPanels()
    {ULSuBa:;
    var hasContent=!!this.AssetData.AssetUrl;
    //SharePoint 2010: ManageLinkDisplayText is always "True"
    //var hasContent=!!this.AssetData.AssetUrl;
    //if(this.AssetData.ManageLinkDisplayText)
    //hasContent=hasContent && !!this.AssetData.AssetText;
    //SharePoint 2013
    //var a=!!this.AssetData.AssetUrl;
    //if(this.SelectorType==ConstLinkSelectorType) a = a && !!this.AssetData.AssetText;
    //Fix for preventing existing selected image to disappear when saving page and/or editing a page with existing image.
    if(this.SelectorType!=ConstImageSelectorType)
    if(this.AssetData.ManageLinkDisplayText)
    hasContent=hasContent && !!this.AssetData.AssetText;
    if( hasContent )
    if (this.ClearAssetButton !=null)
    this.ClearAssetButton.EnableButton();
    this.GetAssetSelectedPanel().style.display="inline";
    this.GetEmptyPanel().style.display="none";
    else
    if (this.ClearAssetButton !=null)
    this.ClearAssetButton.DisableButton();
    this.GetAssetSelectedPanel().style.display="none";
    this.GetEmptyPanel().style.display="inline";
    I hope this helps anyone else struggling with the same problem.
    Thanks!
    Øyvind

  • I used to be able to copy and paste images from the internet into keynote slides and pages. Now when I copy and paste all I get is an empty  box. My iskysoft iTube studio has also stopped downloading videos. Is there an extension I need to enable?

    I used to be able to copy and paste images from the internet into keynote slides and pages. Now when I copy and paste all I get is an empty  box. My iskysoft iTube studio has also stopped downloading videos. Is there an extension I need to enable? Any ideas

    Try dragging the image to the desktop, then drag the image to the slide you want it on

  • When mousing over text, the cursor flickers constantly (with each letter passed) from arrow to i-beam and back.  The problem occurs in both MS Word and Pages.  Any idea of how to resolve this annoying problem is appreciated.  System: 10.10.1

    When mousing over text, the cursor flickers constantly (with every letter passed) from arrow to i-beam and back.  The problem occurs in both MS Word 2011 and Pages.  Any idea of how to solve this annoying problem will be much appreciated.  System 10.10.1 on a MacPro (Late 2013)

    The mouse is controlled by the OS so don't guess any app other than a mouse driver or OS X itself would be able to cause this sort of flicker issue.
    Have you seen the following and is it what you are seeing? Maybe you could make a movie (Quicktime is great for this this to make a screen recording) - but not sure how to attach a movie to these discussions as mine is grayed out and can't be selected (to the right of the insert image). Here is the what I found for a search of "mouse cursor flickers os x yosemite"
         https://www.youtube.com/watch?v=ZNQ0D84DdF4
    What kind of mouse are you using? Is the mouse driver up to date if it's a third party mouse?

  • When using Pages, I can't seem to print an envelope.  I use file, then print, and see the printer icon come up in the dock showing it received the info but then quickly disappears and nothing gets printed. When I check the printer queue there is nothing

    Bear with me, I've not done this before.  I can't seem to reliably print an envelope when using Pages.  I go to "file" click "print", click "ok", see the printer icon flash in the dock with a red "1" (indicating a printing job), but then the icon disappears and nothing gets printed.  I checked the printers queue and there is nothing there.  The funny thing is, after many times hitting "print", twice I've had envelopes printed.  ???  What's the secret?

    Have you tested it from other software, such as TextEdit to establish that it is in fact Pages that is the problem?
    Step us through Print Setup... and what you select when you send it off to print.
    Peter
    From the
    Brother MFC-6800 Printer's User Guide:
    How Can I load envelopes:
    You can load envelopes from the multi-purpose sheet feeder. Your appliaction software must be set up to print the envelope size you are using. This is usually done in the Page Setup or Document Setup mebnu of your software. Refer to your appliaction manual
    It also mentions an issue with paper thickness.

  • When turning pages in catalog in safari messages comes up "Are you sure you want to send a form again? it then asks if I want to cancel or resend form? what is this and why does it pop up?

    When turning pages in catalog in safari, message comes up "Are you sure  you want to send a form again? It then asks if I want to cancel or resend form? What is this and what am I doing wrong? I'm obviously new to mac.

    You can turn that off if you want ..
    From your Safari menu bar top of your screen click Safari > Preferences  then select the Security tab.
    Deselect:   Ask before sendinga a non-secure form from a secure a secure website

  • Bold, vertical, line and inverted drawing created when using Penpad in Flash CC - Help?

    Hello.
    Just recently, whenever I use my VisTablet 465 Penpad Stylus and tablet to mark on the Canvas in Flash, a vertical line is created. The length of it is proportional to how horizontally centered the cursor is on the screen. When I try to move the cursor, the brush makes an inverted mark off the end of the line. I cannot find out how to stop it, and cannot draw anything sensible in Flash.
    I contacted Flash assistance, and this was the conversation:
    Vivek: Hi, Welcome to Adobe Support.
    Vivek: Please give me a moment to study this case.
    Martin Laight: Thanks Vivek.
    Vivek: Are you using the latest version of driver for the tablet.
    Vivek: Please make sure Flash pro version, Tablet driver version and Windows is up to date.
    Martin Laight: Yes, we believe it to be 'Model A' driver from the VisTablet website
    Vivek: This kind of issues requires the envolvement from engineering team
    Martin Laight: As far as we can see all drivers are up to date. The pen pad works fine in Windows 7 Paint
    Vivek: ok
    Vivek: Please go to the link above and post the issue with tablet model, operating system details.
    Please help if you can.

    Hi,
    The issue is resolved in the latest update of Flash Pro.Please update Flash professional to 14.1.0.96 .Follow the instruction below for the same :
    Installation instructions
    Log out and log in to the CC desktop application. Update the application when prompted.
    You should see the list of new updates as soon as the new CC desktop application is launched.
    Install Flash Professional CC and Mobile Device Packaging app. On a high speed connection, it took me around 8 minutes.
    After the application is installed, you can launch the application directly from the desktop app by clicking on it.
    Thanks & Regards,
    Sangeeta

  • Draw figures from a xml and then draw anothers when I click on them

    This is what I have to do:
    I got a XML file with the info of a drawing: circles, rectangles.....
    I read the file and I draw the figures on a JPanel.
    And now what I have to do is this:
    When I click on a figure I have to recognize what figure is, for example, rectangle number 2 on the XML file. Then I have to read the XML and foud what I have to draw when I click on that figure, this info is on the XML:
    <Transition Rectangle="2" NextDraw="Rectangle 3" />
    How do I draw all these figures and keep the info I need (name and number of the figure)? And how do I manage mouse events for recognize the click on a figure for draw anothers.
    Sorry for my bad english and thanks

    I don't know the structure of your XML file.
    Anyway, I guess it's something like the following :
    shapes.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <shapes>
         <Transition Rectangle="1" NextDraw="Rectangle 2" />
         <Transition Rectangle="2" NextDraw="Rectangle 3" />
         <Transition Rectangle="3" NextDraw="Circle 1" />
         <Transition Circle="1" NextDraw="Circle 2" />
         <Transition Circle="2" NextDraw="Circle 3" />
         <Transition Circle="3" />
    </shapes>Here the java code. Plz, take a look at it and adapt it to your needs.
    XMLParserHandler.java
    import java.util.HashMap;
    import java.util.Map;
    import org.xml.sax.Attributes;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.xml.sax.helpers.DefaultHandler;
    public class XMLParserHandler extends DefaultHandler {
         Map<String, String> shapes;
         public XMLParserHandler(){
              shapes = new HashMap<String, String>();
         public void startDocument() throws SAXException {
              //System.out.println("Start Shapes Document.xml");
              shapes = new HashMap<String, String>();
         public void endDocument() throws SAXException {
              //System.out.println("End Shapes shapes.xml");
         public void startElement(String uri, String localName, String qName,
                   Attributes attributes) throws SAXException {
              //System.out.println("Start Element : " + qName);
              //display(attributes);
              if("TRANSITION".equals(qName.toUpperCase())){
                   String key = null;
                   String value = "";
                   int n = attributes.getLength();
                   String attrName;
                   for (int i = 0; i < n; i++) {
                        attrName = attributes.getQName(i);
                        if(! "NEXTDRAW".equals(attrName.toUpperCase())){
                             key = new String(attrName+" "+attributes.getValue(i));
                        }else{
                             value = new String(attributes.getValue(i));
                   if(key!=null){
                        shapes.put(key.toUpperCase(), value.toUpperCase());
         public void endElement(String uri, String localName, String qName)
                   throws SAXException {
              //System.out.println("End Element : " + qName);
         public void characters(char[] ch, int start, int length)
                   throws SAXException {
              //System.out.println(new String(ch, start, length));
         public void error(SAXParseException e) throws SAXException {
              throw e;
         public void fatalError(SAXParseException e) throws SAXException {
              throw e;
         public Map<String, String> getShapes() {
              return shapes;
         private void display(Attributes attrs){
              int n = attrs.getLength();
              for (int i = 0; i < n; i++) {
                   System.out.println("***"+attrs.getQName(i)+" = "+attrs.getValue(i));
    MyPanel.java
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.Shape;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import java.awt.geom.Ellipse2D;
    import java.awt.geom.Rectangle2D;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    import javax.swing.JPanel;
    public class MyPanel extends JPanel {
         static String CIRCLE = "CIRCLE";
         static String RECTANGLE = "RECTANGLE";
         public List shapeList;
         int currentIndex = 0;
         Shape currentShape;
         public MyPanel(Map shapes, String entry) {
              createShapeList(shapes, entry);
              addMouseListener(new MyMouseListener());
         private String getShapeName(String value){
              return value.split("\\s+")[0];
         private void createShapeList(Map shapes, String entry){
              shapeList = new ArrayList();
              Shape shape=null;
              String key = new String(entry);
              String value ;
              int i=0;
              do{
                   value=getShapeName(key);
                   System.out.println(value);
                   if(CIRCLE.equals(value)){
                        shape = new Ellipse2D.Double(5, 5+40*i, 20, 20);
                        System.out.println("==> added circle");
                   }else if(RECTANGLE.equals(value)){
                        shape = new Rectangle2D.Double(5, 5+40*i, 20, 20);
                        System.out.println("==> added rectangle");
                   shapeList.add(shape);
                   key = (String)shapes.get(key);
                   i++;
              }while(value!=null&&value.trim().length()>0);
              currentShape = (Shape)shapeList.get(currentIndex);
         class MyMouseListener extends MouseAdapter{
              public void mouseClicked(MouseEvent e) {
                   int x = e.getX();
                   int y = e.getY();
                   if(currentShape.contains(x, y)){
                        if(currentIndex<shapeList.size()-1){
                             currentIndex++;
                             currentShape = (Shape)shapeList.get(currentIndex);
                             repaint();
         public void paint(Graphics g) {
              Graphics2D g2 = (Graphics2D) g;
              g2.setPaint(Color.red);
              for (int i = 0; i < currentIndex+1; i++) {
                   g2.fill((Shape)shapeList.get(i));
    Main.java
    import java.io.File;
    import java.util.Map;
    import javax.swing.JFrame;
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    public class Main {
         public static void main(String[] args) {
              SAXParserFactory spf = SAXParserFactory.newInstance();
              SAXParser parser;
              Map myShapes = null;
              try {
                   parser = spf.newSAXParser();
                   XMLParserHandler handler = new XMLParserHandler();
                   parser.parse(new File("shapes.xml"), handler);
                   myShapes = handler.getShapes();
                   String entry = "RECTANGLE 1";
                   //Create and set up the window.
                   JFrame frame = new JFrame("MyFrame");
                   frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   // Create and set up the content pane.
                   MyPanel newContentPane = new MyPanel(myShapes, entry);
                   newContentPane.setOpaque(true); // content panes must be opaque
                   frame.setContentPane(newContentPane);
                   // Display the window.
                   frame.setSize(400, 400);
                   frame.setResizable(false);
                   frame.setVisible(true);
              }catch(Exception e){
                   e.printStackTrace();
    NB: as mentioned in the Main class (see main method), you should provide the main entry for your xml file : String entry = "RECTANGLE 1";Hope That Helps

Maybe you are looking for

  • MB5B Transaction

    Hi Gurus, Can we set Default selection of required categories (check boxes) under "Scope of List" in the Transaction MB5B-Stock on Posting date. PS:No variants to be created. Kindly advise Regards, KK

  • Problem using mDP-DVI-D adapter.

    Hi! This is my first post on this forum since I just bought my very first mac! Everything has been painless until today. Since I had a DVI-D - HDMI cable from before (which I used with my old PC to connect to my TV) I figured I'd go and buy myself th

  • Laserfiche

    Laserfiche was installed and I lost my Acrobat Tab. Tried several things including: Reinstall/Repair Running: regsvr32 "C:\Program Files\Adobe\Acrobat 9.0\PDFMaker\Office\PDFMWord.dll" which gives error "...loaded, but the DllRegisterServer entry poi

  • Navigation on column values

    Hi gurus, I have a requirement like , Service hub,Age,Age,Age <=5 6-10 >15 Manger/Employee     1     1     0 Manger/Employee     6     0     4 Manger/Employee     3     7     0 the report should look like this my question is there any possibility to

  • Checking header on each page for memo field

    Hi, I have a report which has several details sections (4). In each detail section I have a title field and a content field. The content field is a memo fields and my problem is when the memo field goes on to another page it does not show the header.