[ https://issues.apache.org/jira/browse/OFBIZ-4111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sascha Rodekamp updated OFBIZ-4111: ----------------------------------- Attachment: OFBIZ-4111_initially_select_jsTree.patch I think there is no need to rewrite all the create content methods to return a JSON Object, we can simply use the initial select function from the js tree. when i now create a new long/short text and do a "real" form submit the tree notice the new contentId from the parameters and select the corresponding tree node. > Small issues in Content/CMS > --------------------------- > > Key: OFBIZ-4111 > URL: https://issues.apache.org/jira/browse/OFBIZ-4111 > Project: OFBiz > Issue Type: Sub-task > Components: content > Affects Versions: SVN trunk > Environment: NA > Reporter: Jacques Le Roux > Priority: Minor > Attachments: OFBIZ-4111_initially_select_jsTree.patch > > > In OFBIZ-4079 Martin Kreidenweis fixed some issues in Content/ CMS (see > https://demo-trunk.ofbiz.apache.org/content/control/WebSiteCms?webSiteId=CmsSite) > So now it works, but he simultaneoulsy signaled some points. > * He used regular form submit instead of ajax for new content for now, thus: > ** ajaxSubmitForm() can't handle new content, it won't reload the form > because it doesn't know the new contentId > + some controller changes would probably be necessary to make that work > (return new contentId as JSON) > ** nav tree is not updated with ajax submit currently -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.