Re: Questions about links and an include file
you are right... we should try to finish that up... If I would have any time ;) regards, Martin On Wed, 12 Jan 2005 09:01:17 +0100, Matthias Wessendorf [EMAIL PROTECTED] wrote: :-) sure! he is a candidate! so here is my +1 BTW. I guess after leaving incubator it is much easier, to add new committers. Regards, Matthias -Original Message- From: Martin Marinschek [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 8:53 AM To: MyFaces Discussion Subject: Re: Questions about links and an include file By the way... does Heath have committer access so far? He has submitted several patches (at least I think), is a very active member of the community, is one of those who resolves the most questions of new MyFaces users... In the Apache meritocracy, this should be enough for committer access I would suppose... What do you guys think? regards, Martin On Wed, 12 Jan 2005 08:30:54 +0100, Matthias Wessendorf [EMAIL PROTECTED] wrote: Heath, I know how you feel. 6 months ago, I was doing the same thing. Now, I'm getting close to expert level. MyFaces is you ARE in expert level! Matthias really awesome, just stick with it! On Tue, 11 Jan 2005 16:30:33 -0500, Rick Reumann [EMAIL PROTECTED] wrote: Thanks Heath for you reply! For some reason I swore that I used to get errors when I didn't nest commandLink within h:form. I guess it can stand alone? Very nice. Concerning my question 2 with the include file removing the from-view-id did the trick - well that coupled with me fixing the typo - I didn't realize that I had a verabtim tag around the wrong section. (Surprised it actually ran ok the way it was without throwing a syntax error.) Regardless, all seems well now and my frustration (for the moment:) has subsided. I feel like I'm back to square one like I was when I first started with Struts and you start cursing at the computer because you can't figure out why things aren't working as you expect:) Heath Borders wrote the following on 1/11/2005 3:56 PM: 1. On each commandLink or commandButton, you have two things you can specify: action and actionListener. The actionListener gets called after the link is clicked and all your data successfully updates to your managed beans. It executes the business logic you need. The action you specify is passed to your the navigation handler to tell it what page to direct the user to. In general, you shouldn't need multiple forms on a page for cases like this. You just need different actions for your commandLinks. 2. What we are doing in our app is using stateless navigation cases. What this means is that you can go anywhere from anywhere. As far as I see it, the from-view-id is just a way of defining a namespace for the navigation cases. So, just get rid of the from-view-ids and you should be good to go. On Tue, 11 Jan 2005 15:04:03 -0500, Rick Reumann [EMAIL PROTECTED] wrote: I know this isn't the main list for JSF and my questions below aren't MyFaces related, but this seems to be a more lively list than the yahoo group so maybe someone can help. My newbie-ness is showing here but I have two questions and the book I own on JSF doesn't seem to provide the answer (or else it does and I just haven't found it). Question 1: Take a typical example where you have a menu of links... View Really Cool Chart Check your account status View Some Amazing Report When the user clicks on one of these exciting links it needs to invoke some kind of action (in the JSF world I guess this would be a backing bean) so that the proper business logic takes place in the background and you are then forwarded to the proper displaying JSP. Using Struts this was very clean since each link could map to an Action in my struts-config file. How do I accomplish the above with JSF? Is the easiest to use commandLink and wrap each link in h:form../h:form? That seems a bit verbose but if that's the typical practice I can deal with it. Remember each link could need to access a totally different object(backing bean.) It seems awkward to have to nest each link inside of h:form Question 2: This should be simple, but I'm stumped. If I include a menu.jsp file on a page that is basically a bunch of links, how do I set up the faces config file for the from-view-id? Assuming home.jsp includes menu.jsp I can't seem to get the links to work from menu.jsp regardless if I use menu.jsp or
RE: 1.0.8
Hi Amit, the files you loaded are that one, that will be released soon. So using them inside of your application is fine. BTW. Francesco Consumi mentioned a time ago, that he uses MyFaces with success in his project. the sites are public: http://tinyurl.com/6z6zp HTH, Matthias BTW. I am currently using MyFaces' WML RenderKit facility. It's nice to work with it! -Original Message- From: Amit Modi [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 7:01 PM To: MyFaces Discussion Subject: RE: 1.0.8 Hi, I have a question on the same lines. I want to use MyFaces for an application I will be developing. Which release of MyFaces should be used for commercial applications and when is it expected? Are there any applications or projects using MyFaces currently? I am currently using 1.0.8 beta which I downloaded from http://cvs.apache.org/dist/incubator/myfaces/builds/ Thanks Amit Modi -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 3:54 AM To: 'MyFaces Discussion' Subject: RE: 1.0.8 Hi Francesco, the file that you find here: http://cvs.apache.org/dist/incubator/myfaces/builds/ are the file we tested for releasing. On dev-list there were lot of +1. So that release will be shipped as soon as posible. Since we are in incubator of ASF, we need to bring up the release topic to PMC of incubator A very detailed paper of Apache Roles could be found here: http://gump.apache.org/bylaws.html HTH, Matthias -Original Message- From: Francesco Consumi [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 1:47 AM To: myfaces-user@incubator.apache.org Subject: 1.0.8 Hi, I've just downloaded the 1.0.8 build (05 jan 2005). what state is it in ? is that quite stable to be usable ? thanks, -- Francesco Consumi Ufficio Sistemi informativi Istituto degli Innocenti Piazza SS.Annunziata, 12 50122 Firenze consumi at istitutodeglinnocenti.it Tel. +39 055 2037320 ICQ# 12516133
Re: 1.0.8
Hi there, Also http://roncalli.oekb.at uses MyFaces... regards, Martin On Wed, 12 Jan 2005 11:35:06 +0100, Matthias Wessendorf [EMAIL PROTECTED] wrote: Hi Amit, the files you loaded are that one, that will be released soon. So using them inside of your application is fine. BTW. Francesco Consumi mentioned a time ago, that he uses MyFaces with success in his project. the sites are public: http://tinyurl.com/6z6zp HTH, Matthias BTW. I am currently using MyFaces' WML RenderKit facility. It's nice to work with it! -Original Message- From: Amit Modi [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 7:01 PM To: MyFaces Discussion Subject: RE: 1.0.8 Hi, I have a question on the same lines. I want to use MyFaces for an application I will be developing. Which release of MyFaces should be used for commercial applications and when is it expected? Are there any applications or projects using MyFaces currently? I am currently using 1.0.8 beta which I downloaded from http://cvs.apache.org/dist/incubator/myfaces/builds/ Thanks Amit Modi -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 3:54 AM To: 'MyFaces Discussion' Subject: RE: 1.0.8 Hi Francesco, the file that you find here: http://cvs.apache.org/dist/incubator/myfaces/builds/ are the file we tested for releasing. On dev-list there were lot of +1. So that release will be shipped as soon as posible. Since we are in incubator of ASF, we need to bring up the release topic to PMC of incubator A very detailed paper of Apache Roles could be found here: http://gump.apache.org/bylaws.html HTH, Matthias -Original Message- From: Francesco Consumi [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 1:47 AM To: myfaces-user@incubator.apache.org Subject: 1.0.8 Hi, I've just downloaded the 1.0.8 build (05 jan 2005). what state is it in ? is that quite stable to be usable ? thanks, -- Francesco Consumi Ufficio Sistemi informativi Istituto degli Innocenti Piazza SS.Annunziata, 12 50122 Firenze consumi at istitutodeglinnocenti.it Tel. +39 055 2037320 ICQ# 12516133
Problems with sorting and componentbinding in HtmlDataTable
Matthias Wessendorf had put a testapplication for me on jira. I have altered the aplication with sorting capabillity. I can not access Jira so i have putted the application on my server. http://devnet.furchtbar.net/downloads/myfaces-testapp.tar.gz I will move it to Jira when I can access it again. The problems or bugs I am experiencing are a show stopper. Maybe I am using JSF wrong. If someone would have a workarround I would be glad *g* So the biggest Problem: I am using a DataTable with sorting and editing functionality. With preserveDataModel=true clicking on the same page (resubmitting) I get a NullPointerException in org.apache.myfaces.component.html.ext.HtmlDataTable.getFirst(HtmlDataTable.java:388) With preserveDataModel=false the ordering of the elements is wrong. in org.apache.myfaces.component.html.ext.HtmlDataTable.getFirst(HtmlDataTable.java:388) Does anyone have an idea?
Re: JSF Custom Components
Just submit your questions to the list. There are lots of helpful people on it that will be happy to help. Also, if you're just looking to have basic HTML tags in JSF, there is a custom tag library called htmLib that has all over the HTML tags implemented as JSF tags so that you can use them directly within a JSF page. http://jsftutorials.net/htmLib/ On Tue, 11 Jan 2005 19:11:22 -0800 (PST), Ray Clark [EMAIL PROTECTED] wrote: I really love JSF and myFaces and really appreciate your hard work in the development of myFaces. Unforetunately the company that I'm at is slow to change. So we won't be implementing a JSF app for a few months at least I'd say. But I'm following the list with great interest. There are 2 things I'm looking for with myFaces before we try an app. The first is better integration with JavaScript. That will come with the great work people are doing from the threads I've seen on the list. The second is a component that fullly supports the table tag. What I need is the rowspan, colspan, and multi line headers implemented. So in my spare time at home I'm trying to write a set of custom tags for this. Basically 1 for the table tag, 1 for the thead tag, 1 for the tr tag, 1 for the tbody tag, and a final 1 that does a th or td tag. Ok, thank you for bearing with me so far, here is my question. I would like to exchange a couple of emails with someone that has done a custom component that extends the dataTable, or someone that has a lot of experience with custom components. I have things working pretty good so far but I have some questions that I'd like to ask someone with more experience than me. (I've yet to develop a full JSF app. :) ) Do you know of someone you could recommend? Thanks, Ray __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail -- -Heath Borders-Wing [EMAIL PROTECTED]
Re: Questions about links and an include file
I'm in no hurry, but it would be a great honor to become a committer. Don't put yourselves out on my account. On Wed, 12 Jan 2005 09:19:46 +0100, Martin Marinschek [EMAIL PROTECTED] wrote: you are right... we should try to finish that up... If I would have any time ;) regards, Martin On Wed, 12 Jan 2005 09:01:17 +0100, Matthias Wessendorf [EMAIL PROTECTED] wrote: :-) sure! he is a candidate! so here is my +1 BTW. I guess after leaving incubator it is much easier, to add new committers. Regards, Matthias -Original Message- From: Martin Marinschek [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 8:53 AM To: MyFaces Discussion Subject: Re: Questions about links and an include file By the way... does Heath have committer access so far? He has submitted several patches (at least I think), is a very active member of the community, is one of those who resolves the most questions of new MyFaces users... In the Apache meritocracy, this should be enough for committer access I would suppose... What do you guys think? regards, Martin On Wed, 12 Jan 2005 08:30:54 +0100, Matthias Wessendorf [EMAIL PROTECTED] wrote: Heath, I know how you feel. 6 months ago, I was doing the same thing. Now, I'm getting close to expert level. MyFaces is you ARE in expert level! Matthias really awesome, just stick with it! On Tue, 11 Jan 2005 16:30:33 -0500, Rick Reumann [EMAIL PROTECTED] wrote: Thanks Heath for you reply! For some reason I swore that I used to get errors when I didn't nest commandLink within h:form. I guess it can stand alone? Very nice. Concerning my question 2 with the include file removing the from-view-id did the trick - well that coupled with me fixing the typo - I didn't realize that I had a verabtim tag around the wrong section. (Surprised it actually ran ok the way it was without throwing a syntax error.) Regardless, all seems well now and my frustration (for the moment:) has subsided. I feel like I'm back to square one like I was when I first started with Struts and you start cursing at the computer because you can't figure out why things aren't working as you expect:) Heath Borders wrote the following on 1/11/2005 3:56 PM: 1. On each commandLink or commandButton, you have two things you can specify: action and actionListener. The actionListener gets called after the link is clicked and all your data successfully updates to your managed beans. It executes the business logic you need. The action you specify is passed to your the navigation handler to tell it what page to direct the user to. In general, you shouldn't need multiple forms on a page for cases like this. You just need different actions for your commandLinks. 2. What we are doing in our app is using stateless navigation cases. What this means is that you can go anywhere from anywhere. As far as I see it, the from-view-id is just a way of defining a namespace for the navigation cases. So, just get rid of the from-view-ids and you should be good to go. On Tue, 11 Jan 2005 15:04:03 -0500, Rick Reumann [EMAIL PROTECTED] wrote: I know this isn't the main list for JSF and my questions below aren't MyFaces related, but this seems to be a more lively list than the yahoo group so maybe someone can help. My newbie-ness is showing here but I have two questions and the book I own on JSF doesn't seem to provide the answer (or else it does and I just haven't found it). Question 1: Take a typical example where you have a menu of links... View Really Cool Chart Check your account status View Some Amazing Report When the user clicks on one of these exciting links it needs to invoke some kind of action (in the JSF world I guess this would be a backing bean) so that the proper business logic takes place in the background and you are then forwarded to the proper displaying JSP. Using Struts this was very clean since each link could map to an Action in my struts-config file. How do I accomplish the above with JSF? Is the easiest to use commandLink and wrap each link in h:form../h:form? That seems a bit verbose but if that's the typical practice I can deal with it. Remember each link could need to access a totally different object(backing bean.) It seems awkward to have to nest each link inside of h:form
Re: 1.0.8
Hi all, I would update the list of our MyFaces-powered sites: http://www.biblioteca.istitutodeglinnocenti.it/en/index.htm http://www.istitutodeglinnocenti.it/ (addess changed) http://www.emozionifotografiche.it and we've a lot of intranet programs, at least five at the moment. -- Francesco Consumi Ufficio Sistemi informativi Istituto degli Innocenti Piazza SS.Annunziata, 12 50122 Firenze consumi at istitutodeglinnocenti.it Tel. +39 055 2037320 ICQ# 12516133
AW: 1.0.8
Adrien, Incubator site is in *move* :-) Will be updated soon! Files are here: http://cvs.apache.org/dist/incubator/myfaces/builds/ But it's not a official release. It is the release candidate! We only need to bring it up to incubator PMC, Since MyFaces is currently a subproject... Hope you enjoy it! ;-) -Ursprüngliche Nachricht- Von: Adrien FOURES [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. Januar 2005 14:57 An: MyFaces Discussion Betreff: Re: 1.0.8 Where can i download the 1.0.8 version of myfaces? is it possible? I found nothing on the incubator apache web site? old site page and sourceforge.net too !! Currently i use the 1.0.7 version, is it the last build release? thanks a lot
RE: JSF Custom Components
Ray, list with great interest. There are 2 things I'm looking for with myFaces before we try an app. The first is better integration with JavaScript. That will come with the great work people are doing from the threads I've seen on the list. The second is a in CVS the patch is included and a *simple* sample (forceId.jsp) is also in CVS. for html table I also recommend to use the lib, Heath pointed out! has done a custom component that extends the dataTable, or someone that has a lot of experience with custom components. I have things In MyFaces there is x:dataTable/ perhaps you could look at the sources as a starter? Question regaring extending could be placed here and in dev-list! Regards, Matthias working pretty good so far but I have some questions that I'd like to ask someone with more experience than me. (I've yet to develop a full JSF app. :) ) Do you know of someone you could recommend? Thanks, Ray __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail -- -Heath Borders-Wing [EMAIL PROTECTED]
[website] update
Hi, I just updated the MyFaces website. look here: http://incubator.apache.org/myfaces/ it now includes *live sites*. If you managed a web app using MyFaces with success, so please feel free to inform us, we'll add yours! Best regards Mit freundlichen Grüßen Matthias Weßendorf -- Matthias Weßendorf Aechterhoek 18 DE-48282 Emsdetten Germany email: matzew AT apache DOT org url: http://www.wessendorf.net icq: 47016183
RE: 1.0.8
cool! I added your sites to our website! thanks! -Matthias -Original Message- From: Francesco Consumi [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 3:06 PM To: MyFaces Discussion; [EMAIL PROTECTED] Subject: Re: 1.0.8 Hi all, I would update the list of our MyFaces-powered sites: http://www.biblioteca.istitutodeglinnocenti.it/en/index.htm http://www.istitutodeglinnocenti.it/ (addess changed) http://www.emozionifotografiche.it and we've a lot of intranet programs, at least five at the moment. -- Francesco Consumi Ufficio Sistemi informativi Istituto degli Innocenti Piazza SS.Annunziata, 12 50122 Firenze consumi at istitutodeglinnocenti.it Tel. +39 055 2037320 ICQ# 12516133
Re: [website] update
I've got a couple of demos for the JSF starter apps I use: http://demo.raibledesigns.com/equinox-jsf http://demo.raibledesigns.com/appfuse-jsf Thanks, Matt On Jan 12, 2005, at 7:59 AM, Matthias Wessendorf wrote: Hi, I just updated the MyFaces website. look here: http://incubator.apache.org/myfaces/ it now includes *live sites*. If you managed a web app using MyFaces with success, so please feel free to inform us, we'll add yours! Best regards Mit freundlichen Grüßen Matthias Weßendorf -- Matthias Weßendorf Aechterhoek 18 DE-48282 Emsdetten Germany email: matzew AT apache DOT org url: http://www.wessendorf.net icq: 47016183
MyFaces-78
The HtmlCheckboxRendererBase wasn't properly rendering the disabled property on individual checkboxes. I fixed this bug, but it has led to another bug. If you have a checkbox that is checked and disabled, IE doesn't submit a value for it. This leads to JSF interpreting that as the checkbox being unchecked. A possible solution would be to render a hidden select with the same values as the checkboxes and whose selected state could be maintained in parallel with javascript. Is IE's behavior W3C compliant? We currently have a workaround for this problem, but ideally, we could have a disabled, checked checkbox behave as we would expect it. -- -Heath Borders-Wing [EMAIL PROTECTED]
Re: Plans to include at least parts of MyFaces into JSF?
I would agree with you that its a good idea for the JSF spec people to take a look at what is going on in MyFaces. I've personally submitted some comments on the latest specification draft (although I don't know if that's too late for them to be considered for the upcoming spec if they are not directly related to the proposed changes in the draft.) There is also a JSF mailing list on Sun's java forums that seems to have some of the spec people lurking around. That would probably be the best area to generate momentum for a specific change. I plan to hound them myself about the clientId issue (once I finish implementing it in myfaces.) Ultimately the specification process moves very slowly (deliberately). That makes sense since its a specification that we all have to live with once its agreed upon. Unfortunately, this also hinders rapid evolvement of JSF in a common direction. So the implementations have to go their own way when they need something and try and convince the spec folks to change it after the fact. Its not an ideal solution but probably better than what you would find with Microsoft where they just tell you what the spec is and you are forced to deal with it. So Microsoft's stuff tends to evolve faster this way but I would also argue it's not as well thought out. A classic Catch-22. I almost decided to give up on JSF because of what I thought were unworkable omissions. At the last minute, the folks on this list persuaded me that we could try and meet the short comings through the myfaces implemenation. So that's what I'm doing now and I'm encouraged by what I am learning about JSF as I go. Its very powerful and very extensible. So yes, there will be lots of things in myfaces that are not supported elsewhere, but JSF does make it easy to provide these add ons. sean
Re: MyFaces-78
The checkbox is handling enabled checkboxes correctly. A better workaround would be to have a javascript callback on the form's onSubmit that finds all checkboxes and enables them. This would definitely be cleaner from an HTML point of view. On Wed, 12 Jan 2005 11:29:31 -0500, Sean Schofield [EMAIL PROTECTED] wrote: Heath, We just ran into this problem (again) yesterday in a Struts app. I don't think this is an IE thing, this is a standard (for once.) It kind of makes sense if you think about it, if the checkbox is disabled why do you need to resubmit the value? We solved the problem in Struts the same way as you are proposing, with a hidden input field (with the same as id as the checkbox.) Our Struts solution, however, was needed because we were changing the value to false in the form's reset method. You probably know already but the value isn't submitted either when the value of the checkbox is false. So we reset to false so that if it doesn't post as true, we keep it false (assume the user unchecked.) Is the checkbox handling this part (forgetting about disabled for a moment) correctly in myfaces? My guess is that it is, which is why your value is disappearing. Also, we're talking about the standard checkbox and not the ext version right? (Although the ext version is probably broken too.) I would look at how the RI is handling it. I would think that we would want to implement a workaround at least in the ext version. sean On Wed, 12 Jan 2005 10:10:19 -0600, Heath Borders [EMAIL PROTECTED] wrote: The HtmlCheckboxRendererBase wasn't properly rendering the disabled property on individual checkboxes. I fixed this bug, but it has led to another bug. If you have a checkbox that is checked and disabled, IE doesn't submit a value for it. This leads to JSF interpreting that as the checkbox being unchecked. A possible solution would be to render a hidden select with the same values as the checkboxes and whose selected state could be maintained in parallel with javascript. Is IE's behavior W3C compliant? We currently have a workaround for this problem, but ideally, we could have a disabled, checked checkbox behave as we would expect it. -- -Heath Borders-Wing [EMAIL PROTECTED] -- -Heath Borders-Wing [EMAIL PROTECTED]
Re: Plans to include at least parts of MyFaces into JSF?
Sean Schofield wrote the following on 1/12/2005 11:12 AM: There is also a JSF mailing list on Sun's java forums that seems to have some of the spec people lurking around. It still amazes me that there is no regular mailing list for JSF. I hate those forum approaches. Email is so much more conveinient. I almost decided to give up on JSF because of what I thought were unworkable omissions. At the last minute, the folks on this list persuaded me that we could try and meet the short comings through the myfaces implemenation. So that's what I'm doing now and I'm encouraged by what I am learning about JSF as I go. Its very powerful and very extensible. So yes, there will be lots of things in myfaces that are not supported elsewhere, but JSF does make it easy to provide these add ons. True, but had you not been diligent enough to look elsewhere (MyFaces) you mention you might have given up. I was in the same boat. JSF might lose some good people that just don't have the time or energy to look elsewhere. -- Rick
RE: Question regarding panelTabbedPane and subview
I did not get any replies to my post. I think I will go with the first approach as I listed below as I dont have too many pages to navigate within a tab. From: Lorinda Swick [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 7:40 PM To: 'MyFaces Discussion' Subject: RE: Question regarding panelTabbedPane and subview This is similar to the question I just posted. Have there been any responses? Amit, could you find a solution? Thanks. -Lorinda From: Amit Modi [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 05, 2005 5:34 PM To: MyFaces Discussion Subject: Question regarding panelTabbedPane and subview Hi, I have a tabbedPanel consisting of various tabs. Each tabs content is added as a sub view (using jsp:include) to the main JSF. Each tab is supposed to provide standard add, edit, delete, search functionality for the selected tab using various included JSFs. How can I show a different included JSF in the selected tab depending on the action without losing the selected tab? 1. One approach can be to have all forms/pages added as sub views to the tab and control their rendered attribute using the backing bean (rendering only one at a time). 2. Another could be to provide the name of the included JSF at runtime which is again difficult to achieve with jsp: include I think there would be a better way which I am missing. Can somebody please suggest? Thanks Amit Modi
Refresh Component data : MyFaces 1.0.7
Title: Message Hi , I am using myfaces 1.0.7 for a project and I have the follwing issues : -- If I use a tree selection listener to listreen to the myfaces tree selection event , when a write the follwing code from the selection listener nothing happens on the UI : HtmlTree tree = (HtmlTree)TreeSelectionEvent.getComponent(); tree.collapseAll(); yet the tree Object is not null ! I was expecting the tree component on the page to collapse all of it's nodes. The probleme really is that I need to 'refresh' the tree nodes by getting new data out of the database. Really how do you perform such operations given that the connection to the server is not permanant - data is cached -
Re: MyFaces-78
The checkbox is handling enabled checkboxes correctly. That's good to know. A better workaround would be to have a javascript callback on the form's onSubmit that finds all checkboxes and enables them. This would definitely be cleaner from an HTML point of view. One issue with that is for clients that don't have javascript enabled. I know its crazy trying to write a webapp for someone without javascript, but I think its considered good practice not to rely on javascript for basic functionality. I think this is pretty basic functionality. I wonder how the RI handles it? I doubt they are using javascript. Maybe we could steal an idea from them? My guess though is that they do something along the lines of the hidden input. Only one way to know for sure though ... (I will check when I get home.) -Heath Borders-Wing
Re: MyFaces-78
I was just talking about my group's solution. For reasons you stated, we can't have it as the general solution. On Wed, 12 Jan 2005 15:13:00 -0500, Sean Schofield [EMAIL PROTECTED] wrote: The checkbox is handling enabled checkboxes correctly. That's good to know. A better workaround would be to have a javascript callback on the form's onSubmit that finds all checkboxes and enables them. This would definitely be cleaner from an HTML point of view. One issue with that is for clients that don't have javascript enabled. I know its crazy trying to write a webapp for someone without javascript, but I think its considered good practice not to rely on javascript for basic functionality. I think this is pretty basic functionality. I wonder how the RI handles it? I doubt they are using javascript. Maybe we could steal an idea from them? My guess though is that they do something along the lines of the hidden input. Only one way to know for sure though ... (I will check when I get home.) -Heath Borders-Wing -- -Heath Borders-Wing [EMAIL PROTECTED]
Re: HtmlSelectOneRadio does not validate the required case (MYFACES-72)
This bug is appearing in a couple more places for me, and its starting to be an annoyance. I don't want to just unilaterally make a solution because I think IE is behaving according to the spec (I haven't actually looked it up though). Basically, if you render an HtmlSelectOneRadio with a value that doesn't correspond to any of the options, none of the are checked. If you submit with none of the radios checked, nothing goes out on the request. This means that we are setting the submittedValue to null rather than to a blank String. This means that the required flag doesn't ever get hit, and no validation errors will be reported. What do you think should be done? On Mon, 3 Jan 2005 18:16:15 -0600, Heath Borders [EMAIL PROTECTED] wrote: There is a bug in HtmlSelectOneRadio with requireds. Please check out my JIRA issue and let me know what you think. http://issues.apache.org/jira/browse/MYFACES-72 -- -Heath Borders-Wing [EMAIL PROTECTED] -- -Heath Borders-Wing [EMAIL PROTECTED]
Re: MyFaces-78
Yeah, that might not be a bad idea. On Wed, 12 Jan 2005 16:41:00 -0500, Sean Schofield [EMAIL PROTECTED] wrote: I was just talking about my group's solution. For reasons you stated, we can't have it as the general solution. Should we open a bug on this then? It would seem the problem remains unresolved ... -Heath Borders-Wing -- -Heath Borders-Wing [EMAIL PROTECTED]
Re: [website] update
Matt, On Wednesday 12 January 2005 07:05, Matt Raible wrote: I've got a couple of demos for the JSF starter apps I use: http://demo.raibledesigns.com/equinox-jsf Produces this error when you start the demo... An Error has occurred in this application. javax.faces.el.EvaluationException: Expression: '#{userList.users}' at net.sourceforge.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:463) at javax.faces.component.UIData.getValue(UIData.java:934) at javax.faces.component.UIData.createDataModel(UIData.java:661) at javax.faces.component.UIData.getDataModel(UIData.java:650) at javax.faces.component.UIData.getRowCount(UIData.java:114) at net.sourceforge.myfaces.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:121) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:317) at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:370) at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:278) at net.sourceforge.myfaces.taglib.UIComponentBodyTagBase.doEndTag(UIComponentBodyTagBase.java:79) at org.apache.jsp.userList_jsp._jspx_meth_h_dataTable_0 (userList_jsp.java:372) at org.apache.jsp.userList_jsp._jspService(userList_jsp.java:148) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.appfuse.web.MessageFilter.doFilter(MessageFilter.java:36) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312) at net.sourceforge.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:404) at net.sourceforge.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:241) at net.sourceforge.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:287) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:110) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:93) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.appfuse.web.MessageFilter.doFilter(MessageFilter.java:36) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at
Re: Running Equinox (was [website] update)
It looks like the database connection is failing. The URL for the database connection uses a relative URL - so it might not have permission to create a db directory in the same location as where you started Tomcat from. To fix this, you can edit web/WEB-INF/classes/jdbc.properties and change this to an absolute URL - such as the following: jdbc.url=jdbc:hsqldb:/Users/mraible/dev/equinox-jsf/db/equinox Hope this helps, Matt On Jan 12, 2005, at 3:01 PM, Grant Smith wrote: Matt, On Wednesday 12 January 2005 07:05, Matt Raible wrote: I've got a couple of demos for the JSF starter apps I use: http://demo.raibledesigns.com/equinox-jsf Produces this error when you start the demo... An Error has occurred in this application. javax.faces.el.EvaluationException: Expression: '#{userList.users}' at net.sourceforge.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.j ava:463) at javax.faces.component.UIData.getValue(UIData.java:934) at javax.faces.component.UIData.createDataModel(UIData.java:661) at javax.faces.component.UIData.getDataModel(UIData.java:650) at javax.faces.component.UIData.getRowCount(UIData.java:114) at net.sourceforge.myfaces.renderkit.html.HtmlTableRendererBase.encodeChil dren(HtmlTableRendererBase.java:121) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.ja va:317) at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java: 370) at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:278) at net.sourceforge.myfaces.taglib.UIComponentBodyTagBase.doEndTag(UICompon entBodyTagBase.java:79) at org.apache.jsp.userList_jsp._jspx_meth_h_dataTable_0 (userList_jsp.java:372) at org.apache.jsp.userList_jsp._jspService(userList_jsp.java:148) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j ava:324) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java: 292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic ationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terChain.java:157) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter. java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic ationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terChain.java:157) at org.appfuse.web.MessageFilter.doFilter(MessageFilter.java:36) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic ationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terChain.java:157) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispat cher.java:704) at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicati onDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDis patcher.java:409) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispa tcher.java:312) at net.sourceforge.myfaces.context.servlet.ServletExternalContextImpl.disp atch(ServletExternalContextImpl.java:404) at net.sourceforge.myfaces.application.jsp.JspViewHandlerImpl.renderView(J spViewHandlerImpl.java:241) at net.sourceforge.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.ja va:287) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:110) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic ationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terChain.java:157) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideF ilter.java:93) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic ationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terChain.java:157) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter .java:118) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter. java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic ationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terChain.java:157) at org.appfuse.web.MessageFilter.doFilter(MessageFilter.java:36) at
Re: HtmlSelectOneRadio does not validate the required case (MYFACES-72)
This behavior is what the W3C spec specifies. Here is my solution for components that don't have a value selected by default in HTML (therefor causing them not to put a name-value pair on the request): Since we only process decodes on UIForms that were submitted (through the use of a hidden input), if the UISelectOne doesn't have a value, we can set its value to a blank String, which would then trip the required validator. Of course, this could trip up some converters, so it would probably be better to just leave the submitted value as null, but then that won't trip the required validator. Overall this means that a spec-change is in order. Do you guys agree? On Wed, 12 Jan 2005 15:25:15 -0600, Heath Borders [EMAIL PROTECTED] wrote: This bug is appearing in a couple more places for me, and its starting to be an annoyance. I don't want to just unilaterally make a solution because I think IE is behaving according to the spec (I haven't actually looked it up though). Basically, if you render an HtmlSelectOneRadio with a value that doesn't correspond to any of the options, none of the are checked. If you submit with none of the radios checked, nothing goes out on the request. This means that we are setting the submittedValue to null rather than to a blank String. This means that the required flag doesn't ever get hit, and no validation errors will be reported. What do you think should be done? On Mon, 3 Jan 2005 18:16:15 -0600, Heath Borders [EMAIL PROTECTED] wrote: There is a bug in HtmlSelectOneRadio with requireds. Please check out my JIRA issue and let me know what you think. http://issues.apache.org/jira/browse/MYFACES-72 -- -Heath Borders-Wing [EMAIL PROTECTED] -- -Heath Borders-Wing [EMAIL PROTECTED] -- -Heath Borders-Wing [EMAIL PROTECTED]
Explain how to use selectOneMenu with Hibernate
Please forgive my confusion but I have been struggling with implementing a simple database driven dropdown list box for several days now. I use Hibernate and Spring along with JSF in this application. 1st, I do not understand why I must map a Center/Contractor object instead of just the Long value of these objects that will go in the database table. The entire list of both Centers and Contractors are initialized in an application scoped bean as Lists of SelectItems objects. Both are merely used as lookup tables and never change. It just seems to me that this is far too dificult for something that should be very simple to implement. I'm hoping someone out there will have mercy on me and inform me of exactly how to use a selectOneMenu when using Hibernate. Here are some details: My User business object: public class User implements Serializable { private String username; private Long userId; private String phone; private String project; private boolean userContractor; private String contractNumber; private Center center; private Contractor contractor; ... getters/setters My User Managed Bean (backing bean): public class UserBean extends BaseBean { private String username; private Long userId; private String phone; private String project; private boolean userContractor; private String contractNumber; private Center center; private Contractor contractor; ... getters/setters and an action method or two This class has an action method used to convert a UserBean object into a User object and save it using hibernate. This is probably the first point of failure. The properties of User that are represented by drop down menus in the UI are always null when Hibernate tries to save the User object. Database Table for User: CREATE TABLE SUBMITTAL_USER ( USER_ID NUMBER NOT NULL , CENTER_ID NUMBER NOT NULL , USERNAME VARCHAR2(8) NOT NULL , PHONE VARCHAR2(11) NOT NULL , PROJECT VARCHAR2(255), IS_CONTRACTOR CHAR(1) DEFAULT 0 NOT NULL CHECK (IS_CONTRACTOR IN (0,1) ) , CONTRACTOR_ID NUMBER, CONTRACT_NUMBER VARCHAR2(32)) Database Table for Contractor: CREATE TABLE CONTRACTOR ( CONTRACTOR_ID NUMBER NOT NULL , CONTRACTOR_NAME VARCHAR2(255) NOT NULL ) ; Database Table for Center: CREATE TABLE CENTER ( CENTER_ID NUMBER NOT NULL , NAME VARCHAR2(20) UNIQUE ) ; Mapping Documents: User.hbm.xml ?xml version=1.0? !DOCTYPE hibernate-mapping PUBLIC -//Hibernate/Hibernate Mapping DTD 2.0//ENhttp://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd; hibernate-mapping package=gov.nasa.msfc.repository.submittal.model.businessobject class name=User table=SUBMITTAL_USER cache usage=read-write/ id name=userId column=USER_ID unsaved-value=null type=long generator class=sequence param name=sequencesubmittal_user_seq/param /generator /id many-to-one name=center class=Center column=CENTER_ID cascade=none not-null=true / property name=username column=USERNAME/ property name=phone column=PHONE/ property name=project column=PROJECT/ property name=userContractor column=IS_CONTRACTOR/ many-to-one name=contractor class=Contractor column=CONTRACTOR_ID cascade=none / property name=contractNumber column=CONTRACT_NUMBER/ /class /hibernate-mapping Center.hbm.xml ?xml version=1.0? !DOCTYPE hibernate-mapping PUBLIC -//Hibernate/Hibernate Mapping DTD 2.0//ENhttp://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd; hibernate-mapping package=gov.nasa.msfc.repository.submittal.model.businessobject class name=Center table=CENTER cache usage=read-only/ id name=centerId column=CENTER_ID unsaved-value=null type=long generator class=sequence param name=sequencesubmittal_cntr_seq/param /generator /id property name=name column=NAME / /class /hibernate-mapping Contractor.hbm.xml ?xml version=1.0? !DOCTYPE hibernate-mapping PUBLIC -//Hibernate/Hibernate Mapping DTD 2.0//ENhttp://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd; hibernate-mapping package=gov.nasa.msfc.repository.submittal.model.businessobject class name=Contractor table=CONTRACTOR id name=contractorId column=CONTRACTOR_ID unsaved-value=null generator class=sequence param name=sequencesubmittal_cont_seq/param /generator /id property name=name column=CONTRACTOR_NAME/ /class /hibernate-mapping Thanks, -Mark
RE: JSF Custom Components
Thank you Heath and Matthias. Both of you had excellent suggestions as usual. I'll check out that lib as soon as I get a chance. Thanks again, Ray --- Matthias Wessendorf [EMAIL PROTECTED] wrote: Ray, list with great interest. There are 2 things I'm looking for with myFaces before we try an app. The first is better integration with JavaScript. That will come with the great work people are doing from the threads I've seen on the list. The second is a in CVS the patch is included and a *simple* sample (forceId.jsp) is also in CVS. for html table I also recommend to use the lib, Heath pointed out! has done a custom component that extends the dataTable, or someone that has a lot of experience with custom components. I have things In MyFaces there is x:dataTable/ perhaps you could look at the sources as a starter? Question regaring extending could be placed here and in dev-list! Regards, Matthias working pretty good so far but I have some questions that I'd like to ask someone with more experience than me. (I've yet to develop a full JSF app. :) ) Do you know of someone you could recommend? Thanks, Ray __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail -- -Heath Borders-Wing [EMAIL PROTECTED] __ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo
Re: JSF Custom Components
Ray, Keep an eye out for patches to the forceId issue in JIRA. I am almost finished the UIData variant (which will allow you to use forceId on attributes in a table.) Once that's cracked we will have forceId attributes on all the ext HTML components! Stay tuned, sean On Wed, 12 Jan 2005 19:25:54 -0800 (PST), Ray Clark [EMAIL PROTECTED] wrote: Thank you Heath and Matthias. Both of you had excellent suggestions as usual. I'll check out that lib as soon as I get a chance. Thanks again, Ray --- Matthias Wessendorf [EMAIL PROTECTED] wrote: Ray, list with great interest. There are 2 things I'm looking for with myFaces before we try an app. The first is better integration with JavaScript. That will come with the great work people are doing from the threads I've seen on the list. The second is a in CVS the patch is included and a *simple* sample (forceId.jsp) is also in CVS. for html table I also recommend to use the lib, Heath pointed out! has done a custom component that extends the dataTable, or someone that has a lot of experience with custom components. I have things In MyFaces there is x:dataTable/ perhaps you could look at the sources as a starter? Question regaring extending could be placed here and in dev-list! Regards, Matthias working pretty good so far but I have some questions that I'd like to ask someone with more experience than me. (I've yet to develop a full JSF app. :) ) Do you know of someone you could recommend? Thanks, Ray __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail -- -Heath Borders-Wing [EMAIL PROTECTED] __ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo
RE: Running Equinox (was [website] update)
Matt, I saw in stacktrace that you're using last sf.net build. here is RC for Apache MyFaces http://cvs.apache.org/dist/incubator/myfaces/builds/ Ted just asked Incubator PMC for releasing and leaving incubator, to be a top-level-project. Regards, Matthias -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 11:29 PM To: MyFaces Discussion Subject: Re: Running Equinox (was [website] update) It looks like the database connection is failing. The URL for the database connection uses a relative URL - so it might not have permission to create a db directory in the same location as where you started Tomcat from. To fix this, you can edit web/WEB-INF/classes/jdbc.properties and change this to an absolute URL - such as the following: jdbc.url=jdbc:hsqldb:/Users/mraible/dev/equinox-jsf/db/equinox Hope this helps, Matt On Jan 12, 2005, at 3:01 PM, Grant Smith wrote: Matt, On Wednesday 12 January 2005 07:05, Matt Raible wrote: I've got a couple of demos for the JSF starter apps I use: http://demo.raibledesigns.com/equinox-jsf Produces this error when you start the demo... An Error has occurred in this application. javax.faces.el.EvaluationException: Expression: '#{userList.users}' at net.sourceforge.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl. j ava:463) at javax.faces.component.UIData.getValue(UIData.java:934) at javax.faces.component.UIData.createDataModel(UIData.java:661) at javax.faces.component.UIData.getDataModel(UIData.java:650) at javax.faces.component.UIData.getRowCount(UIData.java:114) at net.sourceforge.myfaces.renderkit.html.HtmlTableRendererBase.e ncodeChil dren(HtmlTableRendererBase.java:121) at javax.faces.component.UIComponentBase.encodeChildren(UICompone ntBase.ja va:317) at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java: 370) at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:278) at net.sourceforge.myfaces.taglib.UIComponentBodyTagBase.doEndTag (UICompon entBodyTagBase.java:79) at org.apache.jsp.userList_jsp._jspx_meth_h_dataTable_0 (userList_jsp.java:372) at org.apache.jsp.userList_jsp._jspService(userList_jsp.java:148) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServlet Wrapper.j ava:324) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java: 292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilt er(Applic ationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli cationFil terChain.java:157) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(Pa geFilter. java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilt er(Applic ationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli cationFil terChain.java:157) at org.appfuse.web.MessageFilter.doFilter(MessageFilter.java:36) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilt er(Applic ationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli cationFil terChain.java:157) at org.apache.catalina.core.ApplicationDispatcher.invoke(Applicat ionDispat cher.java:704) at org.apache.catalina.core.ApplicationDispatcher.processRequest( Applicati onDispatcher.java:474) at org.apache.catalina.core.ApplicationDispatcher.doForward(Appli cationDis patcher.java:409) at org.apache.catalina.core.ApplicationDispatcher.forward(Applica tionDispa tcher.java:312) at net.sourceforge.myfaces.context.servlet.ServletExternalContext Impl.disp atch(ServletExternalContextImpl.java:404) at net.sourceforge.myfaces.application.jsp.JspViewHandlerImpl.ren derView(J spViewHandlerImpl.java:241) at net.sourceforge.myfaces.lifecycle.LifecycleImpl.render(Lifecyc leImpl.ja va:287) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:110) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilt er(Applic ationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli cationFil terChain.java:157) at