Well, I now have my app up and running under myFaces.  I had to do some tweeking to get the app to run under myFaces.  But it is running now.
 
I still have the same problem.  I can't get the commandButton to invoke the method in the action attribute during the invoke application phase.
 
I have a set of 5 custom tags that render a table and its associated tags.  I needed to do a custom component because the JSF DataTable doesn't support rowspan, colspan, and I think multi line column headers (ie multi tr tags in the thead tag).
 
The only message that I see is in the log at startup.  It says.
 
session.ManagerBase - Cannot serialize session attribute net.sourceforge.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/secure/dataentry/allAuthUser.jsp for session 1B0C75CC467BB3B9D2EB116EDD3263BB
java.io.NotSerializableException: javax.faces.application.StateManager$SerilizedView
     at java.io.ObjectOutputStream.writeObject0(Unknown Source)
     ...
 
Other than that everything seems to be running fine but it just doesn't call my method.  Anyone got any ideas?
 
Thanks,
Ray

Ray Clark <[EMAIL PROTECTED]> wrote:
Thanks so much for responding.
 
The page renders correctly.  The problem is that the method for the button is only invoked if I have the button under the rptTable tag.  The method doesn't get invoked if I move it anyplace else.
 
Thanks,
Ray

Heath Borders <[EMAIL PROTECTED]> wrote:
Do your colHdr, row, or col tags have getRendersChildren() set to
true? if so, it is your responsibility to make sure that
h:commandButton is rendered (usually, by calling the encodeBegin,
encodeChildren, encodeEnd methods).


On Thu, 30 Dec 2004 05:51:20 -0800 (PST), Ray Clark
<[EMAIL PROTECTED]>wrote:
>
>
> Hi All:
>
> I just subscribed seconds ago. This is exciting. I think that you people
> are doing great work, and I am so excited for you because you have been
> accepted by Apache. Way to go.
>
> First off, I am fairly new to JSF. I am researching it for my company to
> see if it will fit our needs and is ready for us to start using. As a proof
> of concept I converted one of the pages here to JSF. It was my first page
> so it took me a little while but it all worked out fine. So now I'm trying
> to do some custom components to render a table because the JSF DataTable
> doesn't have the capabilities that we need.
>
> I sent this question to Matthias Wessendorf at the jsf-developers yahoo
> group and he recommended that I send my question on to you guys/gals.
> Thanks for taking the time to read my email.
>
> I have a set of 5 custom components that implement the HTML table, tr, th,
> td, etc tags. I tried using the JSF dataTable but it doesn't support
> rowspan and colspan, and I don't think that it supports multi line column
> headers. All of this is a requirement for the pages that we have at work.
> So I had to come up with my own set of custom tags. Well, here is my
> problem.
> I need to be able to put a commandButton in a column header so that I can
> implement sorting. My problem is that the command button works under 1
> custom tag but not under the one that I need it to work under. Here is what
> I mean.
>
> This works when the command button is up here.
>
>
>
>
>
>
>
>

>
> This doesn't work.
>
>
>
>
>
>
>
>

>
> This is just a portion of my JSP but you can see what I mean. When the
> commandButton is under the rptTable tag the method in the backing bean gets
> called. When the commandButton is under the col tag it does not. There are
> no message, all of the phases execute, no logging
> message, it is as if the page works just fine, but the method doesn't get
> called. So I'm thinking that either I have something messed up in one of my
> components or renderers, or JSF has a bug in the life cycle or something. I
> posted this on the Sun forum under the subject "Problem with commandButton
> in a custom DataTable", but so far no one has responded. What do you think
> the problem might be, and do you think MyFaces would have the same problem?
> I've been sticking with the generic JSF for now so that I could see what
> that does before I try to use a 3rd part implementation. But if MyFaces
> doesn't have this problem then I'm ready and eager to try it. I really
> respect the opinion of you guys/gals, so if you could shed any light on this
> I would appreciate it. Basically this is holding up my work even
> considering using JSF
> because we can't duplicate the reports that we currently do with JSTL,
> Struts, HTML, etc, without this.
>
> Well, that's it in a nutshell. If you would like for me to post code I
> will. I just didn't know what to post and I didn't want to make this to
> long.
>
> Also, do you think that I should send this to the developers list as well?
>
> Thank you for your help.
>
> Thanks,
> Ray
>
> ________________________________
> Do you Yahoo!?
> Send a seasonal email greeting and help others. Do good.
>
>


--
-Heath Borders-Wing
[EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.

Reply via email to