[5.3] JSONArray Error while submitting forms

2012-06-11 Thread Poder, Jacob
Hi, I'm having the problem described here: https://issues.apache.org/jira/browse/TAP5-1777 The issue has been closed as not a problem, but I'm still getting this error even though I cleared browser cache as suggested. The error happens in IE8 and IE9 but not in Firefox or Chrome. For me It's

Re: Howto render a block and put it into a JSON reply?

2012-06-11 Thread Nourredine
Hi Christian, I'm facing the exact same issue with the jquery datatable plugin. Just using a RenderCommand with the RenderQueue does not solve the issue when blocks contain advanced components. So, I'm interested in your implementation which I will adapt to the Tapestry 5.2 version Can you

Re: Howto render a block and put it into a JSON reply?

2012-06-11 Thread Lance Java
If you would like to avoid using internal API's (eg MarkupWriterImpl and RenderQueueImpl) you can follow the method here: http://wiki.apache.org/tapestry/Tapestry5HowToGetAnHTMLStringFromARenderCommandParameter -- View this message in context:

Re: Lightweight TapestryTools update site

2012-06-11 Thread Gavin Lei
Hi all, I have finished all the auto-complete features mentioned in TapestryTools GSoC 2012 proposal [1], we support content assist about: a. All Tapestry 5 components b. All Tapestry 5 components' attributes c. Attribute value EL support d. Tapestry 5 message support in EL expression of tml page

Re: Howto render a block and put it into a JSON reply?

2012-06-11 Thread Lance Java
Sorry, I have just given you a solution that will only work for non-ajax requests. For ajax requests, take a look at how the RenderCommandComponentEventResultProcessor generates markup using a similar method.

Re: Howto render a block and put it into a JSON reply?

2012-06-11 Thread Nourredine
Thank you Lance for your input. Very interesting. Unfortunately, I need to render my block outside of a component rendering (can not use render methods). I'm inside an ajax callback, constructing a JSON object on the fly. The implementation must be generic, as I don't know what exactly the blocks

Re: Howto render a block and put it into a JSON reply?

2012-06-11 Thread Nourredine
Just seen your last post. Will take a look. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Howto-render-a-block-and-put-it-into-a-JSON-reply-tp5486823p5713759.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Lightweight TapestryTools update site

2012-06-11 Thread Dragan Sahpaski
Gavin, We are using TapestryTools with the EclipseColor themes available in the marketplace. We are using generally dark themes (Obsidian and Monokai). With the dark themes the Tapestry (XML) editor doesn't respect the theme settings and looks very dark (almost unusable). Now - the XML and HTML

Re: Howto render a block and put it into a JSON reply?

2012-06-11 Thread Thiago H de Paula Figueiredo
On Mon, 11 Jun 2012 05:09:11 -0300, Nourredine nourredine.kha...@atos.net wrote: Just using a RenderCommand with the RenderQueue does not solve the issue when blocks contain advanced components. There are no advanced components in Tapestry. Tapestry treats all components the same. --

Re: Howto render a block and put it into a JSON reply?

2012-06-11 Thread Christian Riedel
Hi Nourredine, well we gave up on jQuery's datatable and built our own searchable datatable solution. It's based on MongoDB, Tapestry's Grid, a GridDataSource similar to JpaGridDataSource and mongo-jackson-mapper[1]. It works fine in our backoffice but I think it doesn't scale well, if you plan

Struggling to get mixin to work.

2012-06-11 Thread dick.mur...@unit4.com
Hi all. (Tapestry newbie). I'm struggling to understand how to get a MixIn to be called. I have the following template. html t:type=layout title=Ordnance Survey xmlns:t=http://tapestry.apache.org/schema/tapestry_5_3.xsd; p Data t:beandisplay object=this include=postcode,

Re: Struggling to get mixin to work.

2012-06-11 Thread Christian Riedel
Hi, you need to attach a mixin to the component that you'd like to manipulate. Read this: http://tapestry.apache.org/component-mixins.html And have a look at other mixin implementations, like the Autocomplete-Mixin: Autcomplete.java

Re: Multiple Submits and Ajax Form

2012-06-11 Thread afaque_khan_2...@yahoo.com
Thanks for the response. I tried what you described. The functionality works. But, even though the event handler function of the submit button bookTrade returns other some page, I have an impression that it is an ajax form submit. This is because on using the object Request defined in the java

