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 : AbstractGroupBox
to AbstractMyGroupBox
.
To be understand, what I need is to set somehow inside AbstractMyForm
, that all form that come from AbstractMyForm
template have instead :
public class TestFromForm extends AbstractMyForm
...
@Order(10.0)
@ClassId("e23ebc80-d948-4e23-aff6-ae49d3278331")
public class MainBox extends AbstractGroupBox {
@Order(10.0)
@ClassId("571bc88f-67ee-454d-b6ce-9616bc43bf74")
public class OkButton extends AbstractOkButton {
}
@Order(20.0)
@ClassId("66969857-002f-4689-981e-20ab60bbaf0e")
public class CancelButton extends AbstractCancelButton {
}
}
have this :
@Order(10.0)
@ClassId("e23ebc80-d948-4e23-aff6-ae49d3278331")
public class MainBox extends AbstractMyGroupBox {
}