[SOLVED] Return selected tab from a tab control as a parameter
Hi,
In a simple way, I have a HTML page that only contain a TabControl with multiple tab.
Each tab refer to a subject that is the BY of the reports/graphics included in the tab.
Each reports are in auto execute mode.
Because most of the reports are the same for each tab except for the BY field, I would like to have only one fex per report and have the BY as a parameter.
My problem is the following : I can catch which tab has been selected using the "_onclick()" event and assign a value to a control but I cannot pass that control value as a parameter to the fex. The fex doesn't know the parameter. It missing the value for it.
Any ideas ?
Thanks,This message has been edited. Last edited by: MartinY,
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
November 26, 2013, 07:57 PM
njsden
quote:
I cannot pass that control value as a parameter to the fex
Why not? If you're using HTML Composer as I think you are, binding the HTML control to a parameter would just pass it to the WFServlet call therefore making it available as an amper variable to the underlying .fex.
Can you make something up using the CAR table along with a simple page lunch page with a couple of tabs illustrating exactly what you're doing?
I've had my share of frustrating experiences with HTML Composer in the past, especially adding new parameters to a .fex AFTER the launch page has been built, but apparently by right-clicking the form Composer and choosing "Refresh parameters" or something like that (sorry, I have no access to Dev Studio right now) will create the required bindings you need.