URL template config

View: New views
2 Messages — Rating Filter:   Alert me  

URL template config

by Srinivas Surapaneni :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In my beehive-url-template-config.xml, i had the following template


<url-template>

<name>jpf-action</name>

<value>

http://{url:domain}:{url:port}/{url:path}?URLTEMPLATE=action&
{url:queryString}

</value>

</url-template>



When is the url:queryString <queryString> used?

Is it possible to add run time paramers from request/session to this
template?



Thanks

Srinivas

Re: URL template config

by Carlin Rogers-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Srinivas,

The use of the templates is managed with the URLRewriterService that
is part of the NetUI framework. In general it is used by the NetUI tag
classes to render a URL on a page. The framework calls takes a
rewritten URL and then uses a template to format a URL object to a
string to be rendered in a page. Using a template is not requred. If
you do, the url:queryString is used when there are query paramters for
the URL object.

They could be set by using the <netui:parameter> tag as a sub element
to a <netui:anchor> tag.

Kind regards,
Carlin

On Tue, Aug 12, 2008 at 2:20 PM, Srinivas Surapaneni
<srinivas.surapaneni@...> wrote:

> In my beehive-url-template-config.xml, i had the following template
>
>
> <url-template>
>
> <name>jpf-action</name>
>
> <value>
>
> http://{url:domain}:{url:port}/{url:path}?URLTEMPLATE=action&
> {url:queryString}
>
> </value>
>
> </url-template>
>
>
>
> When is the url:queryString <queryString> used?
>
> Is it possible to add run time paramers from request/session to this
> template?
>
>
>
> Thanks
>
> Srinivas
>