Thanks for the response. I was going to try and trim
down the page and play with moving the commandButton
around to see if it worked some places and not others.
It may be Monday, but I'll send it out as soon as I
can.
Thanks a bunch,
Ray
--- Heath Borders <[EMAIL PROTECTED]> wrote:
> Get the page into a state where you're using the
> fewest number of tags
> (so that we have to dig through the least amount of
> code). Then,
> you're going to need to post the all code associated
> with the custom
> tags (your Tag, Component, and Renderer) for each
> tag.
>
>
> On Thu, 30 Dec 2004 18:01:08 -0800 (PST), Ray Clark
> <[EMAIL PROTECTED]> wrote:
> > Does anyone have any ideas on what would cause my
> > commandButton, that works fine outside my custom
> tag,
> > not to invoke its method when it is inside my
> custom
> > tag?
> >
> > I get no message, no logging error, the page looks
> > like it works fine, all the phases are processed,
> and
> > yet it doesn't call my method.
> >
> > I'll post whatever code you want. I just didn't
> know
> > what to post.
> >
> > Here is the part of my jsp that has the command
> button
> > inside my custom tags.
> >
> > <cjsf:rptTable tableClass="tableClass"
> > id="rptTableId">
> > <cjsf:colHdr>
> > <cjsf:row>
> > <cjsf:col
> colClass="header">
> > <h:commandButton
> > action="#{allAuthUser.sortAppIdAscButton}"
> value="A"/>
> > <h:outputText
> value="User Id"/>
> > </cjsf:col>
> >
> > Thanks,
> > Ray
> >
> > --- Ray Clark <[EMAIL PROTECTED]> wrote:
> >
> > > 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
> > > 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.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
>
=== message truncated ===
__________________________________
Do you Yahoo!?
Jazz up your holiday email with celebrity designs. Learn more.
http://celebrity.mail.yahoo.com