Hi,
I try to add a feature in Project'Or Ria. In page Milestone, I wan to add an indication N/A in a listbox yes/no.
Can you help me?
Thanks for your answers.
You need to :
- define new table with possible values, with just fields id as int(12) and name as varchar(100) . let's call it yesno table
- fill in this table with expected values. 1=>yes, 2=>no
- add a Class Yesno in /model, with id and name fields (copy an existing one for help)
- upgrade table milestone to add field idYesno as int(12) (format is important)
- modify Class Milestone to add field idYesno where you want to see it (after / before an existing field)
That's all.
Run the application : your new field appears as a listbox (exactely a Filtering Select widget from Dojo Framwork)
It magic ! 😛