Re: [T5.4] Datepicker is mostly broken

2013-09-05 Thread Lenny Primak
Now since my bootstrap issues are cleared up, the state of the datepicker is still leaves something to be desired. This is actually the same state it was since T5.3, with the following bugs still not fixed: https://issues.apache.org/jira/browse/TAP5-805 Take a look at my last comment. Basically

Re: [T5.4 Alpha-15] constructAssetPath() changes

2013-09-05 Thread Lenny Primak
JIRA created: https://issues.apache.org/jira/browse/TAP5-2170 On Sep 2, 2013, at 3:48 PM, Lenny Primak wrote: > I am trying to migrate to T5.4, and so far I don't understand how to use > constructAssetPath() > It now requires a third parameter, StreamableResource. > > What I am trying to do is

Re: [T5.4] Datepicker is mostly broken

2013-09-05 Thread Lenny Primak
JIRA created: https://issues.apache.org/jira/browse/TAP5-2169 On Sep 5, 2013, at 11:02 PM, Lenny Primak wrote: > I figured out what's happening here too. > T5.4 doesn't import "core" stack by default, so all the style goodies are > left out. > The last message in this thread confirms this... JI

Re: [T5.4] @Import(library=xxx) doesn't work for META-INF/assset/xxx assets from library

2013-09-05 Thread Lenny Primak
JIRAs created: https://issues.apache.org/jira/browse/TAP5-2167 https://issues.apache.org/jira/browse/TAP5-2168 On Sep 5, 2013, at 9:30 PM, Howard Lewis Ship wrote: > You can leave the asset in the old location, and Tapestry will find it, > with a warning. > > Or you can move it to the new locat

Re: [T5.4] Datepicker is mostly broken

2013-09-05 Thread Lenny Primak
I figured out what's happening here too. T5.4 doesn't import "core" stack by default, so all the style goodies are left out. The last message in this thread confirms this... JIRA is coming http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Tapestry-5-4-alpha-2-css-overriding-td5719

Re: [T5.4] Datepicker is mostly broken

2013-09-05 Thread Lenny Primak
I may be missing something in 5.4 - do I need to follow any additional steps relative to 5.3? I don't even see any arrow GIFs anywhere. I suspect there needs to be something done in CSS due to the new bootstrap. I see the button as being class="btn btn-default" but there are no background images

Re: [T5.4] @Import(library=xxx) doesn't work for META-INF/assset/xxx assets from library

2013-09-05 Thread Lenny Primak
Will port JIRA shortly... the 5.3 location warning is actually an error, and it should be made into a warning though It's really annoying because it appears SEVERE red in the logs thanks! On Sep 5, 2013, at 9:30 PM, Howard Lewis Ship wrote: > You can leave the asset in the old location, and Tape

Re: [T5.4] Datepicker is mostly broken

2013-09-05 Thread Howard Lewis Ship
Just fired up Safari and it works fine for me, just like Chrome. I suspect your FlowLogix stuff is breaking it in some way. On Thu, Sep 5, 2013 at 4:28 PM, Lenny Primak wrote: > Mac / Safari > I actually may have spoken too soon about any of these ever being fixed. > Some of these were being pa

Re: [T5.4] @Import(library=xxx) doesn't work for META-INF/assset/xxx assets from library

2013-09-05 Thread Howard Lewis Ship
You can leave the asset in the old location, and Tapestry will find it, with a warning. Or you can move it to the new location; /assets/LIB-NAME/path.js ... the LIB-NAME is determined from the library containing the component. The error message only reports the 5.3 location; it should be updat

Re: [T5.4] @Import(library=xxx) doesn't work for META-INF/assset/xxx assets from library

2013-09-05 Thread Lenny Primak
Now I understand how I could get so confused: The error message is this: targetException org.apache.tapestry5.ioc.internal.OperationException: Unable to locate asset 'classpath:com/flowlogix/web/mixins/js/DateFieldParserPatch.js' (the file does not exist). But, I have to put the asset here: MET

Re: [T5.4] @Import(library=xxx) doesn't work for META-INF/assset/xxx assets from library

2013-09-05 Thread Lenny Primak
(answering my own question) Looks like the semantics have changed. Used to be that assets were looked up relative to class package name, now they are just looked up relative to root. On Sep 5, 2013, at 6:37 PM, Lenny Primak wrote: > I am trying to migrate FlowLogix library to T5.4... > There ar

Re: [T5.4] Datepicker is mostly broken

