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

Open new tab in tabbed_UI from a5w page href link

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

    Open new tab in tabbed_UI from a5w page href link

    I have an a5w page in a tabbed_ui. I want to open another tab (of another a5w page) from the href.

    This doesn't work:

    Code:
    <head>
    ...
    <script language="JavaScript">
      function openNewTab() {
       window.open('Claims.a5w');
    }
    </script>
    
    
    </head>
    
    ...
    
    
    <%a5
    ? "<a href='javascript:openNewtab();'>Open new tab test</a>"
    %>
    Nor does window.location work.
    Peter
    AlphaBase Solutions, LLC

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



    #2
    Re: Open new tab in tabbed_UI from a5w page href link

    This don't work either:

    <A HREF="javascript:void(0)"
    onclick="window.location('Claims.a5w','')">
    Open a new Tab</A>
    Peter
    AlphaBase Solutions, LLC

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


    Comment


      #3
      Re: Open new tab in tabbed_UI from a5w page href link

      Peter,
      Let me get this clear; you have a tabbed UI with say 2 buttons and both button 1 & 2 open a tab pane that contain an A5W page. You want to be able for example to click on button 1 and in the a5w page that is opened in button 1's pane you have a link that you want to use to open the pane that is normally opened with button 2?
      Frank

      Tell me and I'll forget; show me and I may remember; involve me and I'll understand

      Comment


        #4
        Re: Open new tab in tabbed_UI from a5w page href link

        Hi Frank,

        The tabbed_ui's home page is an a5w page. I want a link in the home.a5w page that opens up another a5w page in a tabbed_ui.

        I know I've opened an a5w page in a tabbed_ui form a grid w. a button using window.location if I remember correctly. But I need to do it as described above.
        Peter
        AlphaBase Solutions, LLC

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


        Comment


          #5
          Re: Open new tab in tabbed_UI from a5w page href link

          Peter,

          >>that opens up another a5w page in a tabbed_ui.

          I still don't understand what you mean; sorry

          What you probably want to do is to "break out" of the iframe of your homepage because most probably you now get that 2nd tabbed ui instead of the homepage. Correct ?
          In yes the this does it:

          <a href="anotherpage.a5w" target="_parent">Another page</a>
          Frank

          Tell me and I'll forget; show me and I may remember; involve me and I'll understand

          Comment


            #6
            Re: Open new tab in tabbed_UI from a5w page href link

            Originally posted by Clipper87 View Post
            I still don't understand what you mean; sorry
            ...
            <a href="anotherpage.a5w" target="_parent">Another page</a>
            Thanks Frank.

            No, that opens a new window.

            All I want to do is open another tab in a tabbed_ui from a link.
            Peter
            AlphaBase Solutions, LLC

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


            Comment


              #7
              Re: Open new tab in tabbed_UI from a5w page href link

              So my workaround was to create a UX that soley contains a link that opens an a5w page in another tabbed_ui pane. I inserted the UX on the home page.
              Peter
              AlphaBase Solutions, LLC

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


              Comment


                #8
                Re: Open new tab in tabbed_UI from a5w page href link

                if you use page layout builder and save that page and use that page as your home page then you can place buttons, inks in the home page that opens another tabbedui_pane with anything you defined in that pane. correct, possibly easier than what you use currently. right?
                thanks for reading

                gandhi

                version 11 3381 - 4096
                mysql backend
                http://www.alphawebprogramming.blogspot.com
                [email protected]
                Skype:[email protected]
                1 914 924 5171

                Comment


                  #9
                  Re: Open new tab in tabbed_UI from a5w page href link

                  Hhmm... that's a very good idea, Gandhi. Another project I'm working on does exactly that. I guess the only reason I haven't done it here, is that the page contains some dynamic content. I run complex xbasic on the a5w page. So probably one way or the other I'm stuck w. a page. But I'm going to think about it. Do you know if I can have a link on a page_layout and dynamically insert the value of a function in to the link? If I can do that I can probably dump the a5w page and do w. the layout.
                  Peter
                  AlphaBase Solutions, LLC

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


                  Comment


                    #10
                    Re: Open new tab in tabbed_UI from a5w page href link

                    Yeah, I guess I could do that w. the hyperlink. There are some other issues, still not sure. But I really like that idea of the page_layout.
                    Peter
                    AlphaBase Solutions, LLC

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


                    Comment


                      #11
                      Re: Open new tab in tabbed_UI from a5w page href link

                      Do you know if I can have a link on a page_layout and dynamically insert the value of a function in to the link?
                      I know I placed buttons, I will look into putting a hyperlink today.
                      there is hyperlink in the page layout builder, other controls. take a look.
                      thanks for reading

                      gandhi

                      version 11 3381 - 4096
                      mysql backend
                      http://www.alphawebprogramming.blogspot.com
                      [email protected]
                      Skype:[email protected]
                      1 914 924 5171

                      Comment


                        #12
                        Re: Open new tab in tabbed_UI from a5w page href link

                        I just tested. No go. Damn!
                        Peter
                        AlphaBase Solutions, LLC

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


                        Comment


                          #13
                          Re: Open new tab in tabbed_UI from a5w page href link

                          Peter,

                          Put this code in an a5w page that you open with a tabbed ui button, then click on the button, next on the link in the a5w page. Is that what you are looking for ? Code grabbed from the generated js; className & div_id may need to be set to something that corresponds with your project

                          Code:
                          <a title="open that pane" href="javascript:addpane();">open that pane</a>
                          
                          <script>
                          function addpane(){
                          window.parent.tbiObj.add({title: 'new pane', type: 'url', url: 'newpage.a5w' , header: {
                          className: 'GrBlueFooterTD',
                          style: {
                          borderTopStyle: 'none',
                          borderBottomStyle: 'solid',
                          borderBottomColor: '#ddd',
                          borderBottomWidth: '1px',
                          padding: '0px'
                          },
                          show: true,
                          html: '<div id="021e3f8e_d303_4934_998e_b5b17bc176aa"><div></div></div>'
                          }, autoRefresh: false });
                          }
                          </script>
                          Last edited by Clipper87; 01-31-2014, 07:13 PM.
                          Frank

                          Tell me and I'll forget; show me and I may remember; involve me and I'll understand

                          Comment


                            #14
                            Re: Open new tab in tabbed_UI from a5w page href link

                            That's a great solution. Just a note... there's a missing </script> tag. I love it when Alpha's code can be scooped up and re-used.

                            Comment


                              #15
                              Re: Open new tab in tabbed_UI from a5w page href link

                              oops, copy/paste issue... : I corrected it
                              Frank

                              Tell me and I'll forget; show me and I may remember; involve me and I'll understand

                              Comment

                              Working...
                              X