You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-user@incubator.apache.org by Chaitanya Kadaru <ch...@oracle.com> on 2006/06/19 17:05:37 UTC
How to start using adf faces
Hi
I am using apache myfaces and tomahawk components on top of it.
Now I want to use some adf components along with the above. Can someone pass me on the documented process like
1) which jar files need to go whjere? I have downloaded the adf jars from the incubator site.
2) what needs to be changed in the web.xml of faces config.xml?
3) anything else needs be done ? Like packaging the additional jars
If there is a documented process somewhere that would be great, of even if one of you can tell me the process that would be great.
Thanks
Chaitanya Kadaru
-----Original Message-----
From: Dan Robinson [mailto:dannyjrobinson@gmail.com]
Sent: Monday, June 19, 2006 7:32 AM
To: adffaces-user@incubator.apache.org
Subject: Re: af:objectIcon - Additional Custom Icons
Many thanks that worked.
On 6/15/06, Adam Winer <aw...@gmail.com> wrote:
>
> I think you need to do:
>
> .myIconName:alias
> {
> content:url(.../ico16.gif);
> width:16px;
> height:16px
> }
>
> <af:objectIcon name="myIconName"/>
>
> Note the ":alias".
>
> -- Adam
>
>
> On 6/13/06, Dan Robinson <da...@gmail.com> wrote:
> > Guys,
> >
> > Does af:objectIcon provide the ability to reference additional
> > custom icons. The docs tend towards allowing this, but I can't get it to work.
> >
> > So far I have tried
> >
> > <af:objectIcon name="AFPromptIcon"/> and <af:objectIcon
> > name="prompt"/>
> >
> > using a skin containing
> >
> > .AFPromptIcon {
> > content:url(.../ico16.gif);
> > width:16px;
> > height:16px
> > }
> >
> > Neither seem to work.
> >
> > Thanks,
> >
> >
>
Re: How to start using adf faces
Posted by Matthias Wessendorf <ma...@apache.org>.
> 1) which jar files need to go whjere? I have downloaded the adf jars from the incubator site.
when using the archetype all needed dependencies (JARs) will be added
to your project.
> 2) what needs to be changed in the web.xml of faces config.xml?
The "template project", created by the archetype, will ship a adf
faces compilant web.xml and faces-cfg.xml.
> 3) anything else needs be done ? Like packaging the additional jars
the dependencies of adf's dependencies will be added during creating
the template project within the archetype
> If there is a documented process somewhere that would be great, of even if one of you can tell me the process that would be great.
The archetype wiki I already mentioned.
Regards,
Matthias
> Thanks
>
> Chaitanya Kadaru
>
>
> -----Original Message-----
> From: Dan Robinson [mailto:dannyjrobinson@gmail.com]
> Sent: Monday, June 19, 2006 7:32 AM
> To: adffaces-user@incubator.apache.org
> Subject: Re: af:objectIcon - Additional Custom Icons
>
> Many thanks that worked.
>
> On 6/15/06, Adam Winer <aw...@gmail.com> wrote:
> >
> > I think you need to do:
> >
> > .myIconName:alias
> > {
> > content:url(.../ico16.gif);
> > width:16px;
> > height:16px
> > }
> >
> > <af:objectIcon name="myIconName"/>
> >
> > Note the ":alias".
> >
> > -- Adam
> >
> >
> > On 6/13/06, Dan Robinson <da...@gmail.com> wrote:
> > > Guys,
> > >
> > > Does af:objectIcon provide the ability to reference additional
> > > custom icons. The docs tend towards allowing this, but I can't get it to work.
> > >
> > > So far I have tried
> > >
> > > <af:objectIcon name="AFPromptIcon"/> and <af:objectIcon
> > > name="prompt"/>
> > >
> > > using a skin containing
> > >
> > > .AFPromptIcon {
> > > content:url(.../ico16.gif);
> > > width:16px;
> > > height:16px
> > > }
> > >
> > > Neither seem to work.
> > >
> > > Thanks,
> > >
> > >
> >
>
>
>
--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com
RE: How to start using adf faces
Posted by Chaitanya Kadaru <ch...@oracle.com>.
Matthias
I don't want to worry about compilation.
Cant I use the jar file for the adf faces components. I think I already downloaded it.
What about my questions 1,2,3?
Thanks
Chaitanya Kadaru
-----Original Message-----
From: mwessendorf@gmail.com [mailto:mwessendorf@gmail.com] On Behalf Of Matthias Wessendorf
Sent: Monday, June 19, 2006 10:15 AM
To: adffaces-user@incubator.apache.org; chaitanya.kadaru@oracle.com
Subject: Re: How to start using adf faces
Chaitanya,
this is interesting. I just added some content to the wiki for describing the new Trinidad/ADF maven2 archetype (nice word) ;-)
On [1] you can find some nice introduction, howto setup a project template for that.
This archetype uses MyFaces CORE and Trinidad/ADF.
Adding Tomahawk components is possible.
Note, for the archetype you need also to build ADF Faces on your own. With Maven2, no big deal ([2]).
[1] http://wiki.apache.org/myfaces/Trinidad_Archetype
[2] http://wiki.apache.org/myfaces/Building_ADF_With_Maven
On 6/19/06, Chaitanya Kadaru <ch...@oracle.com> wrote:
> Hi
>
> I am using apache myfaces and tomahawk components on top of it.
>
> Now I want to use some adf components along with the above. Can
> someone pass me on the documented process like
>
> 1) which jar files need to go whjere? I have downloaded the adf jars from the incubator site.
>
> 2) what needs to be changed in the web.xml of faces config.xml?
>
> 3) anything else needs be done ? Like packaging the additional jars
>
> If there is a documented process somewhere that would be great, of even if one of you can tell me the process that would be great.
>
> Thanks
>
> Chaitanya Kadaru
>
>
> -----Original Message-----
> From: Dan Robinson [mailto:dannyjrobinson@gmail.com]
> Sent: Monday, June 19, 2006 7:32 AM
> To: adffaces-user@incubator.apache.org
> Subject: Re: af:objectIcon - Additional Custom Icons
>
> Many thanks that worked.
>
> On 6/15/06, Adam Winer <aw...@gmail.com> wrote:
> >
> > I think you need to do:
> >
> > .myIconName:alias
> > {
> > content:url(.../ico16.gif);
> > width:16px;
> > height:16px
> > }
> >
> > <af:objectIcon name="myIconName"/>
> >
> > Note the ":alias".
> >
> > -- Adam
> >
> >
> > On 6/13/06, Dan Robinson <da...@gmail.com> wrote:
> > > Guys,
> > >
> > > Does af:objectIcon provide the ability to reference additional
> > > custom icons. The docs tend towards allowing this, but I can't get it to work.
> > >
> > > So far I have tried
> > >
> > > <af:objectIcon name="AFPromptIcon"/> and <af:objectIcon
> > > name="prompt"/>
> > >
> > > using a skin containing
> > >
> > > .AFPromptIcon {
> > > content:url(.../ico16.gif);
> > > width:16px;
> > > height:16px
> > > }
> > >
> > > Neither seem to work.
> > >
> > > Thanks,
> > >
> > >
> >
>
>
>
--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com
Re: How to start using adf faces
Posted by Matthias Wessendorf <ma...@apache.org>.
Chaitanya,
this is interesting. I just added some content to the wiki for
describing the new Trinidad/ADF maven2 archetype (nice word) ;-)
On [1] you can find some nice introduction, howto setup a project
template for that.
This archetype uses MyFaces CORE and Trinidad/ADF.
Adding Tomahawk components is possible.
Note, for the archetype you need also to build ADF Faces on your
own. With Maven2, no big deal ([2]).
[1] http://wiki.apache.org/myfaces/Trinidad_Archetype
[2] http://wiki.apache.org/myfaces/Building_ADF_With_Maven
On 6/19/06, Chaitanya Kadaru <ch...@oracle.com> wrote:
> Hi
>
> I am using apache myfaces and tomahawk components on top of it.
>
> Now I want to use some adf components along with the above. Can someone pass me on the documented process like
>
> 1) which jar files need to go whjere? I have downloaded the adf jars from the incubator site.
>
> 2) what needs to be changed in the web.xml of faces config.xml?
>
> 3) anything else needs be done ? Like packaging the additional jars
>
> If there is a documented process somewhere that would be great, of even if one of you can tell me the process that would be great.
>
> Thanks
>
> Chaitanya Kadaru
>
>
> -----Original Message-----
> From: Dan Robinson [mailto:dannyjrobinson@gmail.com]
> Sent: Monday, June 19, 2006 7:32 AM
> To: adffaces-user@incubator.apache.org
> Subject: Re: af:objectIcon - Additional Custom Icons
>
> Many thanks that worked.
>
> On 6/15/06, Adam Winer <aw...@gmail.com> wrote:
> >
> > I think you need to do:
> >
> > .myIconName:alias
> > {
> > content:url(.../ico16.gif);
> > width:16px;
> > height:16px
> > }
> >
> > <af:objectIcon name="myIconName"/>
> >
> > Note the ":alias".
> >
> > -- Adam
> >
> >
> > On 6/13/06, Dan Robinson <da...@gmail.com> wrote:
> > > Guys,
> > >
> > > Does af:objectIcon provide the ability to reference additional
> > > custom icons. The docs tend towards allowing this, but I can't get it to work.
> > >
> > > So far I have tried
> > >
> > > <af:objectIcon name="AFPromptIcon"/> and <af:objectIcon
> > > name="prompt"/>
> > >
> > > using a skin containing
> > >
> > > .AFPromptIcon {
> > > content:url(.../ico16.gif);
> > > width:16px;
> > > height:16px
> > > }
> > >
> > > Neither seem to work.
> > >
> > > Thanks,
> > >
> > >
> >
>
>
>
--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com