Users - Build fails on rev #7048

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

Users - Build fails on rev #7048

Blessing, Jeffrey J
Hey group:
 
I just updated from a 69xx rev to the latest (7048) and I get the following build error:
 
    [javac] Compiling 21 source files to C:\OFBizProject\ofbiz\framework\widget\build\classes
    [javac] C:\ofbiz\framework\widget\src\org\ofbiz\widget\html\HtmlScreenRenderer.java:377: getDataResourceId(java.util.Map) in org.ofbiz.widget.screen.ModelScreenWidget.Content cannot be applied to ()
    [javac]             String dataResourceId = content.getDataResourceId();
    [javac]                                        ^
    [javac] 1 error
 
The *only* customization I have to the SVN release is I added a "specialized" build target to include the specialized/community and specialized/opentravelsystem subdirs.
 
Any thoughts?
Thanks,
-Jeff
 

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Build fails on rev #7048

Jacopo Cappellato
Hi Jeffrey,

yes, there is a bug that you can fix with the attached patch.

Jacopo

Blessing, Jeffrey J wrote:

> Hey group:
>  
> I just updated from a 69xx rev to the latest (7048) and I get the
> following build error:
>  
>     [javac] Compiling 21 source files to
> C:\OFBizProject\ofbiz\framework\widget\build\classes
>     [javac]
> C:\ofbiz\framework\widget\src\org\ofbiz\widget\html\HtmlScreenRenderer.java:377:
> getDataResourceId(java.util.Map) in
> org.ofbiz.widget.screen.ModelScreenWidget.Content cannot be applied to ()
>     [javac]             String dataResourceId = content.getDataResourceId();
>     [javac]                                        ^
>     [javac] 1 error
>  
> The *only* customization I have to the SVN release is I added a
> "specialized" build target to include the specialized/community and
> specialized/opentravelsystem subdirs.
>  
> Any thoughts?
> Thanks,
> -Jeff
>  
>
>
> ------------------------------------------------------------------------
>
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users

Index: framework/widget/src/org/ofbiz/widget/html/HtmlScreenRenderer.java
===================================================================
--- framework/widget/src/org/ofbiz/widget/html/HtmlScreenRenderer.java (revision 7046)
+++ framework/widget/src/org/ofbiz/widget/html/HtmlScreenRenderer.java (working copy)
@@ -374,7 +374,7 @@
 
     public void renderContentFrame(Writer writer, Map context, ModelScreenWidget.Content content) throws IOException {
     
-     String dataResourceId = content.getDataResourceId();
+     String dataResourceId = content.getDataResourceId(context);
      String urlString = "ViewSimpleContent?dataResourceId=" + dataResourceId;
     
      String width = content.getWidth();

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - Build fails on rev #7048

Blessing, Jeffrey J
Thanks Jacopo.  Everything is up and running fine now.  -Jeff

________________________________

From: [hidden email] on behalf of Jacopo Cappellato
Sent: Wed 3/22/2006 12:21 PM
To: OFBiz Users / Usage Discussion
Subject: Re: [OFBiz] Users - Build fails on rev #7048



Hi Jeffrey,

yes, there is a bug that you can fix with the attached patch.

Jacopo

Blessing, Jeffrey J wrote:

> Hey group:
>
> I just updated from a 69xx rev to the latest (7048) and I get the
> following build error:
>
>     [javac] Compiling 21 source files to
> C:\OFBizProject\ofbiz\framework\widget\build\classes
>     [javac]
> C:\ofbiz\framework\widget\src\org\ofbiz\widget\html\HtmlScreenRenderer.java:377:
> getDataResourceId(java.util.Map) in
> org.ofbiz.widget.screen.ModelScreenWidget.Content cannot be applied to ()
>     [javac]             String dataResourceId = content.getDataResourceId();
>     [javac]                                        ^
>     [javac] 1 error
>
> The *only* customization I have to the SVN release is I added a
> "specialized" build target to include the specialized/community and
> specialized/opentravelsystem subdirs.
>
> Any thoughts?
> Thanks,
> -Jeff
>
>
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users



 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

winmail.dat (6K) Download Attachment