You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Adrian Crum <ad...@hlmksw.com> on 2008/06/24 18:15:49 UTC

Is the form widget use-when attribute broken?

I'm having a strange problem with PartyForms.xml. I recently added a 
field for the LDAP integration (line 171) that uses the use-when 
attribute. The field appears on the screen even if LDAP hasn't been enabled.

I tried substituting use-when="false" and use-when="true == false" and 
yet the field still appears on the screen.

Is the use-when attribute broken or am I doing something wrong?

-Adrian

Re: Is the form widget use-when attribute broken?

Posted by Adrian Crum <ad...@hlmksw.com>.
Cool - thanks!

-Adrian

Jacopo Cappellato wrote:
> Adrian,
> 
> a field definition was missing; it is fixed in rev. 671248
> 
> Jacopo
> 
> On Jun 24, 2008, at 6:32 PM, Adrian Crum wrote:
> 
>> Jacopo,
>>
>> Just look in PartyForms.xml, line 171.
>>
>> -Adrian
>>
>> Jacopo Cappellato wrote:
>>> Adrian,
>>> could you please post the field's definition?
>>> Jacopo
>>> On Jun 24, 2008, at 6:15 PM, Adrian Crum wrote:
>>>> I'm having a strange problem with PartyForms.xml. I recently added a 
>>>> field for the LDAP integration (line 171) that uses the use-when 
>>>> attribute. The field appears on the screen even if LDAP hasn't been 
>>>> enabled.
>>>>
>>>> I tried substituting use-when="false" and use-when="true == false" 
>>>> and yet the field still appears on the screen.
>>>>
>>>> Is the use-when attribute broken or am I doing something wrong?
>>>>
>>>> -Adrian
> 
> 

Re: Is the form widget use-when attribute broken?

Posted by Jacopo Cappellato <ja...@gmail.com>.
Adrian,

a field definition was missing; it is fixed in rev. 671248

Jacopo

On Jun 24, 2008, at 6:32 PM, Adrian Crum wrote:

> Jacopo,
>
> Just look in PartyForms.xml, line 171.
>
> -Adrian
>
> Jacopo Cappellato wrote:
>> Adrian,
>> could you please post the field's definition?
>> Jacopo
>> On Jun 24, 2008, at 6:15 PM, Adrian Crum wrote:
>>> I'm having a strange problem with PartyForms.xml. I recently added  
>>> a field for the LDAP integration (line 171) that uses the use-when  
>>> attribute. The field appears on the screen even if LDAP hasn't  
>>> been enabled.
>>>
>>> I tried substituting use-when="false" and use-when="true == false"  
>>> and yet the field still appears on the screen.
>>>
>>> Is the use-when attribute broken or am I doing something wrong?
>>>
>>> -Adrian


Re: Is the form widget use-when attribute broken?

Posted by Adrian Crum <ad...@hlmksw.com>.
Jacopo,

Just look in PartyForms.xml, line 171.

-Adrian

Jacopo Cappellato wrote:
> Adrian,
> 
> could you please post the field's definition?
> 
> Jacopo
> 
> On Jun 24, 2008, at 6:15 PM, Adrian Crum wrote:
> 
>> I'm having a strange problem with PartyForms.xml. I recently added a 
>> field for the LDAP integration (line 171) that uses the use-when 
>> attribute. The field appears on the screen even if LDAP hasn't been 
>> enabled.
>>
>> I tried substituting use-when="false" and use-when="true == false" and 
>> yet the field still appears on the screen.
>>
>> Is the use-when attribute broken or am I doing something wrong?
>>
>> -Adrian
> 
> 

Re: Is the form widget use-when attribute broken?

Posted by Jacopo Cappellato <ja...@gmail.com>.
Adrian,

could you please post the field's definition?

Jacopo

On Jun 24, 2008, at 6:15 PM, Adrian Crum wrote:

> I'm having a strange problem with PartyForms.xml. I recently added a  
> field for the LDAP integration (line 171) that uses the use-when  
> attribute. The field appears on the screen even if LDAP hasn't been  
> enabled.
>
> I tried substituting use-when="false" and use-when="true == false"  
> and yet the field still appears on the screen.
>
> Is the use-when attribute broken or am I doing something wrong?
>
> -Adrian