EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only
  • 1.  Beginning EGL Project Development - Samples

    Posted Wed February 22, 2023 09:31 AM

    So I'm returning to EGL after a long absence, and I wanted to get started with some simple refreshers.  I want to use Rich UI, and I wonder if that's still a recommended direction.  I thought I'd go in and run the samples, but I get errors when trying to load them.  Specifically when I try to get the samples for the Dojo widgets, my browser comes up and says it can't reach 127.0.0.1:51483/help/topic/com.ibm.egl.ruipreviews.sample.doc/samples/com.ibm.egl.rui.dojo.samples.zip.  Is there something I need to do to get the help server running on port 51483?  Are the samples still available or are they perhaps out of date?  I can continue to move ahead, but the more samples I have the better!  Thanks!



    ------------------------------
    Joe Pluta
    ------------------------------



  • 2.  RE: Beginning EGL Project Development - Samples

    Posted Fri February 24, 2023 02:49 AM

    Hello Joe,

    The examples are indeed hard to find anymore. I have tested it in RBD 9.6.0.1 .
    I don't know if this is fixed in RBD 9.7. 
    Still we are using a lot of them in our applications.



    ------------------------------
    Jeroen Dielemans
    DMG
    Waalwijk
    ------------------------------



  • 3.  RE: Beginning EGL Project Development - Samples

    Posted Fri February 24, 2023 03:01 PM

    Okay, maybe someone from the development team can tell us more.  I really like samples, they make my life easier!  



    ------------------------------
    Joe Pluta
    ------------------------------



  • 4.  RE: Beginning EGL Project Development - Samples

    Posted Fri March 31, 2023 08:50 AM
    Edited by Tom Baranski Fri March 31, 2023 08:50 AM

    Hi Joe

    The samples can be found in the shared install directory IBMIMShared\plugins\com.ibm.etools.examples.egl\install. 
    RUISamples.zip is the samples project for the RUI Widgets
    com.ibm.egl.rui.bootstrap.samples.zip is the samples project for Bootstrap Widgets
    com.ibm.egl.rui.cordova.samples.zip is the samples project for Cordova Widgets
    com.ibm.egl.rui.dojo.samples.zip is the samples project for Dojo Widgets
    com.ibm.egl.rui.ionic.samples.zip is the samples project for Ionic Widgets


    As for your help error, did you install RBD with the "local help" option? This is required for importing the samples via help.



    ------------------------------
    Tom Baranski
    Senior Developer
    Rational Business Developer
    ------------------------------



  • 5.  RE: Beginning EGL Project Development - Samples

    Posted Mon April 03, 2023 08:28 PM

    Thanks, Tom!  I found the ZIP files and imported the Bootstrap samples (to start).  Everything worked fine, except that evidently date fields don't work in whatever browser is being used in the workspace.  I got the error "type date for BSTextField is not supported in the current browser".  I made a quick patch to see the exception and it turns out I'm getting "CRRUIS2006E, Invalid argument".  No problem, I commented out the date field, and I was able to run the individual widgets just fine.  Then I tried to run the Gallery example so I could see all the widgets and I got a few more errors, mostly saying that an object doesn't support property or method getClass.  I got that error on three widgets so far: BSPopover, BSTooltip and BSGridLayout. But the basic process worked, so I decided to move to Dojo instead.  That Gallery is working fine, so I'm going to move forward with that for now.  If you'd like, I can continue to provide my findings regarding the Bootstrap sample gallery.  Thank you again!



    ------------------------------
    Joe Pluta
    ------------------------------



  • 6.  RE: Beginning EGL Project Development - Samples

    Posted Tue April 04, 2023 05:16 AM

    Hi Joe

    For Bootstrap widgets to work in Rich UI editor and preview pane, you need to set the default rendering engine to Chromium. In EGL preferences->Rich UI->Appearance


    The issue with Bootstrap Sample's  Gallery.egl is a known issue that the development team is looking into. 



    ------------------------------
    Tom Baranski
    Senior Developer
    Rational Business Developer
    ------------------------------



  • 7.  RE: Beginning EGL Project Development - Samples

    Posted Tue April 04, 2023 03:33 PM

    Thanks, Tom!  I must have done something wrong because I changed the setting, re-generated my project, re-deployed it and I still get the same error.  But it's not a critical issue right now, and I can come back to it later.



    ------------------------------
    Joe Pluta
    ------------------------------



  • 8.  RE: Beginning EGL Project Development - Samples

    Posted Wed April 05, 2023 08:06 AM

    Hi Joe,
    There is short tutorial on youTube to call RPG programs from RUI. This may be useful.   
    https://www.youtube.com/watch?v=lA25DoElnSc



    ------------------------------
    Dev Banerjee
    RBD Development
    ------------------------------



  • 9.  RE: Beginning EGL Project Development - Samples

    Posted Wed April 05, 2023 02:05 PM

    Hi Dev!  Thanks for the link.  Dan did a lot of great work with EGL back in the day.  I have some notes myself from the projects I did back then.  I hope to work on it a little this weekend.



    ------------------------------
    Joe Pluta
    ------------------------------