Re: Re: Problems with commandLinks not working in Tomcat 5.5.17

2006-06-09 Thread Garner Shawn

I say this because I had the exact same ware deployed on JBoss and had
no problems.
Sure you want to see faces-config.xml?  If so then what do you want to
see?  I assume you mean web.xml instead, that is where most of the
stuff for my application are.

Shawn


Originial Message---
From: Jeff Bischoff <[EMAIL PROTECTED]>
To: MyFaces Discussion 
Date: Fri, 09 Jun 2006 14:40:23 -0400
Subject: Re: Problems with commandLinks not working in Tomcat 5.5.17
Your subject implies that you think the problem is related to a
particular version of tomcat. Or is that just what you happen to be using?

Can you post the relevant section of your faces-config.xml?

Regards,

Jeff Bischoff
Kenneth L Kurz & Assoc, Inc.


Re: Trying to work with Tomahawk Tabbed Panes

2006-06-09 Thread Matthias Wessendorf

hey,


Again, In my list, I only have the following JSF RI:

myfaces-api-1.1.3.jar
myfaces-impl-1.1.3.jar



there is only ONE RI. RI = reference implementation.
MyFaces is an open source product that implements that spec.

MyFAces ships the JSF API (javax.faces.***) namespace AND!
and impl of these classes (lot's of abstract clazzes are in the API)

The RI is the same and IBM too.

All these three guys providing the same product. A JSF impl. (and the API)

IBM and MyFaces are NOT! the RI. They are just "only" JSF impls.
MyFaces has been tested through the TCK. For IBM I can't speak.

So if you remove jsf-api and jsf-impl (which are shipped by the RI)
and add MyFaces-api and myfaces-impl you are done!
BTW. I think jsf-ibm contains both (API and IMPL)

HTH,
Matthias


RE: Trying to work with Tomahawk Tabbed Panes

2006-06-09 Thread Gopalakrishnan, Jaya
Ok, my application.xml looks like this:


http://java.sun.com/dtd/application_1_3.dtd";>

DefaultEAR


ParentChildJavascript.war

ParentChildJavascript







There is only a war file. Right now, there are no EJBs.they would comein
later...


-Original Message-
From: Todd Patrick [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 6:06 PM
To: MyFaces Discussion
Subject: RE: Trying to work with Tomahawk Tabbed Panes


That says the issue is in the EAR not the WAR, so I'm *guessing* the
issue is with in your EJBs.

Just *Guessing*.

Thanks,

--Todd 

-Original Message-
From: Gopalakrishnan, Jaya [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 6:04 PM
To: MyFaces Discussion
Subject: RE: Trying to work with Tomahawk Tabbed Panes

Also, as suggested, I have only the following jar files:

commons-beanutils-1.7.0.jar
> commons-codec-1.3.jar
> commons-collections-3.1.jar
> commons-digester-1.6.jar
> commons-el-1.0.jar
> commons-fileupload-1.0.jar
> commons-lang-2.1.jar
> commons-logging-1.0.4.jar
> jstl-1.1.0.jar
> myfaces-api-1.1.3.jar
> myfaces-impl-1.1.3.jar
> tomahawk-1.1.2.jar
> odc-jsf.jar
> standard.jar

When I tried to run the app, the web application simply doesn't get
started. Here is the error stack:

[6/9/06 18:01:10:460 CDT] 3e327934 DeployedAppli W WSVR0206E: Module,
ParentChildJavascript.war, of application,
DefaultEAR.ear/deployments/DefaultEAR, failed to start [6/9/06
18:01:10:460 CDT] 3e327934 ApplicationMg W WSVR0101W: An error occurred
starting, DefaultEAR

-Original Message-
From: Gopalakrishnan, Jaya
Sent: Friday, June 09, 2006 5:45 PM
To: MyFaces Discussion
Subject: RE: Trying to work with Tomahawk Tabbed Panes


Do u mean to say that JSF cannot be used along with Myfaces. I am
working on a project using JSF. So, if I were to remove the jar files, u
have mentioned, I don't think, I can use JSF then.

If so, is there any other way where I can use JSF and also use a custom
tabbed panel control.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Matthias Wessendorf
Sent: Friday, June 09, 2006 5:28 PM
To: MyFaces Discussion
Subject: Re: Trying to work with Tomahawk Tabbed Panes


you have three impls

jsf-ibm.jar
jsf-impl.jar
myfaces-impl

and two APIs

jsf-api.jar
myfaces-api

remove :
jsf-api.jar
jsf-ibm.jar
jsf-impl.jar



On 6/9/06, Gopalakrishnan, Jaya <[EMAIL PROTECTED]> wrote:
> I have the following jar files in my web-inf/lib folder:
>
> commons-beanutils-1.7.0.jar
> commons-codec-1.3.jar
> commons-collections-3.1.jar
> commons-digester-1.6.jar
> commons-el-1.0.jar
> commons-fileupload-1.0.jar
> commons-lang-2.1.jar
> commons-logging-1.0.4.jar
> jstl-1.1.0.jar
> myfaces-api-1.1.3.jar
> myfaces-impl-1.1.3.jar
> tomahawk-1.1.2.jar
> jsf-api.jar
> jsf-ibm.jar
> jsf-impl.jar
> odc-jsf.jar
> standard.jar
>
> Is there any problem?
>
> Regards,
> Jayashree.
>
> -Original Message-
> From: Todd Patrick [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 09, 2006 4:48 PM
> To: MyFaces Discussion
> Subject: RE: Trying to work with Tomahawk Tabbed Panes
>
>
> Jaya: Do you have a mixture of JSF RI?
>
> Example, you have the MyFaces *AND* SUN JSF jars in your web-inf/lib 
> folder?
>
> This killed about an hour of my time once.
>
> --Todd
>
> -Original Message-
> From: Gopalakrishnan, Jaya [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 09, 2006 4:45 PM
> To: MyFaces Discussion
> Subject: RE: Trying to work with Tomahawk Tabbed Panes
>
> Thanks Todd...
>
> However, the moment, I put myfaces-api-1.1.3.jar, 
> myfaces-impl-1.1.3.jar in the web-inf/lib folder, my web appln simply 
> fails to load...
>
> If I remove the two jar files, the web application loads, however I 
> get the following error:
>
> E SRVE0026E: [Servlet Error]-[Filter [extensionsFilter]: filter is
> unavailable.]: java.lang.NoClassDefFoundError: 
> org/apache/commons/fileupload/FileUpload
> at
> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsF
> il
> ter.java:114)
> at
>
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInst
> anceWrapper.java:132)
> at
>
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh
> ain.java:71)
> at
>
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispa
> tch(WebAppRequestDispatcher.java:974)
> at
>
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRe
> questDispatcher.java:564)
> at
>
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReq
> uestDispatcher.java:200)
> at
>
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:1
> 19)
> at
>
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInv
> oker.java:276)
> at
>
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocati
> on(CachedInvocation.java:7

RE: Trying to work with Tomahawk Tabbed Panes

2006-06-09 Thread Todd Patrick
That says the issue is in the EAR not the WAR, so I'm *guessing* the
issue is with in your EJBs.

Just *Guessing*.

Thanks,

--Todd 

-Original Message-
From: Gopalakrishnan, Jaya [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 6:04 PM
To: MyFaces Discussion
Subject: RE: Trying to work with Tomahawk Tabbed Panes

Also, as suggested, I have only the following jar files:

commons-beanutils-1.7.0.jar
> commons-codec-1.3.jar
> commons-collections-3.1.jar
> commons-digester-1.6.jar
> commons-el-1.0.jar
> commons-fileupload-1.0.jar
> commons-lang-2.1.jar
> commons-logging-1.0.4.jar
> jstl-1.1.0.jar
> myfaces-api-1.1.3.jar
> myfaces-impl-1.1.3.jar
> tomahawk-1.1.2.jar
> odc-jsf.jar
> standard.jar

When I tried to run the app, the web application simply doesn't get
started. Here is the error stack:

[6/9/06 18:01:10:460 CDT] 3e327934 DeployedAppli W WSVR0206E: Module,
ParentChildJavascript.war, of application,
DefaultEAR.ear/deployments/DefaultEAR, failed to start
[6/9/06 18:01:10:460 CDT] 3e327934 ApplicationMg W WSVR0101W: An error
occurred starting, DefaultEAR

-Original Message-
From: Gopalakrishnan, Jaya
Sent: Friday, June 09, 2006 5:45 PM
To: MyFaces Discussion
Subject: RE: Trying to work with Tomahawk Tabbed Panes


Do u mean to say that JSF cannot be used along with Myfaces. I am
working on a project using JSF. So, if I were to remove the jar files, u
have mentioned, I don't think, I can use JSF then.

If so, is there any other way where I can use JSF and also use a custom
tabbed panel control.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Matthias Wessendorf
Sent: Friday, June 09, 2006 5:28 PM
To: MyFaces Discussion
Subject: Re: Trying to work with Tomahawk Tabbed Panes


you have three impls

jsf-ibm.jar
jsf-impl.jar
myfaces-impl

and two APIs

jsf-api.jar
myfaces-api

remove :
jsf-api.jar
jsf-ibm.jar
jsf-impl.jar



On 6/9/06, Gopalakrishnan, Jaya <[EMAIL PROTECTED]> wrote:
> I have the following jar files in my web-inf/lib folder:
>
> commons-beanutils-1.7.0.jar
> commons-codec-1.3.jar
> commons-collections-3.1.jar
> commons-digester-1.6.jar
> commons-el-1.0.jar
> commons-fileupload-1.0.jar
> commons-lang-2.1.jar
> commons-logging-1.0.4.jar
> jstl-1.1.0.jar
> myfaces-api-1.1.3.jar
> myfaces-impl-1.1.3.jar
> tomahawk-1.1.2.jar
> jsf-api.jar
> jsf-ibm.jar
> jsf-impl.jar
> odc-jsf.jar
> standard.jar
>
> Is there any problem?
>
> Regards,
> Jayashree.
>
> -Original Message-
> From: Todd Patrick [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 09, 2006 4:48 PM
> To: MyFaces Discussion
> Subject: RE: Trying to work with Tomahawk Tabbed Panes
>
>
> Jaya: Do you have a mixture of JSF RI?
>
> Example, you have the MyFaces *AND* SUN JSF jars in your web-inf/lib
> folder?
>
> This killed about an hour of my time once.
>
> --Todd
>
> -Original Message-
> From: Gopalakrishnan, Jaya [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 09, 2006 4:45 PM
> To: MyFaces Discussion
> Subject: RE: Trying to work with Tomahawk Tabbed Panes
>
> Thanks Todd...
>
> However, the moment, I put myfaces-api-1.1.3.jar,
> myfaces-impl-1.1.3.jar in the web-inf/lib folder, my web appln simply 
> fails to load...
>
> If I remove the two jar files, the web application loads, however I
> get the following error:
>
> E SRVE0026E: [Servlet Error]-[Filter [extensionsFilter]: filter is
> unavailable.]: java.lang.NoClassDefFoundError:
> org/apache/commons/fileupload/FileUpload
> at 
> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsF
> il
> ter.java:114)
> at
>
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInst
> anceWrapper.java:132)
> at
>
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh
> ain.java:71)
> at
>
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispa
> tch(WebAppRequestDispatcher.java:974)
> at
>
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRe
> questDispatcher.java:564)
> at
>
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReq
> uestDispatcher.java:200)
> at
>
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:1
> 19)
> at
>
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInv
> oker.java:276)
> at
>
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocati
> on(CachedInvocation.java:71)
> at
>
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(Servle
> tRequestProcessor.java:182)
> at
>
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSELis
> tener.java:334)
> at
>
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection
> .java:56)
> at
>
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:
> 618)
> at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
> at com.ibm.ws.util

RE: Trying to work with Tomahawk Tabbed Panes

2006-06-09 Thread Todd Patrick
A JSF RI is one impl and one api jar (they come in pairs).

Therefore, as Matthias mentioned, you need to pick one JSF RI.

For example I just use MyFaces RI.

You can use SUN RI with Tomahawk, there is info on myfaces.apache.org on
how to do so...

So, I would just use the MyFaces RI(myfaces-api-1.1.3.jar and
myfaces-impl-1.1.3.jar) with Tomahawk and see if that corrects your
errors.

Again, In my list, I only have the following JSF RI:

myfaces-api-1.1.3.jar
myfaces-impl-1.1.3.jar

Thanks,

--Todd
 

-Original Message-
From: Gopalakrishnan, Jaya [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 5:45 PM
To: MyFaces Discussion
Subject: RE: Trying to work with Tomahawk Tabbed Panes

Do u mean to say that JSF cannot be used along with Myfaces. I am
working on a project using JSF. So, if I were to remove the jar files, u
have mentioned, I don't think, I can use JSF then.

If so, is there any other way where I can use JSF and also use a custom
tabbed panel control.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Matthias Wessendorf
Sent: Friday, June 09, 2006 5:28 PM
To: MyFaces Discussion
Subject: Re: Trying to work with Tomahawk Tabbed Panes


you have three impls

jsf-ibm.jar
jsf-impl.jar
myfaces-impl

and two APIs

jsf-api.jar
myfaces-api

remove :
jsf-api.jar
jsf-ibm.jar
jsf-impl.jar



On 6/9/06, Gopalakrishnan, Jaya <[EMAIL PROTECTED]> wrote:
> I have the following jar files in my web-inf/lib folder:
>
> commons-beanutils-1.7.0.jar
> commons-codec-1.3.jar
> commons-collections-3.1.jar
> commons-digester-1.6.jar
> commons-el-1.0.jar
> commons-fileupload-1.0.jar
> commons-lang-2.1.jar
> commons-logging-1.0.4.jar
> jstl-1.1.0.jar
> myfaces-api-1.1.3.jar
> myfaces-impl-1.1.3.jar
> tomahawk-1.1.2.jar
> jsf-api.jar
> jsf-ibm.jar
> jsf-impl.jar
> odc-jsf.jar
> standard.jar
>
> Is there any problem?
>
> Regards,
> Jayashree.
>
> -Original Message-
> From: Todd Patrick [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 09, 2006 4:48 PM
> To: MyFaces Discussion
> Subject: RE: Trying to work with Tomahawk Tabbed Panes
>
>
> Jaya: Do you have a mixture of JSF RI?
>
> Example, you have the MyFaces *AND* SUN JSF jars in your web-inf/lib 
> folder?
>
> This killed about an hour of my time once.
>
> --Todd
>
> -Original Message-
> From: Gopalakrishnan, Jaya [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 09, 2006 4:45 PM
> To: MyFaces Discussion
> Subject: RE: Trying to work with Tomahawk Tabbed Panes
>
> Thanks Todd...
>
> However, the moment, I put myfaces-api-1.1.3.jar, 
> myfaces-impl-1.1.3.jar in the web-inf/lib folder, my web appln simply 
> fails to load...
>
> If I remove the two jar files, the web application loads, however I 
> get the following error:
>
> E SRVE0026E: [Servlet Error]-[Filter [extensionsFilter]: filter is
> unavailable.]: java.lang.NoClassDefFoundError: 
> org/apache/commons/fileupload/FileUpload
> at
> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsF
> il
> ter.java:114)
> at
>
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInst
> anceWrapper.java:132)
> at
>
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh
> ain.java:71)
> at
>
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispa
> tch(WebAppRequestDispatcher.java:974)
> at
>
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRe
> questDispatcher.java:564)
> at
>
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReq
> uestDispatcher.java:200)
> at
>
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:1
> 19)
> at
>
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInv
> oker.java:276)
> at
>
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocati
> on(CachedInvocation.java:71)
> at
>
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(Servle
> tRequestProcessor.java:182)
> at
>
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSELis
> tener.java:334)
> at
>
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection
> .java:56)
> at
>
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:
> 618)
> at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
>
> Thanks,
> Jayashree.
>
> -Original Message-
> From: Todd Patrick [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 09, 2006 3:55 PM
> To: MyFaces Discussion
> Subject: RE: Trying to work with Tomahawk Tabbed Panes
>
>
> Jaya: I faced the same issue in the past, here is my web.xml file:
>
>   xmlns="http://java.sun.com/xml/ns/j2ee
>  " 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
>  " 
> xsi:schemaLocation="h

RE: Trying to work with Tomahawk Tabbed Panes

2006-06-09 Thread Gopalakrishnan, Jaya
Also, as suggested, I have only the following jar files:

commons-beanutils-1.7.0.jar
> commons-codec-1.3.jar
> commons-collections-3.1.jar
> commons-digester-1.6.jar
> commons-el-1.0.jar
> commons-fileupload-1.0.jar
> commons-lang-2.1.jar
> commons-logging-1.0.4.jar
> jstl-1.1.0.jar
> myfaces-api-1.1.3.jar
> myfaces-impl-1.1.3.jar
> tomahawk-1.1.2.jar
> odc-jsf.jar
> standard.jar

When I tried to run the app, the web application simply doesn't get
started. Here is the error stack:

[6/9/06 18:01:10:460 CDT] 3e327934 DeployedAppli W WSVR0206E: Module,
ParentChildJavascript.war, of application,
DefaultEAR.ear/deployments/DefaultEAR, failed to start
[6/9/06 18:01:10:460 CDT] 3e327934 ApplicationMg W WSVR0101W: An error
occurred starting, DefaultEAR

-Original Message-
From: Gopalakrishnan, Jaya 
Sent: Friday, June 09, 2006 5:45 PM
To: MyFaces Discussion
Subject: RE: Trying to work with Tomahawk Tabbed Panes


Do u mean to say that JSF cannot be used along with Myfaces. I am
working on a project using JSF. So, if I were to remove the jar files, u
have mentioned, I don't think, I can use JSF then.

If so, is there any other way where I can use JSF and also use a custom
tabbed panel control.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Matthias Wessendorf
Sent: Friday, June 09, 2006 5:28 PM
To: MyFaces Discussion
Subject: Re: Trying to work with Tomahawk Tabbed Panes


you have three impls

jsf-ibm.jar
jsf-impl.jar
myfaces-impl

and two APIs

jsf-api.jar
myfaces-api

remove :
jsf-api.jar
jsf-ibm.jar
jsf-impl.jar



On 6/9/06, Gopalakrishnan, Jaya <[EMAIL PROTECTED]> wrote:
> I have the following jar files in my web-inf/lib folder:
>
> commons-beanutils-1.7.0.jar
> commons-codec-1.3.jar
> commons-collections-3.1.jar
> commons-digester-1.6.jar
> commons-el-1.0.jar
> commons-fileupload-1.0.jar
> commons-lang-2.1.jar
> commons-logging-1.0.4.jar
> jstl-1.1.0.jar
> myfaces-api-1.1.3.jar
> myfaces-impl-1.1.3.jar
> tomahawk-1.1.2.jar
> jsf-api.jar
> jsf-ibm.jar
> jsf-impl.jar
> odc-jsf.jar
> standard.jar
>
> Is there any problem?
>
> Regards,
> Jayashree.
>
> -Original Message-
> From: Todd Patrick [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 09, 2006 4:48 PM
> To: MyFaces Discussion
> Subject: RE: Trying to work with Tomahawk Tabbed Panes
>
>
> Jaya: Do you have a mixture of JSF RI?
>
> Example, you have the MyFaces *AND* SUN JSF jars in your web-inf/lib
> folder?
>
> This killed about an hour of my time once.
>
> --Todd
>
> -Original Message-
> From: Gopalakrishnan, Jaya [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 09, 2006 4:45 PM
> To: MyFaces Discussion
> Subject: RE: Trying to work with Tomahawk Tabbed Panes
>
> Thanks Todd...
>
> However, the moment, I put myfaces-api-1.1.3.jar,
> myfaces-impl-1.1.3.jar in the web-inf/lib folder, my web appln simply 
> fails to load...
>
> If I remove the two jar files, the web application loads, however I
> get the following error:
>
> E SRVE0026E: [Servlet Error]-[Filter [extensionsFilter]: filter is
> unavailable.]: java.lang.NoClassDefFoundError:
> org/apache/commons/fileupload/FileUpload
> at 
> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsF
> il
> ter.java:114)
> at
>
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInst
> anceWrapper.java:132)
> at
>
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh
> ain.java:71)
> at
>
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispa
> tch(WebAppRequestDispatcher.java:974)
> at
>
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRe
> questDispatcher.java:564)
> at
>
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReq
> uestDispatcher.java:200)
> at
>
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:1
> 19)
> at
>
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInv
> oker.java:276)
> at
>
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocati
> on(CachedInvocation.java:71)
> at
>
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(Servle
> tRequestProcessor.java:182)
> at
>
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSELis
> tener.java:334)
> at
>
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection
> .java:56)
> at
>
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:
> 618)
> at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
>
> Thanks,
> Jayashree.
>
> -Original Message-
> From: Todd Patrick [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 09, 2006 3:55 PM
> To: MyFaces Discussion
> Subject: RE: Trying to work with Tomahawk Tabbed Panes
>
>
> Jaya: I faced the same issue in the past, here is my web

RE: Trying to work with Tomahawk Tabbed Panes

2006-06-09 Thread Gopalakrishnan, Jaya
Do u mean to say that JSF cannot be used along with Myfaces. I am
working on a project using JSF. So, if I were to remove the jar files, u
have mentioned, I don't think, I can use JSF then.

If so, is there any other way where I can use JSF and also use a custom
tabbed panel control.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Matthias Wessendorf
Sent: Friday, June 09, 2006 5:28 PM
To: MyFaces Discussion
Subject: Re: Trying to work with Tomahawk Tabbed Panes


you have three impls

jsf-ibm.jar
jsf-impl.jar
myfaces-impl

and two APIs

jsf-api.jar
myfaces-api

remove :
jsf-api.jar
jsf-ibm.jar
jsf-impl.jar



On 6/9/06, Gopalakrishnan, Jaya <[EMAIL PROTECTED]> wrote:
> I have the following jar files in my web-inf/lib folder:
>
> commons-beanutils-1.7.0.jar
> commons-codec-1.3.jar
> commons-collections-3.1.jar
> commons-digester-1.6.jar
> commons-el-1.0.jar
> commons-fileupload-1.0.jar
> commons-lang-2.1.jar
> commons-logging-1.0.4.jar
> jstl-1.1.0.jar
> myfaces-api-1.1.3.jar
> myfaces-impl-1.1.3.jar
> tomahawk-1.1.2.jar
> jsf-api.jar
> jsf-ibm.jar
> jsf-impl.jar
> odc-jsf.jar
> standard.jar
>
> Is there any problem?
>
> Regards,
> Jayashree.
>
> -Original Message-
> From: Todd Patrick [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 09, 2006 4:48 PM
> To: MyFaces Discussion
> Subject: RE: Trying to work with Tomahawk Tabbed Panes
>
>
> Jaya: Do you have a mixture of JSF RI?
>
> Example, you have the MyFaces *AND* SUN JSF jars in your web-inf/lib 
> folder?
>
> This killed about an hour of my time once.
>
> --Todd
>
> -Original Message-
> From: Gopalakrishnan, Jaya [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 09, 2006 4:45 PM
> To: MyFaces Discussion
> Subject: RE: Trying to work with Tomahawk Tabbed Panes
>
> Thanks Todd...
>
> However, the moment, I put myfaces-api-1.1.3.jar, 
> myfaces-impl-1.1.3.jar in the web-inf/lib folder, my web appln simply 
> fails to load...
>
> If I remove the two jar files, the web application loads, however I 
> get the following error:
>
> E SRVE0026E: [Servlet Error]-[Filter [extensionsFilter]: filter is
> unavailable.]: java.lang.NoClassDefFoundError: 
> org/apache/commons/fileupload/FileUpload
> at 
> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsF
> il
> ter.java:114)
> at
>
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInst
> anceWrapper.java:132)
> at
>
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh
> ain.java:71)
> at
>
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispa
> tch(WebAppRequestDispatcher.java:974)
> at
>
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRe
> questDispatcher.java:564)
> at
>
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReq
> uestDispatcher.java:200)
> at
>
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:1
> 19)
> at
>
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInv
> oker.java:276)
> at
>
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocati
> on(CachedInvocation.java:71)
> at
>
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(Servle
> tRequestProcessor.java:182)
> at
>
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSELis
> tener.java:334)
> at
>
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection
> .java:56)
> at
>
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:
> 618)
> at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
>
> Thanks,
> Jayashree.
>
> -Original Message-
> From: Todd Patrick [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 09, 2006 3:55 PM
> To: MyFaces Discussion
> Subject: RE: Trying to work with Tomahawk Tabbed Panes
>
>
> Jaya: I faced the same issue in the past, here is my web.xml file:
>
> 
> http://java.sun.com/xml/ns/j2ee
>  " 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
>  " 
> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
>  
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
>  ">
> Transaction
> 
> javax.faces.STATE_SAVING_METHOD
> client
> 
> 
> org.apache.myfaces.ALLOW_JAVASCRIPT
> true
> 
> 
> org.apache.myfaces.DETECT_JAVASCRIPT
> false
> 
> 
> org.apache.myfaces.PRETTY_HTML
> true
> 
> 
> org.apache.myfaces.AUTO_SCROLL
> true
> 
> 
>
> org.apache.myfaces.CHECK_EXTENSIONS_FILTER
> true
> 
> 
> org.apache.myfaces.ADD_RESOURCE_CLASS
>
> org.apache.myfaces

Re: Trying to work with Tomahawk Tabbed Panes

2006-06-09 Thread Matthias Wessendorf

you have three impls

jsf-ibm.jar
jsf-impl.jar
myfaces-impl

and two APIs

jsf-api.jar
myfaces-api

remove :
jsf-api.jar
jsf-ibm.jar
jsf-impl.jar



On 6/9/06, Gopalakrishnan, Jaya <[EMAIL PROTECTED]> wrote:

I have the following jar files in my web-inf/lib folder:

commons-beanutils-1.7.0.jar
commons-codec-1.3.jar
commons-collections-3.1.jar
commons-digester-1.6.jar
commons-el-1.0.jar
commons-fileupload-1.0.jar
commons-lang-2.1.jar
commons-logging-1.0.4.jar
jstl-1.1.0.jar
myfaces-api-1.1.3.jar
myfaces-impl-1.1.3.jar
tomahawk-1.1.2.jar
jsf-api.jar
jsf-ibm.jar
jsf-impl.jar
odc-jsf.jar
standard.jar

Is there any problem?

Regards,
Jayashree.

-Original Message-
From: Todd Patrick [mailto:[EMAIL PROTECTED]
Sent: Friday, June 09, 2006 4:48 PM
To: MyFaces Discussion
Subject: RE: Trying to work with Tomahawk Tabbed Panes


Jaya: Do you have a mixture of JSF RI?

Example, you have the MyFaces *AND* SUN JSF jars in your web-inf/lib
folder?

This killed about an hour of my time once.

--Todd

-Original Message-
From: Gopalakrishnan, Jaya [mailto:[EMAIL PROTECTED]
Sent: Friday, June 09, 2006 4:45 PM
To: MyFaces Discussion
Subject: RE: Trying to work with Tomahawk Tabbed Panes

Thanks Todd...

However, the moment, I put myfaces-api-1.1.3.jar, myfaces-impl-1.1.3.jar
in the web-inf/lib folder, my web appln simply fails to load...

If I remove the two jar files, the web application loads, however I get
the following error:

E SRVE0026E: [Servlet Error]-[Filter [extensionsFilter]: filter is
unavailable.]: java.lang.NoClassDefFoundError:
org/apache/commons/fileupload/FileUpload
at
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFil
ter.java:114)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInst
anceWrapper.java:132)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh
ain.java:71)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispa
tch(WebAppRequestDispatcher.java:974)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRe
questDispatcher.java:564)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReq
uestDispatcher.java:200)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:1
19)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInv
oker.java:276)
at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocati
on(CachedInvocation.java:71)
at
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(Servle
tRequestProcessor.java:182)
at
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSELis
tener.java:334)
at
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection
.java:56)
at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:
618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)

Thanks,
Jayashree.

-Original Message-
From: Todd Patrick [mailto:[EMAIL PROTECTED]
Sent: Friday, June 09, 2006 3:55 PM
To: MyFaces Discussion
Subject: RE: Trying to work with Tomahawk Tabbed Panes


Jaya: I faced the same issue in the past, here is my web.xml file:


http://java.sun.com/xml/ns/j2ee
 "
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
 "
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee

http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
 ">
Transaction

javax.faces.STATE_SAVING_METHOD
client


org.apache.myfaces.ALLOW_JAVASCRIPT
true


org.apache.myfaces.DETECT_JAVASCRIPT
false


org.apache.myfaces.PRETTY_HTML
true


org.apache.myfaces.AUTO_SCROLL
true



org.apache.myfaces.CHECK_EXTENSIONS_FILTER
true


org.apache.myfaces.ADD_RESOURCE_CLASS

org.apache.myfaces.renderkit.html.util.DefaultAddResource



extensionsFilter

org.apache.myfaces.webapp.filter.ExtensionsFilter

Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
uploadMaxFileSize
100m


uploadThresholdSize
100k



extensionsFilter
*.jsf


extensionsFilter
/faces/*


Faces Servlet
javax.faces.webapp.FacesServlet
1


Faces Servlet
*.jsf



index.jsp




The jars that I have are:

commons-beanutils-1.7.0.jar
commons-codec-1.3.jar
commons-collections-3.1.jar
commons-digester-1.6

RE: Trying to work with Tomahawk Tabbed Panes

2006-06-09 Thread Gopalakrishnan, Jaya
I have the following jar files in my web-inf/lib folder:

commons-beanutils-1.7.0.jar
commons-codec-1.3.jar
commons-collections-3.1.jar
commons-digester-1.6.jar
commons-el-1.0.jar
commons-fileupload-1.0.jar
commons-lang-2.1.jar
commons-logging-1.0.4.jar
jstl-1.1.0.jar
myfaces-api-1.1.3.jar
myfaces-impl-1.1.3.jar
tomahawk-1.1.2.jar
jsf-api.jar
jsf-ibm.jar
jsf-impl.jar
odc-jsf.jar
standard.jar

Is there any problem?

Regards,
Jayashree.

-Original Message-
From: Todd Patrick [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 4:48 PM
To: MyFaces Discussion
Subject: RE: Trying to work with Tomahawk Tabbed Panes


Jaya: Do you have a mixture of JSF RI?

Example, you have the MyFaces *AND* SUN JSF jars in your web-inf/lib
folder?

This killed about an hour of my time once.

--Todd 

-Original Message-
From: Gopalakrishnan, Jaya [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 4:45 PM
To: MyFaces Discussion
Subject: RE: Trying to work with Tomahawk Tabbed Panes

Thanks Todd...

However, the moment, I put myfaces-api-1.1.3.jar, myfaces-impl-1.1.3.jar
in the web-inf/lib folder, my web appln simply fails to load...

If I remove the two jar files, the web application loads, however I get
the following error:

E SRVE0026E: [Servlet Error]-[Filter [extensionsFilter]: filter is
unavailable.]: java.lang.NoClassDefFoundError:
org/apache/commons/fileupload/FileUpload
at
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFil
ter.java:114)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInst
anceWrapper.java:132)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh
ain.java:71)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispa
tch(WebAppRequestDispatcher.java:974)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRe
questDispatcher.java:564)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReq
uestDispatcher.java:200)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:1
19)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInv
oker.java:276)
at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocati
on(CachedInvocation.java:71)
at
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(Servle
tRequestProcessor.java:182)
at
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSELis
tener.java:334)
at
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection
.java:56)
at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:
618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)

Thanks,
Jayashree.

-Original Message-
From: Todd Patrick [mailto:[EMAIL PROTECTED]
Sent: Friday, June 09, 2006 3:55 PM
To: MyFaces Discussion
Subject: RE: Trying to work with Tomahawk Tabbed Panes


Jaya: I faced the same issue in the past, here is my web.xml file:
 

http://java.sun.com/xml/ns/j2ee
 "
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
 "
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee

http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
 ">
Transaction

javax.faces.STATE_SAVING_METHOD
client


org.apache.myfaces.ALLOW_JAVASCRIPT
true


org.apache.myfaces.DETECT_JAVASCRIPT
false


org.apache.myfaces.PRETTY_HTML
true


org.apache.myfaces.AUTO_SCROLL
true


 
org.apache.myfaces.CHECK_EXTENSIONS_FILTER
true


org.apache.myfaces.ADD_RESOURCE_CLASS
 
org.apache.myfaces.renderkit.html.util.DefaultAddResource

 

extensionsFilter
 
org.apache.myfaces.webapp.filter.ExtensionsFilter

Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
uploadMaxFileSize
100m


uploadThresholdSize
100k



extensionsFilter
*.jsf


extensionsFilter
/faces/*


Faces Servlet
javax.faces.webapp.FacesServlet
1


Faces Servlet
*.jsf

 

index.jsp




The jars that I have are:
 
commons-beanutils-1.7.0.jar
commons-codec-1.3.jar
commons-collections-3.1.jar
commons-digester-1.6.jar
commons-el-1.0.jar
commons-fileupload-1.0.jar
commons-lang-2.1.jar
commons-logging-1.0.4.jar
jstl-1.1.0.jar
myfaces-api-1.1.3.jar
myfaces-impl-1.1.3.jar
tomahawk-1.1.2.jar


Thanks,

--Todd


___

Re: problem with InputCalendar

2006-06-09 Thread Matthias Wessendorf

Please take a look at this guy, how to configure the extensions filter

http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/WEB-INF/web.xml?revision=405923&view=markup

btw. package of the filter has changed

-Matthias

On 6/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Hi,
I'm just trying to use the inputCalendar component into my page. I'm using 
myfaces-core-1.1.3, tomahawk 1.1.2 on apache tomcat 5.5.17.

The jsp page is as the following (very simple):
***
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t" %>





My JSF 'index.jsp' starting page












***

When i try to click on the button of the calendar, the browser (firefox 1.5) gives the 
following javascript error: ""jsCalendar popUpCalendar is not defined".


This is the renderered HTML page:

**



My JSF 'index.jsp' starting page






















And, last but not least this is the web.xml file:


http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee   
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
  
javax.faces.CONFIG_FILES
/WEB-INF/faces-config.xml
  
  

org.apache.myfaces.webapp.StartupServletContextListener
  
  
Faces Servlet
javax.faces.webapp.FacesServlet
0
  
  
Faces Servlet
*.faces
  
  
MyFacesExtensionsFilter

org.apache.myfaces.component.html.util.ExtensionsFilter

  maxFileSize
  20m

  
  
MyFacesExtensionsFilter
*.faces
  

***

I've tried to remove "commons-el.jar" but nothing changed.


Thanks for all the help and sorry the long email,
Gioacchino Mauri





--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com


problem with InputCalendar

2006-06-09 Thread [EMAIL PROTECTED]
Hi,
I'm just trying to use the inputCalendar component into my page. I'm using 
myfaces-core-1.1.3, tomahawk 1.1.2 on apache tomcat 5.5.17.

The jsp page is as the following (very simple):
***
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t" %>





My JSF 'index.jsp' starting page












***

When i try to click on the button of the calendar, the browser (firefox 1.5) 
gives the following javascript error: ""jsCalendar popUpCalendar is not 
defined".


This is the renderered HTML page:

**



My JSF 'index.jsp' starting page






















And, last but not least this is the web.xml file:


http://java.sun.com/xml/ns/j2ee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="2.4" 
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee   
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
  
javax.faces.CONFIG_FILES
/WEB-INF/faces-config.xml
  
  

org.apache.myfaces.webapp.StartupServletContextListener
  
  
Faces Servlet
javax.faces.webapp.FacesServlet
0
  
  
Faces Servlet
*.faces
  
  
MyFacesExtensionsFilter

org.apache.myfaces.component.html.util.ExtensionsFilter

  maxFileSize
  20m

  
  
MyFacesExtensionsFilter
*.faces
  

***

I've tried to remove "commons-el.jar" but nothing changed.


Thanks for all the help and sorry the long email,
Gioacchino Mauri



Re: Trying to work with Tomahawk Tabbed Panes

2006-06-09 Thread Matthias Wessendorf

IBM ships their own implementation of the JSF spec.

maybe removing this might help?

see [1]

-Matthias

[1] http://wiki.apache.org/myfaces/Websphere_Installation

On 6/9/06, Todd Patrick <[EMAIL PROTECTED]> wrote:

Jaya: Do you have a mixture of JSF RI?

Example, you have the MyFaces *AND* SUN JSF jars in your web-inf/lib
folder?

This killed about an hour of my time once.

--Todd

-Original Message-
From: Gopalakrishnan, Jaya [mailto:[EMAIL PROTECTED]
Sent: Friday, June 09, 2006 4:45 PM
To: MyFaces Discussion
Subject: RE: Trying to work with Tomahawk Tabbed Panes

Thanks Todd...

However, the moment, I put myfaces-api-1.1.3.jar, myfaces-impl-1.1.3.jar
in the web-inf/lib folder, my web appln simply fails to load...

If I remove the two jar files, the web application loads, however I get
the following error:

E SRVE0026E: [Servlet Error]-[Filter [extensionsFilter]: filter is
unavailable.]: java.lang.NoClassDefFoundError:
org/apache/commons/fileupload/FileUpload
at
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFil
ter.java:114)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInst
anceWrapper.java:132)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh
ain.java:71)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispa
tch(WebAppRequestDispatcher.java:974)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRe
questDispatcher.java:564)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReq
uestDispatcher.java:200)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:1
19)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInv
oker.java:276)
at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocati
on(CachedInvocation.java:71)
at
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(Servle
tRequestProcessor.java:182)
at
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSELis
tener.java:334)
at
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection
.java:56)
at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:
618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)

Thanks,
Jayashree.

-Original Message-
From: Todd Patrick [mailto:[EMAIL PROTECTED]
Sent: Friday, June 09, 2006 3:55 PM
To: MyFaces Discussion
Subject: RE: Trying to work with Tomahawk Tabbed Panes


Jaya: I faced the same issue in the past, here is my web.xml file:


http://java.sun.com/xml/ns/j2ee
 "
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
 "
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee

http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
 ">
Transaction

javax.faces.STATE_SAVING_METHOD
client


org.apache.myfaces.ALLOW_JAVASCRIPT
true


org.apache.myfaces.DETECT_JAVASCRIPT
false


org.apache.myfaces.PRETTY_HTML
true


org.apache.myfaces.AUTO_SCROLL
true



org.apache.myfaces.CHECK_EXTENSIONS_FILTER
true


org.apache.myfaces.ADD_RESOURCE_CLASS

org.apache.myfaces.renderkit.html.util.DefaultAddResource



extensionsFilter

org.apache.myfaces.webapp.filter.ExtensionsFilter

Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
uploadMaxFileSize
100m


uploadThresholdSize
100k



extensionsFilter
*.jsf


extensionsFilter
/faces/*


Faces Servlet
javax.faces.webapp.FacesServlet
1


Faces Servlet
*.jsf



index.jsp




The jars that I have are:

commons-beanutils-1.7.0.jar
commons-codec-1.3.jar
commons-collections-3.1.jar
commons-digester-1.6.jar
commons-el-1.0.jar
commons-fileupload-1.0.jar
commons-lang-2.1.jar
commons-logging-1.0.4.jar
jstl-1.1.0.jar
myfaces-api-1.1.3.jar
myfaces-impl-1.1.3.jar
tomahawk-1.1.2.jar


Thanks,

--Todd




From: Gopalakrishnan, Jaya [mailto:[EMAIL PROTECTED]
Sent: Friday, June 09, 2006 3:50 PM
To: users@myfaces.apache.org
Subject: FW: Trying to work with Tomahawk Tabbed Panes
Importance: High



-Original Message-
From: Gopalakrishnan, Jaya
Sent: Friday, June 09, 2006 3:24 PM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: Trying to work with Tomahawk Tabbed Panes
Importance

RE: Need some help with the Schedule Component

2006-06-09 Thread Ian Johnson



Okay maybe I can frame the question better in Pseudo 
Code,
 
I 
have a backing bean that's like this:
 
public BackingBean(){
    super();
    setModelView(new Date());
}
 
public setModelView(Date x){
    ...Set Calendar Model selected date to show month 
based on date parameter and fill in entries
}
 
public handleAction(){
    ...Get clicked entry and forward to new 
page
}
 
My page looks like this 

 

 

 
I 
store the model in the session and change it in the backing 
bean
 
When the page first loads and initializes, clicking an entry works fine 
(I get the selected entry in my schedules action), but when I change the month 
and click on an entry the selected entry is null from the model. I have tracked 
what is going on and it seems initializing in the constructor is causing the 
undesired results. Does anyone have a good method of doing this or an 
example.
 


From: Ian Johnson Sent: Friday, June 
09, 2006 10:57 AMTo: MyFaces DiscussionSubject: Need some 
help with the Schedule Component

I was wondering if 
anyone could give me some advice on how to use the scheduling component for what 
I'm trying to do.
 
I want to be able to 
initialize the component (fill it with entries) but there are some problems 
with doing that in the constructor of the backing bean. This is because 
when I try to get the selected or submitted entry, because 
the model gets reinitialized, I lose the selected 
entry. 
 
Does anyone know the 
best way to do this? 


RE: Trying to work with Tomahawk Tabbed Panes

2006-06-09 Thread Todd Patrick
Jaya: Do you have a mixture of JSF RI?

Example, you have the MyFaces *AND* SUN JSF jars in your web-inf/lib
folder?

This killed about an hour of my time once.

--Todd 

-Original Message-
From: Gopalakrishnan, Jaya [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 4:45 PM
To: MyFaces Discussion
Subject: RE: Trying to work with Tomahawk Tabbed Panes

Thanks Todd...

However, the moment, I put myfaces-api-1.1.3.jar, myfaces-impl-1.1.3.jar
in the web-inf/lib folder, my web appln simply fails to load...

If I remove the two jar files, the web application loads, however I get
the following error:

E SRVE0026E: [Servlet Error]-[Filter [extensionsFilter]: filter is
unavailable.]: java.lang.NoClassDefFoundError:
org/apache/commons/fileupload/FileUpload
at
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFil
ter.java:114)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInst
anceWrapper.java:132)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh
ain.java:71)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispa
tch(WebAppRequestDispatcher.java:974)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRe
questDispatcher.java:564)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReq
uestDispatcher.java:200)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:1
19)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInv
oker.java:276)
at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocati
on(CachedInvocation.java:71)
at
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(Servle
tRequestProcessor.java:182)
at
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSELis
tener.java:334)
at
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection
.java:56)
at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:
618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)

Thanks,
Jayashree.

-Original Message-
From: Todd Patrick [mailto:[EMAIL PROTECTED]
Sent: Friday, June 09, 2006 3:55 PM
To: MyFaces Discussion
Subject: RE: Trying to work with Tomahawk Tabbed Panes


Jaya: I faced the same issue in the past, here is my web.xml file:
 

http://java.sun.com/xml/ns/j2ee
 "
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
 "
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee

http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
 ">
Transaction

javax.faces.STATE_SAVING_METHOD
client


org.apache.myfaces.ALLOW_JAVASCRIPT
true


org.apache.myfaces.DETECT_JAVASCRIPT
false


org.apache.myfaces.PRETTY_HTML
true


org.apache.myfaces.AUTO_SCROLL
true


 
org.apache.myfaces.CHECK_EXTENSIONS_FILTER
true


org.apache.myfaces.ADD_RESOURCE_CLASS
 
org.apache.myfaces.renderkit.html.util.DefaultAddResource

 

extensionsFilter
 
org.apache.myfaces.webapp.filter.ExtensionsFilter

Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
uploadMaxFileSize
100m


uploadThresholdSize
100k



extensionsFilter
*.jsf


extensionsFilter
/faces/*


Faces Servlet
javax.faces.webapp.FacesServlet
1


Faces Servlet
*.jsf

 

index.jsp




The jars that I have are:
 
commons-beanutils-1.7.0.jar
commons-codec-1.3.jar
commons-collections-3.1.jar
commons-digester-1.6.jar
commons-el-1.0.jar
commons-fileupload-1.0.jar
commons-lang-2.1.jar
commons-logging-1.0.4.jar
jstl-1.1.0.jar
myfaces-api-1.1.3.jar
myfaces-impl-1.1.3.jar
tomahawk-1.1.2.jar


Thanks,

--Todd




From: Gopalakrishnan, Jaya [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 3:50 PM
To: users@myfaces.apache.org
Subject: FW: Trying to work with Tomahawk Tabbed Panes
Importance: High


 
-Original Message-
From: Gopalakrishnan, Jaya 
Sent: Friday, June 09, 2006 3:24 PM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: Trying to work with Tomahawk Tabbed Panes
Importance: High


I am trying to work with Tomahawk tabbed panes. Here is something that I
have done:
 
The code for the tabbed panes in the jsp is:
--

RE: Trying to work with Tomahawk Tabbed Panes

2006-06-09 Thread Gopalakrishnan, Jaya
Thanks Todd...

However, the moment, I put myfaces-api-1.1.3.jar, myfaces-impl-1.1.3.jar
in the web-inf/lib folder, my web appln simply fails to load...

If I remove the two jar files, the web application loads, however I get
the following error:

E SRVE0026E: [Servlet Error]-[Filter [extensionsFilter]: filter is
unavailable.]: java.lang.NoClassDefFoundError:
org/apache/commons/fileupload/FileUpload
at
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFil
ter.java:114)
at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInst
anceWrapper.java:132)
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh
ain.java:71)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispa
tch(WebAppRequestDispatcher.java:974)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRe
questDispatcher.java:564)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReq
uestDispatcher.java:200)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:1
19)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInv
oker.java:276)
at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocati
on(CachedInvocation.java:71)
at
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(Servle
tRequestProcessor.java:182)
at
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSELis
tener.java:334)
at
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection
.java:56)
at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:
618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)

Thanks,
Jayashree.

-Original Message-
From: Todd Patrick [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 3:55 PM
To: MyFaces Discussion
Subject: RE: Trying to work with Tomahawk Tabbed Panes


Jaya: I faced the same issue in the past, here is my web.xml file:
 

http://java.sun.com/xml/ns/j2ee
 "
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
 "
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee

http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
 ">
Transaction

javax.faces.STATE_SAVING_METHOD
client


org.apache.myfaces.ALLOW_JAVASCRIPT
true


org.apache.myfaces.DETECT_JAVASCRIPT
false


org.apache.myfaces.PRETTY_HTML
true


org.apache.myfaces.AUTO_SCROLL
true


 
org.apache.myfaces.CHECK_EXTENSIONS_FILTER
true


org.apache.myfaces.ADD_RESOURCE_CLASS
 
org.apache.myfaces.renderkit.html.util.DefaultAddResource

 

extensionsFilter
 
org.apache.myfaces.webapp.filter.ExtensionsFilter

Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
uploadMaxFileSize
100m


uploadThresholdSize
100k



extensionsFilter
*.jsf


extensionsFilter
/faces/*


Faces Servlet
javax.faces.webapp.FacesServlet
1


Faces Servlet
*.jsf

 

index.jsp




The jars that I have are:
 
commons-beanutils-1.7.0.jar
commons-codec-1.3.jar
commons-collections-3.1.jar
commons-digester-1.6.jar
commons-el-1.0.jar
commons-fileupload-1.0.jar
commons-lang-2.1.jar
commons-logging-1.0.4.jar
jstl-1.1.0.jar
myfaces-api-1.1.3.jar
myfaces-impl-1.1.3.jar
tomahawk-1.1.2.jar


Thanks,

--Todd




From: Gopalakrishnan, Jaya [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 3:50 PM
To: users@myfaces.apache.org
Subject: FW: Trying to work with Tomahawk Tabbed Panes
Importance: High


 
-Original Message-
From: Gopalakrishnan, Jaya 
Sent: Friday, June 09, 2006 3:24 PM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: Trying to work with Tomahawk Tabbed Panes
Importance: High


I am trying to work with Tomahawk tabbed panes. Here is something that I
have done:
 
The code for the tabbed panes in the jsp is:

--

<[EMAIL PROTECTED] uri="http://www.ibm.com/jsf/BrowserFramework"; prefix="odc"%>

<[EMAIL PROTECTED] uri="http://www.ibm.com/jsf/html_extended"; prefix="hx"%>

<[EMAIL PROTECTED] uri="http://java.sun.com/jsf/html"; prefix="h"%>

<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>





<%@ page language="java"

Re: Problem with enabledOnUserRole

2006-06-09 Thread Val Blant

Now it is starting to look like a bug to me. Here is a bit more info.

During the decode phase,
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils.isDisabledOrReadOnly()
method is used to determine if the component for the input field is
disabled. The check is done like this:
isTrue(component.getAttributes().get("disabled"))

However, during the encode stage, we never set setDisabled(true) on the
component! We simply rendered it as disabled in
HtmlRendererUtils.internalRenderSelect(). Therefore the decode phase doesn't
know that the component is disabled and thus sets the submittedValue to
null, which leads to erroneous validation and model update. 

I will enter this info into JIRA.
--
View this message in context: 
http://www.nabble.com/Problem-with-enabledOnUserRole-t1763951.html#a4801320
Sent from the MyFaces - Users forum at Nabble.com.



RE: Trying to work with Tomahawk Tabbed Panes

2006-06-09 Thread Todd Patrick
Jaya: I faced the same issue in the past, here is my web.xml file:
 

http://java.sun.com/xml/ns/j2ee
 "
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
 "
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee

http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
 ">
Transaction

javax.faces.STATE_SAVING_METHOD
client


org.apache.myfaces.ALLOW_JAVASCRIPT
true


org.apache.myfaces.DETECT_JAVASCRIPT
false


org.apache.myfaces.PRETTY_HTML
true


org.apache.myfaces.AUTO_SCROLL
true


 
org.apache.myfaces.CHECK_EXTENSIONS_FILTER
true


org.apache.myfaces.ADD_RESOURCE_CLASS
 
org.apache.myfaces.renderkit.html.util.DefaultAddResource

 

extensionsFilter
 
org.apache.myfaces.webapp.filter.ExtensionsFilter

Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
uploadMaxFileSize
100m


uploadThresholdSize
100k



extensionsFilter
*.jsf


extensionsFilter
/faces/*


Faces Servlet
javax.faces.webapp.FacesServlet
1


Faces Servlet
*.jsf

 

index.jsp




The jars that I have are:
 
commons-beanutils-1.7.0.jar
commons-codec-1.3.jar
commons-collections-3.1.jar
commons-digester-1.6.jar
commons-el-1.0.jar
commons-fileupload-1.0.jar
commons-lang-2.1.jar
commons-logging-1.0.4.jar
jstl-1.1.0.jar
myfaces-api-1.1.3.jar
myfaces-impl-1.1.3.jar
tomahawk-1.1.2.jar


Thanks,

--Todd




From: Gopalakrishnan, Jaya [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 3:50 PM
To: users@myfaces.apache.org
Subject: FW: Trying to work with Tomahawk Tabbed Panes
Importance: High


 
-Original Message-
From: Gopalakrishnan, Jaya 
Sent: Friday, June 09, 2006 3:24 PM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: Trying to work with Tomahawk Tabbed Panes
Importance: High


I am trying to work with Tomahawk tabbed panes. Here is something that I
have done:
 
The code for the tabbed panes in the jsp is:

--

<[EMAIL PROTECTED] uri="http://www.ibm.com/jsf/BrowserFramework"; prefix="odc"%>

<[EMAIL PROTECTED] uri="http://www.ibm.com/jsf/html_extended"; prefix="hx"%>

<[EMAIL PROTECTED] uri="http://java.sun.com/jsf/html"; prefix="h"%>

<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>





<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1" %>









TabbedPanesJSP.jsp
































---

I have put tomahawk1.1.2. jar in the web-inf/lib folder, along with
jsf-api.jar, jsf-impl.jar, jstl.jar.

In the web.xml i have put the following entry:




 

extensionsFilter



org.apache.myfaces.component.html.util.ExtensionsFilter

 





extensionsFilter

*.jsf





extensionsFilter

*.faces





extensionsFilter

/faces/*






However, when I run the application, I get the following exception: 

E SRVE0026E: [Servlet Error]-[Filter [extensionsFilter]: filter is
unavailable.]: java.lang.NoClassDefFoundError:
org/apache/commons/fileupload/FileUploadat
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFil
ter.java:114)

at
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInst
anceWrapper.java:132)

at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh
ain.java:71)

at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispa
tch(WebAppRequestDispatcher.java:974)

at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRe
questDispatcher.java:564)

at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReq
uestDispatcher.java:200)

at
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:1
19)

at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInv
oker.java:276)

at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocati
on(CachedInvocation.java:71)

at
com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invo
ke(CacheableInvocationContext.java:116)

at
com.ibm.ws.webcontai

FW: Trying to work with Tomahawk Tabbed Panes

2006-06-09 Thread Gopalakrishnan, Jaya
Title: Message



 

-Original Message-From: Gopalakrishnan, Jaya 
Sent: Friday, June 09, 2006 3:24 PMTo: 
'[EMAIL PROTECTED]'; 
'[EMAIL PROTECTED]'Subject: Trying to work with Tomahawk 
Tabbed PanesImportance: High

I am trying to work 
with Tomahawk tabbed panes. Here is something that I have 
done:
 
The code for the 
tabbed panes in the jsp is:
--
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<%@taglib uri="http://www.ibm.com/jsf/BrowserFramework" prefix="odc"%>
<%@taglib uri="http://www.ibm.com/jsf/html_extended" prefix="hx"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>


<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" %>




TabbedPanesJSP.jspTITLE>
<LINK rel="stylesheet" type="text/css" href="theme/tabpanel.css"
title="Style">
HEAD>
<BODY><body>
<f:view>
<t:panelTabbedPane bgcolor="#FF">
<t:panelTab id="tab01" label="Tab No.1">
<t:outputText value="something">t:outputText>
t:panelTab>
<t:panelTab id="tab02" label="Tab No.2">
<t:outputText value="something else">t:outputText>
t:panelTab>
t:panelTabbedPane>
f:view>
BODY>
HTML>
---
I have 
put tomahawk1.1.2. jar in the web-inf/lib folder, along with jsf-api.jar, 
jsf-impl.jar, jstl.jar.
In the 
web.xml i have put the following entry:

<filter> 
<filter-name>extensionsFilterfilter-name>
<filter-class>
org.apache.myfaces.component.html.util.ExtensionsFilter
filter-class> 

filter>
<filter-mapping>
<filter-name>extensionsFilterfilter-name>
<url-pattern>*.jsfurl-pattern>
filter-mapping>
<filter-mapping>
<filter-name>extensionsFilterfilter-name>
<url-pattern>*.facesurl-pattern>
filter-mapping>
<filter-mapping>
<filter-name>extensionsFilterfilter-name>
<url-pattern>/faces/*url-pattern>
filter-mapping>

However, when I run 
the application, I get the following exception: 
E SRVE0026E: [Servlet Error]-[Filter [extensionsFilter]: filter is 
unavailable.]: java.lang.NoClassDefFoundError: 
org/apache/commons/fileupload/FileUploadat 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:114)
at 
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at 
com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
at 
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
at 
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at 
com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)
at 
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
at 
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at 
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at 
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
-
Wht is 
it that is wrong? Can anybody please 
suggest?

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23207.html">Re: Re: commandLinks don't work on Tomcat 5.5.17</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Re%5C%3A+commandLinks+don%27t+work+on+Tomcat+5.5.17%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Raj+Rajendran%22&o=newest&f=1">Raj Rajendran</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
I am seeing the same problem with commandLinks not working (although this is on Sybase EAServer app server), with Core/Tomahawk 1.1.3. Turning off the AUTO SCROLL resolves the problem. Not exactly sure why..
On 6/9/06, Garner Shawn <[EMAIL PROTECTED]> wrote:
 MyFaces Core 1.1.3 Binary Distribution MyFaces Tomahawk 1.1.2 Binary Distribution Faceletes 1.1.4 I had the same war working on JBoss but when I switched to Tomcat5.5.17 my commandLinks stopped working.
If you figure out why the autoscroll stuff doesn't work let me know.---OriginalMessageFrom: "Dennis Byrne" <
[EMAIL PROTECTED]>To: "MyFaces Discussion" <users@myfaces.apache.org>Date: Fri, 09 Jun 2006 01:55:09 +Subject: Re: commandLinks don't work on Tomcat 
5.5.17Which version of MyFaces are you using?  Which version of tomahawk?Dennis Byrne

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23206.html">Problem with enabledOnUserRole</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Problem+with+enabledOnUserRole%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Val+Blant%22&o=newest&f=1">Val Blant</a></span>
</div>
<blockquote><span class="msgFragment"><pre>

I was very excited to find 'enabledOnUserRole' attribute on all tomahawk
input fields, b/c they do exactly what I need in my app - disable fields
based on user role. Unfortunately, using 'enabledOnUserRole' has a side
effect that makes it useless to me. Unless I am missing something...

The page displays correctly, but when the page is submitted, since some
input fields are disabled, the browser doesn't send their values to the
server. Not only does this fire all of the change listeners attached to the
disabled fields, but more importantly, the model is updated with nulls where
there used to be values. 

Is this the expected behavior? Is there a way around this? It seems that
having 'enabledOnUserRole' is not that useful if it's going to overwrite all
of your model data with nulls...
--
View this message in context: 
http://www.nabble.com/Problem-with-enabledOnUserRole-t1763951.html#a4800751
Sent from the MyFaces - Users forum at Nabble.com.


</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23205.html">Re: Tomahawk Schedule WORKWEEK Problem</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Tomahawk+Schedule+WORKWEEK+Problem%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Sean+Schofield%22&o=newest&f=1">Sean Schofield</a></span>
</div>
<blockquote><span class="msgFragment"><pre>

If you think this is a bug, please submit an issue in JIRA.  See our
website for details on bug reporting.

Sean

On 6/9/06, Jason Long <[EMAIL PROTECTED]> wrote:





Anyone else having this problem?





Thank you for your time,



Jason Long

CEO and Chief Software Engineer

BS Physics, MS Chemical Engineering

http://www.supernovasoftware.com

HJBUG Founder and President

http://www.hjbug.com

 


From: Jason Long [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 07, 2006 10:55 AM
 To: 'MyFaces Discussion'
 Subject: Tomahawk Schedule WORKWEEK Problem




I am using MyFaces 1.1.4 Snapshot and Tomahawk 1.1.4 Snapshot.



I am experimenting with the schedule component.  When I set mode to
SimpleScheduleModel.WORKWEEK the calendar does not display.  All other modes
seem to work.  Is there some additional setup required for this mode?



Thank you for your time,



Jason Long

CEO and Chief Software Engineer

BS Physics, MS Chemical Engineering

http://www.supernovasoftware.com

HJBUG Founder and President

http://www.hjbug.com




</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23204.html">RE: cant get simple tobago tree example to work</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22RE%5C%3A+cant+get+simple+tobago+tree+example+to+work%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Showers%2C+Cory+R%22&o=newest&f=1">Showers, Cory R</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
Thanks a lot I received your example app and right away I saw your faces-config 
file didn't define the managed-bean attributes.  I should have checked that at 
first because MyEclipse wizard automatically creates a bean attribute 
definition with no value as the default.  This causes a nullpointerexception 
when you go to run, I usually remove all bean attribute tags after I create the 
managed bean using the wizard.  

Thanks a lot for a simple solution it sure took me a long time to track down.

-Original Message-
From: Arvid Hülsebus [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 3:17 PM
To: MyFaces Discussion
Subject: Re: cant get simple tobago tree example to work

Showers, Cory R wrote:
> Can u see if it works with 1.0.7?

I switched to 1.0.7 and the tree example works. Regarding Scarborough:
Speyside is an extension of Scarborough and reuses the TreeRenderer.
Therefore seeing

org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.TreeNodeRenderer

in the stacktrace shouldn't be a problem.

I tried to attached my current code, but the mail server rejects 10KB
ZIP archives as spam... I'll try to send it to you directly.

Regards,
Arvid





</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23203.html">Re: Resolving URIs using ViewHandler.getResourceURL</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Resolving+URIs+using+ViewHandler.getResourceURL%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Rogerio+Pereira%22&o=newest&f=1">Rogerio Pereira</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
2006/6/9, Matthias Wessendorf <[EMAIL PROTECTED]>:
well, you are welcome to help out on adding weblets.it is a great projectI'll do the changes and attach the patches to jira ticket. 
please: use the mailing lists ;)ok, sorry : ) 

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23202.html">Re: cant get simple tobago tree example to work</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22cant+get+simple+tobago+tree+example+to+work%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Arvid+H%C3%BClsebus%22&o=newest&f=1">Arvid Hülsebus</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
Showers, Cory R wrote:
> Can u see if it works with 1.0.7?

I switched to 1.0.7 and the tree example works. Regarding Scarborough:
Speyside is an extension of Scarborough and reuses the TreeRenderer.
Therefore seeing

org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.TreeNodeRenderer

in the stacktrace shouldn't be a problem.

I tried to attached my current code, but the mail server rejects 10KB
ZIP archives as spam... I'll try to send it to you directly.

Regards,
Arvid



</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23201.html">Re: Resolving URIs using ViewHandler.getResourceURL</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Resolving+URIs+using+ViewHandler.getResourceURL%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Matthias+Wessendorf%22&o=newest&f=1">Matthias Wessendorf</a></span>
</div>
<blockquote><span class="msgFragment"><pre>

Well, right.

viewHandler.getResourceURL does basicly

facesContext.getExternalContext().getRequestContextPath() + path

Stylesheet for instance does the same

context.getExternalContext().getRequestContextPath()+stylesheet.getPath()

Should be unified. Sure!
Can you open a (minor) issue ?

-Matthias


On 6/9/06, Rogerio Pereira <[EMAIL PROTECTED]> wrote:

Hi,

I checked the weblets code and this solution uses
ViewHandler.getResourceURL, right now only tree, tree2, swapimage and
jscookmenu uses ViewHandler.getResourceURL and script, stylesheet and
graphicImage don't, are there any issues about use
ViewHandler.getResourceURL to resolve resources URIs?

--
Yours truly (Atenciosamente),

Rogério



--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23200.html">Resolving URIs using ViewHandler.getResourceURL</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Resolving+URIs+using+ViewHandler.getResourceURL%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Rogerio+Pereira%22&o=newest&f=1">Rogerio Pereira</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
Hi,I checked the weblets code and this solution uses ViewHandler.getResourceURL, right now only tree, tree2, swapimage and jscookmenu uses ViewHandler.getResourceURL and script, stylesheet and graphicImage don't, are there any issues about use
ViewHandler.getResourceURL to resolve resources URIs? -- Yours truly (Atenciosamente),Rogério

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23199.html">Re: Websphere 6</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Websphere+6%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Gregg+Bolinger%22&o=newest&f=1">Gregg Bolinger</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
Not sure what I did right or wrong the last time, but it is working now.  Thanks for the link and the tips.On 6/9/06, Mert Çalışkan <
[EMAIL PROTECTED]> wrote:You can find detailed info here..

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/crun_classload.html


and for the error...
everything is ok in web.xml file for FacesServlet, definition & mapping?

Regards,

Mert
On 6/9/06, Gregg Bolinger <[EMAIL PROTECTED]
> wrote:
I think I am getting somewhere.  I am now getting the following error message when trying to access my application.Error 404: SRVE0201E: Servlet [javax.faces.webapp.FacesServlet]: not a servlet class
Any ideas?
Thanks.On 6/9/06, Gregg Bolinger <

[EMAIL PROTECTED]> wrote:
Ok, I have done as you described.  I set the war to module
and set it as PARENT_LAST.  And I am having the same issues. 
I am going to bounce and server and see if it solves the problem

On 6/9/06, Gregg Bolinger <[EMAIL PROTECTED]> wrote:



At the moment?  I have none. HA.  This is my first
experience with a full fledged bonafied app server.  I typically
only have to deal with containers like Tomcat.  If you had a link
with information on how to adjust the classloader in the EAR
application file, that would be helpful.  Until then, I'll be
pinging google for it.
Thanks.  Much appreciated.On 6/8/06, Mert Çalışkan <



[EMAIL PROTECTED]> wrote:
If you can determine deployment properties, if you have the rights,
you can specify classloader policy for ear to application and war to module with parent last modes.
when you put all the jars under the web-inf lib of your war, the problem shouldn't arise.
Whats your classloader adjustments at the moment...

Regards,

Mert
On 6/9/06, Gregg Bolinger <[EMAIL PROTECTED]
> wrote:
Um, can you elaborate?Thanks.On 6/8/06, Mert Çalışkan <





[EMAIL PROTECTED]> wrote:
even over the classloader mode and policy? 
if you can adjust them for the ear & war you can solve the problem.

Regards,

MertOn 6/9/06, Gregg Bolinger <






[EMAIL PROTECTED]> wrote:
I know all the issues surrounding running MyFaces in Websphere
6.  I searched this mailing list and found plenty of useful
tips.  However, I am having problems getting any of them to
work.  If I remove jsf-api.jar and ws-jsf.jar then not only does
my app not work, but the server console app stops working.What
I really would like is a solution that doesn't involve doing anything
with the websphere install, if possible. I know, unlikely.  The
thing is that our app will be installed on a Websphere server we have
no control over.  Is this something that is possible?
Thanks.











</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23198.html">Re: t:outputLabel for attribute and forceId="true"</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22t%5C%3AoutputLabel+for+attribute+and+forceId%3D%5C%22true%5C%22%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Matthias+Wessendorf%22&o=newest&f=1">Matthias Wessendorf</a></span>
</div>
<blockquote><span class="msgFragment"><pre>

Rich-

the ADF form component might be interesting to you too.
It is not a naming container (like h:form).

 
  
  
 

 
  
  
 

If you are interested, I'd like to invite you to the adf related
mailing lists ;)

-Matthias


On 5/11/06, Locke, Richard <[EMAIL PROTECTED]> wrote:

Hi Matthias,

Thanks for the very useful article. The solution was there on the first
page!
The  tag does the job perfectly.

Rich

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Matthias Wessendorf
Sent: 11 May 2006 16:02
To: MyFaces Discussion
Subject: Re: t:outputLabel for attribute and forceId="true"

> That's all fine except that the label's for attribute has the 'form:'
> prefix. Why? I would not think that  tag would know
> anything about the rest of the page.

That is a "problem" of JSF 1.1 spec

 (or h:outputlabe) BEFORE an input won't work

since the label doesn't know the rest of the page

see [1] for lot's of informations on that

-Matthias

[1] http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html
This email and any files transmitted with it are confidential, proprietary
and intended solely for the individual or entity to whom they are addressed.
If you have received this email in error please delete it immediately.





--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23197.html">Re: Problems with commandLinks not working in Tomcat 5.5.17</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Problems+with+commandLinks+not+working+in+Tomcat+5.5.17%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Jeff+Bischoff%22&o=newest&f=1">Jeff Bischoff</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
Your subject implies that you think the problem is related to a 
particular version of tomcat. Or is that just what you happen to be using?


Can you post the relevant section of your faces-config.xml?

Regards,

Jeff Bischoff
Kenneth L Kurz & Assoc, Inc.

Garner Shawn wrote:

Maybe this problem is related to me not having a backing bean action
bound to the action and it is just the outcome of the action (see
below)?  It might work with an action bound to a backing bean method
but I don't have any of those right now.

Products

renders as

onclick="clear_footerNavForm();document.forms['footerNavForm'].elements['autoScroll'].value=getScrolling();document.forms['footerNavForm'].elements['footerNavForm:_link_hidden_'].value='footerNavForm:_id17';if(document.forms['footerNavForm'].onsubmit){var 


result=document.forms['footerNavForm'].onsubmit();  if( (typeof result
== 'undefined') || result )
{document.forms['footerNavForm'].submit();}}else{document.forms['footerNavForm'].submit();}return 


false;" id="footerNavForm:_id17">Products







</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23196.html">Re: question regarding html Tree dependencies</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22question+regarding+html+Tree+dependencies%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Jeff+Bischoff%22&o=newest&f=1">Jeff Bischoff</a></span>
</div>
<blockquote><span class="msgFragment"><pre>

Jim the Standing Bear wrote:
> Thanks again, Sean for replying. So basically what you were saying is
> that I either needed a method to return "my.jsf.MyTreeModel", or simply
> to hard code that in the jsp file... yes?

yes, that's what he is saying :)



</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23195.html">RE: weirdness in tomcat 5.5.16 and my-faces</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22RE%5C%3A+weirdness+in+tomcat+5.5.16+and+my%5C-faces%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22John+Mani%22&o=newest&f=1">John Mani</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
Turns out the issue was because these methods in my bean didn't have a setXX() 
version.
 
Yeah, 'weird' is the word that comes to mind with some of my experiences so far 
:)
 
-john 



From: Jeff Bischoff [mailto:[EMAIL PROTECTED]
Sent: Fri 6/9/2006 2:14 PM
To: MyFaces Discussion
Subject: Re: weirdness in tomcat 5.5.16 and my-faces



John,

If you feel like you are getting stuck with stale files, why not shut
down tomcat, delete the "temp" and "work" folders, and then start it
back up with your latest .war?

Regards,

Jeff Bischoff
Kenneth L Kurz & Assoc, Inc.

P.S. do you start every question with the word "weird"? ;)

John Mani wrote:
> In my JSF page, I attempt to display certain values from my
> backing bean as follows:
>  
>
> where backer is defined as a session scoped bean. Originally
> the method getSelectionFirstName() was not there, it was added
> later.
>
> In my tomcat installation, I removed the original .war file
> and corresponding directory from webapps, then copy over the
> new .war file with the updated class that has this method.
>
> However, when I access the page, I see errors in the tomcat logfile
> of the form:
>  javax.faces.el.PropertyNotFoundException: Bean: my.BackingBean, property:
>  selectionFirstName
>
> I double-check the class in tomcat's webapp/classes directory by using
> javap on that class - I can see that method.
>
> I've restarted tomcat multiple times, redeployed the .war file, but
> this weird issue persists.
>
> As an aside, when I first access the page, I see a 'session ID' appended
> to the URL, but not on subsequent clicks and redraws of the page. My
> browser settings support cookies, so why is URL rewriting being used?
>
> Any thoughts ?
> thanx
> -john




<>
</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23194.html">RE: Weird problem with dataTable, commandButtons, inputText</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22RE%5C%3A+Weird+problem+with+dataTable%2C+commandButtons%2C+inputText%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22John+Mani%22&o=newest&f=1">John Mani</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
Yup, that was it. The lack of any sort of error message didn't help either.
-john



From: Jeff Bischoff [mailto:[EMAIL PROTECTED]
Sent: Fri 6/9/2006 2:09 PM
To: MyFaces Discussion
Subject: Re: Weird problem with dataTable, commandButtons, inputText



John,

I might have a clue for you...

When the page is initially displayed, is "selection" equal to null? i.e.
#{backer.selection} would return null. If so then,
#{backer.selection.firstName} will result in a null pointer exception,
which in my experience with myfaces, does not display any kind of error
message but simply causes "weird" behaviour - like buttons not working.

We discussed this a few days ago on [1]

[1] http://www.mail-archive.com/users@myfaces.apache.org/msg22905.html

Regards,

Jeff Bischoff
Kenneth L Kurz & Assoc, Inc.

John Mani wrote:
> Hi
> 
> I am seeing a weird problem:
> I have a page that has a toplevel panelGrid with 2 columns.
>   In the left column, I have a panelGroup containing a bunch of
> textfields for text entry and
> then a commandButton with an associated action
>   In the right column, I have a dataTable and a bunch of inputTexts
> below the dataTable.
> 
> The action for the commandButton in the left panel is called
> "backer.search" and
> invokes the search method in the backer bean. I'm logging a message in that
> search() method, plus this method does a search and sets up the entries
> to be displayed
> in the dataTable in the right column.
> 
> Now, the inputTexts in the right column have values that go like
> "backer.selection.firstName"
> and so on ... where backer.getSelection() returns a Customer object that
> has a getFirstName()
> method.
> 
> The weird behaviour is that: if the above inputTexts have values like
> above : i.e., "backer.selection.firstName"
> etc. the commandButton doesn't seem to fire the search() method - the
> log message doesn't get
> printed and the dataTable is not filled up. However, if the inputTexts
> have values like
> "backer.firstName" (where backer.getFirstName() is a method that returns
> a simple string), the
> commandButton does fire the search() method.
> 
> I'm at a loss - as these two seem completely independent.
> 
> Sorry for the long and rambling mail, but any clues?
> 
> -john
> 




<>
</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23193.html">Re: weirdness in tomcat 5.5.16 and my-faces</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22weirdness+in+tomcat+5.5.16+and+my%5C-faces%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Jeff+Bischoff%22&o=newest&f=1">Jeff Bischoff</a></span>
</div>
<blockquote><span class="msgFragment"><pre>

John,

If you feel like you are getting stuck with stale files, why not shut 
down tomcat, delete the "temp" and "work" folders, and then start it 
back up with your latest .war?


Regards,

Jeff Bischoff
Kenneth L Kurz & Assoc, Inc.

P.S. do you start every question with the word "weird"? ;)

John Mani wrote:

In my JSF page, I attempt to display certain values from my
backing bean as follows:
 

where backer is defined as a session scoped bean. Originally
the method getSelectionFirstName() was not there, it was added
later.

In my tomcat installation, I removed the original .war file
and corresponding directory from webapps, then copy over the
new .war file with the updated class that has this method.

However, when I access the page, I see errors in the tomcat logfile
of the form:
 javax.faces.el.PropertyNotFoundException: Bean: my.BackingBean, property:
 selectionFirstName

I double-check the class in tomcat's webapp/classes directory by using
javap on that class - I can see that method.

I've restarted tomcat multiple times, redeployed the .war file, but
this weird issue persists.

As an aside, when I first access the page, I see a 'session ID' appended
to the URL, but not on subsequent clicks and redraws of the page. My
browser settings support cookies, so why is URL rewriting being used?

Any thoughts ?
thanx
-john




</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23192.html">Re: Weird problem with dataTable, commandButtons, inputText</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Weird+problem+with+dataTable%2C+commandButtons%2C+inputText%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Jeff+Bischoff%22&o=newest&f=1">Jeff Bischoff</a></span>
</div>
<blockquote><span class="msgFragment"><pre>

John,

I might have a clue for you...

When the page is initially displayed, is "selection" equal to null? i.e. 
#{backer.selection} would return null. If so then, 
#{backer.selection.firstName} will result in a null pointer exception, 
which in my experience with myfaces, does not display any kind of error 
message but simply causes "weird" behaviour - like buttons not working.


We discussed this a few days ago on [1]

[1] http://www.mail-archive.com/users@myfaces.apache.org/msg22905.html

Regards,

Jeff Bischoff
Kenneth L Kurz & Assoc, Inc.

John Mani wrote:

Hi
 
I am seeing a weird problem:

I have a page that has a toplevel panelGrid with 2 columns.
  In the left column, I have a panelGroup containing a bunch of 
textfields for text entry and

then a commandButton with an associated action
  In the right column, I have a dataTable and a bunch of inputTexts 
below the dataTable.
 
The action for the commandButton in the left panel is called 
"backer.search" and

invokes the search method in the backer bean. I'm logging a message in that
search() method, plus this method does a search and sets up the entries 
to be displayed

in the dataTable in the right column.
 
Now, the inputTexts in the right column have values that go like 
"backer.selection.firstName"
and so on ... where backer.getSelection() returns a Customer object that 
has a getFirstName()

method.
 
The weird behaviour is that: if the above inputTexts have values like 
above : i.e., "backer.selection.firstName"
etc. the commandButton doesn't seem to fire the search() method - the 
log message doesn't get
printed and the dataTable is not filled up. However, if the inputTexts 
have values like
"backer.firstName" (where backer.getFirstName() is a method that returns 
a simple string), the

commandButton does fire the search() method.
 
I'm at a loss - as these two seem completely independent.
 
Sorry for the long and rambling mail, but any clues?
 
-john
 




</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23191.html">Re: where is getScrolling?</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22where+is+getScrolling%5C%3F%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Jim+the+Standing+Bear%22&o=newest&f=1">Jim the Standing Bear</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
Hi Matthias,
 
I tried with tomahawk 1.1.3, but the problem is still there.   Turning AUTO_SCROLL off is not an option, because the tree we have will be over 2 page-lengths, and users would get irritated if it keeps jumping to the top of the page every time they expand or collapse any branch.

 
I have also read the two webpages you pointed me to, but they didn't help either.  I am attaching my web.xml here:  (i have added a couple filter-mapping elements just to follow the forum articles... but they didn't make any differences.

 
 


  "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"  "http://java.sun.com/dtd/web-app_2_3.dtd">

  Workspace Browser      javax.faces.CONFIG_FILES    /WEB-INF/examples-
config.xml      Comma separated list of URIs of (additional) faces config files.  (e.g. /WEB-INF/my-config.xml) See JSF 1.0 PRD2, 10.3.2    
  
      javax.faces.STATE_SAVING_METHOD    server      State saving method: "client" or "server" (= default) See JSF
  Specification 2.5.2      
      org.apache.myfaces.ALLOW_JAVASCRIPT    true      This parameter tells MyFaces if _javascript_ code should be allowed
  in the rendered HTML output. If _javascript_ is allowed,  command_link anchors will have _javascript_ code that submits the  corresponding form. If _javascript_ is not allowed, the state saving  info and nested parameters will be added as url parameters.
  Default: "true"      
      org.apache.myfaces.DETECT_JAVASCRIPT    false      This parameter tells MyFaces if _javascript_ code should be allowed
  in the rendered HTML output. If _javascript_ is allowed,  command_link anchors will have _javascript_ code that submits the  corresponding form. If _javascript_ is not allowed, the state saving  info and nested parameters will be added as url parameters.
  Default: "false"
  Setting this param to true should be combined with  STATE_SAVING_METHOD "server" for best results.
  This is an EXPERIMENTAL feature. You also have to enable the  detector filter/filter mapping below to get _javascript_ detection  working.      

      org.apache.myfaces.PRETTY_HTML    true      If true, rendered HTML code will be formatted, so that it is
  "human readable". i.e. additional line separators and whitespace  will be written, that do not influence the HTML code. Default:  "true"      

      org.apache.myfaces.AUTO_SCROLL    true      If true, a _javascript_ function will be rendered that is able to
  restore the former vertical scroll on every request. Convenient  feature if you have pages with long lists and you do not want the  browser page to always jump to the top if you trigger a link or
  button action that stays on the same page. Default: "false"      
          extensionsFilter      org.apache.myfaces.component.html.util.ExtensionsFilter
          uploadMaxFileSize  100m      Set the size limit for uploaded files. Format: 10 - 10 bytes 10k
    - 10 KB 10m - 10 MB 1g - 1 GB            uploadThresholdSize  100k
      Set the threshold size - files below this limit are stored in    memory, files above this limit are stored on disk.
    Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB            uploadRepositoryPath
  /temp  Set the path where the intermediary files will be stored.        
   extensionsFilter Faces Servlet  
      extensionsFilter    *.jsf        extensionsFilter
    /faces/*  
   extensionsFilter /faces/myFacesExtensionResource/*   
          org.apache.myfaces.webapp.StartupServletContextListener    
  
  
      index.jsf    index.jsp    index.html  

        Faces Servlet    javax.faces.webapp.FacesServlet    1
  
 
            Faces Servlet    /faces/*    
 
        Faces Servlet    *.jsf  
 
On 6/9/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
myfaces_113 should be fine (see MYFACES-1259)Can you try tomahawk 113 instead ?See [1]. But setting that parameter to false should work.
Thx,Matthias[1] http://myfaces.zones.apache.org/dist/maven-repository/org/apache/myfaces/tomahawk/tomahawk/1.1.3/
On 6/8/06, Jim the Standing Bear <[EMAIL PROTECTED]> wrote:>> Hi Matthias,>> I will check those two documents either tomorrow or this weekend. The
> version of myfaces I am using is 1.1.3, and the tomahawk is 1.1.2.  Those> are the stable versions. thanks>> Jim> On 6/8/06, Matthias Wessendorf <
[EMAIL PROTECTED]> wrote:> > Can you set the AUTO_SCROLL param to false`?> >> > See also [1] for more. Maybe there is still some issue w/ MYFACES-1259> > (see [2]).> > Can you check?
> >> > Btw. are you using the *latest* MyFaces? Or a nightly build ?> >> > -Matthias> >> > [1]> 
http://www.mail-archive.com/users@myfaces.apache.org/msg21853.html> > [2] http://issues.apache.org/jira/browse/MYFACES-1259> >> > On 6/8/06, Jim the Standing Bear <
[EMAIL PROTECTED] > wrote:> > >> > > Hi Matthias,> </pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23190.html">Re: Websphere 6</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Websphere+6%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Mert+%C3%87al%C4%B1%C5%9Fkan%22&o=newest&f=1">Mert Çalışkan</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
You can find detailed info here..

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/crun_classload.html


and for the error...
everything is ok in web.xml file for FacesServlet, definition & mapping?

Regards,

Mert
On 6/9/06, Gregg Bolinger <[EMAIL PROTECTED]> wrote:
I think I am getting somewhere.  I am now getting the following error message when trying to access my application.Error 404: SRVE0201E: Servlet [javax.faces.webapp.FacesServlet]: not a servlet classAny ideas?
Thanks.On 6/9/06, Gregg Bolinger <
[EMAIL PROTECTED]> wrote:
Ok, I have done as you described.  I set the war to module
and set it as PARENT_LAST.  And I am having the same issues. 
I am going to bounce and server and see if it solves the problem

On 6/9/06, Gregg Bolinger <[EMAIL PROTECTED]> wrote:


At the moment?  I have none. HA.  This is my first
experience with a full fledged bonafied app server.  I typically
only have to deal with containers like Tomcat.  If you had a link
with information on how to adjust the classloader in the EAR
application file, that would be helpful.  Until then, I'll be
pinging google for it.
Thanks.  Much appreciated.On 6/8/06, Mert Çalışkan <


[EMAIL PROTECTED]> wrote:
If you can determine deployment properties, if you have the rights,
you can specify classloader policy for ear to application and war to module with parent last modes.
when you put all the jars under the web-inf lib of your war, the problem shouldn't arise.
Whats your classloader adjustments at the moment...

Regards,

Mert
On 6/9/06, Gregg Bolinger <[EMAIL PROTECTED]
> wrote:
Um, can you elaborate?Thanks.On 6/8/06, Mert Çalışkan <




[EMAIL PROTECTED]> wrote:
even over the classloader mode and policy? 
if you can adjust them for the ear & war you can solve the problem.

Regards,

MertOn 6/9/06, Gregg Bolinger <





[EMAIL PROTECTED]> wrote:
I know all the issues surrounding running MyFaces in Websphere
6.  I searched this mailing list and found plenty of useful
tips.  However, I am having problems getting any of them to
work.  If I remove jsf-api.jar and ws-jsf.jar then not only does
my app not work, but the server console app stops working.What
I really would like is a solution that doesn't involve doing anything
with the websphere install, if possible. I know, unlikely.  The
thing is that our app will be installed on a Websphere server we have
no control over.  Is this something that is possible?
Thanks.










</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23189.html">RE: Tomahawk Schedule WORKWEEK Problem</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22RE%5C%3A+Tomahawk+Schedule+WORKWEEK+Problem%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Jason+Long%22&o=newest&f=1">Jason Long</a></span>
</div>
<blockquote><span class="msgFragment"><pre>








Anyone else having this problem?

 



Thank you for your time,

 

Jason Long

CEO and Chief Software Engineer

BS Physics, MS Chemical Engineering

http://www.supernovasoftware.com

HJBUG Founder and President

http://www.hjbug.com











From: Jason Long
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 07, 2006
10:55 AM
To: 'MyFaces Discussion'
Subject: Tomahawk Schedule
WORKWEEK Problem



 

I am using MyFaces 1.1.4 Snapshot and Tomahawk 1.1.4
Snapshot.

 

I am experimenting with the schedule component.  When I
set mode to SimpleScheduleModel.WORKWEEK the calendar does not display. 
All other modes seem to work.  Is there some additional setup required for
this mode?

 

Thank you for your time,

 

Jason Long

CEO and Chief Software Engineer

BS Physics, MS Chemical Engineering

http://www.supernovasoftware.com

HJBUG Founder and President

http://www.hjbug.com

 







</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23188.html">RE: cant get simple tobago tree example to work</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22RE%5C%3A+cant+get+simple+tobago+tree+example+to+work%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Showers%2C+Cory+R%22&o=newest&f=1">Showers, Cory R</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
I am using Tobago-core-1.0.7  I notice also in the error it tries call 
scarborough renderer but I am using speyside. 


  
speyside
  

  org/apache/myfaces/tobago/renderkit


Can u see if it works with 1.0.7?

-Original Message-
From: Arvid Hülsebus [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 12:48 PM
To: MyFaces Discussion
Subject: Re: cant get simple tobago tree example to work

Hello,

which version of Tobago are you using? I copied your stuff into the
blank example (current Subversion trunk, 1.0.8-SNAPSHOT) and it seems to
work -- at least after adding an empty TreeEditor class.

Regards,
Arvid

Showers, Cory R wrote:
>
> I'm trying to create the simple Tobago tree from the demo and I am
> getting an error. What am I doing wrong?
>
> Here is the error:
>
> 10:54:34,617 WARN [TreeNodeRenderer] name = null
>
> 10:54:34,617 ERROR [RendererBase] catched _RuntimeException_ :
>
> _java.lang.NullPointerException_
>
> at
> org.apache.myfaces.tobago.model.TreeState.isMarked(_TreeState.java:102_)
>
> at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.TreeNodeRenderer.encodeBeginTobago(_TreeNodeRenderer.java:252_)
>
> at
> org.apache.myfaces.tobago.renderkit.RendererBase.encodeBegin(_RendererBase.java:64_)
>
> at
> javax.faces.component.UIComponentBase.encodeBegin(_UIComponentBase.java:512_)
>
> at
> org.apache.myfaces.tobago.renderkit.RenderUtil.encode(_RenderUtil.java:80_)
>
> at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.TreeRenderer.getNodesAsJavascript(_TreeRenderer.java:236_)
>
> at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.TreeRenderer.createJavascript(_TreeRenderer.java:215_)
>
> at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.TreeRenderer.encodeEndTobago(_TreeRenderer.java:172_)
>
> at
> org.apache.myfaces.tobago.renderkit.RendererBase.encodeEnd(_RendererBase.java:103_)
>
> at
> javax.faces.component.UIComponentBase.encodeEnd(_UIComponentBase.java:536_)
>
> at
> org.apache.myfaces.tobago.renderkit.RenderUtil.encode(_RenderUtil.java:90_)
>
> at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.encodeChildrenOfComponent(_GridLayoutRenderer.java:286_)
>
> at
> org.apache.myfaces.tobago.component.UILayout.encodeChildrenOfComponent(_UILayout.java:72_)
>
> at
> org.apache.myfaces.tobago.component.UIGridLayout.encodeChildrenOfComponent(_UIGridLayout.java:259_)
>
> at
> org.apache.myfaces.tobago.component.UIPanel.encodeChildren(_UIPanel.java:44_)
>
> at
> org.apache.myfaces.tobago.renderkit.RenderUtil.encode(_RenderUtil.java:82_)
>
> at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.encodeChildrenOfComponent(_GridLayoutRenderer.java:286_)
>
> at
> org.apache.myfaces.tobago.component.UILayout.encodeChildrenOfComponent(_UILayout.java:72_)
>
> at
> org.apache.myfaces.tobago.component.UIGridLayout.encodeChildrenOfComponent(_UIGridLayout.java:259_)
>
> at
> org.apache.myfaces.tobago.component.UIPanel.encodeChildren(_UIPanel.java:44_)
>
> at
> org.apache.myfaces.tobago.renderkit.RenderUtil.encode(_RenderUtil.java:82_)
>
> at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.DefaultLayoutRenderer.encodeChildrenOfComponent(_DefaultLayoutRenderer.java:55_)
>
> at
> org.apache.myfaces.tobago.component.UILayout.encodeChildrenOfComponent(_UILayout.java:72_)
>
> at
> org.apache.myfaces.tobago.component.UIPanel.encodeChildren(_UIPanel.java:44_)
>
> at
> org.apache.myfaces.tobago.renderkit.RenderUtil.encode(_RenderUtil.java:82_)
>
> at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.DefaultLayoutRenderer.encodeChildrenOfComponent(_DefaultLayoutRenderer.java:55_)
>
> at
> org.apache.myfaces.tobago.component.UILayout.encodeChildrenOfComponent(_UILayout.java:72_)
>
> at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.PageRenderer.encodeEndTobago(_PageRenderer.java:113_)
>
> at
> org.apache.myfaces.tobago.renderkit.RendererBase.encodeEnd(_RendererBase.java:103_)
>
> at
> javax.faces.component.UIComponentBase.encodeEnd(_UIComponentBase.java:536_)
>
> at javax.faces.webapp.UIComponentTag.encodeEnd(_UIComponentTag.java:495_)
>
> at javax.faces.webapp.UIComponentTag.doEndTag(_UIComponentTag.java:363_)
>
> at
> org.apache.myfaces.tobago.taglib.component.TobagoBodyTag.doEndTag(_TobagoBodyTag.java:54_)
>
> at
> org.apache.myfaces.tobago.taglib.component.PageTag.doEndTag(_PageTag.java:55_)
>
> at
> org.apache.jsp.begin_jsp._jspx_meth_tc_page_0(org.apache.jsp.begin_jsp:227)
>
> at
> org.apache.jsp.begin_jsp._jspx_meth_f_view_0(org.apache.jsp.begin_jsp:165)
>
> at org.apache.jsp.begin_jsp._jspService(org.apache.jsp.begin_jsp:128)
>
> at org.apache.jasper.runtime.HttpJspBase.service(_HttpJspBase.java:97_)
>
> at javax.servlet.http.HttpServlet.service(_HttpServlet.java:810_)
>
> at
> org.apache.jasper.servlet.JspServletWrapper.service(_JspServletWrapper.java:322_)
>
> at
> org.apache.jasper.se</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23187.html">RE: How to disable logging?</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22RE%5C%3A+How+to+disable+logging%5C%3F%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22L+Frohman%22&o=newest&f=1">L Frohman</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
You should have a log4j.properties file in your WEB-INF/classes (maybe
somewhere else).
Open the file, and you will see a bunch of lines like

log4j.logger.org.apache.myfaces=debug

The "debug" option gives the most messages (by far)
"info" gives less, and "error" even less (only errors)
Each application may be listed on a different line.
So try changing it until you see only the messages that you want.


-Message d'origine-
De : Ricardo Ramírez [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 9 juin 2006 18:28
À : MyFaces Discussion
Objet : How to disable logging?

I use OC4J (which in turn uses log4j), I get a lot of "INFO" and "WARNING"
messages from myfaces on startup, I do not wish to see them, how do I
disable the messagess (I'd like only to see the errors)?

Any ideas?


</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23186.html">Re: cant get simple tobago tree example to work</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22cant+get+simple+tobago+tree+example+to+work%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Arvid+H%C3%BClsebus%22&o=newest&f=1">Arvid Hülsebus</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
Hello,

which version of Tobago are you using? I copied your stuff into the
blank example (current Subversion trunk, 1.0.8-SNAPSHOT) and it seems to
work -- at least after adding an empty TreeEditor class.

Regards,
Arvid

Showers, Cory R wrote:
>
> I’m trying to create the simple Tobago tree from the demo and I am
> getting an error. What am I doing wrong?
>
> Here is the error:
>
> 10:54:34,617 WARN [TreeNodeRenderer] name = null
>
> 10:54:34,617 ERROR [RendererBase] catched _RuntimeException_ :
>
> _java.lang.NullPointerException_
>
> at
> org.apache.myfaces.tobago.model.TreeState.isMarked(_TreeState.java:102_)
>
> at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.TreeNodeRenderer.encodeBeginTobago(_TreeNodeRenderer.java:252_)
>
> at
> org.apache.myfaces.tobago.renderkit.RendererBase.encodeBegin(_RendererBase.java:64_)
>
> at
> javax.faces.component.UIComponentBase.encodeBegin(_UIComponentBase.java:512_)
>
> at
> org.apache.myfaces.tobago.renderkit.RenderUtil.encode(_RenderUtil.java:80_)
>
> at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.TreeRenderer.getNodesAsJavascript(_TreeRenderer.java:236_)
>
> at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.TreeRenderer.createJavascript(_TreeRenderer.java:215_)
>
> at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.TreeRenderer.encodeEndTobago(_TreeRenderer.java:172_)
>
> at
> org.apache.myfaces.tobago.renderkit.RendererBase.encodeEnd(_RendererBase.java:103_)
>
> at
> javax.faces.component.UIComponentBase.encodeEnd(_UIComponentBase.java:536_)
>
> at
> org.apache.myfaces.tobago.renderkit.RenderUtil.encode(_RenderUtil.java:90_)
>
> at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.encodeChildrenOfComponent(_GridLayoutRenderer.java:286_)
>
> at
> org.apache.myfaces.tobago.component.UILayout.encodeChildrenOfComponent(_UILayout.java:72_)
>
> at
> org.apache.myfaces.tobago.component.UIGridLayout.encodeChildrenOfComponent(_UIGridLayout.java:259_)
>
> at
> org.apache.myfaces.tobago.component.UIPanel.encodeChildren(_UIPanel.java:44_)
>
> at
> org.apache.myfaces.tobago.renderkit.RenderUtil.encode(_RenderUtil.java:82_)
>
> at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.encodeChildrenOfComponent(_GridLayoutRenderer.java:286_)
>
> at
> org.apache.myfaces.tobago.component.UILayout.encodeChildrenOfComponent(_UILayout.java:72_)
>
> at
> org.apache.myfaces.tobago.component.UIGridLayout.encodeChildrenOfComponent(_UIGridLayout.java:259_)
>
> at
> org.apache.myfaces.tobago.component.UIPanel.encodeChildren(_UIPanel.java:44_)
>
> at
> org.apache.myfaces.tobago.renderkit.RenderUtil.encode(_RenderUtil.java:82_)
>
> at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.DefaultLayoutRenderer.encodeChildrenOfComponent(_DefaultLayoutRenderer.java:55_)
>
> at
> org.apache.myfaces.tobago.component.UILayout.encodeChildrenOfComponent(_UILayout.java:72_)
>
> at
> org.apache.myfaces.tobago.component.UIPanel.encodeChildren(_UIPanel.java:44_)
>
> at
> org.apache.myfaces.tobago.renderkit.RenderUtil.encode(_RenderUtil.java:82_)
>
> at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.DefaultLayoutRenderer.encodeChildrenOfComponent(_DefaultLayoutRenderer.java:55_)
>
> at
> org.apache.myfaces.tobago.component.UILayout.encodeChildrenOfComponent(_UILayout.java:72_)
>
> at
> org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.PageRenderer.encodeEndTobago(_PageRenderer.java:113_)
>
> at
> org.apache.myfaces.tobago.renderkit.RendererBase.encodeEnd(_RendererBase.java:103_)
>
> at
> javax.faces.component.UIComponentBase.encodeEnd(_UIComponentBase.java:536_)
>
> at javax.faces.webapp.UIComponentTag.encodeEnd(_UIComponentTag.java:495_)
>
> at javax.faces.webapp.UIComponentTag.doEndTag(_UIComponentTag.java:363_)
>
> at
> org.apache.myfaces.tobago.taglib.component.TobagoBodyTag.doEndTag(_TobagoBodyTag.java:54_)
>
> at
> org.apache.myfaces.tobago.taglib.component.PageTag.doEndTag(_PageTag.java:55_)
>
> at
> org.apache.jsp.begin_jsp._jspx_meth_tc_page_0(org.apache.jsp.begin_jsp:227)
>
> at
> org.apache.jsp.begin_jsp._jspx_meth_f_view_0(org.apache.jsp.begin_jsp:165)
>
> at org.apache.jsp.begin_jsp._jspService(org.apache.jsp.begin_jsp:128)
>
> at org.apache.jasper.runtime.HttpJspBase.service(_HttpJspBase.java:97_)
>
> at javax.servlet.http.HttpServlet.service(_HttpServlet.java:810_)
>
> at
> org.apache.jasper.servlet.JspServletWrapper.service(_JspServletWrapper.java:322_)
>
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(_JspServlet.java:314_)
>
> at org.apache.jasper.servlet.JspServlet.service(_JspServlet.java:264_)
>
> at javax.servlet.http.HttpServlet.service(_HttpServlet.java:810_)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(_ApplicationFilterChain.java:252_)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(_ApplicationFilterChain.java:173_)</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23185.html">Re: info</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22info%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Matthias+Wessendorf%22&o=newest&f=1">Matthias Wessendorf</a></span>
</div>
<blockquote><span class="msgFragment"><pre>

hu ?

On 6/9/06, Ricardo Ramírez <[EMAIL PROTECTED]> wrote:

info





--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23184.html">info</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22info%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Ricardo+Ram%C3%ADrez%22&o=newest&f=1">Ricardo Ramírez</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
info


</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23183.html">How to disable logging?</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22How+to+disable+logging%5C%3F%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Ricardo+Ram%C3%ADrez%22&o=newest&f=1">Ricardo Ramírez</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
I use OC4J (which in turn uses log4j), I get a lot of "INFO" and
"WARNING" messages from myfaces on startup, I do not wish to see them,
how do I disable the messagess (I'd like only to see the errors)?

Any ideas?


</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23182.html">Re: Location of myfaces-all.jar is 1.1.3</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Location+of+myfaces%5C-all.jar+is+1.1.3%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Matthias+Wessendorf%22&o=newest&f=1">Matthias Wessendorf</a></span>
</div>
<blockquote><span class="msgFragment"><pre>

we now have

-myfaces-api (javax.faces.***)
-myfaces-impl (the impl stuff org.apache.myfaces.***)
-tomahawk-VERSION (if you like ;))
-sandbox-VERSION (if you like too ;))

-Matthias

On 6/9/06, Martin Marinschek <[EMAIL PROTECTED]> wrote:

Hi Greg,

it has been discontinued.

regards,

Martin


On 6/9/06, Borek, Greg <[EMAIL PROTECTED] > wrote:
> I can't seem to find myfaces-all.jar.  Was it discontinued?
>
> -gmb
>



--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces



--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23181.html">Re: If I have a component that is rendered by an ActionEvent, how to I keep the component rendered on the page if I rerun the even?</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22If+I+have+a+component+that+is+rendered+by+an+ActionEvent%2C+how+to+I+keep+the+component+rendered+on+the+page+if+I+rerun+the+even%5C%3F%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Matthias+Wessendorf%22&o=newest&f=1">Matthias Wessendorf</a></span>
</div>
<blockquote><span class="msgFragment"><pre>

just a quick guess:

-try to remove the renderResponse()
-use immidate="true" on the commandButton, which is invoking your actionListener

On 6/9/06, Todd Patrick <[EMAIL PROTECTED]> wrote:



I have the following tree2 (that is working... horray!) that is displayed
based on a call to an ActionEvent:



In my backing bean, I have the following code defined:

private boolean displaytree;

public boolean isDisplaytree() {
return displaytree;
}

public void setDisplaytree(boolean _displaytree) {
this.displaytree = _displaytree;
}

public void transTypeSelected(ActionEvent event) {
...
this.displaytree = !this.displaytree;
FacesContext.getCurrentInstance().renderResponse();
}

When I click on the h:commandButton:



Everything displays as I expected.

The second time I click on the h:commandButton, I return an error
"java.lang.IllegalArgumentException: Unable to locate facet
with the name: index"; which basically breaks my TreeNodeBase:

TreeNode treeData = new TreeNodeBase("index", "Transactions", false);

I believe that after I set the displaytree value (rendered) to true then
back to false, my Java tree code can't find the tree2 component.

Thoughts on how to fix this, do I just refresh the tree? How do I accomplish
that?

Thanks,

--Todd



--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23180.html">How to disable logging?</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22How+to+disable+logging%5C%3F%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Ricardo+Ram%C3%ADrez%22&o=newest&f=1">Ricardo Ramírez</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
I use OC4J (which in turn uses log4j), I get a lot of "INFO" and
"WARNING" messages from myfaces on startup, I do not wish to see them,
how do I disable the messagess (I'd like only to see the errors)?

Any ideas?


</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23179.html">Re: Location of myfaces-all.jar is 1.1.3</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Location+of+myfaces%5C-all.jar+is+1.1.3%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Martin+Marinschek%22&o=newest&f=1">Martin Marinschek</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
Hi Greg,it has been discontinued.regards,MartinOn 6/9/06, Borek, Greg <[EMAIL PROTECTED]
> wrote:I can't seem to find myfaces-all.jar.  Was it discontinued?-gmb
-- http://www.irian.atYour JSF powerhouse - JSF Consulting, Development and Courses in English and GermanProfessional Support for Apache MyFaces

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23178.html">Location of myfaces-all.jar is 1.1.3</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Location+of+myfaces%5C-all.jar+is+1.1.3%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Borek%2C+Greg%22&o=newest&f=1">Borek, Greg</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
I can't seem to find myfaces-all.jar.  Was it discontinued?

-gmb

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23177.html">Re: Websphere 6</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Websphere+6%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Gregg+Bolinger%22&o=newest&f=1">Gregg Bolinger</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
I think I am getting somewhere.  I am now getting the following error message when trying to access my application.Error 404: SRVE0201E: Servlet [javax.faces.webapp.FacesServlet]: not a servlet classAny ideas?
Thanks.On 6/9/06, Gregg Bolinger <[EMAIL PROTECTED]> wrote:
Ok, I have done as you described.  I set the war to module and set it as PARENT_LAST.  And I am having the same issues.  I am going to bounce and server and see if it solves the problem

On 6/9/06, Gregg Bolinger <[EMAIL PROTECTED]> wrote:

At the moment?  I have none. HA.  This is my first experience with a full fledged bonafied app server.  I typically only have to deal with containers like Tomcat.  If you had a link with information on how to adjust the classloader in the EAR application file, that would be helpful.  Until then, I'll be pinging google for it.
Thanks.  Much appreciated.On 6/8/06, Mert Çalışkan <

[EMAIL PROTECTED]> wrote:
If you can determine deployment properties, if you have the rights,
you can specify classloader policy for ear to application and war to module with parent last modes.
when you put all the jars under the web-inf lib of your war, the problem shouldn't arise.
Whats your classloader adjustments at the moment...

Regards,

Mert
On 6/9/06, Gregg Bolinger <[EMAIL PROTECTED]
> wrote:
Um, can you elaborate?Thanks.On 6/8/06, Mert Çalışkan <



[EMAIL PROTECTED]> wrote:
even over the classloader mode and policy? 
if you can adjust them for the ear & war you can solve the problem.

Regards,

MertOn 6/9/06, Gregg Bolinger <




[EMAIL PROTECTED]> wrote:
I know all the issues surrounding running MyFaces in Websphere
6.  I searched this mailing list and found plenty of useful
tips.  However, I am having problems getting any of them to
work.  If I remove jsf-api.jar and ws-jsf.jar then not only does
my app not work, but the server console app stops working.What
I really would like is a solution that doesn't involve doing anything
with the websphere install, if possible. I know, unlikely.  The
thing is that our app will be installed on a Websphere server we have
no control over.  Is this something that is possible?
Thanks.









</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23176.html">If I have a component that is rendered by an ActionEvent, how to I keep the component rendered on the page if I rerun the even?</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22If+I+have+a+component+that+is+rendered+by+an+ActionEvent%2C+how+to+I+keep+the+component+rendered+on+the+page+if+I+rerun+the+even%5C%3F%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Todd+Patrick%22&o=newest&f=1">Todd Patrick</a></span>
</div>
<blockquote><span class="msgFragment"><pre>



I have the following 
tree2 (that is working... horray!) that is displayed based on a call to an 
ActionEvent:
 
id="clientTree"value="#{tbrowser.treeData}"var="node"varNodeToggler="t"showRootNode="false"rendered="#{tbrowser.displaytree}">
 
In my backing bean, 
I have the following code defined:
 
private boolean 
displaytree;
 
public boolean 
isDisplaytree() {    return 
displaytree;}    public void setDisplaytree(boolean 
_displaytree) {    this.displaytree = 
_displaytree;}
 
public void 
transTypeSelected(ActionEvent event) {
...
    
this.displaytree = !this.displaytree;
    
FacesContext.getCurrentInstance().renderResponse();
}
 
When I click on the 
h:commandButton:
 

 
Everything displays 
as I expected.
 
The second time I 
click on the h:commandButton, I return an error 
"java.lang.IllegalArgumentException: Unable to locate facet with the name: 
index"; which basically breaks my TreeNodeBase:
 
TreeNode treeData 
= new TreeNodeBase("index", "Transactions", false);
 
I believe that after 
I set the displaytree value (rendered) to true then back to false, my Java 
tree code can't find the tree2 component.
 
Thoughts on how to 
fix this, do I just refresh the tree? How do I accomplish 
that?
 
Thanks,
 
--Todd

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23175.html">Re: Websphere 6</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Websphere+6%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Gregg+Bolinger%22&o=newest&f=1">Gregg Bolinger</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
Ok, I have done as you described.  I set the war to module and set it as PARENT_LAST.  And I am having the same issues.  I am going to bounce and server and see if it solves the problem
On 6/9/06, Gregg Bolinger <[EMAIL PROTECTED]> wrote:
At the moment?  I have none. HA.  This is my first experience with a full fledged bonafied app server.  I typically only have to deal with containers like Tomcat.  If you had a link with information on how to adjust the classloader in the EAR application file, that would be helpful.  Until then, I'll be pinging google for it.
Thanks.  Much appreciated.On 6/8/06, Mert Çalışkan <
[EMAIL PROTECTED]> wrote:
If you can determine deployment properties, if you have the rights,
you can specify classloader policy for ear to application and war to module with parent last modes.
when you put all the jars under the web-inf lib of your war, the problem shouldn't arise.
Whats your classloader adjustments at the moment...

Regards,

Mert
On 6/9/06, Gregg Bolinger <[EMAIL PROTECTED]
> wrote:
Um, can you elaborate?Thanks.On 6/8/06, Mert Çalışkan <


[EMAIL PROTECTED]> wrote:
even over the classloader mode and policy? 
if you can adjust them for the ear & war you can solve the problem.

Regards,

MertOn 6/9/06, Gregg Bolinger <



[EMAIL PROTECTED]> wrote:
I know all the issues surrounding running MyFaces in Websphere
6.  I searched this mailing list and found plenty of useful
tips.  However, I am having problems getting any of them to
work.  If I remove jsf-api.jar and ws-jsf.jar then not only does
my app not work, but the server console app stops working.What
I really would like is a solution that doesn't involve doing anything
with the websphere install, if possible. I know, unlikely.  The
thing is that our app will be installed on a Websphere server we have
no control over.  Is this something that is possible?
Thanks.








</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23174.html">Re: Websphere 6</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Websphere+6%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Gregg+Bolinger%22&o=newest&f=1">Gregg Bolinger</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
At the moment?  I have none. HA.  This is my first experience with a full fledged bonafied app server.  I typically only have to deal with containers like Tomcat.  If you had a link with information on how to adjust the classloader in the EAR application file, that would be helpful.  Until then, I'll be pinging google for it.
Thanks.  Much appreciated.On 6/8/06, Mert Çalışkan <[EMAIL PROTECTED]> wrote:
If you can determine deployment properties, if you have the rights,
you can specify classloader policy for ear to application and war to module with parent last modes.
when you put all the jars under the web-inf lib of your war, the problem shouldn't arise.
Whats your classloader adjustments at the moment...

Regards,

Mert
On 6/9/06, Gregg Bolinger <[EMAIL PROTECTED]
> wrote:
Um, can you elaborate?Thanks.On 6/8/06, Mert Çalışkan <

[EMAIL PROTECTED]> wrote:
even over the classloader mode and policy? 
if you can adjust them for the ear & war you can solve the problem.

Regards,

MertOn 6/9/06, Gregg Bolinger <


[EMAIL PROTECTED]> wrote:
I know all the issues surrounding running MyFaces in Websphere
6.  I searched this mailing list and found plenty of useful
tips.  However, I am having problems getting any of them to
work.  If I remove jsf-api.jar and ws-jsf.jar then not only does
my app not work, but the server console app stops working.What
I really would like is a solution that doesn't involve doing anything
with the websphere install, if possible. I know, unlikely.  The
thing is that our app will be installed on a Websphere server we have
no control over.  Is this something that is possible?
Thanks.







</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23173.html">Re: Form value update headache ( via ValueChangeEvent )</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Form+value+update+headache+%5C%28+via+ValueChangeEvent+%5C%29%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Mikael+Andersson%22&o=newest&f=1">Mikael Andersson</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
I had to put that "form data chaning" dropdown outside of the form to get it working, but I would much rather have it inside the main form "in context".So please if anyone has a solution to my problem, I am very interested ( if I need to clarify something please ask as well).
MickeOn 08/06/06, Mikael Andersson <[EMAIL PROTECTED]> wrote:
Hi,I am quite new to JSF and don't quite know how to sort out the following.I have a page with quite a lot of forms (unholy mix of input and select fields), the backing bean has a Spring managed object containing a all the data that populates the form fields. I have several different beans defined for that Spring managed object depending on which predefiend form field values to display.
What I am trying to do is having a selectOneMeny to choose between predefined values for the form fields, and by selecting one have a ValueChangeEvent created which sets the Spring managed object to the specified one. My problem is that the even though the object populating the form fields change the form values doesn't change. ( submitting the form the moment a selection is done,  )
I know that the proper object is being set, printing its toString().I guess this is related to the lifecylcle and the fact that apply request values phase isn't executed?Code for ValueChangeEvent :

public void loadCannedQuery(ValueChangeEvent e) throws AbortProcessingException {        log.info("In ValueChanged handler: loadCannedQuery");        UIComponent comp = e.getComponent( );

        cannedQuery = (String)e.getNewValue();        loadCannedQuery();        //Skipp validations...        ctx.renderResponse();}Is there some other way of by passing the validations besides calling renderResponse() ?
Read about the valueChangeNotifier in the sandbox, but I am using Facelets and that tag doesn't seem to work with Faclets currently.Hope the above makes sense :)Thanks- Micke



</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23172.html">Re: Conversion Error on Validation - Trying Something New</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Conversion+Error+on+Validation+%5C-+Trying+Something+New%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Gregg+Bolinger%22&o=newest&f=1">Gregg Bolinger</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
Gave it a shot.  That is pretty nice.  I was actually able to set the entire user object in my ModifyUserBean vs individual properties of that object as the wiki has for it's example.  Not too shabby. Thanks for the tip.
GreggOn 6/9/06, Gregg Bolinger <[EMAIL PROTECTED]> wrote:
Thanks for the link.  That looks interesting.  I might try that and see if it clean up my code any.  Although, it would appear that it is doing the same thing I am doing now, but in the JSP rather than me doing it in my java code.
Thanks again.On 6/9/06, Matthias Wessendorf <
[EMAIL PROTECTED]> wrote:
Gregg,have you tried to use the "updateActionListener" for some master/detail stuff?It works pretty good!

http://wiki.apache.org/myfaces/ExecutingMethodsFromLinkButtonParameters-MatthiasOn 6/9/06, Gregg Bolinger <
[EMAIL PROTECTED]> wrote:> What I've discovered is that if in the constructor I do setCurrentUser(new
> User()), then when the values are being repopulated on a validation errror,> there is an object to apply those values to.>> I guess what is sort of confusing me is the fact that, realizing how request
> scope works, everytime the form is submitted a new copy of said managed bean> is being created.  Although I was under the impression that the request is> being forwarded unless the REDIRECT tag is used in the faces-config for the
> bean declaration and that the managed bean would be forwared along with that> request.  However, would it be a true statement to say that the properties> of the backing bean are persisted across the request, but that the actual
> backing bean object is not?>> Thanks.>>> On 6/9/06, Gregg Bolinger <
[EMAIL PROTECTED]> wrote:> >> > I am currently trying something that I haven't seen anyone else do
> (doesn't mean someone else isn't doing it).  In UserAdminBean I have a> dataTable with a list of users.  When I click on one of the users in the> dataTable I am taken to ModifyUser.jsp which uses ModifyUserBean.
> >> > In the action method in UserAdminBean to go to ModifyUser, I am doing the> following:> >> > User user = (User)getUserData().getRowData();> > FacesContext fc = 
FacesContext.getCurrentInstance ();> > ModifyUserBean userBean = (ModifyUserBean)> fc.getApplication().createValueBinding("#{ModifyUserBean}").getValue(fc);> > userBean.setCurrentUser
(user);
> >> > Now, in ModifyUser.jsp I have the following:> >> > > >
> > > > > value="#{ModifyUserBean.currentUser.firstName }"> required="true"/>> >> > When the page first comes up, the firstName field is populated
> appropriatly.  However, when I try and submit the form, I get a conversion> error on firstName.  I *think* it's because when the form is being validated> the currentUser object has been lost out of scope and so that phase is
> getting NULL back for the value of firstName.  Is this accurate?  If so, is> there anything I can do to make this process work aside from putting things> in session.> >> > I've also tried placing a saveState on the ModifyUser form with a value of
> #{ManageUserForm.currentUser} but that didn't solve anything.> >> > Thanks for any feedback.> >> >>>--Matthias WessendorfAechterhoek 18

48282 Emsdettenblog: http://jroller.com/page/mwessendorfmail: mwessendorf-at-gmail-dot-com




</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23171.html">RE: How does DefaultTreeModel and HtmlTree relate?</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22RE%5C%3A+How+does+DefaultTreeModel+and+HtmlTree+relate%5C%3F%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Todd+Patrick%22&o=newest&f=1">Todd Patrick</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
Matthias: Thank you, that demonstrated a lot of what I was looking for.

--Todd 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Matthias Wessendorf
Sent: Thursday, June 08, 2006 9:31 PM
To: MyFaces Discussion
Subject: Re: How does DefaultTreeModel and HtmlTree relate?

hey Todd,

this looks like a tool for you ([1]).

But please note, the MyFaces community is NOT the creator (in case of
broken documentation)

-Matthias

[1] http://jroller.com/page/RickHigh/20060602



On 6/8/06, Todd Patrick <[EMAIL PROTECTED]> wrote:
> Sean:
>
> Thank you for the follow-up...
>
> I'd wish that the mail archive wasn't the answer to a lot of questions

> or a source of examples.
>
> http://www.mail-archive.com/ is sometimes very slow and with a hot 
> deadline - somewhat a production killer and definitely a motivation 
> killer.
>
> This isn't a bash on MyFaces, just my opinion.
>
> Thanks,
>
> --Todd
>
> -Original Message-
> From: Sean Schofield [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 08, 2006 4:25 PM
> To: MyFaces Discussion
> Subject: Re: How does DefaultTreeModel and HtmlTree relate?
>
> There are a lot of users here who have done dynamic tree models 
> without subclassing tree.  Take a look at some of the archive posts on

> dynamic trees for some ideas.  I haven't done it myself so I'm not the

> best person to comment on that.
>
> Sean
>
> On 6/8/06, Todd Patrick <[EMAIL PROTECTED]> wrote:
> > Sean:
> >
> > The big reason is I have a third-party method that returns a list of

> > *any number* of transactions, it could 4 or 30:
> >
> > Transaction 1
> > Transaction 2
> > Transaction 3
> > Transaction 4
> >
> > Not knowing the number or the number of transactions always changes 
> > is
>
> > the challenge.
> >
> > The other change is each Transaction has *any number* of child 
> > transactions.
> >
> > Transaction 1
> > |_ Child Transaction 1
> > |_ Child Transaction 1
> > Transaction 2
> > |_ Child Transaction 2
> > Transaction 3
> > |_ Child Transaction 3
> > |_ Child Transaction 3
> > |_ Child Transaction 3 Transaction 4
> > |_ Child Transaction 4
> >
> >
> > Thus, I need to dynamically create the list of transactions and when

> > I click on a transaction I need to figure out how to run an event 
> > that gets the child transaction. When I click on the child 
> > transaction, I need to get it's child as well...
> >
> > That's why a lack of documentation had me pulling my hair out at
> first.
> >
> > I am slowly figuring out a solution...
> >
> > Thanks,
> >
> > --Todd
> >
> >
> >
> >
> >
> > -Original Message-
> > From: Sean Schofield [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, June 07, 2006 6:20 PM
> > To: MyFaces Discussion
> > Subject: Re: How does DefaultTreeModel and HtmlTree relate?
> >
> > Just out of curiosity, why are you creating an HtmlTree in java
code?
> > Normally you would just use the JSP tags and backing beans or extend
> one
> > of the classes.  Creating it directly seems strange but I'm sure you

> > have your reasons.
> >
> > Sean
> >
> > On 6/7/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> > > Ok, you can post it here before.
> > > but wiki has also *notification* mails, when sb. addes content to
> it.
> > >
> > > Sounds good to me. Looking forward to see your work.
> > >
> > > -Matthias
> > >
> > > On 6/7/06, Todd Patrick <[EMAIL PROTECTED]> wrote:
> > > > Matthias: Already ahead of you on that.
> > > >
> > > > I'm documenting as I develop and learn all about the HtmlTree.
> > > >
> > > > I really didn't mean to complain, (Sorry, I guess I did...) - 
> > > > it's just important that information on how to use *ALL* of 
> > > > MyFaces is
> > available.
> > > >
> > > > Not just "Hello World" crap.
> > > >
> > > > My $.02
> > > >
> > > > Anyways, I'll submit my documentation here first before I post 
> > > > it too the WIKI.
> > > >
> > > > Thanks,
> > > >
> > > > --Todd
> > > >
> > > >
> > > >
> > > > -Original Message-
> > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf
> >
> > > > Of Matthias Wessendorf
> > > > Sent: Wednesday, June 07, 2006 4:53 PM
> > > > To: MyFaces Discussion
> > > > Subject: Re: How does DefaultTreeModel and HtmlTree relate?
> > > >
> > > > Todd-
> > > >
> > > > cool that you figured out how things are working.
> > > > since you complain about lack of documentation, I'd like to ask
> you
> > > > to help out in this area. Can you go ahead an create some 
> > > > documentation in our wiki ?
> > > >
> > > > Thanks,
> > > > Matthias
> > > >
> > > > On 6/7/06, Todd Patrick <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > >
> > > > > Ok, I think this would work:
> > > > >
> > > > > HtmlTree tree = (HtmlTree)
> > > > > application.createComponent(HtmlTree.COMPONENT_TYPE);
> > > > >
> > > > >
> > > >
> tree.setRendererType("org.apache.myfaces.custom.tree.renderkit.html.
> > > > Html
> > > > TreeRenderer");
> > > > > tree.setId("tree");
> > ></pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23170.html">Re: Conversion Error on Validation - Trying Something New</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Conversion+Error+on+Validation+%5C-+Trying+Something+New%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Gregg+Bolinger%22&o=newest&f=1">Gregg Bolinger</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
Thanks for the link.  That looks interesting.  I might try that and see if it clean up my code any.  Although, it would appear that it is doing the same thing I am doing now, but in the JSP rather than me doing it in my java code.
Thanks again.On 6/9/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
Gregg,have you tried to use the "updateActionListener" for some master/detail stuff?It works pretty good!
http://wiki.apache.org/myfaces/ExecutingMethodsFromLinkButtonParameters-MatthiasOn 6/9/06, Gregg Bolinger <[EMAIL PROTECTED]> wrote:> What I've discovered is that if in the constructor I do setCurrentUser(new
> User()), then when the values are being repopulated on a validation errror,> there is an object to apply those values to.>> I guess what is sort of confusing me is the fact that, realizing how request
> scope works, everytime the form is submitted a new copy of said managed bean> is being created.  Although I was under the impression that the request is> being forwarded unless the REDIRECT tag is used in the faces-config for the
> bean declaration and that the managed bean would be forwared along with that> request.  However, would it be a true statement to say that the properties> of the backing bean are persisted across the request, but that the actual
> backing bean object is not?>> Thanks.>>> On 6/9/06, Gregg Bolinger <[EMAIL PROTECTED]> wrote:> >> > I am currently trying something that I haven't seen anyone else do
> (doesn't mean someone else isn't doing it).  In UserAdminBean I have a> dataTable with a list of users.  When I click on one of the users in the> dataTable I am taken to ModifyUser.jsp which uses ModifyUserBean.
> >> > In the action method in UserAdminBean to go to ModifyUser, I am doing the> following:> >> > User user = (User)getUserData().getRowData();> > FacesContext fc = 
FacesContext.getCurrentInstance ();> > ModifyUserBean userBean = (ModifyUserBean)> fc.getApplication().createValueBinding("#{ModifyUserBean}").getValue(fc);> > userBean.setCurrentUser(user);
> >> > Now, in ModifyUser.jsp I have the following:> >> > > >
> > > > > value="#{ModifyUserBean.currentUser.firstName }"> required="true"/>> >> > When the page first comes up, the firstName field is populated
> appropriatly.  However, when I try and submit the form, I get a conversion> error on firstName.  I *think* it's because when the form is being validated> the currentUser object has been lost out of scope and so that phase is
> getting NULL back for the value of firstName.  Is this accurate?  If so, is> there anything I can do to make this process work aside from putting things> in session.> >> > I've also tried placing a saveState on the ModifyUser form with a value of
> #{ManageUserForm.currentUser} but that didn't solve anything.> >> > Thanks for any feedback.> >> >>>--Matthias WessendorfAechterhoek 18
48282 Emsdettenblog: http://jroller.com/page/mwessendorfmail: mwessendorf-at-gmail-dot-com

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23169.html">Need some help with the Schedule Component</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Need+some+help+with+the+Schedule+Component%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Ian+Johnson%22&o=newest&f=1">Ian Johnson</a></span>
</div>
<blockquote><span class="msgFragment"><pre>



I was wondering if 
anyone could give me some advice on how to use the scheduling component for what 
I'm trying to do.
 
I want to be able to 
initialize the component (fill it with entries) but there are some problems 
with doing that in the constructor of the backing bean. This is because 
when I try to get the selected or submitted entry, because 
the model gets reinitialized, I lose the selected 
entry. 
 
Does anyone know the 
best way to do this? 

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23168.html">Re: A doubt on Action & Model Bean</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22A+doubt+on+Action+%5C%26+Model+Bean%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22chandra+sekhar+saripaka%22&o=newest&f=1">chandra sekhar saripaka</a></span>
</div>
<blockquote><span class="msgFragment"><pre>

Hi ,

   Is it a good practice writing a action factory Object for
all the classes and
invoke the factory bean method when ever any action come.I will
encapsulate all my actions in the the Factory Object bean.

   is there a necessity to write the getAction() method for
this purpose.

Regards,
Chandru.

On 6/9/06, Gregg Bolinger <[EMAIL PROTECTED]> wrote:

Typically, you'll have one backing-bean/managed-bean/model bean for each
form.  So all the actions for said form will be declared inside the same
object.

Gregg


On 6/9/06, chandra sekhar saripaka <[EMAIL PROTECTED]> wrote:
> Hi,
>
> What is the best practice to call an action method from the UI
> Component Command Button.
>
> 1)We have to specify it as another Action Bean in the Config file.
>
> This is not working for me.
>
> 2) can we write it in the Model Bean as a method.
> This is working for me.
>
> public class userBean{
>
> ..
>
> public String register()
> {
>
>.The Action Flow..
>  return "success";
>
> }
> }
>
>  "#{userBean.register}">
>
> Thanx In Advance,
>
> Regards,
> Chandru.
>



</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23167.html">Re: Conversion Error on Validation - Trying Something New</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Conversion+Error+on+Validation+%5C-+Trying+Something+New%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Matthias+Wessendorf%22&o=newest&f=1">Matthias Wessendorf</a></span>
</div>
<blockquote><span class="msgFragment"><pre>

Gregg,

have you tried to use the "updateActionListener" for some master/detail stuff?

It works pretty good!

http://wiki.apache.org/myfaces/ExecutingMethodsFromLinkButtonParameters

-Matthias

On 6/9/06, Gregg Bolinger <[EMAIL PROTECTED]> wrote:

What I've discovered is that if in the constructor I do setCurrentUser(new
User()), then when the values are being repopulated on a validation errror,
there is an object to apply those values to.

I guess what is sort of confusing me is the fact that, realizing how request
scope works, everytime the form is submitted a new copy of said managed bean
is being created.  Although I was under the impression that the request is
being forwarded unless the REDIRECT tag is used in the faces-config for the
bean declaration and that the managed bean would be forwared along with that
request.  However, would it be a true statement to say that the properties
of the backing bean are persisted across the request, but that the actual
backing bean object is not?

Thanks.


On 6/9/06, Gregg Bolinger <[EMAIL PROTECTED]> wrote:
>
> I am currently trying something that I haven't seen anyone else do
(doesn't mean someone else isn't doing it).  In UserAdminBean I have a
dataTable with a list of users.  When I click on one of the users in the
dataTable I am taken to ModifyUser.jsp which uses ModifyUserBean.
>
> In the action method in UserAdminBean to go to ModifyUser, I am doing the
following:
>
> User user = (User)getUserData().getRowData();
> FacesContext fc = FacesContext.getCurrentInstance ();
> ModifyUserBean userBean = (ModifyUserBean)
fc.getApplication().createValueBinding("#{ModifyUserBean}").getValue(fc);
> userBean.setCurrentUser(user);
>
> Now, in ModifyUser.jsp I have the following:
>
> 
>
> 
> 
>
> When the page first comes up, the firstName field is populated
appropriatly.  However, when I try and submit the form, I get a conversion
error on firstName.  I *think* it's because when the form is being validated
the currentUser object has been lost out of scope and so that phase is
getting NULL back for the value of firstName.  Is this accurate?  If so, is
there anything I can do to make this process work aside from putting things
in session.
>
> I've also tried placing a saveState on the ModifyUser form with a value of
#{ManageUserForm.currentUser} but that didn't solve anything.
>
> Thanks for any feedback.
>
>





--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23166.html">Re: Character encoding bug?</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Character+encoding+bug%5C%3F%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Hailong+Zhang%22&o=newest&f=1">Hailong Zhang</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
Well, rss.xml is a static xml file. I'm very confused by this problem. It seems that the request "http://localhost:8080/test/rss.xml" has nothing to do with JSF.
But, with myfaces-core-1.1.3 & tomahawk-1.1.2, the Chinese characters in rss.xml can not be displayed correctly.web.xml:        Faces Servlet
        javax.faces.webapp.FacesServlet        0                Faces Servlet
        *.faces            MyFacesExtensionsFilter        org.apache.myfaces.webapp.filter.ExtensionsFilter
                    maxFileSize            20m                
            uploadThresholdSize            100k                        MyFacesExtensionsFilter
        *.faces                MyFacesExtensionsFilter        /faces/*
    2006/6/9, Matthias Wessendorf <[EMAIL PROTECTED]>:
> For example, I request http://localhost:8080/test/rss.xml,> the xml will be displayed but the Chinese characters can not be displayed> correctly.
how has this url do to w/ your JSF app ?To me it looks like a *static* xml file> org.apache.myfaces.component.html.util.ExtensionsFilter anddeprecated-Matthias> org.apache.myfaces.webapp.filter.ExtensionsFilter
?>> Thank you!>--Matthias WessendorfAechterhoek 1848282 Emsdettenblog: http://jroller.com/page/mwessendorfmail: mwessendorf-at-gmail-dot-com


</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23165.html">Re: Are there any problems with using Tomahawk/Sandbox with Facelets?</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Are+there+any+problems+with+using+Tomahawk%5C%2FSandbox+with+Facelets%5C%3F%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Andrew+Robinson%22&o=newest&f=1">Andrew Robinson</a></span>
</div>
<blockquote><span class="msgFragment"><pre>

There is an entire WIKI on facelets + MyFaces[1]. I've been pushing
putting Facelets support into MyFaces so that there would not need to
be extra work, but there is no movement on that front yet.

-Andrew

[1] http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk

On 6/9/06, Kevin Swanson <[EMAIL PROTECTED]> wrote:


I did have a problem with Tomahawk's dataTable where some of its attributes
stopped working when I moved to Facelets. The workaround was pretty easy
though.

See this post for more details:

https://facelets.dev.java.net/servlets/ReadMsg?listName=users&msgNo=2753

--
View this message in context: 
http://www.nabble.com/Are-there-any-problems-with-using-Tomahawk-Sandbox-with-Facelets--t1761742.html#a4793434
Sent from the MyFaces - Users forum at Nabble.com.



</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23164.html">Re: JSF Bundles Problem</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22JSF+Bundles+Problem%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Hazem+Saleh%22&o=newest&f=1">Hazem Saleh</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
Thanks very much I will try that solution and tell you about the results.
On 6/9/06, Mert Çalışkan <[EMAIL PROTECTED]> wrote:


Do you have a character encoding filter to set the character encoding of request and repsonse to UTF-8.
you can use the one in spring (org.springframework.web.filter.CharacterEncodingFilter) , or implement one of your own..
 
Regards,

 
Mert. 

On 6/9/06, Hazem Saleh <[EMAIL PROTECTED]
> wrote: 


I have a question about JSF bundles. I want to use f:loadBundle tag to load the Arabic language but it displays strange characters in the browser. Although 
1. I had converted the bundle file to (UTF-8) instead of (ISO).
2. I've also changed the TomCat catalina.bat to include -Dfile.encoding="UTF-8" when starting Tomcat.3. <%  @ page language="java" pageEncoding="utf8" contentType="text/html; charset=UTF-8"   %> setted the jsp page encoding to UTF-8. 

Have I have to do anything else? or I will have to make my own loadBundle tag library to convert ISO to UTF-8.
Thanks very much

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23163.html">Re: Client-id : ... is duplicated in the faces tree.</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Client%5C-id+%5C%3A+...+is+duplicated+in+the+faces+tree.%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Jeff+Bischoff%22&o=newest&f=1">Jeff Bischoff</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
I ran into this situation on a couple of my pages that had  
statements on them.


The solution for me was to put the same number of JSF components in each 
of the  clauses. So if one clause really needed a JSF tag, and 
the other did not, I just added a  to output the empty 
string in the second clause. This way, the clauses all have the same 
number of JSF components, and the components that come *after* them on 
the page get the same spots on the component tree.


I also had to make sure that all of my components in  clauses 
had explicitly assigned ids, not auto.


This lets me change the structure of the page and redisplay it all I 
want, without navigating elsewhere. I have been using this workaround 
for months, without any further problems.


Don't know if this applies to the page restructuring you are doing, but 
I hope it helps.


Regards,

Jeff Bischoff
Kenneth L Kurz & Assoc, Inc.

octoberdan wrote:

Actually, all you need is to navigate away from the page and then back to the
page.
--
View this message in context: 
http://www.nabble.com/Client-id-%3A-...-is-duplicated-in-the-faces-tree.-t1712357.html#a4684867
Sent from the MyFaces - Users forum at Nabble.com.








</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23162.html">Re: A doubt on Action & Model Bean</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22A+doubt+on+Action+%5C%26+Model+Bean%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Gregg+Bolinger%22&o=newest&f=1">Gregg Bolinger</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
Typically, you'll have one backing-bean/managed-bean/model bean for each form.  So all the actions for said form will be declared inside the same object.GreggOn 6/9/06, 
chandra sekhar saripaka <[EMAIL PROTECTED]> wrote:
Hi,What is the best practice to call an action method from the UIComponent Command Button.1)We have to specify it as another Action Bean in the Config file.This is not working for me.
2) can we write it in the Model Bean as a method.This is working for me.public class userBean{..public String register(){   .The Action Flow.. return "success";
}}"#{userBean.register}">Thanx In Advance,Regards,Chandru.

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23161.html">A doubt on Action & Model Bean</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22A+doubt+on+Action+%5C%26+Model+Bean%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22chandra+sekhar+saripaka%22&o=newest&f=1">chandra sekhar saripaka</a></span>
</div>
<blockquote><span class="msgFragment"><pre>

Hi,

   What is the best practice to call an action method from the UI
Component Command Button.

1)We have to specify it as another Action Bean in the Config file.

This is not working for me.

2) can we write it in the Model Bean as a method.
This is working for me.

public class userBean{

..

public String register()
{

  .The Action Flow..
return "success";

}
}



Thanx In Advance,

Regards,
Chandru.

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23160.html">Re: Conversion Error on Validation - Trying Something New</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Conversion+Error+on+Validation+%5C-+Trying+Something+New%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Gregg+Bolinger%22&o=newest&f=1">Gregg Bolinger</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
What I've discovered is that if in the constructor I do setCurrentUser(new User()), then when the values are being repopulated on a validation errror, there is an object to apply those values to.I guess what is sort of confusing me is the fact that, realizing how request scope works, everytime the form is submitted a new copy of said managed bean is being created.  Although I was under the impression that the request is being forwarded unless the REDIRECT tag is used in the faces-config for the bean declaration and that the managed bean would be forwared along with that request.  However, would it be a true statement to say that the properties of the backing bean are persisted across the request, but that the actual backing bean object is not?
Thanks.On 6/9/06, Gregg Bolinger <[EMAIL PROTECTED]> wrote:
I am currently trying something that I haven't seen anyone else do (doesn't mean someone else isn't doing it).  In UserAdminBean I have a dataTable with a list of users.  When I click on one of the users in the dataTable I am taken to 
ModifyUser.jsp which uses ModifyUserBean.In the action method in UserAdminBean to go to ModifyUser, I am doing the following:User user = (User)getUserData().getRowData();FacesContext fc = FacesContext.getCurrentInstance

();ModifyUserBean userBean = (ModifyUserBean) fc.getApplication().createValueBinding("#{ModifyUserBean}").getValue(fc);userBean.setCurrentUser(user);Now, in ModifyUser.jsp I have the following:

   When the page first comes up, the firstName field is populated appropriatly.  However, when I try and submit the form, I get a conversion error on firstName.  I *think* it's because when the form is being validated the currentUser object has been lost out of scope and so that phase is getting NULL back for the value of firstName.  Is this accurate?  If so, is there anything I can do to make this process work aside from putting things in session.
I've also tried placing a saveState on the ModifyUser form with a value of #{ManageUserForm.currentUser} but that didn't solve anything.Thanks for any feedback.                



</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23159.html">Exception while calling the Action method</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Exception+while+calling+the+Action+method%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22chandra+sekhar+saripaka%22&o=newest&f=1">chandra sekhar saripaka</a></span>
</div>
<blockquote><span class="msgFragment"><pre>

Hi,

   I  am new to JSF. Can any one please solve this for me.What might
be my mistake in doing this.

exception

javax.servlet.ServletException: Error calling action method of
component with id userForm:_idJsp7
javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

root cause

javax.faces.FacesException: Error calling action method of component
with id userForm:_idJsp7

org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
javax.faces.component.UICommand.broadcast(UICommand.java:106)
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)

org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)

org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

Thanx in Advance.
Regards,
Chandru

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23158.html">Conversion Error on Validation - Trying Something New</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Conversion+Error+on+Validation+%5C-+Trying+Something+New%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Gregg+Bolinger%22&o=newest&f=1">Gregg Bolinger</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
I am currently trying something that I haven't seen anyone else do (doesn't mean someone else isn't doing it).  In UserAdminBean I have a dataTable with a list of users.  When I click on one of the users in the dataTable I am taken to 
ModifyUser.jsp which uses ModifyUserBean.In the action method in UserAdminBean to go to ModifyUser, I am doing the following:User user = (User)getUserData().getRowData();FacesContext fc = FacesContext.getCurrentInstance
();ModifyUserBean userBean = (ModifyUserBean) fc.getApplication().createValueBinding("#{ModifyUserBean}").getValue(fc);userBean.setCurrentUser(user);Now, in ModifyUser.jsp I have the following:
   When the page first comes up, the firstName field is populated appropriatly.  However, when I try and submit the form, I get a conversion error on firstName.  I *think* it's because when the form is being validated the currentUser object has been lost out of scope and so that phase is getting NULL back for the value of firstName.  Is this accurate?  If so, is there anything I can do to make this process work aside from putting things in session.
I've also tried placing a saveState on the ModifyUser form with a value of #{ManageUserForm.currentUser} but that didn't solve anything.Thanks for any feedback.                

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23157.html">Re: Are there any problems with using Tomahawk/Sandbox with Facelets?</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Are+there+any+problems+with+using+Tomahawk%5C%2FSandbox+with+Facelets%5C%3F%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Kevin+Swanson%22&o=newest&f=1">Kevin Swanson</a></span>
</div>
<blockquote><span class="msgFragment"><pre>

I did have a problem with Tomahawk's dataTable where some of its attributes
stopped working when I moved to Facelets. The workaround was pretty easy
though.

See this post for more details:

https://facelets.dev.java.net/servlets/ReadMsg?listName=users&msgNo=2753

--
View this message in context: 
http://www.nabble.com/Are-there-any-problems-with-using-Tomahawk-Sandbox-with-Facelets--t1761742.html#a4793434
Sent from the MyFaces - Users forum at Nabble.com.


</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23156.html">Re: Are there any problems with using Tomahawk/Sandbox with Facelets?</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Are+there+any+problems+with+using+Tomahawk%5C%2FSandbox+with+Facelets%5C%3F%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22octoberdan%22&o=newest&f=1">octoberdan</a></span>
</div>
<blockquote><span class="msgFragment"><pre>

<_rogerio_> octoberdan: I use tomahawk and sandbox components with facelets
without any problem

Thanks!
--
View this message in context: 
http://www.nabble.com/Are-there-any-problems-with-using-Tomahawk-Sandbox-with-Facelets--t1761742.html#a4793285
Sent from the MyFaces - Users forum at Nabble.com.


</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23155.html">Are there any problems with using Tomahawk/Sandbox with Facelets?</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Are+there+any+problems+with+using+Tomahawk%5C%2FSandbox+with+Facelets%5C%3F%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22octoberdan%22&o=newest&f=1">octoberdan</a></span>
</div>
<blockquote><span class="msgFragment"><pre>

Are there any problems with using Tomahawk/Sandbox with Facelets? I'm
thinking about making the switch.. is there any thing special I need to do?

Any guidence would be greatly appreciated

Thank you for your time,

-O.D.
--
View this message in context: 
http://www.nabble.com/Are-there-any-problems-with-using-Tomahawk-Sandbox-with-Facelets--t1761742.html#a4793105
Sent from the MyFaces - Users forum at Nabble.com.


</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23154.html">RE: Can Sandbox components be used in production app?</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22RE%5C%3A+Can+Sandbox+components+be+used+in+production+app%5C%3F%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Frank+Russo%22&o=newest&f=1">Frank Russo</a></span>
</div>
<blockquote><span class="msgFragment"><pre>



That is probably the best approach. As long as you've 
tested that the component works in your app, and you stay with that version 
until you've fully tested newer ones, you should be fine...
 
Frank 
RussoSenior DeveloperFX Alliance, LLC
 


From: Julian Ray [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 5:48 AMTo: 'MyFaces 
Discussion'Subject: RE: Can Sandbox components be used in production 
app?

We use sandbox compoenns but to control the process we have 
the sandbox source and compile the sandbox ourselves -- on our schedule. This 
way any issues which show up can be dealt with and we can debug. Changes to the 
tomahawk or sandbox components are downloaded from svn and tested before they go 
into to our app.
 
 


From: Grant Smith [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 08, 2006 7:29 PMTo: MyFaces 
DiscussionSubject: Re: Can Sandbox components be used in production 
app?
I would not recommend it, however I do so myself for some components. 
Obviously bad things can happen, the scope of which is impossible to predict. 
Remember that when components get "promoted" from sandbox to tomahawk, you will 
have to change the namespace on your .jsp / .jspx sources. 
On 6/8/06, Raj 
Rajendran <[EMAIL PROTECTED]> wrote: 

  Is it recommended ? I understand that sandbox stuff can change, but 
  curious if people are using it in real applications.When it works, what is 
  the worst thing that can happen?-- Grant Smith

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23153.html">Re: Re: commandLinks don't work on Tomcat 5.5.17</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Re%5C%3A+commandLinks+don%27t+work+on+Tomcat+5.5.17%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Garner+Shawn%22&o=newest&f=1">Garner Shawn</a></span>
</div>
<blockquote><span class="msgFragment"><pre>

MyFaces Core 1.1.3 Binary Distribution
MyFaces Tomahawk 1.1.2 Binary Distribution
Faceletes 1.1.4

I had the same war working on JBoss but when I switched to Tomcat
5.5.17 my commandLinks stopped working.

If you figure out why the autoscroll stuff doesn't work let me know.
---Original
Message
From: "Dennis Byrne" <[EMAIL PROTECTED]>
To: "MyFaces Discussion" 
Date: Fri, 09 Jun 2006 01:55:09 +
Subject: Re: commandLinks don't work on Tomcat 5.5.17
Which version of MyFaces are you using?  Which version of tomahawk?

Dennis Byrne

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23152.html">Re : Tree2 and multiple selection</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Re+%5C%3A+Tree2+and+multiple+selection%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22rahmoune+patrick%22&o=newest&f=1">rahmoune patrick</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
Thank you very much Matthias
 
patrick
- Message d'origine De : Matthias Wessendorf <[EMAIL PROTECTED]>À : MyFaces Discussion ; rahmoune patrick <[EMAIL PROTECTED]>Envoyé le : Jeudi, 8 Juin 2006, 4h54mn 04sObjet : Re: Tree2 and multiple selection
This question has been asked.You can search the mail archive for "tree2 checkboxes" sort of.-MatthiasOn 6/8/06, rahmoune patrick <[EMAIL PROTECTED]> wrote:>>> Hello, Back to JSF, It's been a long time>> I need to add multiple selection on some tree2 components.>> Does someone has already done this? and how?>> Thank you for any advice.>> patrick>-- Matthias WessendorfAechterhoek 1848282 Emsdettenblog: http://jroller.com/page/mwessendorfmail: mwessendorf-at-gmail-dot-com

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23151.html">PhaseListener and navigation problem...</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22PhaseListener+and+navigation+problem...%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Cosma+Colanicchia%22&o=newest&f=1">Cosma Colanicchia</a></span>
</div>
<blockquote><span class="msgFragment"><pre>

I'm using a PhaseListener to check if the user is logged on. If it
isn't, I save the view id that was being requested and forward the
user on the login page.

After the login, user has to be returned to his original page. This is
to handle session timeout without returning the user to home page
(usually messing up frames).

Problem: I don't know which phase to use, I only need that the
NavigationHandler has already been called, so that the current view
root is the "next".. but I can't find one.

I see that the handleNavigation is called *after* my RENDER_RESPONSE
aftherPhase method, even if all my pretty lifecycle diagrams says that
navigation is handled between UPDATE_MODEL_VALUES and
INVOKE_APPLICATION. This seems to be true only if the view already
exists (postbacks), but after a session timeout navigation is handled
after any of the available phases.

Is this correct? How can I resolve this problem?

Thank you
Cosma

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23150.html">RE: Can Sandbox components be used in production app?</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22RE%5C%3A+Can+Sandbox+components+be+used+in+production+app%5C%3F%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Julian+Ray%22&o=newest&f=1">Julian Ray</a></span>
</div>
<blockquote><span class="msgFragment"><pre>



We use sandbox compoenns but to control the process we have 
the sandbox source and compile the sandbox ourselves -- on our schedule. This 
way any issues which show up can be dealt with and we can debug. Changes to the 
tomahawk or sandbox components are downloaded from svn and tested before they go 
into to our app.
 
 


From: Grant Smith [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 08, 2006 7:29 PMTo: MyFaces 
DiscussionSubject: Re: Can Sandbox components be used in production 
app?
I would not recommend it, however I do so myself for some components. 
Obviously bad things can happen, the scope of which is impossible to predict. 
Remember that when components get "promoted" from sandbox to tomahawk, you will 
have to change the namespace on your .jsp / .jspx sources. 
On 6/8/06, Raj 
Rajendran <[EMAIL PROTECTED]> wrote:

  Is it recommended ? I understand that sandbox stuff can change, but 
  curious if people are using it in real applications.When it works, what is 
  the worst thing that can happen?-- Grant Smith

</pre></span>
</blockquote><br>

<h3><span class=subject><a href="/users@myfaces.apache.org/msg23149.html">Re: Re: SERIOUS BUG!!!!!!! Re: commandLinks don't work on Tomcat 5.5.17</a></span></h3>
<div class="darkgray font13">
<span class="sender pipe">
<span class=date><a href="/search?l=users%40myfaces.apache.org&q=date:20060609&o=newest&f=1">2006-06-09</a></span></span>
<span class="sender pipe">
<span class=thead><a href="/search?l=users%40myfaces.apache.org&q=subject:%22Re%5C%3A+SERIOUS+BUG%5C%21%5C%21%5C%21%5C%21%5C%21%5C%21%5C%21+Re%5C%3A+commandLinks+don%27t+work+on+Tomcat+5.5.17%22&o=newest&f=1">Thread</a></span></span>
<span class=name><a href="/search?l=users%40myfaces.apache.org&q=from:%22Martin+Marinschek%22&o=newest&f=1">Martin Marinschek</a></span>
</div>
<blockquote><span class="msgFragment"><pre>
Sure, right, sorry for adding to the confusion.regards,MartinOn 6/9/06, Sean Schofield <[EMAIL PROTECTED]
> wrote:> It's only available in the nightly builds currently - on the next release,
> it will be there again!Technically it will be in the release *after* the next release.  Thenext release should be Monday (if all goes well.)  No examples in thatone but the SVN trunk already has the code for the next release after
that (1.1.4).Sean-- http://www.irian.atYour JSF powerhouse - JSF Consulting, Development and Courses in English and German
Professional Support for Apache MyFaces

</pre></span>
</blockquote><br>
    <h2></h2>
  </div>
  <div class="aside" role="complementary">
    <div class="logo">
      <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a>
    </div>
    <h2>77 matches</h2>
    <br>
    
<ul><li><a href="/search?l=users%40myfaces.apache.org&q=date%3A20060609&a=1&o=newest&f=1">Advanced search</a></li></ul>
<form class="overflow" action="/search" method="get">
<input type="hidden" name="l" value="users@myfaces.apache.org">
<label class="hidden" for="q">Search the list</label>
<input class="submittext" type="text" id="q" name="q" placeholder="Search users" value="date:20060609">
<input class="submitbutton" id="submit" type="image" src="/submit.png" alt="Submit">
</form>

    
    <div class="nav margintop" id="nav" role="navigation">
      <h2 class="hidden">
                               Site Navigation
      </h2>
      <ul class="icons font16">
        <li class="icons-home"><a href="/">The Mail Archive home</a></li>
        <li class="icons-list">
          <a href="/users@myfaces.apache.org" title="c" id="c">users - all messages</a></li>
        <li class="icons-about">
          <a href="/users@myfaces.apache.org/info.html">users  - about the list</a></li>
        <li class="icons-expand"><a href="/search?l=users%40myfaces.apache.org&q=date%3A20060609&o=newest" title="e" id="e">Expand</a></li>
      </ul>
    </div>

    <div class="listlogo margintopdouble">
      <h2 class="hidden">
  				Mail list logo
      </h2>
      <a href="/users@myfaces.apache.org"><img src="/users@myfaces.apache.org/logo.png" alt="aims"></a>
    </div>
  </div>
  <div class="footer" role="contentinfo">
    <h2 class="hidden">
	        	      Footer information
    </h2>
    <ul>
      <li><a href="/">The Mail Archive home</a></li>
      <li><a href="/faq.html#newlist">Add your mailing list</a></li>
      <li><a href="/faq.html">FAQ</a></li>
      <li><a href="/faq.html#support">Support</a></li>
      <li><a href="/faq.html#privacy">Privacy</a></li>
    </ul>
  </div>
<script language="javascript" type="text/javascript">
document.onkeydown = NavigateThrough;
function NavigateThrough (event)
{
  if (!document.getElementById) return;
  if (window.event) event = window.event;
  if (event.target.tagName == 'INPUT') return;
  if (event.ctrlKey || event.metaKey) return;
  var link = null;
  switch (event.keyCode ? event.keyCode : event.which ? event.which : null) {
    case 69:
      link = document.getElementById ('e');
      break;
    }
  if (link && link.href) document.location = link.href;
}
</script>
</body>
</html>