Re: fails now in 5.4

2015-01-24 Thread Chris Poulsen
I think my first suggestion would have worked if you had actually wrapped the select in a t:zone and not a tag and removed the argument from the handler... as i wrote there is no need to work with hidden submits etc. it works right out of the box, with dead simple code. On Sat, Jan 24, 2015 at 1:

RE: fails now in 5.4

2015-01-24 Thread nhhockeyplayer nashua
Thanks Geoff, I finally got a breakpoint using zones. Cant say too much for the OnEvent annotations anymore. My code lived before inducing a javascript submit without submit button but to make this fly I had to add the invisible submit button just like your filterSubmit and emulate a click() on

Re: fails now in 5.4

2015-01-23 Thread Geoff Callender
One of these should help you: http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/filteredgrid http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/select1 Geoff On 24 Jan 2015, at 11:55 am, nhhockeyplayer nashua wrote: > Thanks Chris, > > sorry about

RE: fails now in 5.4

2015-01-23 Thread nhhockeyplayer nashua
Thanks Chris, sorry about the code formats... eclipse editors. I never felt removing the parameter would help because these handlers ARENT THEY SUPPOSE TO PROVIDE THE CHANGED VALUE? and the other handler (there are two selects itemsPerPage and tableSize) wasnt being vcalled while it had no par

Re: fails now in 5.4

2015-01-23 Thread Chris Poulsen
your pasted code is a mess. But from what I can see your attempt to implement my suggestion was almost correct... except that you had an argument in your change handler: was: onActionFromItemsPerPageSelect(Integer value) should be: onActionFromItemsPerPageSelect() [the property bound to the

RE: fails now in 5.4

2015-01-23 Thread nhhockeyplayer nashua
the docs only reflect s on a page not a on a component My page is Home.JAVA @Persist@Property private Integer itemsPerPage; My Component is Gallery.JAVA@Property @Parameter(required = true, value="literal:25", cache=true)

RE: fails now in 5.4

2015-01-23 Thread nhhockeyplayer nashua
I dont want to add a submit button because its not natural for a gallery with a select thats why I put the onchange="galleryForm.submit()" because when I omit that nothing gets triggered to this code for anything The gallery needs to redraw but no event is b

RE: fails now in 5.4

2015-01-23 Thread nhhockeyplayer nashua
Thanks Chris, I rigged it up as you stated... no luck... cant get a breakpoint to hit and the properties values keep getting punched back to their original defaults. no change is being induced with this code Gallery.TML Items Per Page Gallery.JAVA @Component(id = "itemsP

Re: fails now in 5.4

2015-01-23 Thread Chris Poulsen
dont mess around with the form manually - you cannot submit it using that function - instead wrap the select in a zone and specify zone="^" on the select. HTH -- Chris On Fri, Jan 23, 2015 at 4:08 PM, nhhockeyplayer nashua < nhhockeypla...@hotmail.com> wrote: > Folks, > > I wrote code and it fa