dataview improvments
This commit is contained in:
parent
372c7887fb
commit
174b230509
1 changed files with 6 additions and 8 deletions
|
|
@ -42,7 +42,7 @@ import org.imixs.workflow.office.forms.CustomFormSection;
|
|||
|
||||
import jakarta.annotation.PostConstruct;
|
||||
import jakarta.enterprise.context.Conversation;
|
||||
import jakarta.enterprise.context.ConversationScoped;
|
||||
import jakarta.enterprise.context.SessionScoped;
|
||||
import jakarta.faces.context.FacesContext;
|
||||
import jakarta.inject.Inject;
|
||||
import jakarta.inject.Named;
|
||||
|
|
@ -54,13 +54,8 @@ import jakarta.servlet.http.HttpServletRequest;
|
|||
* @author rsoika
|
||||
* @version 1.0
|
||||
*/
|
||||
// @Named
|
||||
// @ConversationScoped
|
||||
// public class DataViewController extends AbstractDataController {
|
||||
|
||||
@Named
|
||||
@ConversationScoped
|
||||
// @ViewScoped
|
||||
@SessionScoped
|
||||
public class DataViewController extends ViewController {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
|
@ -108,7 +103,9 @@ public class DataViewController extends ViewController {
|
|||
* This method loads the custom form sections
|
||||
*/
|
||||
public void onLoad() {
|
||||
if (filter == null) {
|
||||
filter = new ItemCollection();
|
||||
}
|
||||
// super.onLoad();
|
||||
startConversation();
|
||||
|
||||
|
|
@ -130,6 +127,7 @@ public class DataViewController extends ViewController {
|
|||
// Init new Filter....
|
||||
if (data != null) {
|
||||
filter.setItemValue("txtWorkflowEditorCustomForm", data.getItemValue("form"));
|
||||
// filter.setItemValue("date.from", new Date());
|
||||
customFormController.computeFieldDefinition(filter);
|
||||
sections = customFormController.getSections();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue