You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Alin Dosoniu <ad...@hotmail.com> on 2007/07/03 12:21:28 UTC

securityContext does not work in rendered from h:panelGroup

Hi,

I think securityContext does not work in rendered attribute of a h:panelGroup.
I am using myfaces 1.1.5.
Can someone confirm this?

Thank you,
Alin.

Re: securityContext does not work in rendered from h:panelGroup

Posted by Cagatay Civici <ca...@gmail.com>.
Hi Alin,

I'm trying to reproduce it, please stay tuned:)

Regards,

cagatay

On 7/5/07, Alin Dosoniu <ad...@hotmail.com> wrote:
>
>  Anyone on this?
> Is it a bug or am I using it incorrect?
>
> Thank you,
> Alin.
>
> Container managed. FORM basd authentication.
> If I use it like this
> <h:outputLabel for="freport:outputtype" value="value" rendered="#{
> securityContext.ifGranted['admin']}"/>
> it works.
> But in this case
> <h:panelGroup rendered="#{securityContext.ifGranted['admin']}">
> it doesn't work.
>
> Alin.
>
> Hi,
>
> What kind of security management are you using? Container managed or
> something like Acegi or etc?
>
> Regards,
>
> Cagatay
>
> On 7/3/07, Alin Dosoniu <ad...@hotmail.com> wrote:
> >
> >  Hi,
> >
> > I think securityContext does not work in rendered attribute of a
> > h:panelGroup.
> > I am using myfaces 1.1.5.
> > Can someone confirm this?
> >
> > Thank you,
> > Alin.
> >
>

Re: securityContext does not work in rendered from h:panelGroup

Posted by Alin Dosoniu <ad...@hotmail.com>.
Anyone on this? 
Is it a bug or am I using it incorrect?

Thank you,
Alin.
  Container managed. FORM basd authentication.
  If I use it like this 
  <h:outputLabel for="freport:outputtype" value="value" rendered="#{securityContext.ifGranted['admin']}"/>
  it works.
  But in this case
  <h:panelGroup rendered="#{securityContext.ifGranted['admin']}">
  it doesn't work.

  Alin.
    Hi,

    What kind of security management are you using? Container managed or something like Acegi or etc?

    Regards,

    Cagatay


    On 7/3/07, Alin Dosoniu <ad...@hotmail.com> wrote: 
      Hi,

      I think securityContext does not work in rendered attribute of a h:panelGroup.
      I am using myfaces 1.1.5.
      Can someone confirm this?

      Thank you,
      Alin.

Re: securityContext does not work in rendered from h:panelGroup

Posted by Alin Dosoniu <ad...@hotmail.com>.
Container managed. FORM basd authentication.
If I use it like this 
<h:outputLabel for="freport:outputtype" value="value" rendered="#{securityContext.ifGranted['admin']}"/>
it works.
But in this case
<h:panelGroup rendered="#{securityContext.ifGranted['admin']}">
it doesn't work.

Alin.
  Hi,

  What kind of security management are you using? Container managed or something like Acegi or etc?

  Regards,

  Cagatay


  On 7/3/07, Alin Dosoniu <ad...@hotmail.com> wrote:
    Hi,

    I think securityContext does not work in rendered attribute of a h:panelGroup.
    I am using myfaces 1.1.5.
    Can someone confirm this?

    Thank you,
    Alin.

Re: securityContext does not work in rendered from h:panelGroup

Posted by Cagatay Civici <ca...@gmail.com>.
Hi,

What kind of security management are you using? Container managed or
something like Acegi or etc?

Regards,

Cagatay

On 7/3/07, Alin Dosoniu <ad...@hotmail.com> wrote:
>
>  Hi,
>
> I think securityContext does not work in rendered attribute of a
> h:panelGroup.
> I am using myfaces 1.1.5.
> Can someone confirm this?
>
> Thank you,
> Alin.
>