English 中文(简体)
插入高链条标题中显示的对面财产,以示
原标题:insert tag property string in hyperlink title attribute in struts2

我存在一个小问题,我如何把tag物放在超级链条上显示为所有权?

我的法典:

<a href="<s:property value="picurl" />" rel="shadowbox" title="<s:property value= title />" ><img id="scale-mid-high" src="<s:property value="picurl" title="maximize" />"   align="left"/></a>
问题回答
<a href="<s:url namespace= someNameSpace  action= someAction ">
    <s:property value="whatever"/>
</a>

一种方法,但可以使用

<s:a> 

标签...... 我忘记了为什么,但我总体上看一看我上面列举的内容,我发现,由于一些要求,我需要替换这些内容。

详情

<s:url> and 
<s:a>

rel=“nofollow” http://struts.apache.org/2.2.1.1/docs/tag-参比.html。 在有大多数标签的案例中,对所有可能的财产作了解释。





相关问题
How can I edit a mutable property in Objective C?

I am trying to edit a mutable array from a property and can t seem to directly make it work. Consider the following code that seems to work, but seems also very inefficient; I have to copy the whole ...

Implicit conversion from void to XmlDocument

Probably a stupid question, but I m quite new to the whole "get-and-set-property"-kind of programming; I keep getting a compiling-error on this part of my code; private string _File = "Session.xml"; ...

Property binding across controls in WPF

I have two UserControls that I want to display in a Window. The value of the property "SelectedItem" of the first UserControl should be set to the second UserControl s "SelectedItem" property. How do ...

@staticmethod with @property

I want Stats.singleton.twitter_count += 1 and I thought I could do class Stats: singleton_object = None @property @staticmethod def singleton(): if Stats.singleton_object: ...

热门标签