eclipse-scout

Change style in Scout Eclipse Rap

自作多情 提交于 2020-01-06 13:49:31
问题 I would like to change appearance of some element in rap scout project. I found folder with RAP.application.css file in it, but it is empty. I would like to know how to use it, for fields disable color,... Marko 回答1: I am afraid there is no single documentation page where you will find the information. Here some inputs on the eclipse scout forum: Scout Web App + CSS How to change theme on RAP client How to change theme (color) 来源: https://stackoverflow.com/questions/26117826/change-style-in

Scout eclipse form template

断了今生、忘了曾经 提交于 2020-01-06 03:06:33
问题 I see in the tree representing my applications in the Scout Explorer view that I have two subfolders under the template node : Forms Form Fields I know how to add form fields and its pretty simple, but I don't know how to create a form template and I can't find it on internet. Marko EDIT : Now I figure out how to add form to From template folder. You just need to add abstract tag and then you can create new form from this template. Now I need to change default main box class from :

Java wait for IClientNotificationService

本小妞迷上赌 提交于 2019-12-25 06:09:55
问题 I am trying to create notification system between server and client side. In my service I have something like this : IClientNotificationService service = SERVICES.getService(IClientNotificationService.class); service.putNotification(notification, new AllUserFilter(TIMEOUT)); On client side, when receive this notification, client present MessageBox with Yes No options. MessageBox.showYesNoMessage(....) What I would like to have is to be able to inform service what user select, yes or no. For

Scout Bean Manager: registerClass(..) or registerBean(..)

梦想的初衷 提交于 2019-12-24 16:34:33
问题 In our project we have following modules scout.client , scout.server , scout.shared and backend . backend has no dependencies to scout.server and scout.shared , but scout.server has dependencies to backend . Inside the backend project we have all business logic and calling all outside services. We use the Scout Bean Manager to manage the instances of the Backend-Services in our scout.server : BEANS.getBeanManager().registerClass(CarService.class); BEANS.getBeanManager().registerClass

Eclipse Scout Neon mock backend service

帅比萌擦擦* 提交于 2019-12-24 13:08:01
问题 In our project I have modules scout.client, scout.server, scout.shared and backend. Backend has no dependencies to scout.server and scout.shared, but scout.server has dependencies to backend. Inside backend project I have all business logic and calling all outside services. My problem is when I try to test scout services that use some service from backend. Because scout provide some great tool for mocking beans, we defined our service inside backend as beans as : BEANS.getBeanManager()

Column in extended table are not presented in form data on Eclipse Scout

岁酱吖の 提交于 2019-12-20 06:39:02
问题 I have Table field as Templates. For this Table field I have form data created with anotation @FormData(value = AbstractMyTableData.class, sdkCommand = FormData.SdkCommand.USE, defaultSubtypeSdkCommand = FormData.DefaultSubtypeSdkCommand.CREATE) public abstract class MyTableField extends AbstractTableField<MyTableField.Table> Inside MyTableField.Table I have n column and all of them is presented in form data for this field, so I can add rows like : int rowNum = formData.addRow(); formData

Eclipse Scout Neon: Menu and Tooltip on a field

让人想犯罪 __ 提交于 2019-12-13 06:45:24
问题 This is a screenshot if you put a Menu on a StringField : This is a screenshot if you put a Tooltip on a StringField : This is a screenshot if you put a Menu and a Tooltip on a StringField : the (i) icon from the tooltip is the button to open the menu list. the tooltip text is not visible. Did I miss something? Is this a known issue? 回答1: Yes, this is a known issue. If a tooltip and a menu are provided, a combined popup should be shown including the tooltip text and the menu items. But this

Scout Eclipse ScoutServerTestRunner on client tests

☆樱花仙子☆ 提交于 2019-12-12 06:14:48
问题 now I run on new problems with scout testing. I have Client fragment project for testing and I would like to test some templates I created. My problem is that this templates contains some SmartFields and I would like to test them. For this I probably need ScoutServerTestRunner , so the server is up and running. But If I try to add it I get error : @RunWith(ScoutServerTestRunner.class) @ServerTest() I get error : ServerTest cannot be resolved to a type , all of my assert imports are deleted

Eclipse Scout callback for entering value in fields

杀马特。学长 韩版系。学妹 提交于 2019-12-12 02:03:36
问题 I would like to know if there is a function that fires up when user set value in field but not if program set value in field. so function : user click on field 'myField and change value -> method fires up in program : myField.setValue = SomeValue; -> method doesn't fires up. problem is with loop detection. If your logic is that you have 4 field and try to detect if any of those fields are changed and then fire method for change some values inside those fields : @Override protected void

Eclipse Scout Neon : service registry does not contain a service of type

丶灬走出姿态 提交于 2019-12-11 09:58:55
问题 I try to call scout service from Scout Form, so I create interface in shared folder @TunnelToServer public interface IPersonsFormService extends IService { void test(); } and in server I created implementation of this interface public class PersonsFormService implements IPersonsFormService { @Override public void test() { System.out.println("TEST"); } } but I get o.e.scout.rt.platform.exception.ExceptionHandler - SecurityException:service registry does not contain a service of type com.sixt