将值从资源文件发送到站点地图中的URL [英] sending the value from resource file to the URL in sitemap

查看:45
本文介绍了将值从资源文件发送到站点地图中的URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在站点地图节点URL上调用javascript函数

I am calling a javascript function on a sitemap node URL

<siteMapNode url="javascript:fnclose('$resources:SiteMapLocalizations,logooffAlert')" title="$resources:SiteMapLocalizations,logooffTitle"  description="">
  </siteMapNode>



值"$ resources:SiteMapLocalizations,logooffAlert"在我的资源文件中,但这给出了错误


我只需要将资源文件中的值传递给URL函数fnclose()


我无法同时使用这两个答案,因为我不想打出一页直到它
它首先命中了javascript,它使用了来自resurce文件的此值,然后转到了某些页面.



the value ''$resources:SiteMapLocalizations,logooffAlert'' is in my resource file but this is giving an eror


I have just to pass the value in resource file to the URL function fnclose()


I cant use both of this answers as i donthave to hit a page until it
it hits the javascript first which uses this value from resurce file and than go to some page

推荐答案

resources:SiteMapLocalizations,logooffAlert')" 标题 ="
resources:SiteMapLocalizations,logooffAlert')" title="


资源:SiteMapLocalizations,logooffTitle" 说明 =" > < /siteMapNode >
resources:SiteMapLocalizations,logooffTitle" description=""> </siteMapNode>



值"



the value ''


resources:SiteMapLocalizations,logooffAlert"在我的资源文件中,但这给出了错误信息


我只需要将资源文件中的值传递给URL函数fnclose()


我无法同时使用这两个答案,因为我不想打出一页直到它
它首先命中javascript,它使用resurce文件中的该值,然后转到某个页面
resources:SiteMapLocalizations,logooffAlert'' is in my resource file but this is giving an eror


I have just to pass the value in resource file to the URL function fnclose()


I cant use both of this answers as i donthave to hit a page until it
it hits the javascript first which uses this value from resurce file and than go to some page


这篇关于将值从资源文件发送到站点地图中的URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