myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Werner Punz <>
Subject Re: SplitPane not working
Date Fri, 02 Feb 2007 16:52:43 GMT
jaguar schrieb:
>  i am  working on sandbox components. i am useing these libraries 
> myfaces-api-1.1.4.jar,tomahawk-1.1.5-SNAPSHOT.jar,tomahawk-sandbox-1.1.5-SNAPSHOT.jar
> iam getting  exception
> javax.faces.FacesException: javax.servlet.ServletException
> 	at
> com.sun.faces.context.ExternalContextImpl.dispatch(
> 	at
> com.sun.faces.application.ViewHandlerImpl.renderView(
> 	at
> oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(
> 	at
> com.sun.faces.lifecycle.RenderResponsePhase.execute(
> 	at com.sun.faces.lifecycle.LifecycleImpl.phase(
> 	at com.sun.faces.lifecycle.LifecycleImpl.render(
> 	at javax.faces.webapp.FacesServlet.service(
> 	at com.evermind[Oracle Containers for J2EE 10g (
> ].server.http.ResourceFilterChain.doFilter(
> 	at
> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(
> 	at com.evermind[Oracle Containers for J2EE 10g (
> ].server.http.EvermindFilterChain.doFilter(
> 	at
> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(
> 	at com.evermind[Oracle Containers for J2EE 10g (
> ].server.http.EvermindFilterChain.doFilter(
> 	at
> oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(
> 	at
> oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(
> 	at
> oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(
> 	at
> oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(
> 	at com.evermind[Oracle Containers for J2EE 10g (
> ].server.http.EvermindFilterChain.doFilter(
> 	at
> oracle.adf.model.servlet.ADFBindingFilter.doFilter(
> this is my code.............
> <h:panelGroup style="width: 100%; height: 100%;">
>               <t:dojoInitializer require="dojo.widget.SplitContainer" />
>              <t:dojoInitializer require="dojo.widget.ContentPane" />
> 		<s:layoutingSplitPane id="split" activeSizing="0" 
> 			style="width: 400px; height: 400px; background: #eeeeee; padding: 10px;"
> sizerWidth="2">
> 			<s:layoutingContentPane id="left" sizeShare="10">
> 			   <h:outputFormat value="content1"></h:outputFormat>
> 			  <h:outputFormat value="content2"></h:outputFormat>
> 			</s:layoutingContentPane>
> 					<s:layoutingContentPane id="right" sizeShare="90">
> 						<h:outputFormat value="contentright1"></h:outputFormat>
> 						<h:outputFormat value="contentright2"></h:outputFormat>
> 					</s:layoutingContentPane>
> 				</s:layoutingSplitPane>
> 			</h:panelGroup>
> can u solve my problem..... i think the problem is   <t:dojoInitializer
> require="dojo.widget.SplitContainer" />
>              <t:dojoInitializer require="dojo.widget.ContentPane" />
> i need to add any dojo stuff...
> Thanks & Regads...
Ok I am guessing here, since I only have vague details about your
Let me do a guess here
You use an oracle webapp container? Right?
You basically started off with ADF, right?
You then dropped Tomahawk into the mix, right and then the sandbox, right?
Sorry for being exact about it, the configuration
and the used libs can do a lot of harm.
Also try to move all your myfaces jars on the same version level.

I am doing a guess now since I need more details,
all the stuff you mention here and in the other threads,
should definitely work and does (except for some bugs):

Ok we are getting close to what happens here:
Some other JSF implementation cross interferes
with the myfaces libs in you rdir,
you basically have two jsf implementations mixed in your
app server. Both implementing core libs.

The myfaces api basically provides part of a jsf implementation
but only parts of it, the tomahawk and tomahawk sandbox are ok,
(but if you run on the ri dont expect all of the sandbox components to work)

So something must come from the RI as well, all I can say is mixing the
Sandbox into the RI is inherently problematic, because those components
are not yet tested against the RI (only the core Tomahawk are)

The other thing is, that probably you also have some Tomahawk
configuration problems, did you add the needed servlet filters which
Tomahawk utilizes for resource loading ?

And then check if you mix and match the RI with myfaces,

it is either
Sun jars + everything tomahawk related + the correct configuration
settings in the web.xml
Myfaces only
which is:
+ all the tomahawk jars

but never every, mix the sun + myfaces jars.

Another thing could be that your app server provides the jsf
implementation bottom up, which means the jsf jars already are located
within your library dir of your app server and have higher priority than
the ones of the application.

Since I only know vague details about your exact configuration,
following, get the sandbox examples war,


and drop it into a plain tomcat, it should work there
drop it into your app server and check if it works,
if it does in the first case and second case, check your configuration
for errors, especially the web.xml

if it works in the first case and not the second case, then something
probably interfers bottom up.

Also, upon looking at your code, you do not need the dojo intializer if
you use the sandbox components, but it does not interfere, there is a
filter within it which prevents double declarations.

View raw message