-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
async-supported in web.xml does not seem to have any effect in tapestry 5.4.0 #28
Comments
I haven't tried tapestry-atmosphere in t5.4. You might want to open the I know t5.4 has new conventions for asset locations. Perhaps the atmosphere
|
hello, all the javascript files are found correctly: I put them in src/main/webapp I put a couple alerts into tapestry-atmosphere.js and everything gets I also added a couple alerts to confirm that atmosphere.js gets loaded and when I reload the page manually, the chat messages have been processed a couple of months ago, I ported most of the features of your thanks for your feedback, danny. On 25 January 2016 at 10:30, Lance [email protected] wrote:
|
Hi Danny, I can't say I'm that familiar with porting apps to t4.5 but it does sound
Great! I've been meaning to do that myself but never found the time. Please
|
hello, the shim-thing sounds promising indeed... wrt tapestry-stitch: I will create a diff between my 5.4 version and your thanks & cu later, d. On 25 January 2016 at 15:29, Lance [email protected] wrote:
|
dear lance, I am very happy that I can inform you that I got the tapestry-atmosphere I also include the changes to tapestry-stitch for 5.4.0. the changes are relatively minimal once one has figured out how and where changes wrt components.Container.java:
the className evaluates to "Container", but by calling getSimpleName the subsequently, you have to save the atmosphere.js and Container.js into making the javascript files of your tapestry-stitch compatible with changes wrt mixins.Observe.java:
the catch in both progress link and observe is the declaration of the zone you will see that components.Errors.java imports I also had to avoid a couple of NullPointerExceptions in GridCollapse.java kind regards, danny. On 25 January 2016 at 22:25, danny de cock [email protected] wrote:
|
Are you able to create a git patch file for your changes? This would involve committing your changes to your local git repo then https://ariejan.net/2009/10/26/how-to-create-and-apply-a-patch-with-git/
|
dear lance, the attached patch files should do the trick. kind regards, d. On 27 January 2016 at 19:12, Lance [email protected] wrote:
|
Hi Danny, nothing attached unfortunately.
|
probably stripped by github... will send the attachment to your gmail d. On 28 January 2016 at 11:40, Lance [email protected] wrote:
|
hello lance, I had to replace the prototype specific calls Object.toJSON() and Object.evalJSON() with the atmosphere equivalent atmosphere.util.stringifyJSON() and atmosphere.util.parseJSON() calls to make it also work in the application I am developing... the container.js in attachment works fine now... kind regards, d. |
tapestry-atmosphere upgraded to tapestry 5.4 thanks to this pull request. Please try version 0.0.6 |
I am trying to use the chat demo of tapestry-atmosphere in tapestry 5.4.0. after a little struggle to put the javascript modules in the right directories I have come to a situation where the chat demo works, but does not push the new messages to the client. the webdeveloper console shows that requirejs could not find atmosphere. this turns out to be triggered by the statement atmosphere.subscribe call in the javascript file.
any idea how I can fix this?
thanks, g.
The text was updated successfully, but these errors were encountered: