That's right, in our project that code is used and worked in all cases but I realize now that in all those cases valueChangeListeners calling renderResponse were also used.
Regards,
Cagatay,
On 2/2/06, Martin Marinschek <[EMAIL PROTECTED]> wrote:
Hi Catagay,
the code you are referring to (I attach it further down) is very often
right - but not always. You might also have a valueChangeListeners
which call renderResponse...
regards,
Martin
public boolean isPostBack( ) {
if( getFacesContext().getRenderResponse() )
return false;
else
return true;
}
On 2/2/06, Cagatay Civici < [EMAIL PROTECTED]> wrote:
> Hi,
>
> Yes there is, I have written an entry on jsf ispostback, should be what you
> are looking for;
>
> http://www.jroller.com/page/cagataycivici?entry=ispostback_in_jsf
>
> Best Regards,
>
> Cagatay Civici
>
>
> On 1/31/06, Arshad Ali <[EMAIL PROTECTED]> wrote:
> > In Dot.Net there is a method to check if the page is posted back
> (Page.IsPostBack), in JSF is there anything for that??
> >
> > regards,
> > Arshad Ali.
> >
>
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces

