GUI back-end plug-in: work in progress, testers welcome.

  • new version has problems with pnb. the check boxes on the old and the new pnb won't work with the new rwgui.

    Thanks for the report, @sharkbitefischer. In fact, the radio boxes do work but, as two image files are missing from the ZIP, nothing is shown in them and you cannot see it. I'll upload a complete set of images ASAP.

  • hallo das Plugin hat bei mir Fehler aus gegeben


    ich schick dir die Log Datei über pn



    das Fenster blieb sichtbar obwohl es eigentlich schon zu war


    und das X zum Fenster schließen war auch nicht da

  • Hi @Ludy; the origin of the error seems an incomplete installation; either the rwgui/assets/ folder is missing or it does not contains all the images.


    I have re-downloaded the latest plug-in file (rwgui_0_5_1.zip)to check it and it contains all the needed files in the correct places; so, it is a matter of uploading to the server all the plug-in files or, if you have access to a console on the host, simply unZIPping the plug-in file directly in the server plugins directory.


    Please let me know if I can further help you.

  • It is the same for me: I have two back-end plug-ins out since a year and a half and nobody else uses them but myself (RW-Gui even has its source code published since long).


    in this sense
    How about several windows from about 5months ago I had so my problems.
    I have a lot of information and options to display / offer in different windows. Where I z.b. want to use several subgroups and staggered windows.
    I think there were plausible plausibility with the InputText which should
    be fixed if I open another window and hide the previous one.


    If you could make a small example of multiple and windowed windows, that would help me a lot. :thumbsup:


    ###


    in diesem sinne
    wie sieht es mit mehreren Fenstern aus vor ca. 5Monaten hatte ich damit so meine Probleme.
    Ich habe vor eine Menge an Informationen und Optionen in verschiedenen Fenstern anzuzeige/anzubieten. Wobei ich z.b. mehrere untergruppen und gestaffelte Fenster benutzen möchte.
    Ich glaube es gab damals plrobleme mit dem InputText was aber gefixt sein sollte, wenn ich von einem Fenster ein anderes Öffne und das vorheriege ausblende.


    Wenn du ein kleines Beispiel für Mehrere und Ferschachtelte Fenster machen könntest würde mir das sehr helfen.

  • How about several windows from about 5months ago I had so my problems.
    I have a lot of information and options to display / offer in different windows. Where I z.b. want to use several subgroups and staggered windows.
    I think there were plausible plausibility with the InputText which should
    be fixed if I open another window and hide the previous one.


    If you could make a small example of multiple and windowed windows, that would help me a lot.

    Sorry @noci, I forgot about this request of yours, I deeply apologise ;(


    If it is still current, would you mind elaborating a little and perhaps drafting an actual example of what you need to achieve? Your description is fairly general. Thanks.

  • Hey are they some instructions on how this GUI can execute code are do you have to set it to call other routines or classes?


    I get an error when I tried to put up a simple database lookup. Mind that I am a noob programmer so it is me not this plugin. I just want to call a few routines and display information in the GUI


    Oh by the way i never installed PNB on my server until i tried this backend and PNB now works great. nice in all regards.

  • @angriff: there is plenty of documentation; look in the top post, you'll find the Java docs, a sample client plug-in and the link to the sources on github. I believe it should be enough to get you started.

    Yes thanks I got that, it is pretty advanced I will have to read up/study on java a bit more. I am looking for a way to interface a yes no question and/or display some stats from a database but the structure is unfamiliar to me. So does the main code that executes the db reads get put into the case1 case2 area or is that just a call?

  • ??? RW-Gui has nothing to do with data base management

    the structure is unfamiliar to me

    Which structure?


    So does the main code that executes the db reads get put into the case1 case2 area or is that just a call?

    DB read? case1 case2? I cannot understand what you are referring to.

    I will have to read up/study on java a bit more

    This is highly advisable! To program in a programming language, studying it to some proficiency helps greatly!

  • ??? RW-Gui has nothing to do with data base management

    Which structure?

    DB read? case1 case2? I cannot understand what you are referring to.

    This is highly advisable! To program in a programming language, studying it to some proficiency helps greatly!

    ROFL



    ok looking for advice how to communicate here..


    I have a DB capture/write/read with display function that works fine if I send it to chat. However I wanted to display it slicker in a GUI instead. What is the best method to call this using your GUI example as a teaching start point? If you dont have the time I understand. I will plug along.


    Unfortunately not everyone is as proficient as the career java writers that write some of these plugin but it does not mean we lowly beginners cannot have fun, albeit sometimes frustrating ourselves. So a lecture on studying is not highly advisable but a natural occurrence if one is to begin. Saying a poor person needs money is somewhat redundant. :|

  • @angriff: well, can you compile, install into RW and run the dialogue box example plug-in?


    If yes, then it has all the elements you seem to need:

    • define your dialogue box class following the MyDlgBox example (or even simply reusing and modifying it)
    • replace the fixed, hard-coded texts of the example with the data from your DB query
    • replace the fancy, multifarious layout (used to show different possibilities) with one suiting your data -- which you know in their structure and contents
    • once you have your DB query result, create and show the dialogue box as shown at the end of the SampleDlgBox class


    The example is heavily commented. As English is not my mother tongue (speaking of learned languages... :D ), comments may contain English errors and non-idiomatic expressions, but they should be comprehensible nevertheless.


    If you are stuck in finding a way to pass a variable contents (the result of your DB query) to the dialogue box to show, the answer might be different if the dialogue box, once created with some texts, will no longer change (for instance, just show one DB row) or if you want to page through multiple DB rows.


    In the first case, you may simply pass the DB result row to the dialogue box constructor, for it to extract the needed data and put into the dialogue box elements.


    In the second case, which is more complex, you need to add to your dialogue box class:

    • some clickable elements (acting as buttons) to page to the next / prev. row;
    • methods to receive new data, placing them into the relevant dialogue box GUI elements;

    and to the class using the dialogue box:

    • a callback to receive the "Next row"/"Prev. row" commands, retrieve the required result row and send it back to the dialogue box via the above methods

    As you see, it is more complex, but it can be done 8o .

  • I dont suppose you would know of any instructions on how to get two plugins to communicate with each other? or rather three? I am trying to set up a locale server for me and my girls for the holiday vacation coming and have something in mind. But it involves getting this bank plugin, an economy plugin, and a world or area protection plugin to work in sync. I have tried reading through the documents and what code is intelligible and I cant seem to understand it enough. Could you point me in the direction of a forum or something along the lines that would guide me through it?

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!