RE: implementing a menubar for top of page

2013-02-12 Thread Ken in Nashua
Ok manu... I found a switch off in one of my hidden build batch files causing the offline build. I got everything integrated and built. Sorry for the unnecessary thrash Looks good. lightweight...quick...easy... runs fine on tap-5.3.6 dying to get the sources to dredge thru any chance of opera

RE: implementing a menubar for top of page

2013-02-12 Thread Ken in Nashua
Do i need to integrate the whole component and all its files to myproject ? I thought that the dependency took care of all that. Thanks Manu... it looks promising... hoping to employ alot of these

RE: implementing a menubar for top of page

2013-02-12 Thread Ken in Nashua
Maybe I am using the template wrong. I am trying to operate the MainNav Can you assist? I just copied and pasted it into my layout.tml

RE: implementing a menubar for top of page

2013-02-12 Thread Ken in Nashua
Manu Home Components Navigation Tools Documentation Downloads I put this in my layout.tml Keep getting this error Do you have any suggestions... really want to try this... An

Re: What is the syntax for multiple progressiveDisplay blocks on a page using tapestry5-jquery?

2013-02-12 Thread George Ludwig
Emmanuel, Yes, the mixin was based on Prototype. I'm not sure what your second question is...during testing, my app included the jQuery library, but it was not being used as far as I could tell. I simply added it to my pom, ran mvn ecipse:eclipse, and that was enough to cause things to break. I

RE: implementing a menubar for top of page

2013-02-12 Thread Ken in Nashua
Ok I put repository in the parent pom.xml for my project and it picked it up. I integrated your stuff to the build. But I am receiving this error now. Has the class name changed ? org.apache.tapestry5.ioc.internal.util.TapestryExceptionUnable to resolve 'kawwa2/MainNav' to a component class nam

Re: Currency Converter

2013-02-12 Thread George Christman
Would a translator be the proper solution? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Currency-Converter-tp5719990p5719991.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To

Currency Converter

2013-02-12 Thread George Christman
Hello, I'm wondering what the best solution would be to convert a string to currency in Tapestry, but still use the tapestry validation. Example, if a user enters $51,000.00, it would still be a valid amount, but the $ , characters would be stripped. From there it would run the custom Tapestry Vali

Re: [T5.3.6] auto-submitting ajax checkbox

2013-02-12 Thread Geoff Callender
Your situation sounds simple enough to be solved by a hidden submit button, like this: http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/filteredgrid and let Tapestry do the rest. On 13/02/2013, at 3:36 AM, dfom wrote: > Hi, > > I need a checkbox that submits the form au

RE: implementing a menubar for top of page

2013-02-12 Thread Ken in Nashua
The same error persists I followed your directions on the web site its using the repository you provided but it continues to fail with offline message. can you email me the release and sources so I can build it myself ? waitin to give this a whirl. thankskenkcola...@live.com

Re: [T5.3.6] auto-submitting ajax checkbox

2013-02-12 Thread Lenny Primak
How are you submitting the form? Here some things for you to look at that will help you submitting Tapestry form properly: Here is some code that submits the form properly via Ajax: http://code.google.com/p/flowlogix/source/browse/tapestry-services/src/main/resources/com/flowlogix/web/mixins/Disa

[T5.3.6] auto-submitting ajax checkbox

2013-02-12 Thread dfom
Hi, I need a checkbox that submits the form automatically when clicked. Additionally it must use ajax. I put a "zone" parameter into the "form" tag to activate ajax. Into the "checkbox" tag I added an "onclick" parameter with javascript that submits the form. The effect is that a regular submit b

Re: Component Utilizing PropertyOverrides, Adding Override Blocks Dynamically

2013-02-12 Thread llama-king
Just had a moment to put together the rest of my accordion component with two components. It's definitely more elegant than all the slinging of parameters and coercing blocks out of informal parameter titles and of course it affords you looping. I'd have to agree that the t5-jquery tabs could be r

Re: Component Utilizing PropertyOverrides, Adding Override Blocks Dynamically

2013-02-12 Thread Lance Java
Yes!! IMHO I think the tapestry-jquery tabs component uses the "messy" parameters I was referring to http://tapestry5-jquery.com/components/docsjquerytabs -- View this message in context: http://tapestry.1045711.n5.nabble.com/Component-Utilizing-PropertyOverrides-Adding-Override-Blocks-Dynamic

Re: Tapestry-Jquery datatable detail row.

2013-02-12 Thread George Christman
At this point, I think I'm on my own. I'll keep you posted :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Jquery-datatable-detail-row-tp5719938p5719983.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: Tapestry-Jquery datatable detail row.

2013-02-12 Thread Emmanuel DEMEY
OK. So I have to do nothing ? :d 2013/2/12 George Christman > Manu, that issue preventing me from upgrading jquery actually doesn't > appear > to be a bug, but perhaps an oversight by the Tapestry Team. It appears the > ajaxformloop doesn't have the alwaysSubmit parameter enabling the > ajaxfor

Re: Component Utilizing PropertyOverrides, Adding Override Blocks Dynamically

2013-02-12 Thread Emmanuel DEMEY
Hi Something like our Carousel component : https://github.com/got5/tapestry5-jquery/blob/master/src/test/resources/org/got5/tapestry5/jquery/pages/CarouselPage.tml? Manu 2013/2/12 Lance Java > I much prefer to use components for this sort of thing. If you use > parameters, you start to do all

Re: Component Utilizing PropertyOverrides, Adding Override Blocks Dynamically

