range-find doesn't support default-option-from?

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

range-find doesn't support default-option-from?

Jon Steelman-3
Am I making a mistake or is it true that range-find doesn¹t support
default-option-from and default-option-thru? It would be helpful to be able
to change the default.

Thanks,
Jon
Reply | Threaded
Open this post in threaded view
|

Re: range-find doesn't support default-option-from?

Ashish Vijaywargiya
Please be more specific.
I am not able to understand your question.

--
Ashish

On Mon, May 4, 2009 at 9:06 PM, Jon Steelman <[hidden email]> wrote:

> Am I making a mistake or is it true that range-find doesn¹t support
> default-option-from and default-option-thru? It would be helpful to be able
> to change the default.
>
> Thanks,
> Jon
>
Reply | Threaded
Open this post in threaded view
|

Re: range-find doesn't support default-option-from?

Jon Steelman
Hi Ashish,

When I add default-option-from to a range-find as here....

<field name="serialNumber"><range-find <b>default-option-from="greaterThanEqualTo"/></field>

...I get the following error:

UtilXml.java:649:ERROR] XmlFileLoader: File file:/Users/jonsteelman/IdeaProjects/ofbiz-dev/applications/product/webapp/facility/facility/FacilityForms.xml process error. Line: 153. Error message: cvc-complex-type.3.2.2: Attribute 'default-option-from' is not allowed to appear in element 'range-find'.

I'd like to be able to set the default-option-from & -thru. Is this a bug? User error? Just not implemented?  As an ofbiz newbie, just trying to figure out why it isn't there. I can submit a JIRA issue if helpful.

Thanks,
Jon

Ashish Vijaywargiya-4 wrote
Please be more specific.
I am not able to understand your question.

--
Ashish

On Mon, May 4, 2009 at 9:06 PM, Jon Steelman <jsteelman1@incomm.com> wrote:

> Am I making a mistake or is it true that range-find doesn¹t support
> default-option-from and default-option-thru? It would be helpful to be able
> to change the default.
>
> Thanks,
> Jon
>
Reply | Threaded
Open this post in threaded view
|

Re: range-find doesn't support default-option-from?

Ashish Vijaywargiya-5
Hi Buddy,

I tried the following line:

<field name="price" title="${uiLabelMap.ProductPrice}"><range-find default-option-from="equals" default-option-thru="lessThan" default-value="20"/></field>

It is working fine for me. :-)
The default-option-from allows you to keep the default value  in the first combo box in the field that use range tag inside it. It can be either equals, greaterThan  or greaterThanEqualTo.

It looks like that you are using some old revision of OFBiz.
Please provide few more details.
Are you using trunk ?

--
Ashish

Jon Steelman wrote:
Hi Ashish,

When I add default-option-from to a range-find as here....

<field name="serialNumber"><range-find
default-option-from="greaterThanEqualTo"/></field>

...I get the following error:

UtilXml.java:649:ERROR] XmlFileLoader: File
file:/Users/jonsteelman/IdeaProjects/ofbiz-dev/applications/product/webapp/facility/facility/FacilityForms.xml
process error. Line: 153. Error message: cvc-complex-type.3.2.2: Attribute
'default-option-from' is not allowed to appear in element 'range-find'.

I'd like to be able to set the default-option-from & -thru. Is this a bug?
User error? Just not implemented?  As an ofbiz newbie, just trying to figure
out why it isn't there. I can submit a JIRA issue if helpful.

Thanks,
Jon


Ashish Vijaywargiya-4 wrote:
  
Please be more specific.
I am not able to understand your question.

--
Ashish

On Mon, May 4, 2009 at 9:06 PM, Jon Steelman [hidden email]
wrote:

    
Am I making a mistake or is it true that range-find doesn¹t support
default-option-from and default-option-thru? It would be helpful to be
able
to change the default.

Thanks,
Jon

      
    

  

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

Re: range-find doesn't support default-option-from?

Jon Steelman
I see the error under the current http://svn.apache.org/repos/asf/ofbiz/branches/release4.0

Avoid this branch? What are you using?

Thanks,
Jon


<quote author="Ashish Vijaywargiya-5">
Hi Buddy,

I tried the following line:

<field name="price" title="${uiLabelMap.ProductPrice}"><range-find
default-option-from="equals" default-option-thru="lessThan"
default-value="20"/></field>

It is working fine for me. :-)
The default-option-from allows you to keep the default value  in the
first combo box in the field that use range tag inside it. It can be
either equals, greaterThan  or greaterThanEqualTo.

It looks like that you are using some old revision of OFBiz.
Please provide few more details.
Are you using trunk ?

--
Ashish
Reply | Threaded
Open this post in threaded view
|

Re: range-find doesn't support default-option-from?

Jon Steelman
Okay, I see it addressed in 9.04.

Thanks!
Jon


<quote author="Jon Steelman">
I see the error under the current http://svn.apache.org/repos/asf/ofbiz/branches/release4.0

Avoid this branch? What are you using?

Thanks,
Jon


Ashish Vijaywargiya-5 wrote
Hi Buddy,

I tried the following line:

<field name="price" title="${uiLabelMap.ProductPrice}"><range-find
default-option-from="equals" default-option-thru="lessThan"
default-value="20"/></field>

It is working fine for me. :-)
The default-option-from allows you to keep the default value  in the
first combo box in the field that use range tag inside it. It can be
either equals, greaterThan  or greaterThanEqualTo.

It looks like that you are using some old revision of OFBiz.
Please provide few more details.
Are you using trunk ?

--
Ashish
Reply | Threaded
Open this post in threaded view
|

Re: range-find doesn't support default-option-from?

Ashish Vijaywargiya
Although RB9.04 is stable branch but I will prefer you to use the trunk.
As we all know that trunk has more feature and community members around the
world are adopting trunk now a days to keep themselves updated about the new
features that are coming each day in the project.

Thanks !
--
Ashish

On Tue, May 5, 2009 at 9:01 PM, Jon Steelman <[hidden email]> wrote:

>
> Okay, I see it addressed in 9.04.
>
> Thanks!
> Jon
>
>
>