Something we implemented where I work is a company forum group. Forums are well suited for collaboration. In your case, each project could be a new forum.

-Adrian

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 a
project 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 the
ProjectServices.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 there
occurs my mysterious error.
It ONLY happened in the "firstBlog" section the "allOtherBlog" section has
no 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="&lt;p/&gt;"/>
                                        <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="&lt;br/&gt;"/>
                                        <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 is
that 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 wrote
befor, in the ecommerce the
blog works without this changes.

So i do not really understand why this sub-content tag make trouble on the
one 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 in
component://widget/templates/htmlScreenMacroLibrary.ftl Expecting a
boolean
(true/false) expression here Expression enableEditValue does not
evaluate to
true/false it is an instance of freemarker.template.SimpleScalar
The 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 Apr
30
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




Reply via email to