parameter pass between pages in Webvanta

To pass parameter between page:

Append  parameter to the tail of the URL, ?v1=value1&v2=value2

If using context page, do it like this: a href=”<w:path url=’/destination-category/>’ />?dest=<w:var name=’dest’ />”>

To use the parameter, in the destination page do this: <w:var name=”item_destination” param=”dest”/>

 

webvanta的cache system现在很烂,即使explicitly 传一个新的Parameter过去,系统还是会显示第一个Parameter的缓存页面。

只能将页面类型设置为ajax来避免系统缓存。 失败~~~

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s