I need to create a weekly workout calendar in flex.
The patients/users should be able to enter the daily workouts details, which would include things like which exercise they did, for how long etc.
The patients should be able to add as many rows of data as they need. For example if they did two different kinds of exercise today, they should be able to enter details of both of these.
So each day should be clikable, which should open up another window with the fields that they can choose from (like a dropdown with exercise names, drop down with frequency etc) and save it.
Also they should be able to browser to the previous week and see what they entered and edit it if needed.
I have been trying to figure out how to go about this, but still clueless
The app needs to keep a tab of the current week/date so it can display the calendar with current week when the user logs in. Also when the browse button is clicked then somehow that too needs to be kept tab of as to how many times the browse is clicked so it can fetch the data for that week from the database.
For example if the browse button is clicked twice then it needs to fetch the 2 weeks past exercise data.
Also, I would like to give the users the flexibility to copy the data that they entered for a day to the next day. So, if they did exactly the same exercise, for same duration on Tuesday as they did on Monday, then they shouldn't have to enter all that details again for tuesday, but should be able to copy over the data that they have already entered for Monday and paste it for Tuesday.
Hope someone out there can help me with this complicated thing. Waiting for my someone.
If you want to build a Calendar from scratch, this ongoing series of screencasts may help:
Additionally, my company ( www.flextras.com ) is working on building a Calendar component. You can create an account for our web site to sign up on our beta program. A first prerelease is available, and we're working hard on the second.
Beyond that, it sounds like you may have some very specific needs, so using our Calendar component may give you a jumping point, but will not it will not be "click and drag" simple for your app.
If you think I can help or want to learn more about the Flextras Calendar Component, feel free to contact me directly ( http://www.flextras.com/?event=ContactForm )
Thanks Jeffery. Screencasts definelty seems helpful, will wait for the next
week screencast is out with the finished component.