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

Announcement

Collapse

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

Thanks to Alpha ...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Thanks to Alpha ...

    Let me start out by stating an emphatic Thank you to Alpha for this amazing product. After getting quite frustrated with many things I was trying to do, I have spent many hours researching various things on the web and many hours at Borders. I have read various things about HTML, Java, JavaScript, AJAX, JSON, Perl, PHP, CGI, and on and on and on. There is really a mass of material out there. And after looking at all of that, I find myself looking at what I have already created with Alpha's WAS, in just about 4 months or so, and it is really astonishing. There is no way I would have been able to do anything close to this without alpha. It is truly amazing. I am now using the WAS version of my application instead of the desktop version. It is also much faster than I would have expected from an internet based application, particularly one that I host on my own server. After delving into the books I described above, I come away with a MUCH greater appreciation for what alpha has done for us.

    Now for a suggestion. I am wondering if we can start a thread or two, one for other WAS users to provide screen shots of their apps (like we had on another alpha message board), and another for FAQ's about how to accomplish various basic things on the WAS. This latter could include various topics such as:

    - How to provide a message to the user like ui_msg_box

    - How to run your desktop scripts on the WAS

    - any number of other topics that could be asked by users and then answered by a contributor.

    - etc.

    Gary
    Gary S. Traub, Ph.D.


    #2
    Re: Thanks to Alpha ...

    Originally posted by drgarytraub View Post
    one for other WAS users to provide screen shots of their apps (like we had on another alpha message board)
    I have always wanted to see screen shots of your application, Gary. :)
    Peter
    AlphaBase Solutions, LLC

    [email protected]
    https://www.alphabasesolutions.com


    Comment


      #3
      Re: Thanks to Alpha ...

      Well, mine are very vanilla, but here we go ...
      Gary S. Traub, Ph.D.

      Comment


        #4
        Re: Thanks to Alpha ...

        This javascript stuff is probably basic to some of you, but it is all new to me. In the hopes that the following may be useful to some, I share some code that pops up a message box:

        <script language="JavaScript" type="text/javascript">
        if (confirm("Do you agree"))
        {alert("You agree")}
        else{alert ("You do not agree")};
        </script>

        This should be put in the source tab in the body section of the html.

        The result will be as shown in the attached screen shots
        Gary S. Traub, Ph.D.

        Comment


          #5
          Re: Thanks to Alpha ...

          Here are the screen shots
          Gary S. Traub, Ph.D.

          Comment


            #6
            Re: Thanks to Alpha ...

            Originally posted by drgarytraub View Post
            How to provide a message to the user like ui_msg_box
            Since this is in the V9 WAS section, I do think that the Ajax message box functions in the Alpha libraries have made a HUGE difference to the kind of sophisticated user interfaces we can now create: http://www.charlesworth.biz/WAS/AJAX_PopupWindows.a5w

            Comment


              #7
              Re: Thanks to Alpha ...

              Hi Andrea,

              When I cut and paste the code into an a5w page, it does not work. I assume that I would have to put some code in the header - can you please tell me what needs to be in the page so that the a5_msg_box code will work.
              Gary S. Traub, Ph.D.

              Comment


                #8
                Re: Thanks to Alpha ...

                Originally posted by drgarytraub View Post
                Hi Andrea,

                When I cut and paste the code into an a5w page, it does not work. I assume that I would have to put some code in the header - can you please tell me what needs to be in the page so that the a5_msg_box code will work.
                First off, download the latest Web App Sample files... http://downloads.alphasoftware.com/A...bAppUpdate.exe

                Then read through the included tutorials - the files you need to link to from the main (calling) a5w page are all .js files and some CSS/Style files*, which ones you need can most easily be determined by checking which ones the samples link to in the HTML header, e.g. in the case of the Popup Message Boxes, what you need to add to the header is:
                Code:
                <script type="text/javascript" src="Javascript/core.js"></script>
                <script type="text/javascript" src="Javascript/aui.js"></script>
                <script type="text/javascript" src="Javascript/AjaxFormLibrary.js"></script>
                
                <script type="text/javascript" src="CSS/A5System/Vista/theme.js"></script>
                <link rel="stylesheet" type="text/css" href="CSS/A5System/Vista/theme.css" />
                Now I know SOME of these files are not necessarily included in the latest patch so I am attaching the CSS and Javascript files I know need updating (copy them into your A5V9 Program directory & into the CSS directory of your published WAS application)...

                * the CSS and style files are the A5System ones used in the tab examples of the updated AJAX WAS Sample DB
                Last edited by Lenny Forziati; 05-12-2008, 05:09 PM. Reason: (attachment removed)

                Comment


                  #9
                  Re: Thanks to Alpha ...

                  Hi Andrea,

                  Maybe I have a mental block, but I am confused. First, I downloaded the latest sample files as you suggested. An exhaustive search of my computer cannot find even the AjaxFormLibrary.js file. Am I doing something ridiculously wrong?

                  Are there some files that you were going to attach?

                  Gary
                  Gary S. Traub, Ph.D.

                  Comment


                    #10
                    Re: Thanks to Alpha ...

                    Originally posted by drgarytraub View Post
                    Hi Andrea,

                    Maybe I have a mental block, but I am confused. First, I downloaded the latest sample files as you suggested. An exhaustive search of my computer cannot find even the AjaxFormLibrary.js file. Am I doing something ridiculously wrong?

                    Are there some files that you were going to attach?

                    Gary
                    The AjaxFormLibrary and other js files should be in your Program Files/A5V9/Javascript... I guess there must have been something wrong with my attached js files (legally), I attached them because last time I checked the recent update etc. does NOT contain the correct js and style files to make this actually work, but I can see why they don't want them posted publically... (Although they are supposed to *be* in the latest updates but are not - some of the themes still use the dysfunctional image reference syntax for example)

                    Comment


                      #11
                      Re: Thanks to Alpha ...

                      I noticed that Lenny removed your attachments - I am not sure why.

                      But here is the code I have in an a5w page:

                      <html>

                      <head>
                      <meta name="generator" content="Alpha Five HTML Editor Version 9 Build 1457-3177">
                      <title></title>
                      <script type="text/javascript" src="Javascript/core.js"></script>
                      <script type="text/javascript" src="Javascript/aui.js"></script>
                      <script type="text/javascript" src="Javascript/AjaxFormLibrary.js"></script>

                      <script type="text/javascript" src="CSS/A5System/Vista/theme.js"></script>
                      <link rel="stylesheet" type="text/css" href="CSS/A5System/Vista/theme.css" />

                      </head>


                      <body>
                      <p>&nbsp;</p>



                      <script language="JavaScript" type="text/javascript">

                      a5_msg_box.show('Error','<img src="images/$$large.generic.tools.png.a5image" style="float: left;"/> Warning!<br />There are errors in the page.','O',function(result){if(result=='ok') return true; else return false;});


                      </script>

                      </body>
                      </html>




                      And here is the error message I get when I run the page (see attachment)

                      Gary
                      Gary S. Traub, Ph.D.

                      Comment


                        #12
                        Re: Thanks to Alpha ...

                        The AJAX JavaScript files used by the Application Server are built into the server itself and should not be individual files within your web project. Adding them has the potential to create confusion and conflicts and possibly even break your applications. You should not actually have a file named AjaxFormLibrary.js on your server's drive.

                        Lenny Forziati
                        Vice President, Internet Products and Technical Services
                        Alpha Software Corporation

                        Comment


                          #13
                          Re: Thanks to Alpha ...

                          Lenny,

                          Thanks for clearing that up re why downloading those files should not be done.

                          So are you saying that all the necessary files are built in?

                          If so, then why am I getting the errors as depicted in the screen shot?

                          Please help ...

                          Gary
                          Gary S. Traub, Ph.D.

                          Comment


                            #14
                            Re: Thanks to Alpha ...

                            Originally posted by Lenny Forziati View Post
                            You should not actually have a file named AjaxFormLibrary.js on your server's drive.
                            Hm....

                            I stand corrected, the AjaxFormLibrary.js file is missing from the A5V9 installl... But I definitely know that in order to get the sample pages to work last week, I had to download all the updated Javascripts from the afas page, and that INCLUDES AjaxFormLibrary.js - I guess the latest update has fixed this, although I still don't understand how one .js file can be referenced from the sample page and HAS TO be present in the Javascript folder, and another doesn't...

                            Anyhow, the reason I personally had to download AjaxFormLibrary.js was because it still has the old image syntax in it, and in order to test the fix from last weekend, I had to download it to check why some image references were still not working...

                            In the case of the Message Box sample, I originally still got a broken image link with the current version of AjaxFormLibrary.js because it still refers to the "close message box" image by "/images/$$window.button.close.png.a5image" instead of "images/$$window.button.close.png.a5image" - See the Release Notes for the latest patch: http://downloads.alphasoftware.com/A...easenotes.html

                            Built-in Images for Web Applications - Syntax Change - Previously, the 'What's New in V9' document stated that the syntax for built-in images included a forward slash before the virtual 'images' folder. This has been changed. A leading slash should not be used. The change was necessary in order to make built-in images work when the Security Framework is enabled. For example, here is the correct syntax to show the built-in $a5_open image:
                            Code:
                            <img src="images/$a5_open.png.a5image" >
                            To get an updated version of the sample web applications that ships with Version 9, click the link below. This will update the sample pages so that they do not generate code with a leading slash in the virtual image name.

                            http://downloads.alphasoftware.com/A...bAppUpdate.exe

                            Important: After installing the update, you will need to create a new instance of the Sample Web Application by selecting the 'Sample and Tutorial Databases' button at the Welcome Screen. Then open the Sample Web Applications database and from the Web Application Control Panel, click the 'Publish' button, then the 'Clear Publishing History' button. Then republish the application.
                            The reason I tried to include the two a5System style sheet folders to this thread is because when the web app sample update was first rolled out, they were not included in either the full A5V9 donwload/install, or any of the patches, including the web app sample update. I do believe they are in the latest patch, though :)
                            Last edited by NoeticCC; 05-13-2008, 04:27 AM.

                            Comment

                            Working...
                            X