/** * Differences Between HTML and XHTML * <p> * In HTML the base tag has no end tag. * <p> * In XHTML the base tag must be properly closed. */ @Override public void preConfigure() { try { if (getPage().getHtmlVersion() .name() .startsWith("X")) { setInlineClosingTag(true); } } catch (Exception e) { Meta.log.log(Level.FINE, "Unable to determine whether XHTML or HTML. Will still render correctly, just not W3 Compliant.", e); } }
/** * Differences Between HTML and XHTML * <p> * In HTML the base tag has no end tag. * <p> * In XHTML the base tag must be properly closed. */ @Override public void preConfigure() { try { if (getPage().getHtmlVersion() .name() .startsWith("X")) { setInlineClosingTag(true); } } catch (Exception e) { Meta.log.log(Level.FINE, "Unable to determine whether XHTML or HTML. Will still render correctly, just not W3 Compliant.", e); } }
/** * Differences Between HTML and XHTML * <p> * In HTML the base tag has no end tag. * <p> * In XHTML the base tag must be properly closed. */ @Override public void preConfigure() { try { if (getPage().getHtmlVersion() .name() .startsWith("X")) { setInlineClosingTag(true); } } catch (Exception e) { Meta.log.log(Level.FINE, "Unable to determine whether XHTML or HTML. Will still render correctly, just not W3 Compliant.", e); } }
if (getPage().getHtmlVersion() .name() .startsWith("X"))
if (getPage().getHtmlVersion() .name() .startsWith("X"))
if (getPage().getHtmlVersion() .name() .startsWith("X"))
/** * Differences Between HTML and XHTML * <p> * In HTML the base tag has no end tag. * <p> * In XHTML the base tag must be properly closed. */ @Override public void preConfigure() { super.preConfigure(); try { if (getPage().getHtmlVersion() .name() .startsWith("X")) { setInlineClosingTag(true); } } catch (Exception e) { TableColumn.log.log(Level.FINE, "Unable to determine whether XHTML or HTML. Will still render correctly, just not W3 Compliant.", e); } }
/** * Differences Between HTML and XHTML * <p> * In HTML the base tag has no end tag. * <p> * In XHTML the base tag must be properly closed. */ @Override public void preConfigure() { super.preConfigure(); try { if (getPage().getHtmlVersion() .name() .startsWith("X")) { setInlineClosingTag(true); } } catch (Exception e) { TableColumn.log.log(Level.FINE, "Unable to determine whether XHTML or HTML. Will still render correctly, just not W3 Compliant.", e); } }
/** * Differences Between HTML and XHTML * <p> * In HTML the base tag has no end tag. * <p> * In XHTML the base tag must be properly closed. */ @Override public void preConfigure() { super.preConfigure(); try { if (getPage().getHtmlVersion() .name() .startsWith("X")) { setInlineClosingTag(true); } } catch (Exception e) { TableColumn.log.log(Level.FINE, "Unable to determine whether XHTML or HTML. Will still render correctly, just not W3 Compliant.", e); } }
/** * Differences Between HTML and XHTML * <p> * In HTML the base tag has no end tag. * <p> * In XHTML the base tag must be properly closed. */ @Override public void preConfigure() { super.preConfigure(); try { if (getPage().getHtmlVersion() .name() .startsWith("X")) { setInlineClosingTag(true); } } catch (Exception e) { Parameter.log.log(Level.FINE, "Unable to determine whether XHTML or HTML. Will still render correctly, just not W3 Compliant.", e); } } }
/** * Differences Between HTML and XHTML * <p> * In HTML the base tag has no end tag. * <p> * In XHTML the base tag must be properly closed. */ @Override public void preConfigure() { super.preConfigure(); try { if (getPage().getHtmlVersion() .name() .startsWith("X")) { setInlineClosingTag(true); } } catch (Exception e) { Parameter.log.log(Level.FINE, "Unable to determine whether XHTML or HTML. Will still render correctly, just not W3 Compliant.", e); } } }
/** * Differences Between HTML and XHTML * <p> * In HTML the base tag has no end tag. * <p> * In XHTML the base tag must be properly closed. */ @Override public void preConfigure() { super.preConfigure(); try { if (getPage().getHtmlVersion() .name() .startsWith("X")) { setInlineClosingTag(true); } } catch (Exception e) { Parameter.log.log(Level.FINE, "Unable to determine whether XHTML or HTML. Will still render correctly, just not W3 Compliant.", e); } } }
/** * Construct a new instance of the input type field * <p> * * @param inputType */ public Input(InputTypes inputType) { super(ComponentTypes.Input); if (inputType != null) { this.inputType = inputType; addAttribute(GlobalAttributes.Type, getInputType().name() .toLowerCase()); addAttribute(GlobalAttributes.Name, getID()); } if (!getInlineClosingTag() && getPage().getHtmlVersion() .name() .startsWith("X") || !"select".equals(getTag())) { setInlineClosingTag(true); } setClosingTag(false); }
/** * Construct a new instance of the input type field * <p> * * @param inputType */ public Input(InputTypes inputType) { super(ComponentTypes.Input); if (inputType != null) { this.inputType = inputType; addAttribute(GlobalAttributes.Type, getInputType().name() .toLowerCase()); addAttribute(GlobalAttributes.Name, getID()); } if (!getInlineClosingTag() && getPage().getHtmlVersion() .name() .startsWith("X") || !"select".equals(getTag())) { setInlineClosingTag(true); } setClosingTag(false); }
/** * Construct a new instance of the input type field * <p> * * @param inputType */ public Input(InputTypes inputType) { super(ComponentTypes.Input); if (inputType != null) { this.inputType = inputType; addAttribute(GlobalAttributes.Type, getInputType().name() .toLowerCase()); addAttribute(GlobalAttributes.Name, getID()); } if (!getInlineClosingTag() && getPage().getHtmlVersion() .name() .startsWith("X") || !"select".equals(getTag())) { setInlineClosingTag(true); } setClosingTag(false); }