dev@jsftemplating.java.net

Re: JSFTemplating: How to stop reloading of page

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Mon, 22 Jan 2007 15:21:44 -0800

Hi Karam,

I the following property will prevent it from submitting the form:

    submitForm="#{false}"

However, I thought that was the default for that component. Are you
doing something else on the page? If you use an "jsfext:ajaxZone", it
causes everything to submit an AjaxRequest in the zone (which is kind of
a pain in many cases).

Ken

Karam Singh Badesha wrote:
> Hi,
> What do I need to specify in order to stop the page from reloading
> itself when someone selects something from a drop down menu? I have
> only the following attributes defined for my drop down lists:
>
> <sun:dropDown
> id="lavaReleaseMenu"
> toolTip="#{msgs.chooseLavaRelease}"
> labels="$attribute{lavaReleasesList}"
> />
>
> But the page keeps refreshing itself everytime a different selection
> is made.
>
> thanks
> Karam