?? forward-demo.vm
字號:
#*
Copyright 2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*#
#if (!$fda_next)
#set ( $fda_next = "CurrentPage" )
#end
<form action="$jslink.addPathInfo($jslink.ActionKey,"portlets.ForwardDemoAction")" method="post">
<font color="$!{skin.Color}">
<h2>$fda_next, $fda_target</h2>
<br/>
<p>Select a Forward Name :
<br/>
#if($fda_forwards)
<select name="fda_next">
#foreach ( $entry in $fda_forwards )
<option value="$entry.Name" #if ($entry.Selected) selected #end>$entry.Name</option>
#end
</select>
#end
<input type="submit" name="eventSubmit_doUpdate" value="Forward">
</p>
<br/>
<p>Logical Portlet Forward Targets (for this Portlet) :
<br/>
#if($fda_targets)
<select name="fda_target">
#foreach ( $entry in $fda_targets )
<option value="$entry.Name" #if ($entry.Selected) selected #end>$entry.Name</option>
#end
</select>
#end
<input type="submit" name="eventSubmit_doTarget" value="PortletForward">
</p>
<p>
<a href="$jsforward.forward('ApacheGroupNews')">Tool - Forward</a>
<br/>
<a href="$jsforward.forward('ForwardDemo','Pane')">Tool - PortletForward</a>
</p>
<p>Dynamic Test (Forward):
<input type="submit" name="eventSubmit_doDynamic" value="ForwardDynamic">
</p>
<p>Dynamic Test (PortletForward):
<input type="submit" name="eventSubmit_doDynamic2" value="PortletForwardDynamic">
</p>
</font>
</form>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -