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: MyFaces and CODI
Date Fri, 09 Mar 2012 12:10:09 GMT
hi stephen,

yes - you can add a small js (see e.g. [1]) to support this use-case.

regards,
gerhard

[1] http://s.apache.org/YTq

http://www.irian.at

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

Professional Support for Apache MyFaces



2012/3/9 Stephen More <stephen.more@gmail.com>

> Great. I am mainly interested in WindowScoped i.e. every browser tab
> has its own mini-session.
>
> I see that CODI is adding a ?windowId=595 to keep these conversations
> separate. If a user simply copies the url and pastes in a new tab now
> two browser tabs are sharing the same conversation. How can I prevent
> this ? I want to enforce that EVERY browser tab has its own
> conversation. Perhaps a simple error to the user saying "Sorry" or
> start a new conversation.
>
> -Thanks
>
> On Fri, Mar 9, 2012 at 3:18 AM, Gerhard Petracek
> <gerhard.petracek@gmail.com> wrote:
> > hi stephen,
> >
> > (that's an issue with the setup of weld and not related to myfaces codi.)
> > however, myfaces codi doesn't need this support -> if you also don't need
> > cdi support for servlets, filters or listeners, you can run the
> application
> > without those features.
> >
> > 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/3/9 Stephen More <stephen.more@gmail.com>
> >
> >> I too am trying to get a simple example working. I have put together
> >> this project: http://maven-examples.googlecode.com/svn/trunk/jsf-codi/
> >>
> >> mvn jetty:run-war   results in
> >>
> >> SEVERE: Unable to create JettyWeldInjector. CDI injection will not be
> >> available in Servlets, Filters or Listeners
> >>
> >> What else do I need to get this simple example working ?
> >>
> >> -Thanks
> >>
> >> On Thu, Mar 8, 2012 at 11:07 AM, Gerhard Petracek
> >> <gerhard.petracek@gmail.com> wrote:
> >> > hi jose,
> >> >
> >> > first of all: welcome @ myfaces!
> >> >
> >> > concrete questions are very welcome and we will improve the wiki
> based on
> >> > them.
> >> >
> >> > 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/3/8 José Luis Cetina <maxtorzito@gmail.com>
> >> >
> >> >> Hi im so excited to start and use MyFaces and CODI but i cant get any
> >> >> "good" documentation in fact i only can get like 2 or 3 mini tutorial
> >> but
> >> >> they are really incomplete, can somebody recommend me to some
> tutorial
> >> or
> >> >> book to start with *CODI *y see this is an excellent extension, im
> >> moving
> >> >> from mojarra and CDI to MyFaces and MyFaces extensions, please where
> i
> >> can
> >> >> find value information
> >> >>
> >> >> The only URL where i found a little info is this:
> >> >> https://cwiki.apache.org/confluence/display/EXTCDI/Index
> >> >>
> >> >> --
> >> >> -------------------------------------------------------------------
> >> >> *SCJA. José Luis Cetina*
> >> >> -------------------------------------------------------------------
> >> >>
> >>
>

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