2013-09-05 Thread Lenny Primak
Mac / Safari I actually may have spoken too soon about any of these ever being fixed. Some of these were being patched by FlowLogix, so without it being ported and working successfully yet, these bugs are once again uncovered. Are you saying you get a little calendar icon next to the date field?

Re: [T5.4] Datepicker is mostly broken

2013-09-05 Thread Howard Lewis Ship
Works for me :-) What browser? On Thu, Sep 5, 2013 at 1:39 PM, Lenny Primak wrote: > FYI: > > There was a whole bunch of bugs that are filed against datepicker that are > once again broken in T5.4 (alpha-17 at least) > > Here are the JIRAs: > > https://issues.apache.org/jira/browse/TAP5-805 (c

[T5.4] @Import(library=xxx) doesn't work for META-INF/assset/xxx assets from library

2013-09-05 Thread Lenny Primak
I am trying to migrate FlowLogix library to T5.4... There are a whole bunch of mixins there, that use JavaScript @Import(library="xxx.js"). I used to have those .js in the classpath in the same package. Now, with the new packaging scheme, I moved them to META-INF/assets/flowlogix. After this, none

RE: Tapestry Server Push/Web Socket/Comet implementation

2013-09-05 Thread Ben Titmarsh
Sounds like good advice! I checked out your example implementation so will play around with it tomorrow. Thanks for all of the effort that you put into this library. > Date: Thu, 5 Sep 2013 19:18:11 +0100 > Subject: Re: Tapestry Server Push/Web Socket/Comet implementation > From: lance.j...@go

[T5.4] Datepicker is mostly broken

2013-09-05 Thread Lenny Primak
FYI: There was a whole bunch of bugs that are filed against datepicker that are once again broken in T5.4 (alpha-17 at least) Here are the JIRAs: https://issues.apache.org/jira/browse/TAP5-805 (client validation failures) https://issues.apache.org/jira/browse/TAP5-1697 (and related issue http

Re: [T5.4] more Datepicker issues...

2013-09-05 Thread Lenny Primak
You are right about the prototype bit, Dimitris. I confused JavaScript prototype with the Prototype framework, and there was another JS lib (unrelated to tapestry) in my code that was bringing in prototype and confused me some more :) Alas, all the other issues that I brought up are still valid

Re: [T5.4] more Datepicker issues...

2013-09-05 Thread Dimitris Zenios
Datepicker does not depend on prototype from what i remember.Did you add this to your appmodule? @Contribute(Compatibility.class) public static void disableScriptaculous(MappedConfiguration configuration) { configuration.add(Trait.SCRIPTACULOUS, false); configuration.ad

[T5.4] more Datepicker issues...

2013-09-05 Thread Lenny Primak
FYI- It appears that Datepicker is dependent on prototype. So, basically, every page that uses dates brings in prototype, even though I am trying to do clean-sheet JQuery / Bootstrap development... - To unsubscribe, e-mail:

Re: Tapestry 5.2.5: Tapestry Exception "MarkupWriter.element() and not followed up with MarkupWriter.end()"

2013-09-05 Thread rukmini n
Hi All, Please help. I'm stuck with same exception Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException: Component Signin:logincomponent_0.fieldvalidationerrormsg has rendered unbalanced elements; either it has started an element with MarkupWriter.element() and not followed up with

Re: [T5.4] default Datepicker issues

2013-09-05 Thread Lenny Primak
Bootstrap datepicker works for me too. Do you mind sharing the code (or do you have a library to use?) Thanks On Sep 5, 2013, at 2:26 PM, Dimitris Zenios wrote: > Nope.There is no way to switch to Jquery UI Datepicker from tapestry.What > you can do though is since Datefield is just an input bo

RE: Tapestry Server Push/Web Socket/Comet implementation

2013-09-05 Thread Ben Titmarsh
Thanks Lance, So if I have one shared topic that each client is subscribed to how do I push an event to a specific client? Presumably by adding some context (a "memberId") to each event and having each client only consume messages with their member id? Or would the approach be to create a per

[T5.4] default Datepicker issues

2013-09-05 Thread Lenny Primak
Right now, it looks like T5.4 uses the 'old' datepicker by default. Shouldn't it use JQuery UI Datepicker instead? Is there any way to switch this on by default? I am using alpha-15 - To unsubscribe, e-mail: users-unsubscr...@ta

Re: [T5.4] default Datepicker issues

2013-09-05 Thread Dimitris Zenios
Nope.There is no way to switch to Jquery UI Datepicker from tapestry.What you can do though is since Datefield is just an input box, you can override the tapestries datefield javascript file (t5/core/datefield) and create your own that uses jquery ui datepicker.I did that once to use bootstrap-date

Re: Tapestry Server Push/Web Socket/Comet implementation

2013-09-05 Thread Lance Java
Note that if you're smart about naming your topics, you can use wildcards. eg: if user1 subscribes to /games/game1/user1 and user2 subscribes to /games/game1/user2 you can send a message to both users by publishing to /games/game1/* or you can send a message to all game users via /games/** https:

Re: [5.4] LinkSubmit Client-side Validation Broken

2013-09-05 Thread Boris Horvat
No like I said I use the latest stable release ie (5.3.7 I think) On Thu, Sep 5, 2013 at 9:14 AM, Peter Hvass wrote: > Thanks Boris and Eugen. Boris; are you using a 5.4 alpha? > > > Hoping one of the devs/maintainers could chime in just in case this is > some kind of configuration issue (befor

RE: Tapestry Server Push/Web Socket/Comet implementation

2013-09-05 Thread Lance Java
If you need to target individual users then you will definitely need a topic per user. For game global messages you may decide to use a game topic, or you probably know the users in a game and just send a message to each user topic.

RE: Lightweight Tapestry5 Design/Code Switch plugin for Eclipse

2013-09-05 Thread Ben Titmarsh
Very useful! Thanks. > To: users@tapestry.apache.org > Subject: Re: Lightweight Tapestry5 Design/Code Switch plugin for Eclipse > Date: Wed, 4 Sep 2013 10:31:46 -0300 > From: thiag...@gmail.com > > I'm using it and I love it! It has one simple but very useful function > which is very well impl

RE: Tapestry Server Push/Web Socket/Comet implementation

2013-09-05 Thread Lance Java
Hi Ben, I'm sure tapestry-cometd can handle this. Just add a PushTarget component to each user's page providing a "topic" and an "event". Messages are pushed to the PushTargets via PushManager.broadcast(topic, message). Every message will fire the component event and will either return a block or

Re: How to run my application on a server

2013-09-05 Thread Martin Kersten
In the end tomcat is just another servlet. So check out how to deploy a servlet and do the redo the steps with your tapestry project. Jetty is mature enough to use Jetty as a stand alone server. Tomcat has its merits too. Today people often prefer classfish since its the reference implementation of

Re: How to run my application on a server

2013-09-05 Thread Will N.
Hi Ben, thanks for the reply. Actually, i already have a server where i can and will upload my app to. The question is more how to do it(step by step) or what needs to be done to make it work on a server. Is Jetty recommandable for the production mode or do I have to switch to Tomcat. A MySQL

RE: Tapestry Server Push/Web Socket/Comet implementation

2013-09-05 Thread Ben Titmarsh
Hey Lance, Thanks for the detailed response. I haven't checked out tapestry-cometd yet but I certainly will and it would be great to get this integrated as a core Tapestry module. Congratulations on becoming a committer! My use case is to create a simple browser-based multiplayer game. At i

RE: How to run my application on a server

2013-09-05 Thread Ben Titmarsh
Hi Will, You need to set up some hosting. Personally I would recommend Cloudbees (www.cloudbees.com). They provide Tomcat + MySQL + Jenkins + SVN/Git all for free. It's only if you start getting significant load that you'd have to upgrade it. The provide a bunch of analytics for your App ou

How to run my application on a server

2013-09-05 Thread Will N.
Hi, I have been working on my application for a few months now and I //would like to take it to the server soon. What is the easiest way to do this. I use eclipse Galileo as env. My App runs local on a jetty Server and I also needs a MySQL Database. I guess I should change the mode from devel

Re: [5.4] IE8, RequireJS Error: required: "JSON" is Undefined

2013-09-05 Thread Peter Hvass
Yes that's precisely the way we've done it, creating an 'IfIE' component as suggested on another mailing list thread (here's an archive link http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Conditionally-IE-including-javascript-td5714506.html#a5715290 ) Thanks! Peter --

Re: [5.4] LinkSubmit Client-side Validation Broken

2013-09-05 Thread Peter Hvass
Thanks Boris and Eugen. Boris; are you using a 5.4 alpha? Hoping one of the devs/maintainers could chime in just in case this is some kind of configuration issue (before creating a JIRA). Thanks! Peter - Original Message - From: "Boris Horvat" To: "Tapestry users" Sent: Wed