1 16 package org.apache.myfaces.component.html.ext; 17 18 import org.apache.myfaces.component.html.util.HtmlComponentUtils; 19 20 import javax.faces.context.FacesContext; 21 22 23 29 public class HtmlInputHidden 30 extends javax.faces.component.html.HtmlInputHidden 31 { 32 public static final String COMPONENT_TYPE = "org.apache.myfaces.HtmlInputHidden"; 33 34 public String getClientId(FacesContext context) 35 { 36 String clientId = HtmlComponentUtils.getClientId(this, getRenderer(context), context); 37 if (clientId == null) 38 { 39 clientId = super.getClientId(context); 40 } 41 42 return clientId; 43 } 44 } 45 46 | Popular Tags |