datefield component with IE8

2012-10-31 Thread Vladimir Bauer
Hi There is blank year header in datefield component, rendering in IE8, see attached. Tapestry version 5.3.6 It is ok in Firefox at the same time. Does anybody know the css fix I can apply for IE8? Regards, Vladimir Bauer - To

Best practice to store other languages files or I don't understand?

2012-10-31 Thread bigcache1
Good times to everyone! I use Jython in my project, but I can't pack .py files into .war. I simply don't know how to do it. If I place py folder in one folder with service that uses it everything works fine on my laptop. But python folder is not getting packed into .war archive. Should I do these

coffee script .. why?

2012-10-31 Thread Paul Stanton
reading HLS's blog entry: http://tapestryjava.blogspot.com.au/2012/10/zeroing-in-on-tapestry-54.html I was wondering why i didn't understand the code snippets .. were they pseudo code? no, pseudo code is far more legible... Reading further, I notice it's CoffeeScript. I'm keen to hear what t

Re: Chenillekit links broken in tap docs

2012-10-31 Thread Bob Harner
Yes, maybe Massimo can shed some light on the status of chenillekit.codehaus.org versus www.chenillekit.org. I believe www.chenillekit.org has been down for quite a while, at least intermittently, but I think that's the only place where the demos are running. On Wed, Oct 31, 2012 at 1:43 P

Re: injecting the currently logged in user

2012-10-31 Thread Ulrich Stärk
On 31.10.2012 17:28, Lenny Primak wrote: > The Principal is already saved by Shiro in the HttpSession, Exactly what I said. > why just not use a custom annotation with a FieldConduit > that just gets it from Tynamo-security SecurityService? Because I haven't thought of that yet, thanks for the s

Re: Suggestion regarding service ID

2012-10-31 Thread Thiago H de Paula Figueiredo
On Wed, 31 Oct 2012 19:25:06 -0200, Muhammad Gelbana wrote: Now I know why I have to do this. I'm very much willing to type few characters to make it easier for tapestry to do it's magic. It surely does. :) Just a nitpick: in this case, it's about Tapestry-IoC, not Tapestry (which is the

Re: [Bug] t:zone update loses background style

2012-10-31 Thread Bryan Lewis
Which reminds me... I sent a closely related question to the list two weeks ago (which is why your question caught my eye) but for some reason it never made it. I'll repeat it here: In Tapestry 5.3.6 I've created a page using the new Tree component. The tree is inside a zone and the page is ins

Re: [Bug] t:zone update loses background style

2012-10-31 Thread Bryan Lewis
I wonder if it's related to this issue: https://issues.apache.org/jira/browse/TAP5-707 As of version 5.2, tapestry.js sets the background color inside a zone, trying to prevent a partially faded yellow. On Wed, Oct 31, 2012 at 3:50 PM, membersound wrote: > Sometimes if a t:zone is updated, I'm

Re: [Bug] t:zone update loses background style

2012-10-31 Thread membersound
Yes zone.getBody(). And I too use CSS, the style ...background-color is the result that is somehow changed by tapestry in the back, and overwrites my css styles. I did not specify this myself! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Bug-t-zone-update-loses-backgr

Re: [Bug] t:zone update loses background style

2012-10-31 Thread membersound
Great!! I did not specify the update attribute. with update="show" the style is not lost anymore! Though I'm unsure if this is a bug or not. Is the behavior expected if update attribute is omitted? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Bug-t-zone-update-loses-b

Re: Suggestion regarding service ID

2012-10-31 Thread Muhammad Gelbana
Now I know why I have to do this. I'm very much willing to type few characters to make it easier for tapestry to do it's magic. Thank you :) On Wed, Oct 31, 2012 at 11:05 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 31 Oct 2012 18:53:49 -0200, Muhammad Gelbana > wrote:

Re: Suggestion regarding service ID

2012-10-31 Thread Thiago H de Paula Figueiredo
On Wed, 31 Oct 2012 18:53:49 -0200, Muhammad Gelbana wrote: I can see the refactor-safe, auto complete and syntax check implied by using marker annotations. I'm just wondering why should I specify unique service IDs, because it's useless in that case. Don't you agree ? Useless from the deve

Re: Suggestion regarding service ID

2012-10-31 Thread Muhammad Gelbana
I can see the refactor-safe, auto complete and syntax check implied by using marker annotations. I'm just wondering why should I specify unique service IDs, because it's useless in that case. Don't you agree ? On Wed, Oct 31, 2012 at 10:46 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wro

Re: injecting the currently logged in user

2012-10-31 Thread Lenny Primak
The Principal is already saved by Shiro in the HttpSession, why just not use a custom annotation with a FieldConduit that just gets it from Tynamo-security SecurityService? On Oct 30, 2012, at 3:44 PM, Ulrich Stärk wrote: > From a third-party module (tynamo-security) I have the id (principal) of

Re: Suggestion regarding service ID

2012-10-31 Thread Thiago H de Paula Figueiredo
On Wed, 31 Oct 2012 17:55:35 -0200, Muhammad Gelbana wrote: It looks like markers aren't sufficient on their own and I still need * unique* service IDs for each implementation to successfully define my services. That's correct.. The only good I can see here is that I do not need to specify t

Re: [Bug] t:zone update loses background style

2012-10-31 Thread Thiago H de Paula Figueiredo
On Wed, 31 Oct 2012 17:50:18 -0200, membersound wrote: Sometimes if a t:zone is updated, I'm losing any background styling. Firebug then shows: Do you return zone or zone.getBody()? The last one is the correct one. Very strange, is somebody else having this issue? Or moreover: HOW can i

Re: [Bug] t:zone update loses background style

2012-10-31 Thread Muhammad Gelbana
Does it occur randomly ? You said "sometimes". http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Zone.html I suppose you need to specify the *update* attribute with the value *show*. On Wed, Oct 31, 2012 at 9:50 PM, membersound wrote: > Sometimes if a t:zone is

Re: Suggestion regarding service ID

2012-10-31 Thread Muhammad Gelbana
So now I'm trying this: > binder.bind(ITestAgentModule.class, > FTPTestModule.class).withMarker(FTP.class); > binder.bind(ITestAgentModule.class, > HTTPTestModule.class).withMarker(HTTP.class); > binder.bind(ITestAgentModule.class, > DNSTestModuleImpl.class).withMarker(DNS.class); > binder.bind(IT

[Bug] t:zone update loses background style

2012-10-31 Thread membersound
Sometimes if a t:zone is updated, I'm losing any background styling. Firebug then shows: Very strange, is somebody else having this issue? Or moreover: HOW can i prevent this? What do I maybe have to override with css? Thanks -- View this message in context: http://tapestry.1045711.n5.nabble

Re: beandisplay hide label if value is null?

2012-10-31 Thread Pavel Vodenski
Write a wrapper component around BeanDisplay and name it something like BeanOptionalDisplay. That way, you only write the 'if (obj != null)' bit one time. - P On Wed, Oct 31, 2012 at 10:39 AM, arterzatij wrote: > And how to avoid NPE on beandisplay if the obj is null? > > I dont want to test th

Re: Chenillekit links broken in tap docs

2012-10-31 Thread George Christman
I may be wrong but I think the new base url is http://chenillekit.codehaus.org/ -- View this message in context: http://tapestry.1045711.n5.nabble.com/Chenillekit-links-broken-in-tap-docs-tp5717466p5717467.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Chenillekit links broken in tap docs

2012-10-31 Thread George Christman
The chenillkit links seem to be broken in the tap docs. http://tapestry.apache.org/modules.html Chenille Kit Chenillekit-LDAP for LDAP querying Chenillekit-Lucene provides Apache Lucene indexing & searching Chenillekit-Image is an image scaling service Chenillekit-Mail mail serv

Re: beandisplay hide label if value is null?

2012-10-31 Thread arterzatij
And how to avoid NPE on beandisplay if the obj is null? I dont want to test the null value every time that I need to verify the obj, on my app there are data that is not required so I want to display something like "Data no available" like grid does when there is no rows... Suggestions? -- Vie

RE: quarky page injection... late allocation

2012-10-31 Thread Ken in Nashua
My pom is also set, found an execution mode variable but still no effect, the app runs... well in the beginning it hiccups not doign exactly what I want just trying to have my way with this debugger.. but not yet org.mortbay.jetty maven-jetty-plug

RE: quarky page injection... late allocation

2012-10-31 Thread Ken in Nashua
I also set this guy in the IDE jvm within eclipse under windows/preferences/java/Installed JRE's... -Dtapestry.production-mode=false and receiving same behavior Here is my environment of it means anything... but thanks Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) Maven home: C:\DE

RE: quarky page injection... late allocation

2012-10-31 Thread Ken in Nashua
I added this to web.xml tapestry.production-mode false and has had no effect... parameter value of collectionType is still null

RE: quarky page injection... late allocation

2012-10-31 Thread Ken in Nashua
Thanks for trying Lance... I am trying to trace the runtime... I did add configuration.add(SymbolConstants.PRODUCTION_MODE, "false"); but it has had no effect I got no clue as to why... but in my component/widget Gallery.JAVA Gallery.JAVA @Parameter(required = true) private Cla

Re: Configurable site navigation menu?

2012-10-31 Thread John
I didn't get this result! I put this in my Layout.tml ${title} In the rendered page the new css link appears at the top of the list above component css: TapestryDemo Index - Original Message - From: Thiago H de Paula Figueiredo To: Tapestry users Sent: Tuesday, Oc

Re: injecting the currently logged in user

2012-10-31 Thread Ulrich Stärk
On 31.10.2012 13:05, devnull2...@gmx.de wrote: >> The goal is to just @Inject User currentUser; or @SessionState User >> currentUser; or @Persist User >> currentUser; in a page or service and have acces to the user as denoted by >> the principal stored in >> the http session. Which option would you

Re: injecting the currently logged in user

2012-10-31 Thread devnull2000
> The goal is to just @Inject User currentUser; or @SessionState User > currentUser; or @Persist User > currentUser; in a page or service and have acces to the user as denoted by > the principal stored in > the http session. Which option would you chose? Are there others, maybe > more straightforwa

Re: use symbol value in POJO

2012-10-31 Thread Michael Gentry
Hi Bjello, I think Lance was onto the best ideas. The easiest would be to create a Tapestry service for creating your Cayenne objects (pseudo-code): public class TapestryCayenneService { @Inject @Symbol(value="...") ... public Foo newFoo(ObjectContext oc) { Foo foo = oc.newO

Re: quarky page injection... late allocation

2012-10-31 Thread Lance Java
Tapestry transforms page / component classes so that at runtime, the values are written/read from a thread local map and the fields are no longer used. In development mode, tapestry mirrors these values to the fields to make your life easier when debugging. I'm guessing that you are debugging a ta

Re: injecting the currently logged in user

2012-10-31 Thread Ulrich Stärk
On 30.10.2012 21:11, Ulrich Stärk wrote: > On 30.10.2012 21:05, Thiago H de Paula Figueiredo wrote: >> On Tue, 30 Oct 2012 17:44:29 -0200, Ulrich Stärk wrote: >> >>> 2. Create a UserSource service that looks up the User instance, build a >>> PropertyShadowBuilder >>> around it and bind it to the

Re: Configurable site navigation menu?

2012-10-31 Thread John
I didn't get this result! I put this in my Layout.tml ${title} In the rendered page the new css link appears at the top of the list above component css: TapestryDemo Index - Original Message - From: Thiago H de Paula Figueiredo To: Tapestry users Sent: Tuesday, Oc

Re: use symbol value in POJO

2012-10-31 Thread Lance Java
> You mean passing the value as a parameter is not a good idea? Or something else? (sorry, I'm not a native speaker) No, I meant what I was about to suggest may not be a good idea ;) I'm now sure it's a bad idea :) This is because there's not a single factory for creating these objects (it seems