myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Petracek <gerhard.petra...@gmail.com>
Subject Re: CODI
Date Mon, 02 Apr 2012 17:21:55 GMT
hi jose,

right now you just can create a base class and in the 2 concrete page-beans
you just provide different names.

regards,
gerhard

http://www.irian.at

Your JSF/JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces



2012/4/2 José Luis Cetina <maxtorzito@gmail.com>

> Thanks Gerhard, but is there a way to do this but with: @View ??
>
> I like more use @View
>
>
> 2012/4/2 Gerhard Petracek <gerhard.petracek@gmail.com>
>
> > hi jose,
> >
> > just use @PageBean [1] and ref. the same page-bean at both view-configs.
> >
> > regards,
> > gerhard
> >
> > [1]
> >
> >
> https://cwiki.apache.org/confluence/display/EXTCDI/JSF+Usage#JSFUsage-PageBeans
> >
> >
> >
> >
> > http://www.irian.at
> >
> > Your JSF/JavaEE powerhouse -
> > JavaEE Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
> >
> > 2012/4/2 José Luis Cetina <maxtorzito@gmail.com>
> >
> > > Hello, someone who can guide me?
> > > I want to use the same managed bean with 2 different pages, since a
> page
> > is
> > > for mobile and other "normal" but both use the same managed bean.
> > >
> > > I used the  TYPE-SAFE  navigation  but managed bean per page
> > >
> > >
> > > -------------------------------------------------------------------
> > > *SCJA. José Luis Cetina*
> > > -------------------------------------------------------------------
> > >
> >
>
>
>
> --
> -------------------------------------------------------------------
> *SCJA. José Luis Cetina*
> -------------------------------------------------------------------
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message