Regards Scott
HotWax Media http://www.hotwaxmedia.com On 2/05/2009, at 1:09 AM, Sascha Rodekamp wrote:
Ok. Maybe first some more words what i want to do:The idea was to at to every new project, which is created, it's own blog/content to have something like aproject journal. To easily share information's between the project members.I copied the blog folders /widget/blog/*.xml/webapp/ecommerce/blog/*.ftl /webapp/ecommerce/images/blog.cssfrom the ecommerce to the projectmgr folder.Added the needed stuff in the projectmgr/../controller.xml. And said theProjectServices.xml to create an Blog Content for every new project. This is working fine.I changed nothing in the BlogScreens.xml#MainBLog. But on that spot thereoccurs my mysterious error.It ONLY happened in the "firstBlog" section the "allOtherBlog" section hasno problems!! <section name="firstBlog"> <condition> <if-compare field="itemIndex" operator="equals" type="Integer" value="0"/> </condition> <widgets> <container style="blogwrapper"> <include-menu name="view_edit" location="component://ecommerce/widget/blog/BlogMenus.xml"/> <label text="<p/>"/> <link text="${blog.contentName} [${blog.contentId}]" target="ViewBlogArticle" style="blogheader"> <parameter param-name="contentId" from-field="blog.contentId"/> <parameter param-name="blogContentId"/> </link> <!-- <link text="Latest" target="LatestResponses" > <parameter param-name="ownerContentId" from-field="blog.ownerContentId"/> </link> --> <label text="<br/>"/> <container style="blogtext"><!-- here the blog crashes --><sub-content map-key="SUMMARY" content-id="${blog.contentId}"/> </container> </container> </widgets> </section> 2009/5/1 Scott Gray <[email protected]>Yes the problem you reported at the bottom of this thread is fixed.If you could provide some steps to reproduce whatever this other issue isthat your having I'd be glad to take a look. Regards Scott HotWax Media http://www.hotwaxmedia.com On 1/05/2009, at 9:28 PM, Sascha Rodekamp wrote: hm really? I updated my ofbiz on monday with the current trunk.After this monday update the error occurs. Maybe i have more detailed informations where my blog crashes. In the BlogScreens.xml i recommended the<sub-content map-key="SUMMARY" content-id="${blog.contentId}" /> and<sub-content map-key="IMAGE" content-id="${parameters.contentId}" /> out and included an <label text="${blog.description} />. After my changes the blog in my project manager works fine.There have to be some trouble with the <sub-content... />, but, as i wrotebefor, in the ecommerce the blog works without this changes.So i do not really understand why this sub-content tag make trouble on theone hand and on the other (in the ecommerce) works without any problems. So long Scott Gray schrieb:Thanks for the report Sascha, the problem is fixed in: trunk - r770501 9.04 - r770503 Regards Scott HotWax Media http://www.hotwaxmedia.com On 30/04/2009, at 8:27 PM, Sascha Rodekamp wrote: Hm, nobody an idea about my error msg?Error on line 54, column 105 incomponent://widget/templates/htmlScreenMacroLibrary.ftl Expecting aboolean (true/false) expression here Expression enableEditValue does not evaluate to true/false it is an instance of freemarker.template.SimpleScalarThe problematic instruction: ---------- ==> if editRequest? exists &&enableEditValue [on line 54, column 78 in component://widget/templates/htmlScreenMacroLibrary.ftl]in user-directive renderSubContentBegin [on line 1, column 1 in Thu Apr30 10:11:47 CEST 2009] Screenshot: http://www.imagebam.com/image/7572a334137517 I'm a little bit desperated about this and hope some can give me a hint... -- Best Regards Sascha-- Best Regards Sascha
smime.p7s
Description: S/MIME cryptographic signature