2013-02-12 Thread Lance Java
I much prefer to use components for this sort of thing. If you use parameters, you start to do all kinds of messy stuff with naming conventions: eg: Body 1 Body 1 I think 2 components is much cleaner and has the benefit IDE tooling support. -- View this message in context: http://tap

Re: Tapestry-Jquery datatable detail row.

2013-02-12 Thread George Christman
Manu, that issue preventing me from upgrading jquery actually doesn't appear to be a bug, but perhaps an oversight by the Tapestry Team. It appears the ajaxformloop doesn't have the alwaysSubmit parameter enabling the ajaxformloop component to set formfragment alwaysSubmit parameter to true. This a

Re: Component Utilizing PropertyOverrides, Adding Override Blocks Dynamically

2013-02-12 Thread llama-king
Hi Lance, That really is looking like the only plausible solution that hides away boilerplate mark-up/config. All these kinds of components are very similar in nature. (Bung some things into other named things under a thing). It would be cool to be able to mangle (read: modify) the parameter tag t

Re: Component Utilizing PropertyOverrides, Adding Override Blocks Dynamically

2013-02-12 Thread Lance Java
Why not use two separate components. Item 1 Body Item 2 Body I do a similar thing with TabGroup/Tab here Demo: https://github.com/uklance/tapestry-stitch-demo/blob/master/src/main/resources/org/lazan/t5/stitch/demo/pages/TabGroupDemo.tml https://github.com/uklance/tapestry-stitch-demo/b

Re: [t5.3.6] Constructing Forms from Maps

2013-02-12 Thread Muhammad Gelbana
Thanks a lot for replying :) Well I don't think providing a custom binding factory is the solution since the map keys will differ so the number of fields is unpredictable, it has to be dynamic. Based on your answer, I think providing a BeanModelImpl with an overridden PropertyConduitSource is the

Re: Issue in special characters displaying from properties file

2013-02-12 Thread Johan Stuyts
By my reading of Java history, the notion that a Java properties file must be encoded in ISO 8859-1 is a remnant from the days before the Java SE 1.6 specification. Given that 1.6 has been with us for 6 years now - in fact it is so old that it is being end-of-lifed this month - I'd suggest

Component Utilizing PropertyOverrides, Adding Override Blocks Dynamically

2013-02-12 Thread llama-king
Hello, I started writing an Accordion component today to try out using the following sort of pattern; Some content.. Some more content.. So I specify PropertyOverrides in Accordion.java: @Parameter(value = "this", allowNull = false) @Property(write = false) priv

Re: Issue in special characters displaying from properties file

2013-02-12 Thread Geoff Callender
By my reading of Java history, the notion that a Java properties file must be encoded in ISO 8859-1 is a remnant from the days before the Java SE 1.6 specification. Given that 1.6 has been with us for 6 years now - in fact it is so old that it is being end-of-lifed this month - I'd suggest it is

Re: [t5.3.6] Constructing Forms from Maps

2013-02-12 Thread Lance Java
Form fields have quite a complex relationship with their enclosing form, I wouldn't suggest writing to the MarkupWriter. BeanEditor and BeanEditForm require a BeanModel. Instead of implementing all of the methods in BeanModel, you can instantiate a BeanModelImpl and pass a custom PropertyConduitSo

Re: Issue in special characters displaying from properties file

2013-02-12 Thread Bob Harner
For property files that are expected to have international characters, the problem with using ISO-8859-1 is that a great many of those characters require \x escape sequences, and that makes the text unreadable to the human eye, so then you need some special editor support (e.g. a plugin). As i

Re: How to call locale properties file based on urls

2013-02-12 Thread karthi
I am now using ThreadLocale service. Everythings works perfectly!! Now no need to worry for css files! Many thanks Lance Java & others for kind help. -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-call-locale-properties-file-based-on-urls-tp5719862p5719968.html

Re: What is the syntax for multiple progressiveDisplay blocks on a page using tapestry5-jquery?

2013-02-12 Thread Emmanuel DEMEY
Hi, The confirm mixin is based on Prototype ? Is Tapestry5-jQuery application a full jQuery application ? or a prototype + jQuery application ? Do you have a JavaScript error ? Manu 2013/2/12 George Ludwig > Emmanuel, > > This is what I found. In the .tml before the progressiveDisplay block

Re: Issue in special characters displaying from properties file

2013-02-12 Thread Johan Stuyts
Tapestry expects UTF-8. Which is fine for file types defined by Tapestry. Eclipse handles UTF-8 just fine. Eclipse can be set to default to UTF-8 for templates and properties: Preferences > General > Content Types > Text > HTML > *.tml Preferences > General > Content Types > Text >

Re: Issue in special characters displaying from properties file

2013-02-12 Thread Geoff Callender
Hi Johan, I don't understand why you've interpreted the javadoc in that way. Here are some things to consider: Tapestry expects UTF-8. Eclipse handles UTF-8 just fine. Eclipse can be set to default to UTF-8 for templates and properties: Preferences > General > Content Types > Text > HT

Re: implementing a menubar for top of page

2013-02-12 Thread Emmanuel DEMEY
Hi, Do you use the right Maven Repository ? More information here : https://kawwa.atosworldline.com/tapestry Manu 2013/2/12 Ken in Nashua > I receive this error when attempting to integrate kawa > > [WARNING] > [INFO] > [INFO] > ---

Re: Issue in special characters displaying from properties file

2013-02-12 Thread Johan Stuyts
Have you encoded you file into utf8? Java properties files must never be encoded using UTF-8. The encoding for Java properties files is always the same: ISO-8859-1 with Unicode escapes. Your editor must convert any characters not in ISO-8859-1 to Unicode escapes. See the Javadoc of "Prop