📄 commandlink.java
字号:
/* * 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. */package org.apache.myfaces.wap.def;/** * Render an WML "a" anchor element that acts like a form submit button when clicked. * This element must be a childern of UIForm component. * * Decode Behavior * Obtain the Map from the "requestParameterMap" property of the ExternalContext. If the value in theMap for * the value of the "clientId" property of the component is not null, get the value of the "type" attribute, * and convert it to lower case. If the result is equal to the String "reset" (without the quotes), return fromdecode(). * Otherwise, create ajavax.faces.event.ActionEvent around the component, and pass it to the queueEvent() method * of the component, which must be an instance ofUICommand. * * Encode Behavior * Wml don't contain submit button tag. This element is rendered using "do" and "go" wml tags. * * @wapfaces.tag * componentFamily="UICommand" * rendererType="CommandLinkRenderer" * tagName="commandLink" * tagBaseClass="org.apache.myfaces.wap.base.ActionSourceTagBase" * bodyContent="JSP" * * @author <a href="mailto:Jiri.Zaloudek@ivancice.cz">Jiri Zaloudek</a> (latest modification by $Author: matzew $) * @version $Revision: 1.1 $ $Date: 2004/12/30 09:37:25 $ * $Log: CommandLink.java,v $ * Revision 1.1 2004/12/30 09:37:25 matzew * added a new RenderKit for WML. Thanks to Jir
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -