Re: Layout component question

2011-10-06 Thread Howard Lewis Ship
The source component will be the Layout component, not the TextField inside the layout component. This is part of event bubbling; when an event bubbles, the source of the event bubbles up as well. On Thu, Oct 6, 2011 at 9:10 AM, Dimitris Zenios wrote: > Hi guys. > > I have a layout component whic

Re: Tapesty CDI at compile time ( or sort of )

2011-10-06 Thread Chris Poulsen
Hi, I think you could have an ioc module for each customer (each customers code in his own "project") - and then just drop in the right jar and have it autoload. -- Chris On Thu, Oct 6, 2011 at 4:03 PM, Jose Luis Sanchez < joseluis.sanc...@m-centric.com> wrote: > > > Hi guys ! > > I do need s

Tapesty CDI at compile time ( or sort of )

2011-10-06 Thread Jose Luis Sanchez
Hi guys ! I do need some behaviour in Tapestry already available to me via CDI in a non-web Application. Let me explain myself : I have a product, made for different customers. The product is the same, but for some different implementations of common services each one has. For example :

Re: Compiled CSS

2011-10-06 Thread Cezary Biernacki
Hi, OK. I need to get a permission as code is owned by my employer, hopefully I should be able to get it next week. Anyway, it is easy to build such integration with Tapestry 5.3 by implementing ResourceTransformer interface and contributing it StreamableResourceSource. For both CoffeeScript and L

Re: Tapestry and CDI ( the need for )

2011-10-06 Thread josete
Uhm .. yes, that may add complexity to the build-process but will keep tapestry cleaner. I'll try that, thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-and-CDI-the-need-for-tp4876507p4877038.html Sent from the Tapestry - User mailing list archive at Nabble

Re: Tapestry and CDI ( the need for )

2011-10-06 Thread Giulio Micali
you said that you know which service you should use at compilation time ? you can create 1 module for the interface and 3 separate modules (aka component library) one for each implementation (and contribution) and include one of them in your build conditionally(for example, with maven or ant or gr

Re: Tapestry and CDI ( the need for )

2011-10-06 Thread josete
Thanks thiago, but that's not ideal for me, as i do not know at runtime which module i will use. My ideal is to bind the service at compilation time, and i think i've found the solution in my previous posts, just by defining a system property of -Dtapestry.execution-mode=customer1. That way, the

Layout component question

2011-10-06 Thread Dimitris Zenios
Hi guys. I have a layout component which has a textfield inside it with autocomplete mixin and an id of "layoutSearch".Some pages now that use the layout would like to provide completion for that text field.The problem is that i cannot reference that component from the page like this. @OnEvent(va

Re: Tapestry and CDI ( the need for )

2011-10-06 Thread Thiago H. de Paula Figueiredo
On Thu, 06 Oct 2011 11:24:39 -0300, josete wrote: Hi guys ! Hi! I do need some behaviour in Tapestry already available to me via CDI in a non-web Application. I guess you're talking about Tapestry-IoC, not Tapestry (which is the web framework). Let me explain myself : I have a produc

Re: Help on Tapestry and CDI ( the need for )

2011-10-06 Thread josete
No, wrong path .. any help ? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-and-CDI-the-need-for-tp4876507p4876655.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsu

Re: Tapestry and CDI ( the need for )

2011-10-06 Thread josete
Uhm .. looks like i can use https://cwiki.apache.org/confluence/display/TAPESTRY/Configuration#Configuration-SettingExecutionModes Configuration-SettingExecutionModes Let's check .. any better idea ? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-and-CDI-the-n

Tapestry and CDI ( the need for )

2011-10-06 Thread josete
Hi guys ! I do need some behaviour in Tapestry already available to me via CDI in a non-web Application. Let me explain myself : I have a product, made for different customers. The product is the same, but for some different implementations of common services each one has. For example : com.

Re: Compiled CSS

2011-10-06 Thread Immutability
Me too! I just started playing with LessCSS tis week and it seems really interesting. Rado On Thu, Oct 6, 2011 at 2:03 PM, Toby O'Rourke wrote: > Wow! I'd certainly be interested to see what you've done > > Thanks, > > Toby. > > On 06/10/2011 12:54, "Cezary Biernacki" wrote: > > >Hi, > >I have

Using the same page for edit/new (Solution)

2011-10-06 Thread Barry Books
Some recent discussions caused me to revisit this problem Ideally you could have a page like public class NVLEdit { @PageActivationContext @Property @NVL private Person person; @CommitAfter Object onSuccess() { retu

Re: T5: how do i style variable of string and show it in tml?

2011-10-06 Thread wesleywj2
hi jens, it works, thank you very much regards, wesley -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-how-do-i-style-variable-of-string-and-show-it-in-tml-tp4876011p4876231.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: pageRenderLinkSource.toAbsoluteURI() returns relative URL

2011-10-06 Thread Peter Stavrinides
Yes, this is a bug I have seen too, I hacked together my own fix for this, but somehow in 5.3 is working correctly again. - Original Message - From: "Brian Long" To: "Tapestry users" Sent: Monday, 3 October, 2011 12:20:33 GMT +02:00 Athens, Bucharest, Istanbul Subject: pageRenderLinkSou

Re: Compiled CSS

2011-10-06 Thread Toby O'Rourke
Wow! I'd certainly be interested to see what you've done Thanks, Toby. On 06/10/2011 12:54, "Cezary Biernacki" wrote: >Hi, >I have implemented integration LessCSS and CoffeeScript compilers with >Tapestry 5.2. Actually most of it was porting necessary features (i.e. >support of ResourceTransfo

Re: Compiled CSS

2011-10-06 Thread Cezary Biernacki
Hi, I have implemented integration LessCSS and CoffeeScript compilers with Tapestry 5.2. Actually most of it was porting necessary features (i.e. support of ResourceTransformer-s) from 5.3 and the integration should be compatible with Tapestry 5.3. I can open source it if there is enough interest.

Re: T5: how do i style variable of string and show it in tml?

2011-10-06 Thread Jens Breitenstein
hi wesley try to handle strings containing text and html styles jens Am 06.10.11 13:43, schrieb wesleywj2: hello, i would like to know how to style the variable in tml page. for eg. in my java class has a private String myMessage, normally i would just show ${myMessage} in my tml file.

T5: how do i style variable of string and show it in tml?

2011-10-06 Thread wesleywj2
hello, i would like to know how to style the variable in tml page. for eg. in my java class has a private String myMessage, normally i would just show ${myMessage} in my tml file. But the thing is i want to style it, like putting or tag within that variable so it will style accordingly. Is that

Re: Custom component

2011-10-06 Thread Giulio Micali
yes, the second is better If your component is a "container" for a group of fields. In that case, you should do it in the afterRender phase, so your method is called after all single fields has already the new submitted values and you can "validate" (and rollback if you want) the whole result. 20

Re: Select Model - Adding entries from the form

2011-10-06 Thread Muhammad Gelbana
In addition to the "highlighted" links: AJAX Select On Thu, Oct 6, 2011 at 11:19 AM, Muhammad Gelbana wrote: > I still can't see why should this be a problem :) > By dynamically you mean using ajax ? like without reloading t

Re: Select Model - Adding entries from the form

2011-10-06 Thread Muhammad Gelbana
I still can't see why should this be a problem :) By dynamically you mean using ajax ? like without reloading the whole paqe ? Check this page: http://jumpstart.doublenegative.com.au/jumpstart/ Specifically these links: Select

Bridging Tapestry, Web Services & Security

2011-10-06 Thread Lenny Primak
Right now, I am using Tap 5.3, tapestry-securitiy and Glassfish with web services. I am trying to call web services from my tapestry app and vice versa. The problem is that the security / login context is not there when using web services. Is there a bridge between Shiro & WS-Security or am I bar

Re: T5.2 and Metro / SOAP

2011-10-06 Thread Lenny Primak
This is great. I guess I will need to start another topic though, my issue is more security related as opposed to bridging IoC with WS... On Oct 5, 2011, at 7:03 AM, p.stavrini...@albourne.com wrote: > Hello! > > I am using Metro Web Services for near over a year now, and I am pretty happy > w

Re: Compiled CSS

2011-10-06 Thread Stephan Windmüller
On 06.10.2011 00:58, Howard Lewis Ship wrote: > No progress yet ... it was more important to get 5.3 out than to add > this feature. I expect to add it in Tapestry 5.4. I hope it will be an optional feature. The lesscss-site looks very ugly with JavaScript disabled. - Stephan signature.asc D

Re: Select Model - Adding entries from the form

2011-10-06 Thread sibleygh
Thanks the reply. The "onValueChanged" event is triggered when the value changes in the dropdown in the form. This is the standard tapestry event for select model changes. That bit I understand and have working. My main issue here is that I want to be able to have the tml text field be able to a