Re: tapestry-stitch goes live

2013-02-26 Thread llama-king
Thanks for taking the time to release this! The more examples the better and these are some fantastic examples. I'd love to see some tapestry cometd examples and use cases also! -- View this message in context: http://tapestry.1045711.n5.nabble.com/tapestry-stitch-goes-live-tp5720232p5720238.h

Re: Component Utilizing PropertyOverrides, Adding Override Blocks Dynamically

2013-02-12 Thread llama-king
Just had a moment to put together the rest of my accordion component with two components. It's definitely more elegant than all the slinging of parameters and coercing blocks out of informal parameter titles and of course it affords you looping. I'd have to agree that the t5-jquery tabs could be r

Re: Component Utilizing PropertyOverrides, Adding Override Blocks Dynamically

2013-02-12 Thread llama-king
Hi Lance, That really is looking like the only plausible solution that hides away boilerplate mark-up/config. All these kinds of components are very similar in nature. (Bung some things into other named things under a thing). It would be cool to be able to mangle (read: modify) the parameter tag t

Component Utilizing PropertyOverrides, Adding Override Blocks Dynamically

2013-02-12 Thread llama-king
Hello, I started writing an Accordion component today to try out using the following sort of pattern; Some content.. Some more content.. So I specify PropertyOverrides in Accordion.java: @Parameter(value = "this", allowNull = false) @Property(write = false) priv

Re: T5 Varargs in service methods

2013-01-28 Thread llama-king
Sorry to dig up an old thread but seems I'm experiencing precisely the same issue. Running on 5.3.6, injecting a service, calling method in service that takes varargs. Any ideas what might be the cause? java.lang.LinkageError: loader constraint violation: when resolving method "com.albourne.web.s

Re: Elegant Handling of Multiple Zones in 'Deep' Hierarchies of Components

2013-01-14 Thread llama-king
Hi Geoff, Many thanks for the response (and for jumpstart)! I went ahead and branched and converted one of our component hierarchies to use bubbling where appropriate. Well bubbling does help to an extent, it definitely is an alternative to passing zones as parameters and I can see how it's possi

Re: Elegant Handling of Multiple Zones in 'Deep' Hierarchies of Components

2013-01-14 Thread llama-king
Reviving my old thread for continuity - just picking up the same train of thought again. The theme, building some form of 'registry' for zones on a given page. Either on a per session or environment basis; whatever is seen to be most suitable. The following example is for the sake of argument and

Re: How stable is 5.4 jsrewrite?

2012-11-16 Thread llama-king
Seconded! ^_^; -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-stable-is-5-4-jsrewrite-tp5718044p5718045.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mai

Re: Elegant Handling of Multiple Zones in 'Deep' Hierarchies of Components

2012-11-07 Thread llama-king
@Lance and @Taha - I can see how this might alleviate some of the large numbers of zones I'm passing around as parameters to components though I really still don't like the idea of keeping a bunch of references to zone instances anywhere apart from perhaps at their point of injection in their 'home

Elegant Handling of Multiple Zones in 'Deep' Hierarchies of Components

2012-11-06 Thread llama-king
Hello all, I was wondering what everyone's preferred approach to using multiple zones in a hierarchy of components was. I'm not pleased with the current pattern we use and figured someone might have come up with a better approach. We run a complex page; having a single zone proved very slow. We

Re: Howard's Tweet About Bootstrap

2012-10-11 Thread llama-king
Hi Cezary, That sounds fantastic. Will definitely give it a spin as soon as I get a moment! And I guess LESS is a kind of hit or miss pick and choose kind of thing at this point so it's very nice to have it as opt-in. Awesome! So all (most of?) my styling worries dissipate with this. Finally can a

Howard's Tweet About Bootstrap

2012-10-11 Thread llama-king
Howard M. Lewis Ship @hlship Beginning to convert #tapestry5 from ugly default CSS ℅ me, to pretty CSS ℅ @twbootstrap 5:51 PM Oct 5th Now this is great! For home projects I run with trsvax's tapestry-bootstrap and at work we run with sub-sets of b

Re: RenderInformals / RenderInformalParameters Ignored?

2012-10-05 Thread llama-king
Torrents of posts - apologies. That worked a treat; running with a temporary mix-in with your fix for now - fantastic! Thanks a lot, if I could beam you some beer I would. :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/RenderInformals-RenderInformalParameters-Ignored-

Re: RenderInformals / RenderInformalParameters Ignored?

