FTL Error in Project MGR/ Blog

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

FTL Error in Project MGR/ Blog

Sascha Rodekamp

Hey everybody,

i try to implement the blog in my projectmgr, in a previous version i had no problem.
But with the current trunk there are some problemes while showing the blog content.

I add two attachments, to make it more clear where the error occurs.
In the ecommerce modul i haven't any problems with the blog,
someone knows while it's crashes in my project modul?

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 Wed Apr 29 14:33:22 CEST 2009] ---------- Java backtrace for programmers: ---------- freemarker.core.NonBooleanException: 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 at freemarker.core.Expression.isTrue(Expression.java:150) at freemarker.core.AndExpression.isTrue(AndExpression.java:68) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.Macro$Context.runMacro(Macro.java:168) at freemarker.core.Environment.visit(Environment.java:602) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.Environment.include(Environment.java:1482) at org.ofbiz.widget.screen.MacroScreenRenderer.executeMacro(MacroScreenRenderer.java:103) at org.ofbiz.widget.screen.MacroScreenRenderer.executeMacro(MacroScreenRenderer.java:112) at org.ofbiz.widget.screen.MacroScreenRenderer.renderSubContentBegin(MacroScreenRenderer.java:518) at



Best Regards

the ofbiz intern :-)


Sascha Rodekamp

Agrenon GmbH
Johanniskirchplatz 6
33615 Bielefeld

Deutschland
Fon: +49 521 5247-0
Fax: +49 521 5247-250

Mobil:

Company and Management Headquarters:
Agrenon GmbH, Johanniskirchplatz 6, 33615 Bielefeld, Deutschland, Fon: +49 521 5247-0, Fax: +49 521 5247-250,
www.agrenon.com

Court Registration: Amtsgericht Bielefeld HRB 36795
Chief Executive Officer: Dirk Osterkamp

----------------------------------------------------------------------------------------------------
This e-mail may contain trade secrets or privileged, undisclosed, or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying, or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation.
----------------------------------------------------------------------------------------------------
Besuchen Sie uns!

talk@lynx:
Unternehmenssteuerung & Process Intelligence!

05. Mai 2009
Lynx Consulting Group &
Pepperl+Fuchs GmbH

Lilienthalstraße 200
68307 Mannheim

error.txt (40K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: FTL Error in Project MGR/ Blog

Sascha Rodekamp
I think i forgot to attach the screenshot:

http://www.imagebam.com/image/7572a334137517

Best Regards


Sascha Rodekamp

Agrenon GmbH
Johanniskirchplatz 6
33615 Bielefeld
Deutschland
Fon: +49 521 5247-0
Fax: +49 521 5247-250
Mobil:


Company and Management Headquarters:
Agrenon GmbH, Johanniskirchplatz 6, 33615 Bielefeld, Deutschland, Fon: +49 521 5247-0, Fax: +49 521 5247-250, www.agrenon.com

Court Registration: Amtsgericht Bielefeld HRB 36795
Chief Executive Officer: Dirk Osterkamp

----------------------------------------------------------------------------------------------------
This e-mail may contain trade secrets or privileged, undisclosed, or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying, or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation.
----------------------------------------------------------------------------------------------------

Besuchen Sie uns!

talk@lynx:
Unternehmenssteuerung & Process Intelligence!

05. Mai 2009
Lynx Consulting Group &
Pepperl+Fuchs GmbH
Lilienthalstraße 200
68307 Mannheim
Reply | Threaded
Open this post in threaded view
|

Re: FTL Error in Project MGR/ Blog

Sascha Rodekamp-2
In reply to this post by Sascha Rodekamp
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 | Threaded
Open this post in threaded view
|

Re: FTL Error in Project MGR/ Blog

Stephen Rufle-2
I think you may need to provide more detailed steps to
reproduce.Otherwise it looks to be a simple case of passing a value to
enableEditValue that is not a true/false value (As stated in the message).

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...
>
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: FTL Error in Project MGR/ Blog

Scott Gray-2
In reply to this post by Sascha Rodekamp-2
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


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: FTL Error in Project MGR/ Blog

Sascha Rodekamp-2
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 | Threaded
Open this post in threaded view
|

Re: FTL Error in Project MGR/ Blog

Scott Gray-2
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
>>
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: FTL Error in Project MGR/ Blog

Sascha Rodekamp-2
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 <[hidden email]>

> 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
>>>>
>>>
>>>
>>
>


--
Best Regards

Sascha
Reply | Threaded
Open this post in threaded view
|

Re: FTL Error in Project MGR/ Blog

Scott Gray-2
What error exactly are you talking about?  The exception you  
originally sent has been fixed as of about 12 hours ago, if you update  
your version that error will be gone.  Are you still talking about  
that error or do you need to send me a new error message?

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 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 <[hidden email]>
>
>> 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
>>>>>
>>>>
>>>>
>>>
>>
>
>
> --
> Best Regards
>
> Sascha


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: FTL Error in Project MGR/ Blog

Adrian Crum
In reply to this post by Sascha Rodekamp-2
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 <[hidden email]>
>
>> 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 | Threaded
Open this post in threaded view
|

Re: FTL Error in Project MGR/ Blog

Sascha Rodekamp-2
In reply to this post by Scott Gray-2
its the same error. Ah ok i think i have to test with the new version :) And
see what happen



2009/5/1 Scott Gray <[hidden email]>

> What error exactly are you talking about?  The exception you originally
> sent has been fixed as of about 12 hours ago, if you update your version
> that error will be gone.  Are you still talking about that error or do you
> need to send me a new error message?
>
> 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 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 <[hidden email]>
>>
>>  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
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>> --
>> Best Regards
>>
>> Sascha
>>
>
>


--
Best Regards

Sascha