The urlencode function in version 3.4 does not appear to be recognised by the language parser. (Isn't turned blue by the syntax highlighting.) I thought this might be because the application vendor had when adding their own custom function removed it (either on purpose or by accident). As we weren't supplied the FPL.jj and javacc.zip files in the vendor's install of ebase and I need to add my own custom function, I got them from the internet copy of v3.4 and built my own UFSLanguage.jar file. This new UFSLanguage.jar file also suffers from the same problem with urlencode. Is this a known problem? Any solutions?
Paul Cooper
Please note this issue applies to urldecode function too.
Urlencode function not recognised in Ebase Builder v3.4
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 27
- Joined: Tue Mar 12, 2013 9:49 am
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Paul,
No idea why these functions are missing. They've been in the code base for a long time.
In general to add a function, you don't need to update the FPL.jj file - doing this means that the script will parse successfully when you click the check button. But this is not required for execution. To execute a function successfully, you just need to include the compiled class on the server's classpath and add the function (Tools -> Functions). So if you're willing to tolerate some syntax error messages in the designer, you can skip the FPL.jj step.
Regards
Jon
No idea why these functions are missing. They've been in the code base for a long time.
In general to add a function, you don't need to update the FPL.jj file - doing this means that the script will parse successfully when you click the check button. But this is not required for execution. To execute a function successfully, you just need to include the compiled class on the server's classpath and add the function (Tools -> Functions). So if you're willing to tolerate some syntax error messages in the designer, you can skip the FPL.jj step.
Regards
Jon
0 x
-
- Ebase User
- Posts: 27
- Joined: Tue Mar 12, 2013 9:49 am
-
- Ebase User
- Posts: 27
- Joined: Tue Mar 12, 2013 9:49 am
Who is online
Users browsing this forum: No registered users and 24 guests