myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Walter Mourão <walter.mou...@gmail.com>
Subject Re: [Trinidad] partialSubmit with an action
Date Tue, 20 Jul 2010 17:28:00 GMT
 On Tue, Jul 20, 2010 at 1:18 PM, Paul Mander <paul.s.mander@gmail.com>wrote:

> Can you explain why you are doing this? If you need to re-render the whole
> page (by returning null from a command action) then why are you using a
> partial submit? Surely a partial submit is to target a part of a view based
> on an action which you would normally bind to an action listener. Having an
> action and a partial submit (irrespective of the outcome) seems pointless.
>

Returning null does not re-render the whole page.
Generally I use the action listener to get some parameter value and the
action returns null to keep the partial submit behavior or returns some
outcome (to navigate to another page).


Walter Mourão
http://waltermourao.com.br
http://arcadian.com.br
http://oriens.com.br

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