Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Complex columns - how to?
Complex columns - how to? [message #1758682] Fri, 31 March 2017 15:51
Andreas Christ is currently offline Andreas ChristFriend
Messages: 32
Registered: April 2016
We need a somehow complex column in a table, with a select box (and its Submit Button), a single button or just some Text in it - depending on some workflow status.

The aim is:
* catch the "OK" button event and receive the selected option
* or catch the "single" button event

Well, I'm getting an event - but it is a "cell" event: it returns the whole cell's content (such as the HTML code of the select box or the HTML code of the button). The single button is ok for me: I can check whether I have a single button clicked or just the text. But it is currently impossible to find out which option is selected in the select box.

I thought about some JavaScript code to set a special hidden input field to the selected value: when I click on the button the field will be filled with the option's key, and then the event is fired against the addPropertyChangeListener where I can read the hidden field...

Is this a good idea, or do you know some simpler solution?

I added a screenshot, I hope, this makes things clear.
Previous Topic:SpringBoot and EclipseScout
Next Topic:How to intercept browser session expired
Goto Forum:

Current Time: Sat Jun 06 12:06:44 GMT 2020

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

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

Back to the top