Note that there are some explanatory texts on larger screens.

plurals
  1. POHow stop richfaces style?
    primarykey
    data
    text
    <p>I develop this contact form:</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich"&gt; &lt;h:form&gt; &lt;h:panelGrid columns="3"&gt; &lt;h:outputLabel for="name" value="Nome (Obrigatório)" /&gt; &lt;h:inputText id="name" value="#{contact.client.name}" /&gt; &lt;h:message for="name" /&gt; &lt;h:outputLabel for="email" value="E-Mail (Obrigatório)" /&gt; &lt;h:inputText id="email" value="#{contact.client.email}" /&gt; &lt;h:message for="email" /&gt; &lt;h:outputLabel for="website" value="Website (Opcional)" /&gt; &lt;h:inputText id="website" value="#{contact.client.website}" /&gt; &lt;h:message for="website" /&gt; &lt;/h:panelGrid&gt; &lt;h:outputLabel for="text" value="Mensagem (Obrigatório):" /&gt; &lt;br/&gt; &lt;h:inputTextarea id="text" value="#{contact.client.text}" rows="20" cols="80" /&gt;&lt;br/&gt; &lt;h:message for="text" /&gt; &lt;br/&gt; &lt;h:commandButton value="Enviar" action="#{contact.sendMessage}" &gt; &lt;f:ajax execute="@form" render="@form" /&gt; &lt;/h:commandButton&gt; &lt;h:outputText value="#{contact.messageStatus}" id="out" /&gt; &lt;a4j:status&gt; &lt;f:facet name="start"&gt; &lt;h:graphicImage name="loader.gif" library="image" /&gt; &lt;h:outputText value="Enviando ..." /&gt; &lt;/f:facet&gt; &lt;/a4j:status&gt; &lt;/h:form&gt; &lt;/ui:composition&gt; </code></pre> <p>I import this composition in my contact page, but I don't know why, it puts this scripts in the end of the <code>&lt;h:head&gt;..&lt;/h:head&gt;</code> section:</p> <pre><code>&lt;script type="text/javascript" src="/Project/javax.faces.resource/jsf.js.xhtml?ln=javax.faces"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="/Project/javax.faces.resource/jquery.js.xhtml"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="/Project/javax.faces.resource/richfaces.js.xhtml"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="/Project/javax.faces.resource/richfaces-queue.js.xhtml"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="/Project/javax.faces.resource/richfaces-base-component.js.xhtml"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="/Project/javax.faces.resource/status.js.xhtml?ln=org.richfaces"&gt;&lt;/script&gt; </code></pre> <p>I already try to disable richfaces style with this parameters in my web.xml:</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;web-app //.. configs&gt; &lt;display-name&gt;Project&lt;/display-name&gt; &lt;context-param&gt; &lt;param-name&gt;javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL&lt;/param-name&gt; &lt;param-value&gt;true&lt;/param-value&gt; &lt;/context-param&gt; &lt;context-param&gt; &lt;param-name&gt;org.richfaces.skin&lt;/param-name&gt; &lt;param-value&gt;plain&lt;/param-value&gt; &lt;/context-param&gt; &lt;context-param&gt; &lt;param-name&gt;org.richfaces.enableControlSkinning&lt;/param-name&gt; &lt;param-value&gt;false&lt;/param-value&gt; &lt;/context-param&gt; &lt;welcome-file-list&gt; &lt;welcome-file&gt;index.xhtml&lt;/welcome-file&gt; &lt;/welcome-file-list&gt; &lt;servlet&gt; &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt; &lt;servlet-class&gt;javax.faces.webapp.FacesServlet&lt;/servlet-class&gt; &lt;load-on-startup&gt;1&lt;/load-on-startup&gt; &lt;/servlet&gt; &lt;servlet-mapping&gt; &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt; &lt;url-pattern&gt;*.xhtml&lt;/url-pattern&gt; &lt;/servlet-mapping&gt; &lt;/web-app&gt; </code></pre> <p>With these style, scripts that are added in the end of my section my footer just disappeared, how could I fix that ?</p> <p>Any idea ?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload