Alpha Video Training
Results 1 to 5 of 5

Thread: Script:UI_MODELESS_DLG_BOX: Web Projects Control Panel line:360 a5wcb_phonegapBuilder() Property not found

  1. #1
    Member
    Real Name
    Adrian Largu
    Join Date
    Jan 2015
    Posts
    5

    Default Script:UI_MODELESS_DLG_BOX: Web Projects Control Panel line:360 a5wcb_phonegapBuilder() Property not found

    I am getting the following error when using PhoneGap (3.6.3) to compile a UX component:

    Code:
    Script:UI_MODELESS_DLG_BOX: Web Projects Control Panel line:360
    a5wcb_phonegapBuilder()
    Property not found
    The culprit is this line of code:

    Code:
    		{dialog.object}.setValue('IMG_STARS_RATING','a5res:images/stars_' + Math.round(avgStar) + '_of_5.png');
    For some reason having a calculation/variable inside this line breaks PhoneGap. I tried to assign the result to a variable and place it there, but it would still result in an error...


    L.E: Believe it or not, having ".png" in a variable breaks the compiler. I tried to separate the "." from "png" and to my surprise, it works:
    Code:
    		{dialog.object}.setValue('IMG_STARS_RATING','a5res:images/stars_' + Math.round(avgStar) + '_of_5' + '.' + 'png');
    Last edited by getlucky26; 04-12-2015 at 10:11 AM.

  2. #2
    "Certified" Alphaholic CharlesParker's Avatar
    Real Name
    Charles Parker
    Join Date
    Dec 2012
    Location
    New Orleans, LA
    Posts
    2,148

    Default Re: Script:UI_MODELESS_DLG_BOX: Web Projects Control Panel line:360 a5wcb_phonegapBuilder() Property not found

    Interesting - I am getting the same error and i use png files! I will have to look into this!
    NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

  3. #3
    Member
    Real Name
    Peter Johnston
    Join Date
    Oct 2010
    Location
    Sydney Australia
    Posts
    76

    Default Re: Script:UI_MODELESS_DLG_BOX: Web Projects Control Panel line:360 a5wcb_phonegapBuilder() Property not found

    Hi Adrian, it does not always break the compiler.
    I have a rather large UX with many .PNG files which has been compiling for weeks, until I did something last night that broke it.
    Hopefully I can find the culprit quickly or I will have to start restoring backups to work out what i did wrong.

    IS there a quick way to find the offending code?

  4. #4
    "Certified" Alphaholic CharlesParker's Avatar
    Real Name
    Charles Parker
    Join Date
    Dec 2012
    Location
    New Orleans, LA
    Posts
    2,148

    Default Re: Script:UI_MODELESS_DLG_BOX: Web Projects Control Panel line:360 a5wcb_phonegapBuilder() Property not found

    I would suggest you send it in as a bug report, it may be something they can fix as I was getting the same error. I just deleted the UX and my phonegap project so I cannot - but I did get the same error as you both.
    NWCOPRO: Nuisance Wildlife Control Software My Application: http://www.nwcopro.com "Without forgetting, we would have no memory at all...now what was I saying?"

  5. #5
    Member
    Real Name
    Jim
    Join Date
    Aug 2014
    Posts
    21

    Default Re: Script:UI_MODELESS_DLG_BOX: Web Projects Control Panel line:360 a5wcb_phonegapBuilder() Property not found

    Hi everyone,

    I got the same error message, but I couldn't find the line of code that Adrian mentioned :

    Code:
    {dialog.object}.setValue('IMG_STARS_RATING','a5res:images/stars_' + Math.round(avgStar) + '_of_5.png');

    Can anyone tell me where is it , so that I can apply the changes and test it.

    Thanks in advance.

Similar Threads

  1. web projects control panel
    By Gene Peterson in forum Alpha Five Version 11 - Desktop Applications
    Replies: 2
    Last Post: 11-20-2012, 09:37 AM
  2. Does Control Panel Have Anything To do with Web Projects?
    By Fulltimer in forum Application Server Version 11 - Web/Browser Applications
    Replies: 5
    Last Post: 09-01-2012, 03:29 PM
  3. Web projects control panel
    By mdadvice in forum Alpha Five Version 10 - Desktop Applications
    Replies: 4
    Last Post: 12-19-2010, 04:08 AM
  4. Web Projects Control Panel
    By ColinJD in forum Archived Wishlist
    Replies: 0
    Last Post: 07-23-2009, 12:59 AM
  5. Web Projects Control Panel
    By davej in forum Web Application Server v7
    Replies: 2
    Last Post: 03-11-2006, 02:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •