incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer" <awi...@gmail.com>
Subject Re: ADF Faces breaks many Tomahawk components
Date Wed, 24 May 2006 19:03:46 GMT
On 5/24/06, Martin Marinschek <martin.marinschek@gmail.com> wrote:
> Hi Adam,
>
> I don't remember a thread talking about component families, we only
> talked about extending from UIForm - so UIXForm does not even have the
> same component family as UIForm?

No, it doesn't, which is more-or-less implied by not extending UIForm.
In general, component family should follow subclassing
as well, because otherwise you'd get ClassCastExceptions in
Renderers.

-- Adam




> regards,
>
> Martin
>
> On 5/24/06, Adam Winer <awiner@gmail.com> wrote:
> > Actually, probably not...  UIXForm is in a different component
> > family from UIForm.  (An earlier thread talked about that.)
> >
> > -- Adam
> >
> >
> > On 5/24/06, Martin Marinschek <martin.marinschek@gmail.com> wrote:
> > > Problem 1) should have been fixed by Mario's recent addition of
> > > searching for the component family instead of the instance of UIForm.
> > >
> > > regards,
> > >
> > > Martin
> > >
> > > On 5/24/06, Cosma Colanicchia <cosmacol@gmail.com> wrote:
> > > > I've done some other tries:
> > > >
> > > > 1) When using the <af:form> component, a dummy form and its clear
> > > > method are created. Clicking on <t:commandLink> or
> > > > <t:commandSortHeader> does trigger a submit, but the expected
> > > > behaviour isn't executed. Probably this is because the _link_hidden_
> > > > value is set telling JSF that a "linkDummyForm:commandLinkId" has been
> > > > triggered, but the actual name of the component is different (its name
> > > > contaner has a different id).
> > > >
> > > > 2) When using an <h:form> component, the dummy form isn't created
> > > > (seems that the <t:commandLink> recognize its parent form), but
no
> > > > clear_ method is generated in the page, so the onclick javascript
> > > > fails to submit the form.
> > > >
> > > >
> > > > Cosma
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > 2006/5/23, Cosma Colanicchia <cosmacol@gmail.com>:
> > > > > It would be useful to share info about making they work togheter,
if
> > > > > someone has resolved these problems.
> > > > >
> > > > > Anyway I'm using the latest snapshots.. and I tried with both <h:form>
> > > > > and <af:form>. I had some issues with dummyForm at first, if
I can get
> > > > > some detail I'll try to post it tomorrow, now I'm leaving the office.
> > > > >
> > > > > Bye
> > > > > Cosma
> > > > >
> > > > >
> > > > > 2006/5/23, Matthias Wessendorf <matzew@apache.org>:
> > > > > > Hi-
> > > > > >
> > > > > > time by time there are people on the list, using both.
> > > > > > MyFaces (incl. Tomahawk) and ADF Faces
> > > > > >
> > > > > >
> > > > > > > > > 1) <t:commandLink> components (and <t:commandSortHeader>s)
don't work,
> > > > > > > > > because the MyFaces javascript functions such
as clear_myFormId don't get
> > > > > > > > > generated. Also the _link_hidden_form isn't generated
anymore. The rendered
> > > > > > > > > HTML includes the string <!-- MYFACES JAVASCRIPT
-->, and looking at the
> > > > > > > > > stack I can see that both the adfFaces and the
ExtensionsFilter are invoked,
> > > > > > > > > but no MyFaces script are actually rendered in
the page.
> > > > > > > >
> > > > > > > > I'm not sure why this would happen, but this may be
a MyFaces
> > > > > > > > bug;  I know there's been some discussion on the main
MyFaces
> > > > > > > > list about issues like this.
> > > > > > >
> > > > > > > I'll try to search more carefully in the archives.. do
you know if
> > > > > > > someone had success using MyFaces, Tomahawk and ADF Faces
in a
> > > > > > > project?
> > > > > > >
> > > > > >
> > > > > > Which version (of MyFaces) are you using?
> > > > > > Can you wrapp <h:form> around commandLink?
> > > > > >
> > > > > > There where some issue - discussed on myfaces dev - regarding
"auto
> > > > > > generated form" aka dummy form
> > > > > >
> > > > > > -Matthias
> > > > > >
> > > > >
> > > >
> > >
> > >
> > > --
> > >
> > > http://www.irian.at
> > >
> > > Your JSF powerhouse -
> > > JSF Consulting, Development and
> > > Courses in English and German
> > >
> > > Professional Support for Apache MyFaces
> > >
> >
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>

Mime
View raw message