You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by jaguar <ve...@gmail.com> on 2007/02/02 07:56:30 UTC

s:layoutingTitlePane and not working

hai all , 
      i am working on  sandboxComponent <s:layoutingTitlePane > 
i am getting error javax.faces.FacesException:
javax.servlet.ServletException.

<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:t="http://myfaces.apache.org/tomahawk"
          xmlns:s="http://myfaces.apache.org/sandbox">
  <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
              doctype-system="http://www.w3.org/TR/html4/loose.dtd"
              doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
  <jsp:directive.page contentType="text/html;charset=UTF-8"/>
  <f:view>
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>layout</title>
      </head>
      <body><h:form binding="#{backing_layout.form1}" id="form1">
      
      <f:view>
	<h:panelGroup style="width: 100%; height: 100%;">
		<s:layoutingTitlePane id="titlepane" label="titlepane"
containerNodeClass="content" labelNodeClass="label" >
			<h:outputFormat value="bla bla bla bla bla bla "></h:outputFormat>
			<h:outputFormat value="bla bla bla bla bla bla "></h:outputFormat>
		</s:layoutingTitlePane>
	</h:panelGroup>

    </f:view>
            
      </h:form></body>
    </html>
  </f:view>
  <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_layout-->
</jsp:root>
Thanks...


-- 
View this message in context: http://www.nabble.com/s%3AlayoutingTitlePane--and-not-working-tf3159364.html#a8762584
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: s:layoutingTitlePane and not working

Posted by Werner Punz <we...@gmx.at>.
Ok before we investigate this problem, you other
threads indicate that you have some configuration problem
or simply a configuration which the sandbox simply is not tested
yet against.

Please see my answer in the splitpane not working thread
and also check your configuration against jar
conflicts! (I gave several hints in that thread
on what to do!)




jaguar schrieb:
> hai all , 
>       i am working on  sandboxComponent <s:layoutingTitlePane > 
> i am getting error javax.faces.FacesException:
> javax.servlet.ServletException.
> 
> <?xml version='1.0' encoding='UTF-8'?>
> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
>           xmlns:h="http://java.sun.com/jsf/html"
>           xmlns:f="http://java.sun.com/jsf/core"
>           xmlns:t="http://myfaces.apache.org/tomahawk"
>           xmlns:s="http://myfaces.apache.org/sandbox">
>   <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
>               doctype-system="http://www.w3.org/TR/html4/loose.dtd"
>               doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
>   <jsp:directive.page contentType="text/html;charset=UTF-8"/>
>   <f:view>
>     <html>
>       <head>
>         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
>         <title>layout</title>
>       </head>
>       <body><h:form binding="#{backing_layout.form1}" id="form1">
>       
>       <f:view>
> 	<h:panelGroup style="width: 100%; height: 100%;">
> 		<s:layoutingTitlePane id="titlepane" label="titlepane"
> containerNodeClass="content" labelNodeClass="label" >
> 			<h:outputFormat value="bla bla bla bla bla bla "></h:outputFormat>
> 			<h:outputFormat value="bla bla bla bla bla bla "></h:outputFormat>
> 		</s:layoutingTitlePane>
> 	</h:panelGroup>
> 
>     </f:view>
>             
>       </h:form></body>
>     </html>
>   </f:view>
>   <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_layout-->
> </jsp:root>
> Thanks...
> 
> 


Re: s:layoutingTitlePane and not working

Posted by Werner Punz <we...@gmx.at>.
Hi Jaguar can you give me the exact details
of the exception, I assume the same configuration
problem you also face with your
TimedNotifier problem, or a usage problem:
here is it how it should work:

http://wuerg.kicks-ass.net:8080/tomahawk-sandbox-examples/dojo/titlepanejsfonly.jsf



Also do you call the page with a jsf servlet, I will give you an example

http://wuerg.kicks-ass.net:8080/tomahawk-sandbox-examples/dojo/titlepanejsfonly.jsp
will cause an error a servlet exception

http://wuerg.kicks-ass.net:8080/tomahawk-sandbox-examples/dojo/titlepanejsfonly.jsf
will work and you will get the title pane.

The main difference is, that in the second case due to the configuration
the jsf servlet filter triggers
in the first case the page is interpreted as jsp and hence will throw
errors.

I can recommend get the sandbox and tomahawk examples
and compare your configuration with those.

Werner



jaguar schrieb:
> hai all , 
>       i am working on  sandboxComponent <s:layoutingTitlePane > 
> i am getting error javax.faces.FacesException:
> javax.servlet.ServletException.
> 
> <?xml version='1.0' encoding='UTF-8'?>
> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
>           xmlns:h="http://java.sun.com/jsf/html"
>           xmlns:f="http://java.sun.com/jsf/core"
>           xmlns:t="http://myfaces.apache.org/tomahawk"
>           xmlns:s="http://myfaces.apache.org/sandbox">
>   <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
>               doctype-system="http://www.w3.org/TR/html4/loose.dtd"
>               doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
>   <jsp:directive.page contentType="text/html;charset=UTF-8"/>
>   <f:view>
>     <html>
>       <head>
>         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
>         <title>layout</title>
>       </head>
>       <body><h:form binding="#{backing_layout.form1}" id="form1">
>       
>       <f:view>
> 	<h:panelGroup style="width: 100%; height: 100%;">
> 		<s:layoutingTitlePane id="titlepane" label="titlepane"
> containerNodeClass="content" labelNodeClass="label" >
> 			<h:outputFormat value="bla bla bla bla bla bla "></h:outputFormat>
> 			<h:outputFormat value="bla bla bla bla bla bla "></h:outputFormat>
> 		</s:layoutingTitlePane>
> 	</h:panelGroup>
> 
>     </f:view>
>             
>       </h:form></body>
>     </html>
>   </f:view>
>   <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_layout-->
> </jsp:root>
> Thanks...
> 
>