There are a number of options for you, but I think the easiest one will end
being the AjaxEventSubmit component to wire your selection component change
event to submitting the form. (there is also a new parameter called
"submitNormal" on the AjaxEventSubmit component that will allow you to
submit the form through normal IO instead of ajax, this will be available in
the new release coming out any minute).

On 4/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Yes, I have several tacos:AjaxForm and tacos:AjaxSubmit components on
> this page.
> In fact since I posted the original I have tried to make the form that
> surrounds the PropertySelection an AjaxForm but I get the same results.
> Any clues?   Thanks for your help!
>
> -----Original Message-----
> From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
> Sent: Sunday, April 09, 2006 1:10 PM
> To: Tapestry users
> Subject: Re: PropertySelection javascript error: this.form.events is
> null or not an object
>
> I'm going to take a wild guess here and ask if this page has ~any~ tacos
> related components on it as well?
>
> On 4/9/06, Harvey, David <[EMAIL PROTECTED]> wrote:
> >
> > Hello all, I'm on T4.0.
> > I'm using a property selection drop down to choose the size of a table
>
> > page.  'submitOnChange' is true so it fires some javascript to make
> > the submit happens on choice.  When I choose a selection from the drop
>
> > down I get a javascript error in the browser 'this.form.events' is
> > null or not an object.
> >
> > Anybody have a clue as to what I'm doing wrong?
> >
> > My html template code is:
> >
> >           <form jwcid="@Form" listener="ognl:listeners.changePageSize"
> > direct="false">
> >             <td align="right" bgcolor="#F4F4F4"  valign="bottom">
> >                 Showing lines <span jwcid="@Insert"
> > value="ognl:startingRow + 1">99</span>
> >                 -
> >                 <span jwcid="pageSizeSelection"
> style="font-size:10px;"
> > />
> >                 of <span jwcid="@Insert"
> > value="ognl:rowCount">100</span>
> >             </td>
> >           </form>
> >
> > My jwc code is
> >
> >   <component id="pageSizeSelection" type="PropertySelection">
> >     <binding name="model" value="pageSizeModel" />
> >     <binding name="value" value="currentPageSize" />
> >     <binding name="submitOnChange" value="true" />
> >   </component>
> >
> > I don't think the property selection model (pageSizeModel) has a
> > bearing on the issue because the drop down has the correct data and if
>
> > I view source the page it looks right.
> >
> > Thanks,
> > David Harvey
> > Ingenix, Inc.
> >
> >
> >
> > "Secure Server BSK" made the following annotations on 04/09/2006
> > 03:02:49 PM ------------------------------"This e-mail, including
> > attachments, may include confidential and/or proprietary information,
> > and may be used only by the person or entity to which it is addressed.
>
> > If the reader of this e-mail is not the intended recipient or his or
> > her authorized agent, the reader is hereby notified that any
> > dissemination, distribution or copying of this e-mail is prohibited.
> > If you have received this e-mail in error, please notify the sender by
>
> > replying to this message and delete this e-mail immediately."
> > ==============================
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Jesse Kuhnert
> Tacos/Tapestry, team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind.  http://opennotion.com
>
>
> "Secure Server GDV" made the following
> annotations on 04/09/2006 02:58:51 PM
> ------------------------------"This e-mail, including attachments, may
> include confidential and/or proprietary information, and may be used only by
> the person or entity to which it is addressed. If the reader of this e-mail
> is not the intended recipient or his or her authorized agent, the reader is
> hereby notified that any dissemination, distribution or copying of this
> e-mail is prohibited. If you have received this e-mail in error, please
> notify the sender by replying to this message and delete this e-mail
> immediately."
> ==============================
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.  http://opennotion.com

Reply via email to