Re: RemoveRowLink causing scoll jumping

2016-05-28 Thread Casey Link
le eventlink submissions phenomenon I observed here http://mail-archives.apache.org/mod_mbox/tapestry-users/201605.mbox/%3c5732356c.5040...@outskirtslabs.com%3E Best, Casey Casey Link Outskirts Labs { https://outskirtslabs.com } Technology for Changemakers On 05/28/2016 04:35 PM, Casey Link wro

RemoveRowLink causing scoll jumping

2016-05-28 Thread Casey Link
Any tips? Casey -- Casey Link Outskirts Labs { https://outskirtslabs.com } Technology for Changemakers - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Overriding and translating JSR-303 validation messages

2016-05-18 Thread Casey Link
x27;d like to localize them as well as override a few in english ("may not be null" isn't very user friendly). Best, -- Casey Link Outskirts Labs { https://outskirtslabs.com } Technology for Changemakers

Zones inside forms in 5.4 with nested components

2016-05-13 Thread Casey Link
he state. It is one of these (CustomSelect.SELECTION_CHANGED) that I'm using in the ChainedSelect to update the zone. I've read that FormInjedtor might be useful here, but I can't find any meaningful examples. Any tips? -- Casey Link Outskirts Labs { https://outskirtslabs.com } Technology for Changemakers

Double event submission on eventlink w/ async="true" and confirm mixin

2016-05-10 Thread Casey Link
modal of course). Is this expected? Why is this happening? -- Casey Link Outskirts Labs { https://outskirtslabs.com } Technology for Changemakers - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional c

Re: Rendering a component programmatically

2016-05-04 Thread Casey Link
Holy crap! This is exactly what I needed, and it just works. If I could suggest adding the keyword "programmatically" to those docs, as I searched extensively and didn't find it. Thanks for the incredibly fast response. Casey Link Outskirts Labs { https://outskirtslabs.com }

Rendering a component programmatically

2016-05-04 Thread Casey Link
/src/main/java/org/got5/tapestry5/jquery/internal/DefaultDataTableModel.java#L326 -- Casey Link Outskirts Labs { https://outskirtslabs.com } Technology for Changemakers - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.or

Re: Component parameter becoming null

2015-10-23 Thread Casey Link
, 23 Oct 2015 07:01:51 -0200, Casey Link > wrote: > >> Ah yea, I screwed up the example in my email, but yes, it's declared >> like so: >> >> @Parameter(required = true) >> List fooList; >> >> Mind you it works for the "normal" static

Re: Component parameter becoming null

2015-10-23 Thread Casey Link
Ah yea, I screwed up the example in my email, but yes, it's declared like so: @Parameter(required = true) List fooList; Mind you it works for the "normal" static cases, and the case where it's passed as a property (#1 and #2), but not inside a . Casey Link Ou

Component parameter becoming null

2015-10-23 Thread Casey Link
This is a strange one. I have a Foo component that wraps a progressive display (not sure if that part is relevant). One of the parameters to this component is a list of strings, "t:fooList": @Property List fooList; In the page I'm trying to include it in, it works as expected if I set fooList wi

Re: Eventlink event "was not handled; you must provide a matching event handler method"

2015-06-18 Thread Casey Link
On Thursday, June 18, 2015 04:01:43 PM Thiago H de Paula Figueiredo wrote: > On Thu, 18 Jun 2015 14:47:51 -0300, Casey Link > wrote: > > > Hi again, > > Hi! > > > Request event 'remove' (on component mypackage/MyPage) was not > > hand

Eventlink event "was not handled; you must provide a matching event handler method"

2015-06-18 Thread Casey Link
Hi again, Big thanks to Thiago and everyone else who answers questions on this list. I have a standard pattern in my app an EventLink inside a zone that shuffles items between lists. I based the code on the AJAX EventLink jumpstart [1] The two eventlinks are "add" and "remove". >From a full p

Best method to reuse a TextField configuration

2015-06-18 Thread Casey Link
, publishParameters = "value") private TextField input; public String getClientId() { return input.getClientId(); } } But this didn't work. The rendered field didn't have the type or validate attrs set. Would this be a better job for a mixin? Than

Re: Ajax and Component's inside Zones

2015-06-16 Thread Casey Link
On Thursday, June 11, 2015 09:24:00 AM Thiago H de Paula Figueiredo wrote: > On Thu, 11 Jun 2015 07:45:06 -0300, Casey Link > wrote: > > > > > ActionLink and EventLink are not supposed to do AJAX requests without a > zone parameter, so I really don't know h

Ajax and Component's inside Zones

2015-06-11 Thread Casey Link
I have a grid component with some complex features I want to reuse in various places of my app. However, I'm having a problem preserving the AJAXy behavior. Before I extracted the grid into its own component the tml looked like this: ... Remove

ActionLink event handlers in Parent Page causing errors in Child

2015-05-08 Thread Casey Link
I'm upgrading a very old tapestry 5.0 project to 5.3 One very common convention in this project was for a setup like this // ParentPage.java class ParentPage { ... Object onActionFromParentAction {...} ... } // ParentPage.tml: .. foo ... // ChildPage.java class ChildPage extends ParentPage