Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook



The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic

Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.

If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.

Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.

Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Xara and grids - problem with grid overflowing bottom of page

  • Filter
  • Time
  • Show
Clear All
new posts

    Xara and grids - problem with grid overflowing bottom of page

    I have a new client and need to build rich content pages and incorporate grids. I have spent considerable time getting familiar with Xara and have created many of the pages that the project needs. Then I started adding grids and hit a snag I just have not been able to figure out

    In a few cases, the grid will be read only and will display all records (no navigation). When I do this, the grid either runs off the bottom of the page, overlaying the footer -or- gets chopped off.example_grid_overflow.JPGexample_grid_overflow_2.JPG

    After renaming the Xara htm page to it's .a5w counterpart, I added the header and body statements needed to run the page and all of that works, my issue is getting the page to grow with the grid

    Any suggestions are greatly appreciated. I have spent several days trying a lot of different tags and approaches and none of it works. When I have tried various things, I can get varying results, just not the one I want. This tells me I am not conflicting with all the css and other files Xara creates

    here's the a5w page

    <?xml version="1.0" encoding="utf-8"?>
    <!doctype html public "-//w3c//dtd xhtml 1.0 strict//en" "">
    <html xmlns="" xmlns:v="urn:schemas-microsoft-com:vml" >
    <meta name="XAR Files" content="index_htm_files/xr_files.txt"/>
    <!-- must use in order to make XP Themes render -->
    <meta HTTP-EQUIV="MSThemeCompatible" content="Yes" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <link rel="stylesheet" type="text/css" href="index_htm_files/highslide.css" />
    <!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="index_htm_files/highslide-ie6.css" /><![endif]-->
    <script type="text/javascript" src="index_htm_files/highslide.js"></script>
    <link rel="stylesheet" type="text/css" href="index_htm_files/xr_main.css"/>
    <link rel="stylesheet" type="text/css" href="index_htm_files/xr_text.css"/>
    <link rel="stylesheet" type="text/css" href="index_htm_files/custom_styles.css"/>
    <script type="text/javascript" src="index_htm_files/roe.js"></script>
    'The componentAlias MUST be UNIQUE for each component on the page. It must not have spaces in the name. Keep name as short as possible
    dim componentAlias as c
    componentAlias = "TEAM"
    Delete tmpl_TEAM
    DIM tmpl_TEAM as P
    tmpl_TEAM = a5w_load_component("team") 'SYSTEM GENERATED COMMENT - PLEASE DO NOT REMOVE (LOAD:team)
    'Following code allows you to override settings in the saved component. DO NOT REMOVE SYSTEM GENERATED OVERRIDE_SETTINGS
    tmpl_TEAM.override_settings = <<%override_settings%
    componentName = componentAlias
    _gridFilename = "team"
    'TIP: To refer to local or page variables in the override_settings string, you must first define a local
    'dot variable called 'pageVar' with properties for all of the variables you want to reference. For example:
    ' dim pageVar as p
    ' pageVar.gridRowCount = 10
    'Then, in the override_settings string, you can reference pageVar.gridRowCount. For example:
    ' rows = pageVar.gridRowCount
    'Resolve session and page variables in the override_settings string.
    delete x_TEAM
    dim x_TEAM as p
    x_TEAM = a5w_run_Component(tmpl_TEAM) 'SYSTEM GENERATED COMMENT - PLEASE DO NOT REMOVE (RUN:tmpl_TEAM) (EDIT:team)
    if x_TEAM.RedirectURL <> "" then
    end if
    <!--Alpha Five Temporary Code Start - Will be automatically removed when page is published -->
    <!--CSS for tmpl_TEAM -->
    <link rel="stylesheet" type="text/css" href="file:///C:/Realtor/realtor.WebProjects/Default.WebProject/css/MobBlue/style.css">
    <!--Alpha Five Temporary Code End -->
    <body style="background-color: #CCCCCC">
    <div class="xr_ap" id="xr_xr" style="width: 955px; height: 1000px; top:0px; left:50%; margin-left: -478px;">
    <script type="text/javascript">var xr_xr=document.getElementById("xr_xr")</script>
    <img class="xr_ap" src="index_htm_files/728.png" alt="" id="PageControl:58stretch" title="" style="left: -9px; top: -7px; width: 983px; height: 1028px;"/>
    <!--[if IE]><div class="xr_ap" id="xr_xri" style="width: 955px; height: 1000px; clip: rect(0px 955px 1000px 0px);"><![endif]-->
    <!--[if !IE]>--><div class="xr_ap" id="xr_xri" style="width: 955px; height: 1000px; clip: rect(0px, 955px, 1000px, 0px);"><!--<![endif]-->
    <div class="xr_s0" style="position: absolute; left:914px; top:976px;">
    <span class="xr_tr xr_s0" style="left: -97px; top: -10px; width: 97px;"><span id="LiveCopy:58MadeByLink"></span><a href="" onclick="return(xr_nn());" onmousemove="xr_mo(this,0)" >Powered by IDS</a></span>
    <img class="xr_ap" src="index_htm_files/4.png" alt="" id="LiveCopy:58PanoramaFooter" title="" style="left: 62px; top: 946px; width: 852px; height: 2px;"/>
    <div class="xr_s1" style="position: absolute; left:79px; top:972px;">
    <span class="xr_tl xr_s1" style="top: -13px;"><span class="xr_s2" style="">� Copyright 2015 Lighthouse Real Estate All Rights Reserved</span><span class="xr_s3" style="">&nbsp;</span></span>
    <a href="index.htm" target="_self" onclick="return(xr_nn());">
    <img class="xr_ap" src="index_htm_files/714.png" alt="Home" title="" onmousemove="xr_mo(this,0,event)" style="left: 178px; top: 122px; width: 102px; height: 39px;"/>
    <a href="mls_listings.htm" target="_self" onclick="return(xr_nn());">
    <img class="xr_ap" src="index_htm_files/715.png" alt="MLS Listings" title="" onmousemove="xr_mo(this,0,event)" style="left: 280px; top: 122px; width: 143px; height: 39px;"/>
    <img class="xr_ap" src="index_htm_files/716.png" alt="Team" title="" style="left: 423px; top: 122px; width: 99px; height: 39px;"/>
    <a href="news.htm" target="_self" onclick="return(xr_nn());">
    <img class="xr_ap" src="index_htm_files/717.png" alt="Buyers Tools" title="" onmousemove="xr_mo(this,0,event)" style="left: 522px; top: 122px; width: 143px; height: 39px;"/>
    <a href="about.htm" target="_self" onclick="return(xr_nn());">
    <img class="xr_ap" src="index_htm_files/718.png" alt="Sellers Tools" title="" onmousemove="xr_mo(this,0,event)" style="left: 665px; top: 122px; width: 142px; height: 39px;"/>
    <a href="contact.htm" target="_self" onclick="return(xr_nn());">
    <img class="xr_ap" src="index_htm_files/719.png" alt="Contact Us" title="" onmousemove="xr_mo(this,0,event)" style="left: 807px; top: 122px; width: 132px; height: 39px;"/>
    <img class="xr_ap" src="index_htm_files/503.png" alt="" title="" style="left: 0px; top: 161px; width: 955px; height: 232px;"/>
    <img class="xr_ap" src="index_htm_files/449.png" alt="" title="" style="left: 0px; top: 161px; width: 635px; height: 232px;"/>
    <div class="Top_panel_text" style="position: absolute; left:36px; top:212px;font-family:Verdana, Geneva, sans-serif;font-size:25px;font-weight:bold;">
    <span class="xr_tc Top_panel_text" style="left: 63px; top: -25px; width: 446px;font-family:Verdana, Geneva, sans-serif;font-size:25px;font-weight:bold;">Meet the Lighthouse Team</span>
    <span class="xr_tc Top_panel_text" style="left: -44px; top: 11px; width: 666px;font-size:18px;">Our agents first priority is to serve you !&nbsp; Beyond being your </span>
    <span class="xr_tc Top_panel_text" style="left: -19px; top: 38px; width: 616px;font-size:18px;">agent for buying or selling a home or property, we have </span>
    <span class="xr_tc Top_panel_text" style="left: -51px; top: 64px; width: 681px;font-size:18px;">extensive knowledge free for the asking. Knowing as much as </span>
    <span class="xr_tc Top_panel_text" style="left: -26px; top: 90px; width: 631px;font-size:18px;">possible about surrounding communities, neighborhoods, </span>
    <span class="xr_tc Top_panel_text" style="left: 27px; top: 116px; width: 525px;font-size:18px;">schools & education, sports activities, pleasure, </span>
    <span class="xr_tc Top_panel_text" style="left: 49px; top: 143px; width: 500px;font-size:21px;"><span class="Top_panel_text" style="font-size:18px;">entertainment, etc is vital to your decision.</span><span class="Top_panel_text" style="font-size:20px;">&nbsp;</span><span class="Top_panel_text" style="font-size:17px;">&nbsp;&nbsp; </span></span>
    <a href="index_htm_files/508.jpg" class="highslide" onmouseover="hs.headingText=''" onclick="return hs.expand(this, { headingText: '' } )">
    <img class="xr_ap" src="index_htm_files/505.jpg" alt="Lorem Ipsum Dolor" id="autoreplace" title="" onmousemove="xr_mo(this,0,event)" style="left: 667px; top: 179px; width: 254px; height: 195px;"/>
    <img class="xr_ap" src="index_htm_files/440.png" alt="" id="LiveCopy:58Set0" title="" style="left: 29px; top: 10px; width: 215px; height: 98px;"/>
    <div class="Panel_text" style="position: absolute; left:387px; top:40px;font-size:14px;">
    <span class="xr_tc Panel_text" style="left: -8px; top: -14px; width: 233px;font-size:14px;"><span id="LiveCopy:58Set1"></span>Call Now 419-433-1010 or </span>
    <span class="xr_tc Panel_text" style="left: 6px; top: 6px; width: 200px;font-size:14px;">Toll Free 877-441-1010</span>
    <img class="xr_ap" src="index_htm_files/14.png" alt="Register" id="LiveCopy:58Set3" title="" style="left: 686px; top: 36px; width: 89px; height: 23px;"/>
    <a href="" onclick="return(xr_nn());">
    <img class="xr_ap" src="index_htm_files/15.png" alt="Sign In" id="LiveCopy:58Set14" title="" onmousemove="xr_mo(this,0,event)" style="left: 824px; top: 36px; width: 89px; height: 23px;"/>
    <div class="Top_panel_text" style="position: absolute; left:139px; top:474px;font-family:Verdana, Geneva, sans-serif;font-size:13px;font-weight:bold;color:#BF0000;">
    <span class="xr_tl Top_panel_text" style="top: -13px;font-family:Verdana, Geneva, sans-serif;font-size:13px;font-weight:bold;color:#BF0000;"><span id="PageControl:58auto"></span>placeholder for team</span>
    <span class="xr_tl Top_panel_text" style="top: 6px;font-family:Verdana, Geneva, sans-serif;font-size:13px;font-weight:bold;color:#BF0000;">grid inbetween here</span>
    <span class="xr_tl Top_panel_text" style="top: 25px;font-family:Verdana, Geneva, sans-serif;font-size:13px;font-weight:bold;color:#BF0000;">and here</span>
    <%A5 ?x_TEAM.Output.Body.Search_HTML %>
    <%A5 ?x_TEAM.Output.Body.Grid_HTML %>
    <%A5 ?x_TEAM.Output.Body.DetailView_HTML %>
    <img class="xr_ap" src="index_htm_files/723.png" alt="Team" title="" style="left: 423px; top: 122px; width: 99px; height: 39px;"/>
    <div id="xr_xo0" class="xr_ap" style="left:0; top:0; width:955px; height:100px; visibility:hidden;">
    <a href="" onclick="return(false);">
    <img class="xr_ap" src="index_htm_files/721.png" alt="Home" title="" style="left: 178px; top: 122px; width: 102px; height: 39px;"/>
    <img class="xr_ap" src="index_htm_files/722.png" alt="MLS Listings" title="" style="left: 280px; top: 122px; width: 143px; height: 39px;"/>
    <img class="xr_ap" src="index_htm_files/724.png" alt="Buyers Tools" title="" style="left: 522px; top: 122px; width: 143px; height: 39px;"/>
    <img class="xr_ap" src="index_htm_files/725.png" alt="Sellers Tools" title="" style="left: 665px; top: 122px; width: 142px; height: 39px;"/>
    <img class="xr_ap" src="index_htm_files/726.png" alt="Contact Us" title="" style="left: 807px; top: 122px; width: 132px; height: 39px;"/>
    <img class="xr_ap" src="index_htm_files/24.png" alt="Register" id="LiveCopy:58Set13" title="" style="left: 686px; top: 36px; width: 89px; height: 23px;"/>
    <img class="xr_ap" src="index_htm_files/25.png" alt="Sign In" id="LiveCopy:58Set15" title="" style="left: 824px; top: 36px; width: 89px; height: 23px;"/>
    <img class="xr_ap" src="index_htm_files/451.jpg" alt="" title="" style="left: 616px; top: 420px; width: 318px; height: 159px;"/>
    <div id="xr_xd0"></div>
    <!--[if lt IE 7]><script type="text/javascript" src="index_htm_files/png.js"></script><![endif]-->
    <script type="text/javascript">xr_aeh()</script>

    Re: Xara and grids - problem with grid overflowing bottom of page

    Try setting up a container for your grid to live in on your page. Try using embed or iframe. I just created a grid and it's default a5w page and shoved it into a fairly simple bootstrap page I have... worked pretty good.

    The grid scrolls inside the region I've defined for it.

    					<div class="iosPage" id="myBrid" style="width:13in;height:10in;">
    					<embed src="http://mymachine:81/myfolder/grd_Customers.a5w" width="960" height="500"></embed>


      Re: Xara and grids - problem with grid overflowing bottom of page

      Thanks for the suggestion Dave, unfortunately it isn't the result I'm going for. I'm looking for the entire grid to display on the page and as it grows, the length of the page needs to grow with it and of course set the footer to be at the very bottom.

      Here's the variation of the code you suggested and results
      <div class="mygrid" id="myBrid" style="width:7in;height:4.75in;">
      <embed <%A5 ?x_TEAM.Output.Body.Grid_HTML %> width="960"></embed>

      I believe the changes need to happen where the page size is set, which is right after the </head> tag. In this example, the height is set to 1000px. I have tried a variety of height settings/options and none of them worked. I also omitted the height setting thinking that would do the trick but to no avail. When I compare this code line by line to a a5w page created from Alpha, there is no height setting

      I am stumped


        Re: Xara and grids - problem with grid overflowing bottom of page

        Give this a try... I think it's working...

        I put the full a5w page into the iFrame, but the grid output should work as well. I don't think it cares what it is... it just gets the object's height and sets it.

        Very cool stuff. Good question.


          Re: Xara and grids - problem with grid overflowing bottom of page

          Here's a bit more info...

          A video showing the results...

          The javascript found here...

          And the Footer CSS solution here...


            Re: Xara and grids - problem with grid overflowing bottom of page

            I've been experimenting with a handful of the suggestions from the stackoverflow article and from your video (Thanks Dave!) but cannot get it to work. I suspect I'm making a syntax error somewhere

            Dave K - could you post the code from the a5w page that you used in the video ?

            After I get this working, I'm going to have to decide how to manage this code, especially after more pages are created. Using 2 tools (Xara and Alpha) with neither being the authoritative source will lead to extra maintenance and possible mishaps


              Re: Xara and grids - problem with grid overflowing bottom of page

              Here's a really simple a5w page. You'll have to use your own grid.
              Attached Files