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 <maxtorz...@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.petra...@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 <maxtorz...@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*
> -------------------------------------------------------------------
>

Reply via email to