2012-10-05 Thread llama-king
Excuse my haste! I just noticed that you'd posted a possible fix in the JIRA. Will plug away on that. Thanks again Lance. :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/RenderInformals-RenderInformalParameters-Ignored-tp5716673p5716680.html Sent from the Tapestry - Us

Re: RenderInformals / RenderInformalParameters Ignored?

2012-10-05 Thread llama-king
Hi Lance, Thanks for your input! Perhaps related though in a slightly twisted way! After searching through the rendered mark-up to double check there is no trace of the informal parameters I'm expecting, anywhere! Specifically I'm setting class="llamas", Ctrl+F-ing through the rendered source in t

RenderInformals / RenderInformalParameters Ignored?

2012-10-05 Thread llama-king
Hello all, I've read through all relevant topics and have yet to come up with why this might not be working so many thanks in advance if anyone has any notions! Take a small component class; @SupportsInformalParameters class Foo { void beginRender(MarkupWriter writer) { resources_.renderIn

Re: PropertyModelImpl Stripping Non-Word Characters From Its Label

2012-09-19 Thread llama-king
The entity is an orthogonal table abstraction - a variable number of columns and rows where columns are orthogonal to rows. There are no concrete entities that I'm pumping in hence why I've had to implement a BeanModel and PropertyConduit to rip out the values. I'm guessing, as you say, the best ap

Re: PropertyModelImpl Stripping Non-Word Characters From Its Label

2012-09-19 Thread llama-king
@Lance - the names are pulled from our database and will vary from grid to grid as we allow dynamic building of the table so it wouldn't be viable or predictable to add them to a message catalog I'm afraid! @Thiago - this is just the issue in that the PropertyModelImpl source looks like this;

PropertyModelImpl Stripping Non-Word Characters From Its Label

2012-09-18 Thread llama-king
Hello all, I've been using a BeanModel to map my data structures to a grid-based component but have come up on a bit of an annoyance as described in subject. The property name provided ends up as the column name in the rendered grid. When passed into PropertyModelImpl inside BeanModelImpl it has

Re: ComponentEventResultProcessor for a triggered event

2012-09-18 Thread llama-king
Just coming back to clock in on this; what a chump I am! The tapestry5-jquery project already provides a mixin named Bind that does exactly what I was trying to achieve. Seems like I was on the right track! There are a couple of niceties that I'd like to contribute given both the implementations w

Re: Dynamically Writing Raw to Grid Cells

2012-09-18 Thread llama-king
Hi Lance and trsvax, Thanks for your respective answers. I'm using the got5 tapestry5-jquery DataTable component (datables.net). I had a little difficulty writing a mixin higher up the chain so for now (due to time constriants) I've resorted to writing a mixin that interacts with the DataTables jQ

Dynamically Writing Raw to Grid Cells

2012-09-10 Thread llama-king
Hello, I've had a search around and yet to find a potential solution to this. Beginning to think it may be impossible currently! The problem: I'm using a variation of a Grid (specifically, Tapestry5 jQuery's DataTable which springboards off AbstractTable and DataTables.net for client-side). I'm

Re: ComponentEventResultProcessor for a triggered event

2012-08-21 Thread llama-king
Regarding explicit use of RenderCommand; yes - this was clearly pent-up paranoia! Checked the response and it looked good as I was writing and then came across a happy little solution! >Anyway, if you want to update a zone, you shouldn't use jQuery.ajax() >directly, but use the ZoneManager Java

Re: ComponentEventResultProcessor for a triggered event

2012-08-21 Thread llama-king
Hi Thiago! Thanks for the reply. The outset is I'm writing a mixin that allows binding of client-side jQuery events to server-side handler methods. 1. I create a Link via ComponentResources.createEventLink and pass the absolute URI to my mixin script as well as the name of the jQuery event I wa

ComponentEventResultProcessor for a triggered event

2012-08-21 Thread llama-king
Hello, I had a thorough look around before posting regarding this so I'm terribly sorry if something skipped my attention. 1. I inject ComponentEventResultProcessor like so: @InjectService("AjaxComponentEventResultProcessor") private ComponentEventResultProcessor componentEventRe

[t5.3.x] Potential Static Util Class Concurrency Issue

2012-05-21 Thread llama-king
Hello, First post! Woo! While using various revisions of T5.3 we ran into a strange case as follows: 1. User A fills in text field, submits form. 2. User B fills in text field, submits form. (Where 1 and 2 occur within milliseconds of each other.) 3. Events trigger, util class static method cal