Tabnine Logo
Link.isRendered
Code IndexAdd Tabnine to your IDE (free)

How to use
isRendered
method
in
com.ocpsoft.pretty.faces.component.Link

Best Java code snippets using com.ocpsoft.pretty.faces.component.Link.isRendered (Showing top 4 results out of 315)

origin: ocpsoft/prettyfaces

  @Override
  public void encodeEnd(final FacesContext context, final UIComponent component) throws IOException
  {
   Link link = (Link) component;
   super.encodeEnd(context, link);

   if (!link.isRendered())
   {
     return;
   }

   ResponseWriter writer = context.getResponseWriter();

   if (link.isDisabled())
   {
     writer.endElement("span");
   }
   else
   {
     writer.endElement("a");
   }
  }
}
origin: ocpsoft/prettyfaces

  @Override
  public void encodeEnd(final FacesContext context, final UIComponent component) throws IOException
  {
   Link link = (Link) component;
   super.encodeEnd(context, link);

   if (!link.isRendered())
   {
     return;
   }

   ResponseWriter writer = context.getResponseWriter();

   if (link.isDisabled())
   {
     writer.endElement("span");
   }
   else
   {
     writer.endElement("a");
   }
  }
}
origin: com.ocpsoft/prettyfaces-jsf2

  @Override
  public void encodeEnd(final FacesContext context, final UIComponent component) throws IOException
  {
   Link link = (Link) component;
   super.encodeEnd(context, link);

   if (!link.isRendered())
   {
     return;
   }

   ResponseWriter writer = context.getResponseWriter();

   if (link.isDisabled())
   {
     writer.endElement("span");
   }
   else
   {
     writer.endElement("a");
   }
  }
}
origin: ocpsoft/rewrite

  @Override
  public void encodeEnd(final FacesContext context, final UIComponent component) throws IOException
  {
   Link link = (Link) component;
   super.encodeEnd(context, link);

   if (!link.isRendered())
   {
     return;
   }

   ResponseWriter writer = context.getResponseWriter();

   if (link.isDisabled())
   {
     writer.endElement("span");
   }
   else
   {
     writer.endElement("a");
   }
  }
}
com.ocpsoft.pretty.faces.componentLinkisRendered

Popular methods of Link

  • getAccesskey
  • getAnchor
  • getCharset
  • getClientId
  • getCoords
  • getDir
  • getHreflang
  • getLang
  • getOnblur
  • getOnclick
  • getOndblclick
  • getOnfocus
  • getOndblclick,
  • getOnfocus,
  • getOnkeydown,
  • getOnkeypress,
  • getOnkeyup,
  • getOnmousedown,
  • getOnmousemove,
  • getOnmouseout,
  • getOnmouseover,
  • getOnmouseup

Popular in Java

  • Reading from database using SQL prepared statement
  • getApplicationContext (Context)
  • runOnUiThread (Activity)
  • setScale (BigDecimal)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • JList (javax.swing)
  • JTextField (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now