You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@deltaspike.apache.org by Juliano Marques <ju...@dsmail.com.br> on 2014/10/21 13:16:38 UTC
ViewAccessScoped
Hi,
I have some questions about ViewAccesScoped.
1) It is possible to use ViewAccessScoped without any parameters in URL?
e.g. using a cookie?
2) In a CRUD with ViewAccessScoped, when the edit button is clicked with
mouse middle button (open in a new tab), the jfwid url param has the same
value of jfwid url param of previous tab, leading to errors. How can I fix
that?
Info: I'm using Deltaspike 1.0.3, ViewAccessScoped with Delegated
ClientWindowMode, param javax.faces.CLIENT_WINDOW_MODE, value url in
web.xml
Regards,
Juliano
Atenciosamente,
Juliano Marques
Desenvolvimento Imobiliário
Criciúma - SC
Fone: (48) 3461-1000
Re: ViewAccessScoped
Posted by Gerhard Petracek <ge...@gmail.com>.
hi juliano,
yes - >if< it still occurs with the latest version of mojarra, they still
have this bug.
fyi: it works with myfaces-core as expected and described in the
specification.
regards,
gerhard
http://www.irian.at
Your JSF/JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
2014-10-21 15:11 GMT+02:00 Juliano Marques <ju...@dsmail.com.br>:
> I forgot to mention, I was in this discussion... :-)
> I will create the issue.
>
> Thanks.
> Juliano
>
>
>
> De: Thomas Andraschko <an...@gmail.com>
> Para: users@deltaspike.apache.org,
> Data: 21/10/2014 11:06
> Assunto: Re: ViewAccessScoped
>
>
>
> There was already a discussion about it in the mailing list.
> AFAIR gerhard suggested to create a issue on mojarra side but i don't know
> if there is one.
> Maybe you can create one.
>
>
> 2014-10-21 15:02 GMT+02:00 Juliano Marques
> <ju...@dsmail.com.br>:
>
> > Hi,
> >
> > I set the ClientWindowMode to LAZY, and add ds:windowId to my master
> > template, and the open in new tab problem was solved.
> > But the URL has two params now, dswid and jfwid.
> > Web.xml does not have the CLIENT_WINDOW_MODE anymore.
> > It seems this issue is a Mojarra problem.
> >
> > Thanks.
> >
> > Regards,
> > Juliano
> >
> >
> >
> >
> >
> >
> > De: Thomas Andraschko <an...@gmail.com>
> > Para: users@deltaspike.apache.org,
> > Data: 21/10/2014 09:24
> > Assunto: Re: ViewAccessScoped
> >
> >
> >
> > 1) depends on the JSF implementation, as you use Delegated
> > ClientWindowMode.
> > Also, we don't have any mode that works completely withour a URL
> > param.
> > You can also create your own ClientWindow mode.
> >
> > 2) It also depends on the JSF implementation, as you use Delegated
> > ClientWindowMode.
> > You can try to use our LAZY or CLIENTWINDOW mode, it should work fine
> > in
> > this cases.
> >
> > 2014-10-21 13:16 GMT+02:00 Juliano Marques
> > <ju...@dsmail.com.br>:
> >
> > > Hi,
> > >
> > > I have some questions about ViewAccesScoped.
> > >
> > > 1) It is possible to use ViewAccessScoped without any parameters in
> URL?
> > > e.g. using a cookie?
> > > 2) In a CRUD with ViewAccessScoped, when the edit button is clicked
> with
> > > mouse middle button (open in a new tab), the jfwid url param has the
> > same
> > > value of jfwid url param of previous tab, leading to errors. How can I
> > fix
> > > that?
> > >
> > > Info: I'm using Deltaspike 1.0.3, ViewAccessScoped with Delegated
> > > ClientWindowMode, param javax.faces.CLIENT_WINDOW_MODE, value url in
> > web.xml
> > >
> > > Regards,
> > > Juliano Atenciosamente,
> > >
> > > Juliano Marques
> > > Desenvolvimento Imobiliário
> > > Criciúma - SC
> > > Fone: (48) 3461-1000
> > >
> >
> >
>
>
Re: ViewAccessScoped
Posted by Juliano Marques <ju...@dsmail.com.br>.
I forgot to mention, I was in this discussion... :-)
I will create the issue.
Thanks.
Juliano
De: Thomas Andraschko <an...@gmail.com>
Para: users@deltaspike.apache.org,
Data: 21/10/2014 11:06
Assunto: Re: ViewAccessScoped
There was already a discussion about it in the mailing list.
AFAIR gerhard suggested to create a issue on mojarra side but i don't know
if there is one.
Maybe you can create one.
2014-10-21 15:02 GMT+02:00 Juliano Marques
<ju...@dsmail.com.br>:
> Hi,
>
> I set the ClientWindowMode to LAZY, and add ds:windowId to my master
> template, and the open in new tab problem was solved.
> But the URL has two params now, dswid and jfwid.
> Web.xml does not have the CLIENT_WINDOW_MODE anymore.
> It seems this issue is a Mojarra problem.
>
> Thanks.
>
> Regards,
> Juliano
>
>
>
>
>
>
> De: Thomas Andraschko <an...@gmail.com>
> Para: users@deltaspike.apache.org,
> Data: 21/10/2014 09:24
> Assunto: Re: ViewAccessScoped
>
>
>
> 1) depends on the JSF implementation, as you use Delegated
> ClientWindowMode.
> Also, we don't have any mode that works completely withour a URL
> param.
> You can also create your own ClientWindow mode.
>
> 2) It also depends on the JSF implementation, as you use Delegated
> ClientWindowMode.
> You can try to use our LAZY or CLIENTWINDOW mode, it should work fine
> in
> this cases.
>
> 2014-10-21 13:16 GMT+02:00 Juliano Marques
> <ju...@dsmail.com.br>:
>
> > Hi,
> >
> > I have some questions about ViewAccesScoped.
> >
> > 1) It is possible to use ViewAccessScoped without any parameters in
URL?
> > e.g. using a cookie?
> > 2) In a CRUD with ViewAccessScoped, when the edit button is clicked
with
> > mouse middle button (open in a new tab), the jfwid url param has the
> same
> > value of jfwid url param of previous tab, leading to errors. How can I
> fix
> > that?
> >
> > Info: I'm using Deltaspike 1.0.3, ViewAccessScoped with Delegated
> > ClientWindowMode, param javax.faces.CLIENT_WINDOW_MODE, value url in
> web.xml
> >
> > Regards,
> > Juliano Atenciosamente,
> >
> > Juliano Marques
> > Desenvolvimento Imobiliário
> > Criciúma - SC
> > Fone: (48) 3461-1000
> >
>
>
Re: ViewAccessScoped
Posted by Thomas Andraschko <an...@gmail.com>.
There was already a discussion about it in the mailing list.
AFAIR gerhard suggested to create a issue on mojarra side but i don't know
if there is one.
Maybe you can create one.
2014-10-21 15:02 GMT+02:00 Juliano Marques <ju...@dsmail.com.br>:
> Hi,
>
> I set the ClientWindowMode to LAZY, and add ds:windowId to my master
> template, and the open in new tab problem was solved.
> But the URL has two params now, dswid and jfwid.
> Web.xml does not have the CLIENT_WINDOW_MODE anymore.
> It seems this issue is a Mojarra problem.
>
> Thanks.
>
> Regards,
> Juliano
>
>
>
>
>
>
> De: Thomas Andraschko <an...@gmail.com>
> Para: users@deltaspike.apache.org,
> Data: 21/10/2014 09:24
> Assunto: Re: ViewAccessScoped
>
>
>
> 1) depends on the JSF implementation, as you use Delegated
> ClientWindowMode.
> Also, we don't have any mode that works completely withour a URL
> param.
> You can also create your own ClientWindow mode.
>
> 2) It also depends on the JSF implementation, as you use Delegated
> ClientWindowMode.
> You can try to use our LAZY or CLIENTWINDOW mode, it should work fine
> in
> this cases.
>
> 2014-10-21 13:16 GMT+02:00 Juliano Marques
> <ju...@dsmail.com.br>:
>
> > Hi,
> >
> > I have some questions about ViewAccesScoped.
> >
> > 1) It is possible to use ViewAccessScoped without any parameters in URL?
> > e.g. using a cookie?
> > 2) In a CRUD with ViewAccessScoped, when the edit button is clicked with
> > mouse middle button (open in a new tab), the jfwid url param has the
> same
> > value of jfwid url param of previous tab, leading to errors. How can I
> fix
> > that?
> >
> > Info: I'm using Deltaspike 1.0.3, ViewAccessScoped with Delegated
> > ClientWindowMode, param javax.faces.CLIENT_WINDOW_MODE, value url in
> web.xml
> >
> > Regards,
> > Juliano Atenciosamente,
> >
> > Juliano Marques
> > Desenvolvimento Imobiliário
> > Criciúma - SC
> > Fone: (48) 3461-1000
> >
>
>
Re: ViewAccessScoped
Posted by Juliano Marques <ju...@dsmail.com.br>.
Hi,
I set the ClientWindowMode to LAZY, and add ds:windowId to my master
template, and the open in new tab problem was solved.
But the URL has two params now, dswid and jfwid.
Web.xml does not have the CLIENT_WINDOW_MODE anymore.
It seems this issue is a Mojarra problem.
Thanks.
Regards,
Juliano
De: Thomas Andraschko <an...@gmail.com>
Para: users@deltaspike.apache.org,
Data: 21/10/2014 09:24
Assunto: Re: ViewAccessScoped
1) depends on the JSF implementation, as you use Delegated
ClientWindowMode.
Also, we don't have any mode that works completely withour a URL
param.
You can also create your own ClientWindow mode.
2) It also depends on the JSF implementation, as you use Delegated
ClientWindowMode.
You can try to use our LAZY or CLIENTWINDOW mode, it should work fine
in
this cases.
2014-10-21 13:16 GMT+02:00 Juliano Marques
<ju...@dsmail.com.br>:
> Hi,
>
> I have some questions about ViewAccesScoped.
>
> 1) It is possible to use ViewAccessScoped without any parameters in URL?
> e.g. using a cookie?
> 2) In a CRUD with ViewAccessScoped, when the edit button is clicked with
> mouse middle button (open in a new tab), the jfwid url param has the
same
> value of jfwid url param of previous tab, leading to errors. How can I
fix
> that?
>
> Info: I'm using Deltaspike 1.0.3, ViewAccessScoped with Delegated
> ClientWindowMode, param javax.faces.CLIENT_WINDOW_MODE, value url in
web.xml
>
> Regards,
> Juliano Atenciosamente,
>
> Juliano Marques
> Desenvolvimento Imobiliário
> Criciúma - SC
> Fone: (48) 3461-1000
>
Re: ViewAccessScoped
Posted by Thomas Andraschko <an...@gmail.com>.
1) depends on the JSF implementation, as you use Delegated ClientWindowMode.
Also, we don't have any mode that works completely withour a URL param.
You can also create your own ClientWindow mode.
2) It also depends on the JSF implementation, as you use Delegated
ClientWindowMode.
You can try to use our LAZY or CLIENTWINDOW mode, it should work fine in
this cases.
2014-10-21 13:16 GMT+02:00 Juliano Marques <ju...@dsmail.com.br>:
> Hi,
>
> I have some questions about ViewAccesScoped.
>
> 1) It is possible to use ViewAccessScoped without any parameters in URL?
> e.g. using a cookie?
> 2) In a CRUD with ViewAccessScoped, when the edit button is clicked with
> mouse middle button (open in a new tab), the jfwid url param has the same
> value of jfwid url param of previous tab, leading to errors. How can I fix
> that?
>
> Info: I'm using Deltaspike 1.0.3, ViewAccessScoped with Delegated
> ClientWindowMode, param javax.faces.CLIENT_WINDOW_MODE, value url in web.xml
>
> Regards,
> Juliano Atenciosamente,
>
> Juliano Marques
> Desenvolvimento Imobiliário
> Criciúma - SC
> Fone: (48) 3461-1000
>