on 05-10-2007 11:02 AM
Hi,
how can to pass parameter value from front end? ie i have query as select * from table where no=1. i want to pass this 1 from client? he will pass this value from web page by choosing from drop down list.
how can i do it?
Hi senthil,
You can write the query as
select * from <table> from where <Column name> = ' Param.1'
Call this query and display template in frontpage.
Now from drop down get the selected value by using java script.
use this line of code to pass the value to query template
document. <Forum name>.<Appletname>.getQueryObject.setParam(1, <selected value>);
Hope this helps...
Regards,
Kishore kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should know to which applet you are required to pass this parameter to
Parameter can be passed as
appletname.getQueryObject().setParam(INDEX,NEWVALUE)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
7 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.