Re: Multiple Submits and Ajax Form

2012-06-11 Thread Thiago H de Paula Figueiredo
On Mon, 11 Jun 2012 11:30:04 -0300, afaque_khan_2...@yahoo.com afaque_khan_2...@yahoo.com wrote: I tried what you described. The functionality works. But, even though the event handler function of the submit button bookTrade returns other some page, I have an impression that it is an ajax

Re: [5.3] JSONArray Error while submitting forms

2012-06-11 Thread Muhammad Gelbana
How did this start happening ? Did you just modify the class path from pointing to an older tapestry version to a newer one ? Please state your app configuration. Things like: *SymbolConstants.MINIFICATION_ENABLED* On Mon, Jun 11, 2012 at 9:43 AM, Poder, Jacob jacob.po...@thermofisher.comwrote:

Post Upgrade Error: ioc.Registry | Code attribute in native or abstract methods in class file

2012-06-11 Thread chog
Hi, After upgrading to 5.2.6 I get an error; [ERROR] ioc.Registry Code attribute in native or abstract methods in class file my/project/components/LayoutX [ERROR] ioc.Registry Operations trace: [ERROR] ioc.Registry [ 1] Constructing instance of page class my.project.page.Start [ERROR]

Re: Post Upgrade Error: ioc.Registry | Code attribute in native or abstract methods in class file

2012-06-11 Thread Howard Lewis Ship
That can't be the full stack trace, and all the interesting parts certainly come later. Are you sure you don't have some other changes, such as a change to the JDK that compiled the LayoutX class? On Mon, Jun 11, 2012 at 8:08 AM, chog oskar.christens...@gmail.com wrote: Hi, After upgrading to

Re: Tapestry 5.3.4-rc-5

2012-06-11 Thread Christian Riedel
Testing Tapestry 5.3.4-rc-5 and now Tapestry 5.3.4-rc-6 without any problems! Site looks good, page response times dropped a bit but we don't have thousands of concurrent users… yet! ;-) Am 06.06.2012 um 19:32 schrieb Howard Lewis Ship: For those that are interested, I just committed some

Re: Example of jquery tabs with formfragments

2012-06-11 Thread ccureau
Sorry to resurrect this thread, but I'm at a loss. I really can't seem to make the tabs work when I have a grid involved no matter what I try. Tabs that have form data now reliably work since I've added the ajax=false to my .tml. All of my data are stored in the Employee class, with Lists for

Re: Tapestry 5.3.4-rc-5

2012-06-11 Thread Howard Lewis Ship
Thanks for the feedback! On Mon, Jun 11, 2012 at 10:58 AM, Christian Riedel cr.ml...@googlemail.com wrote: Testing Tapestry 5.3.4-rc-5 and now Tapestry 5.3.4-rc-6 without any problems! Site looks good, page response times dropped a bit but we don't have thousands of concurrent users…  yet!

Re: Tapestry 5.3.4-rc-5

2012-06-11 Thread Howard Lewis Ship
On Wed, Jun 6, 2012 at 5:37 PM, Cezary Biernacki cezary...@gmail.com wrote: On Thu, Jun 7, 2012 at 1:27 AM, Howard Lewis Ship hls...@gmail.com wrote: You can even omit synchronized and volatile IFF: - only a single shared field is updated - it is ok for a race condition to exist that would

Re: Howto include custum meta tags?

2012-06-11 Thread jamess_jack
Hi, I am also working on adding meta tags on the page. How did you accomplished it ? Thanks, Bhavin -- View this message in context: http://tapestry.1045711.n5.nabble.com/Howto-include-custum-meta-tags-tp2389216p5713784.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Howto include custum meta tags?

2012-06-11 Thread Howard Lewis Ship
What renders the head tag in your application? Probably your applications' version of the Layout component. Great, go to that template and add meta tags. Done. On Mon, Jun 11, 2012 at 4:25 PM, jamess_jack jamess_j...@yahoo.com wrote: Hi, I am also working on adding meta tags on the page.

Re: Lightweight TapestryTools update site

2012-06-11 Thread Gavin Lei
Hi Dragon, Thank you for your feedback. I have not tired EclipseColor themes yet, i will have a test of it when i have time and will post my conclusion here when i get one. 2012/6/11 Dragan Sahpaski dragan.sahpa...@gmail.com: Gavin, We are using TapestryTools with the EclipseColor themes