Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Re-visiting dynamic forms
Re-visiting dynamic forms [message #1760414] Wed, 26 April 2017 21:03 Go to next message
R. van Twisk is currently offline R. van TwiskFriend
Messages: 12
Registered: April 2017
Junior Member
I did my search and found this thread : https://www.eclipse.org/forums/index.php?t=msg&th=225433&goto=703425&#msg_703425

I am wondering if anyone did find a solution.
This can be very usefull for example when creating a dynamic form based on a DB configuration, often used together with form builders doing marketing research.
Eg, answer these X question and they can be dropdowns, input fields, radio's etc and additional input fields can appear based on answer.

The answers are then often dumped into map of some sort to be further analysed using BI.

cheers,
Ries
Re: Re-visiting dynamic forms [message #1760774 is a reply to message #1760414] Tue, 02 May 2017 19:25 Go to previous message
R. van Twisk is currently offline R. van TwiskFriend
Messages: 12
Registered: April 2017
Junior Member
I managed to get it dynamic enough for our needs and added this in my Constructor:

    class TestButton extends AbstractButton {
            protected String getConfiguredLabel() {
                return "Done 3";
            }
        }

        for (int i=0;i<10;i++) {
            TestButton testButton = new TestButton();
            testButton.setLabel("My Label " + i);
            getButtonBox().addField(testButton);
        }


Assuming it will work fine with fields and get the values out of it, I would be happy enough...
Previous Topic:Using maven to generate 'generated'?
Next Topic:Table Right Mouse Click Event: execRowClick doesn't work
Goto Forum:
  


Current Time: Wed Apr 24 16:05:11 GMT 2024

Powered by FUDForum. Page generated in 0.02953 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top