header-link renderer problem

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

header-link renderer problem

Hans Bakker
In forms with a headerlinkstyle tag we get the following error
like in:

https://localhost3:8443/catalog/control/EditProductSuppliers?productId=WG-9943


---- cause
---------------------------------------------------------------------
Exception: java.lang.NullPointerException
Message: null
---- stack trace
---------------------------------------------------------------
java.lang.NullPointerException
org.ofbiz.widget.WidgetWorker.makeLinkHiddenFormName(WidgetWorker.java:271)
org.ofbiz.widget.form.MacroFormRenderer.makeHyperlinkString(MacroFormRenderer.java:2741)
org.ofbiz.widget.form.MacroFormRenderer.renderHyperlinkTitle(MacroFormRenderer.java:2503)
org.ofbiz.widget.form.MacroFormRenderer.renderFieldTitle(MacroFormRenderer.java:1128)
org.ofbiz.widget.form.ModelForm.renderHeaderRow(ModelForm.java:1237)
org.ofbiz.widget.form.ModelForm.renderListFormString(ModelForm.java:1071)
org.ofbiz.widget.form.ModelForm.renderFormString(ModelForm.java:823)
org.ofbiz.widget.screen.ModelScreenWidget
$Form.renderWidgetString(ModelScreenWidget.java:827)



--
http://www.antwebsystems.com :
Quality OFBiz support for competitive rates....

Reply | Threaded
Open this post in threaded view
|

Re: header-link renderer problem

hans_bakker
This header-link is only used in 2 forms in the system, so i simply
removed them to solve the problem.

Is this header-link and header-link-style still used? Isn't this
replaced with the sort-field tag? otherwise it should be removed from
xsd and renderer.

Regards,
Hans


On Thu, 2009-11-19 at 17:56 +0800, Hans Bakker wrote:

> In forms with a headerlinkstyle tag we get the following error
> like in:
>
> https://localhost3:8443/catalog/control/EditProductSuppliers?productId=WG-9943
>
>
> ---- cause
> ---------------------------------------------------------------------
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.widget.WidgetWorker.makeLinkHiddenFormName(WidgetWorker.java:271)
> org.ofbiz.widget.form.MacroFormRenderer.makeHyperlinkString(MacroFormRenderer.java:2741)
> org.ofbiz.widget.form.MacroFormRenderer.renderHyperlinkTitle(MacroFormRenderer.java:2503)
> org.ofbiz.widget.form.MacroFormRenderer.renderFieldTitle(MacroFormRenderer.java:1128)
> org.ofbiz.widget.form.ModelForm.renderHeaderRow(ModelForm.java:1237)
> org.ofbiz.widget.form.ModelForm.renderListFormString(ModelForm.java:1071)
> org.ofbiz.widget.form.ModelForm.renderFormString(ModelForm.java:823)
> org.ofbiz.widget.screen.ModelScreenWidget
> $Form.renderWidgetString(ModelScreenWidget.java:827)
>
>
>
--
Antwebsystems.com: Quality OFBiz services for competitive rates

Reply | Threaded
Open this post in threaded view
|

Re: header-link renderer problem

Bilgin Ibryam-2
Hi Hans,

In r882959 I fixed header links but I wonder what for these links could
be useful

Bilgin




Hans Bakker wrote:

> This header-link is only used in 2 forms in the system, so i simply
> removed them to solve the problem.
>
> Is this header-link and header-link-style still used? Isn't this
> replaced with the sort-field tag? otherwise it should be removed from
> xsd and renderer.
>
> Regards,
> Hans
>
>
> On Thu, 2009-11-19 at 17:56 +0800, Hans Bakker wrote:
>  
>> In forms with a headerlinkstyle tag we get the following error
>> like in:
>>
>> https://localhost3:8443/catalog/control/EditProductSuppliers?productId=WG-9943
>>
>>
>> ---- cause
>> ---------------------------------------------------------------------
>> Exception: java.lang.NullPointerException
>> Message: null
>> ---- stack trace
>> ---------------------------------------------------------------
>> java.lang.NullPointerException
>> org.ofbiz.widget.WidgetWorker.makeLinkHiddenFormName(WidgetWorker.java:271)
>> org.ofbiz.widget.form.MacroFormRenderer.makeHyperlinkString(MacroFormRenderer.java:2741)
>> org.ofbiz.widget.form.MacroFormRenderer.renderHyperlinkTitle(MacroFormRenderer.java:2503)
>> org.ofbiz.widget.form.MacroFormRenderer.renderFieldTitle(MacroFormRenderer.java:1128)
>> org.ofbiz.widget.form.ModelForm.renderHeaderRow(ModelForm.java:1237)
>> org.ofbiz.widget.form.ModelForm.renderListFormString(ModelForm.java:1071)
>> org.ofbiz.widget.form.ModelForm.renderFormString(ModelForm.java:823)
>> org.ofbiz.widget.screen.ModelScreenWidget
>> $Form.renderWidgetString(ModelScreenWidget.java:827)
>>
>>
>>
>>