Team,
Two questions:
First: I’m using Java/MySQL on my backend with a variation on the Scheduler_units sample. I have the dynamo working and it’s sweet. Now, I want to make it so that only the user that’s logged in see’s his/her calendar. I can easily append the variable on the .load function:
e.g.:
scheduler.load("/scheduler.do?user_id=${currentFirmUser…id}&uid="+scheduler.uid());
Peachy, but I can’t for the life of me figure out how to get that value in my configure() java backend. How can I get to the request map from the servlet? I think I want to do something like:
String strSQL = “select * from schedule where firm_id=”+ req.getParameter(‘user_id’);
c.render_sql(strSQL, “id”, “start_date,end_date,text,firm_id,physician_id,patient_id”);
But I have no request object. I can use a behavior and attach it, but dont see a “select” behavior. I’ve scoured the docs and forums, so please forgive me if i missed the answer somewhere…
I’m sure this has been solved already, so just point me in the right direction, and I’ll be on my merry way.
Second (and probably harder question): I would really like to use a dhtmlxCombo in my New Event window. I have to have an easy way to select a user from a pool of thousands… A pulldown is not really the best option
Is this possible?
Cheers,
Dan