OrangeScape Developer Community

A community for Application Developers on OrangeScape's Platform-as-a-Service

We have more than 10 mailing services in the mailing Product Master table. We have to give the option to select more than one mailing services.

Please suggest us , how can we proceed on this ? . Is there any option to make multiple selection by using checkbox, list box etc ?. Because, The values are dynamic.

-Dhanush

Views: 37

Reply to This

Replies to This Discussion

I am asumming you have 2 models:
master model - that defines the 10 mailing services. This model will have a parent and a child template.
Eg: Master_Subscription <-> Master_MailingService. In this case, there will be 1 instance of Master_Subscription and 10 children for Master_MailingService.
transactional model - that captures each user's subscription to mailing services. This will also have a parent and child template.
Eg: Subscription <-> MailingService

To create a subscription model, you need to do a dbimport (insert) from the Master_Subscription model to Subscription model using portlet preferences. The Subscription model will have a childtable of MailingService (delete/create option disabled) with 2 columns - one for a checkbox and the other for name of the mailing service imported.

Note: The attribute for mailing service name (eg: service_name) needs to be same both in Master_MailingService and MailingService
I have implemented first part :

master model - that defines the 10 mailing services. This model will have a parent and a child template.
Eg: Master_Subscription <-> Master_MailingService. In this case, there will be 1 instance of Master_Subscription and 10 children for Master_MailingService.

i am not getting below part : (This is equal to static value)
********************************
transactional model - that captures each user's subscription to mailing services. This will also have a parent and child template.
Eg: Subscription <-> MailingService

To create a subscription model, you need to do a dbimport (insert) from the Master_Subscription model to Subscription model using portlet preferences. The Subscription model will have a childtable of MailingService (delete/create option disabled) with 2 columns - one for a checkbox and the other for name of the mailing service imported.

RSS

© 2018   Created by OrangeScape Technologies.   Powered by

Badges  |  Report an Issue  |  Terms of Service