Maybe the following will help?

        http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/select1
        
http://jumpstart.doublenegative.com.au/jumpstart/examples/component/subformcomponent1

Cheers,
Geoff

On 27/10/2012, at 4:29 AM, nhhockeyplayer nashua wrote:

> 
> Ok I got the select to operate now with...
> 
> onchange="galleryForm.submit()"
> 
> funny thing... the gallery renders the proper amount of objects based on 
> whats selected... but my darn select event handler never gets called.... i 
> cannot get a break point in it or a log statement out of it
> 
> oh well...onward
> 
> I am historically an DECWindows XWindows buff... babied by the MIT boys back 
> in the day... but this is endless challenging fun
> 
> From: nhhockeypla...@hotmail.com
> To: users@tapestry.apache.org
> Subject: RE: form and select component
> Date: Fri, 26 Oct 2012 09:04:19 -0400
> 
> 
> 
> 
> 
> Ok, I am stubborn.. because it worked fine in T4 without the form.
> 
> But it is housed within a form... from the Home.tml... the form just isnt 
> apparently visible inside the code of my widget.
> 
> Home.tml
> 
>    <t:form t:id="galleryForm" id="galleryForm" clientValidation="true" >
>        <t:errors/>
> 
>        <t:Gallery t:id="galleryWidget" id="galleryWidget"
>            collectionType="coachClass"
>            itemsPerPage="itemsPerPage"
>            tableColumns="tableColumns"
>            cursor="cursor"
>            />
> 
>    </t:form>
> 
> onchange="this.form.submit()" should work
> 
> ok I will get out the firebug and see what gives inside the dom
> 
> Best regards 
> and thanks... KEN
> 
> From: nhhockeypla...@hotmail.com
> To: users@tapestry.apache.org
> Subject: RE: form and select component
> Date: Fri, 26 Oct 2012 00:37:24 -0400
> 
> 
> 
> 
> 
> <select t:type="Select" t:id="itemsPerPageSelect" 
> t:clientId="itemsPerPageSelect" id="itemsPerPageSelect"
>    t:model="literal:5,10,15,25,50,100,250,500,1000,5000,10000"
>    t:value="itemsPerPage"
>    
> onchange="obj=document.getElementById('itemsPerPageSelect');Event.fire(obj,'change');"
> 
>    />
> 
> this one doesnt invoke the handler either
> 
> but I changed handkler to the following
> 
>    @Component(id="itemsPerPageSelect", parameters = { "value=itemsPerPage", 
> "clientId=itemsPerPageSelect" })
>    private Select itemsPerPageSelect;
> 
>    @OnEvent(value = EventConstants.VALUE_CHANGED, component = 
> "itemsPerPageSelect")
> 
>    public void onValueChangedItemsPerPageSelect(int value)
>    {
>    }
>                                                                               
>                                           


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to