Hello All,
I am trying to create a Custom tag to send the output from control class by running a DQL.
Since DQL requires session by setting to the control using through component class
I have created
CustomTag class ,
custom Control class.
tld file
I have created new method in Custom Control class that accepts sesision and DQL query.
This method will get the results as string.
executDQLQuery(IdfSession , query)
In the Custom tag class, only method that I can see with control arguement is setControlProperties
I tried to get back the string that executed from the above method in Control Class
I am trying to send the string to JspWriter object so that it gets rendered to the page.
But setControlProperties() method is called after renderEnd tag.
Is there any other method that can be used to send the Output from Control class?
or is this approach not correct?
Please share your thoughts
Thanks
Sundar