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: 31
Registered: April 2016
Member
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 Nov 18 02:45:43 GMT 2017

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

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