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: Checkbox value for zone update

2015-01-23 Thread Lance Java
You could use the observe mixin from tapestry stitch. The mixin can fire a zone update based on the change event, the current checkbox value can be sent as the event context. http://t5stitch-lazan.rhcloud.com/observedemo On 23 Jan 2015 12:33, "Stephan Windmüller" < stephan.windmuel...@tu-dortmund.

Re: Checkbox value for zone update

2015-01-23 Thread Thiago H de Paula Figueiredo
On Fri, 23 Jan 2015 10:32:00 -0200, Stephan Windmüller wrote: Hello, Hi! However, I do not know how to access the value of the checkbox. You access the value of the checkbox (or any other Tapestry form field component) by accessing the property it's editing. It the case above, the

Re: Two fundamental questions.

2015-01-23 Thread Robert Zeigler
Thanks. Translating would make it easier to read… but also ruin the fun. :) Robert > On Jan 22, 2015, at 1/222:03 AM , Poder, Jacob > wrote: > > Hi Robert, > > Sorry for the off-topic but I couldn't help notice your signature... easier > to read when translated to amino acids in reading fram

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

fails now in 5.4

2015-01-23 Thread nhhockeyplayer nashua
Folks, I wrote code and it fails now. My event handler refuses to be triggered. I have tried everything. Can someone take a look at this code? The demo is at http://psinh.ddns.net:9011/psi/home Best regards and thanks... KEN Pages have properties Components have parameters. The page that h

Re: Checkbox value for zone update

2015-01-23 Thread Chris Poulsen
Hi, We have a "submittingcheckbox" component for this kind of thing. Basically the component renders a checkbox and a hidden submit. An onChange handler on the checkbox clicks the submit Example usage (T5.4): Form context can be used for setting up the environment if needed (can be hand

Checkbox value for zone update

2015-01-23 Thread Stephan Windmüller
Hello, according to the Tapestry documentation, zones cannot be updated by checkboxes. I found some information on this topic, primarily in this mailing list, for how to circumvent this problem. My current approach is to use tapestry5-jquery: public Object onValueChange() { return res