Help - OFBiz and New user

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

Help - OFBiz and New user

imran ismail
Hi All,
I am just a new comer to OFBiz community and the mailing list, I have started to use OFBiz framework just couple of months ago and I have gone through the book that "Beginners Tutorial". I have some problem of adding dropdown to the forms. I.e. In my form there are two drop downs, first one you can select the state and the second dropdown gives you to select the districts depending upon the state you select at the first dropdown. My Question is how do I load the second drop down according to the first dropdown selected. 

Thanks and Kind regards,
Imran
Reply | Threaded
Open this post in threaded view
|

Re: Help - OFBiz and New user

samhamilton
Hi Imran,

If you look into the source code for this page it should provide an example to help solve your problem.
https://demo-trunk.ofbiz.apache.org:8443/ecommerce/control/newcustomer

Sam


On 30 Aug 2011, at 11:57, imran ismail wrote:

> Hi All,
> I am just a new comer to OFBiz community and the mailing list, I have started to use OFBiz framework just couple of months ago and I have gone through the book that "Beginners Tutorial". I have some problem of adding dropdown to the forms. I.e. In my form there are two drop downs, first one you can select the state and the second dropdown gives you to select the districts depending upon the state you select at the first dropdown. My Question is how do I load the second drop down according to the first dropdown selected.
>
> Thanks and Kind regards,
> Imran


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

Re: Help - OFBiz and New user

Jacques Le Roux
Administrator
If you want to use form widgets have a look into
https://demo-trunk.ofbiz.apache.org/example/control/FormWidgetExamples#DropDownFieldsExampleForm_dependendDropDownFields_title

BTW it's always a good idea to look at the Example applications...

Jacques

Sam Hamilton wrote:

> Hi Imran,
>
> If you look into the source code for this page it should provide an example to help solve your problem.
> https://demo-trunk.ofbiz.apache.org:8443/ecommerce/control/newcustomer
>
> Sam
>
>
> On 30 Aug 2011, at 11:57, imran ismail wrote:
>
>> Hi All,
>> I am just a new comer to OFBiz community and the mailing list, I have started to use OFBiz framework just couple of months ago
>> and I have gone through the book that "Beginners Tutorial". I have some problem of adding dropdown to the forms. I.e. In my form
>> there are two drop downs, first one you can select the state and the second dropdown gives you to select the districts depending
>> upon the state you select at the first dropdown. My Question is how do I load the second drop down according to the first
>> dropdown selected.    
>>
>> Thanks and Kind regards,
>> Imran

smime.p7s (8K) Download Attachment