You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Mathias Walter <ma...@gmx.net> on 2008/04/30 00:39:53 UTC

[Trinidad] PPR and requestScope

Hi,

I've a problem with requestScope and beans action method.

AS soon as I put my inline editing table bean into request scope, the action
methods won't work, except for the first one (Edit).

That are the links available in the last column of each row.

<tr:commandLink action="#{backingBean.edit}" text="Edit"
partialSubmit="true" rendered="#{!backingBean.editMode and
backingBean.visibleOnly}" immediate="true" />
<tr:commandLink action="#{backingBean.save}" text="Save"
partialSubmit="true" rendered="#{!backingBean.visibleOnly}" />
<tr:commandLink action="#{backingBean.cancel}" text="Cance"
partialSubmit="true" rendered="#{!backingBean.visibleOnly}"
immediate="true">
	<tr:resetActionListener/>
</tr:commandLink>

save and cancel never gets called, if the backingBean is in request scope.

With session scope all works fine.

Are there any knowing bugs or limitations?

--
Kind regards,
Mathias


Re: [Trinidad] PPR and requestScope

Posted by Andrew Robinson <an...@gmail.com>.
I bet it is your rendered attributes. commandLink's will not decode
actions if not rendered. This is evaluated at the beginning of the
request, before all updates are processed. When do you set editMode,
visibleOnly, etc?

-Andrew

On Tue, Apr 29, 2008 at 4:39 PM, Mathias Walter <ma...@gmx.net> wrote:
> Hi,
>
>  I've a problem with requestScope and beans action method.
>
>  AS soon as I put my inline editing table bean into request scope, the action
>  methods won't work, except for the first one (Edit).
>
>  That are the links available in the last column of each row.
>
>  <tr:commandLink action="#{backingBean.edit}" text="Edit"
>  partialSubmit="true" rendered="#{!backingBean.editMode and
>  backingBean.visibleOnly}" immediate="true" />
>  <tr:commandLink action="#{backingBean.save}" text="Save"
>  partialSubmit="true" rendered="#{!backingBean.visibleOnly}" />
>  <tr:commandLink action="#{backingBean.cancel}" text="Cance"
>  partialSubmit="true" rendered="#{!backingBean.visibleOnly}"
>  immediate="true">
>         <tr:resetActionListener/>
>  </tr:commandLink>
>
>  save and cancel never gets called, if the backingBean is in request scope.
>
>  With session scope all works fine.
>
>  Are there any knowing bugs or limitations?
>
>  --
>  Kind regards,
>  Mathias
>
>

RE: Does Trinidad/Tomahawk samples work with websphere 6.1? Please Help

Posted by ma...@accenture.com.
What's your fixpack level? 
Mario

-----Original Message-----
From: Murtaza Goga [mailto:Murtaza.Goga@trisyngroup.com] 
Sent: 30 aprile 2008 16.07
To: MyFaces Discussion
Subject: RE: Does Trinidad/Tomahawk samples work with websphere 6.1?
Please Help 

Not sure what your error is, but you might want to consider setting the
classloader on the web module to PARENT_LAST.

-----Original Message-----
From: Nutulapati, Krishna [mailto:KNutulapati@ussco.com] 
Sent: Tuesday, April 29, 2008 6:49 PM
To: MyFaces Discussion
Subject: Does Trinidad/Tomahawk samples work with websphere 6.1? Please
Help 

 
Hello All,
Can any of you suggest whether you used/developed  Trinidad/Tomahawk
samples tested on websphere6.1.

I'm unable to run even a single trinidad/tomahawk samples on
websphere6.1... If you guys having any success
Please update me. If you update with a small sample working in
websphere6.1, it would be indeed a gr8 help. 
Thanks Guys,
Krishna. 



This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information.  If you have received it in error, please notify the sender immediately and delete the original.  Any other use of the email by you is prohibited.

RE: Does Trinidad/Tomahawk samples work with websphere 6.1? Please Help

Posted by Murtaza Goga <Mu...@trisyngroup.com>.
Not sure what your error is, but you might want to consider setting the
classloader on the web module to PARENT_LAST.

-----Original Message-----
From: Nutulapati, Krishna [mailto:KNutulapati@ussco.com] 
Sent: Tuesday, April 29, 2008 6:49 PM
To: MyFaces Discussion
Subject: Does Trinidad/Tomahawk samples work with websphere 6.1? Please
Help 

 
Hello All,
Can any of you suggest whether you used/developed  Trinidad/Tomahawk
samples tested on websphere6.1.

I'm unable to run even a single trinidad/tomahawk samples on
websphere6.1... If you guys having any success
Please update me. If you update with a small sample working in
websphere6.1, it would be indeed a gr8 help. 
Thanks Guys,
Krishna. 

Re: Does Trinidad/Tomahawk samples work with websphere 6.1? Please Help

Posted by Christian Beutenmueller <fl...@web.de>.
Scott O'Bryan schrieb:
> Hey Krishna, what J2EE version is Websphere 6.1 running on?

AFAIK: default is J2EE 1.4 with an IBM J2SDK 1.5.

greets,
Christian


Re: Does Trinidad/Tomahawk samples work with websphere 6.1? Please Help

Posted by Scott O'Bryan <da...@gmail.com>.
Hey Krishna, what J2EE version is Websphere 6.1 running on?

Nutulapati, Krishna wrote:
>  
> Hello All,
> Can any of you suggest whether you used/developed  Trinidad/Tomahawk
> samples tested on websphere6.1.
>
> I'm unable to run even a single trinidad/tomahawk samples on
> websphere6.1... If you guys having any success
> Please update me. If you update with a small sample working in
> websphere6.1, it would be indeed a gr8 help. 
> Thanks Guys,
> Krishna. 
>   


Does Trinidad/Tomahawk samples work with websphere 6.1? Please Help

Posted by "Nutulapati, Krishna" <KN...@ussco.com>.
 
Hello All,
Can any of you suggest whether you used/developed  Trinidad/Tomahawk
samples tested on websphere6.1.

I'm unable to run even a single trinidad/tomahawk samples on
websphere6.1... If you guys having any success
Please update me. If you update with a small sample working in
websphere6.1, it would be indeed a gr8 help. 
Thanks Guys,
Krishna.