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

Problems with OpenWYSIWYG HTML Editor on A5W pages in Firefox

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

    Problems with OpenWYSIWYG HTML Editor on A5W pages in Firefox

    Has anyone been able to successfully use the OpenWYSIWYG HTML Editor on A5W pages in Firefox? I'm trying to use this with a Grid Component to enable HTML editing in Text Area controls. I've used both the version of OpenWYSIWYG and instructions from Steve Woods' site, as well as the latest version 1.47.

    Using either of these, everything works perfectly fine and is fully-functional when viewed in Internet Explorer. However, when viewed in Firefox (multiple 2.x & 3.0 versions tried on multiple machines), it draws the toolbars for the first Text Area control and I can appear to interact with the toolbars' buttons, but I cannot enter anything in the control itself. Moreso, when the page is first loaded, I get unceasing "Read <SERVER>" and "Transferring from <SERVER>". If the page contains multiple Text Area controls with the HTML editor applied to all of them, it never draws the toolbars for any control beyond the very first one.

    If I open the browser's Java Console, I get several warnings about parsing values for height and width properties, and a single error:
    Error: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMNSHTMLDocument.designMode]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: https://<SERVER>/dir/dir/scripts/wysiwyg.js :: anonymous :: line 837" data: no]
    Source File: https://<SERVER>/dir/dir/scripts/wysiwyg.js
    Line: 837
    I've tinkered with various Java, browser and security settings and can't seem to work past this. Has anyone experienced something similar, or otherwise had success with this? I'd have posted this on OpenWebWare's forums, but I only have this problem when applying this via an A5W file (even viewing an HTML file loaded thru WAS appears to work).

    Thanks,
    Tarek

    #2
    Re: Problems with OpenWYSIWYG HTML Editor on A5W pages in Firefox

    I've never seen that. Here is a snapshot from FF 3.0.1 where I have two edit boxes stacked in a Grid. The openWYSIWYG is whatever is on my website for upload (which I am glad to see others are using). I tried data-entry and general messing with the object with no problem. Not a Java or FF expert, so I don't know what to suggest.
    Steve Wood
    See my profile on IADN

    Comment


      #3
      Re: Problems with OpenWYSIWYG HTML Editor on A5W pages in Firefox

      After playing around with it some more, the problem appears to be related to having Tab Control/Tab Pane Layout Commands arranged on a grid in such a manner that the Text Area controls are not on the first tab.

      Crap :(

      Comment


        #4
        Re: Problems with OpenWYSIWYG HTML Editor on A5W pages in Firefox

        If you look at my image, the two text boxes are on the 5th tab pane. I used to have a dozen on the same tab and they worked then too.
        Steve Wood
        See my profile on IADN

        Comment


          #5
          Re: Problems with OpenWYSIWYG HTML Editor on A5W pages in Firefox

          Steve,

          I've used openWYSIWYG in a couple situations, but then I tried it in Safari. I know it is not supported in Safari, but instead of simply not working, it puts up a huge "Doesn't work with Safari..." message box that stops everything.

          Have you tried this, and more important, do you know a way to prevent the message box?

          For now, I've gone back to FCKeditor because of the compatibility problem.

          Pat
          Pat Bremkamp
          MindKicks Consulting

          Comment


            #6
            Re: Problems with OpenWYSIWYG HTML Editor on A5W pages in Firefox

            Originally posted by Pat Bremkamp View Post
            For now, I've gone back to FCKeditor because of the compatibility problem.
            Pat,

            Thanks for mentioning FCKeditor, as I am open to trying an alternative to OpenWYSIWYG in an attempt to work around the issue I'm experiencing. Are you successfully using this with grid components? If so, could I trouble you to elaborate on how you were able to integrate the editor into grid components' Text Area controls?

            I've tried:
            Code:
            <script type="text/javascript" src="fckeditor/fckeditor.js"></script>
            <script type="text/javascript">
            window.onload = function()
            {
            var oFCKeditor = new FCKeditor( 'Issue' ) ;
            oFCKeditor.BasePath = "/fckeditor/" ;
            oFCKeditor.ReplaceTextarea() ;
            }
            </script>
            ..where "Issue" is the name of my Text Area control, but I then get a message saying that no Text Area control with that name can be found. How else would we be able to identify how to link a grid component's Text Area control with one that the editor can recognize?

            Thanks,
            Tarek

            Comment


              #7
              Re: Problems with OpenWYSIWYG HTML Editor on A5W pages in Firefox

              Tarek,

              Edit the grid component and look in the html tab. Find the id for that field. It will be something like V.R1.ISSUE. That's what you enter, and be sure you use the same case...JavaScript is case sensitive.

              Pat
              Pat Bremkamp
              MindKicks Consulting

              Comment


                #8
                Re: Problems with OpenWYSIWYG HTML Editor on A5W pages in Firefox

                Steve,

                That is interesting. I've tried playing around with putting the TextArea controls on other tabs, but I'm seeing it consistently not work whenever any of the controls are not on the first tab, for whatever reason (tab control type doesn't appear to matter, either).

                I tried out FCKEditor that Pat mention and don't seem to be having the same problem.

                Pat,

                Thanks for the info and pointer on this.

                One thing I have noticed with FCKEditor is that if I apply it to all my TextArea controls on a grid, it resizes all of them to the same sized small box (both for the editor as well as the actual control itself). If I apply it to any combination of the 3 TextArea controls on my grid, they are sized properly, so long as I keep one of the TextArea controls free of attaching to the editor. It behaves this way consistently between IE and Firefox. You haven't experienced anything like this, have you?

                Regards,
                Tarek

                Comment


                  #9
                  Re: Problems with OpenWYSIWYG HTML Editor on A5W pages in Firefox

                  Tarek,

                  You can size them individually. Here's a script that does 5 text areas on one page

                  Code:
                   
                  <script type="text/javascript" src="htmledit/fckeditor.js"></script>
                  <script type="text/javascript">
                  window.onload = function()
                  {
                  var oFCKeditor1 = new FCKeditor( 'Ev_AddEdit_VHTML' ) ;
                   oFCKeditor1.ToolbarSet = 'Asqpdx' ;
                   oFCKeditor1.Height = 400 ;
                   oFCKeditor1.Width = 500 ;
                   oFCKeditor1.BasePath = "htmledit/" ;
                   oFCKeditor1.ReplaceTextarea() ;
                  var oFCKeditor2 = new FCKeditor( 'Ev_AddEdit_VSPONSORS' ) ;
                   oFCKeditor2.ToolbarSet = 'Asqpdx' ;
                   oFCKeditor2.Height = 300 ;
                   oFCKeditor2.Width = 500 ;
                   oFCKeditor2.BasePath = "htmledit/" ;
                   oFCKeditor2.ReplaceTextarea() ;
                  var oFCKeditor3 = new FCKeditor( 'Ev_AddEdit_VBIO' ) ;
                   oFCKeditor3.ToolbarSet = 'Asqpdx' ;
                   oFCKeditor3.Height = 300 ;
                   oFCKeditor3.Width = 500 ;
                   oFCKeditor3.BasePath = "htmledit/" ;
                   oFCKeditor3.ReplaceTextarea() ;
                  var oFCKeditor4 = new FCKeditor( 'Ev_AddEdit_VAGENDA' ) ;
                   oFCKeditor4.ToolbarSet = 'Asqpdx' ;
                   oFCKeditor4.Height = 300 ;
                   oFCKeditor4.Width = 500 ;
                   oFCKeditor4.BasePath = "htmledit/" ;
                   oFCKeditor4.ReplaceTextarea() ;
                  var oFCKeditor5 = new FCKeditor( 'Ev_AddEdit_VMENU' ) ;
                   oFCKeditor5.ToolbarSet = 'Asqpdx' ;
                   oFCKeditor5.Height = 200 ;
                   oFCKeditor5.Width = 500 ;
                   oFCKeditor5.BasePath = "htmledit/" ;
                   oFCKeditor5.ReplaceTextarea() ;
                  }
                  </script>
                  Pat
                  Pat Bremkamp
                  MindKicks Consulting

                  Comment


                    #10
                    Re: Problems with OpenWYSIWYG HTML Editor on A5W pages in Firefox

                    Pat,

                    Thanks, that did the trick.

                    Regards,
                    Tarek

                    Comment

                    Working...
                    X