on 2007 Feb 14 2:13 PM
Hi,
Can we call a display template using by giving path in WebPages?
Query template i tried and was working. Want to know whether it is possible with Display template also.
Please help.
Thanks in advance
Muzammil P.T
Request clarification before answering.
There is the Dynamic Page Generator feature accessible through the Menu.
If you generate a page here by selecting a Query Template and Display Template, you get something like this as the URL:
So by using the DynamicPageServlet and specifying both a Query Template and a Display Template, you can view the Display template given a specific path.
Is this what you were asking?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't understand your question. Can you please rephrase it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok,
We can use Query Templates in Web pages rite, for example , <b>"http://localhost/Lighthammer/Illuminator?QueryTemplate=Samples/QueryTemplate/testQuery&Content-Type=text/xml"</b>If we are giving this URL in WebPage as a source, it will brings the desired output. The same output as what we get while using <b>TEST button in Query Editor</b>. If we need to add some styles into it, we can either use XSL or Display Template into it. Using XSL will looks as follows
<b>"http://localhost/Lighthammer/Illuminator?QueryTemplate=Samples/QueryTemplate/testQuery&Content-Type=text/xml&Param.1=%&StyleSheet=http://Localhost/LH/xsl/MyStyle.xsl"</b>
Instead of XSL, is it possible to use display template ? If yes, How?
I understand that the same thing is possible using Applet tag. But i need to know whether is this possible using URL or not.
Please help me out.
Thanks in advance
Muzammil P.T
Hi Muzammil,
Really you raised a very good question... Instead of display template you can mention some of the things in the .XSL file. If you want to use it as a report kind only. Mainly you can change the colours and font sizes. Its mainly a style sheet kind of thing. Where as the display template is like providing so many other options as well. Whatever the options you have in XSL is a small part of the display template options.
Thanks,
Rajesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.