redrawControl with parameters ?

thcom
Member | 62
+
0
-

i try to create my first component
a calendar (i need my own, because i will set enabled and disabled days from DB)

https://ctrlv.cz/C4d1

problem is when i click on previous or next month, i am not able to redraw this componect correctly, because i cannot pass parameters with redrawControl

can yopu hlep me please, thank you

CZechBoY
Member | 3585
+
+1
-

just send parameters to template

show code which is not working if you have problems with that

dakur
Member | 102
+
0
-

@thcom redrawControl() is just an instruction to the presenter that you want to terminate presenter right now and send current state to the client. So what you set to $this->template->... you will find it in template then or in the response from AJAX request in case of parsing that.