[ https://issues.apache.org/jira/browse/OFBIZ-3647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856563#action_12856563 ]
nicolas malin commented on OFBIZ-3647: -------------------------------------- To Hans : The persistContentAndAssoc service create a content and a dataressource. It's not my purpose. I search to create a content by generic screen and assoc a dataresource directly by the generic dataResource screen To Scott : Thanks Scott or the review, my response ;) : 1.1 I have a memory brainless :( I hate java event call and i propably tried to pass this call to a service call ;) . I can remove this code in the patch. 1.2 arf 1.3 I understand, I had a different view before your comment but I find the java event complex and daunting 1.4 :) your right, 'll teach me not to read the service 2.1 ok for useTemplateDataResourceId, no pb. I change it in the next patch 2.2 ok same 2.1 2.3 Your right, It's stupid to store directly. I create a new patch without createDataResourceAndGiveType service in few days (I hope). Nicolas > Create dataResource from content > -------------------------------- > > Key: OFBIZ-3647 > URL: https://issues.apache.org/jira/browse/OFBIZ-3647 > Project: OFBiz > Issue Type: Improvement > Components: content > Affects Versions: SVN trunk > Reporter: nicolas malin > Assignee: Scott Gray > Priority: Minor > Attachments: content.patch > > > When you create a content, you need create a data resource and return to > content for create association. > If a content don't have a dataResource, I change buton : GoToDataResource by > Create a DataResource. When this lastest is created, she automaticly > associate to the content and retour to EditContent screen -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira