Re: Hidden input controls losing their position

2008-02-06 Thread Richard Hoberman
Andreas Andreou wrote: One solution is this: Use one hidden for all the values... span jwcid=[EMAIL PROTECTED] encode=false value=ognl:ordering/ Then, in java public String getOrdering() {return null} public void getOrdering(String value) { String[] order = value.split(','); .. } Then have

[T4] Bug? @For generates hidden controls with same name

2008-02-06 Thread Richard Hoberman
Hi All Below is a form snippet followed by the html generated by Tapestry 4.1.5. The LI element ids are sensibly For_0 through For_N. The hidden fields corresponding to these items are ALL named For_0. Surely the appended digit should be incremented so as to correspond with the LI ids?

Re: Improving Component Reference

2008-02-06 Thread Filip S. Adamsen
Fully agree. Thumbs up! -Filip Geoff Callender skrev: Wow! That was so worth doing. Nice work. Geoff On 06/02/2008, at 3:41 AM, Howard Lewis Ship wrote: I've extended the component reference to allow images as part of the documentation ... so far, its all screen shots.

Re: Improving Component Reference

2008-02-06 Thread Michael Lake
The docs look great! I've been helping people on IRC ( #tapestry @ freenode.net) and at least one user found it extremely helpful when I pointed out the integration test app located in the following folder(to see working examples):

Re: [T4] Bug? @For generates hidden controls with same name

2008-02-06 Thread Davor Hrg
I dont know definitely on what the standard is (specialy because browsers choose to implement them how ever they want) but using same name for multiple inputs usualy means array .. php recognizes this if input name edns with [] Davor Hrg On Feb 6, 2008 12:27 PM, Richard Hoberman [EMAIL

Re: [T4] Bug? @For generates hidden controls with same name

2008-02-06 Thread Jesse Kuhnert
Yeah, this is covered by the servlet container implementors. public Object[] HttpServletRequest.getParameterValues(String key) {..} It's how radio groups / multiple select choices / checkboxes all work. On Feb 6, 2008 10:15 AM, Davor Hrg [EMAIL PROTECTED] wrote: I dont know definitely on

Re: [T4] Bug? @For generates hidden controls with same name

2008-02-06 Thread Richard Hoberman
Thanks Jesse. I was looking in the HTTP Protocol and didn't think of checking the Servlet specification. For those who are interested, here it is in 4.1 of version 2.4 of the Java Servlet Specification: SRV.4.1 HTTP Protocol Parameters Request parameters for the servlet are the strings sent

Re: Improving Component Reference

2008-02-06 Thread Igor Drobiazko
Looks very, very good. On Feb 5, 2008 5:41 PM, Howard Lewis Ship [EMAIL PROTECTED] wrote: I've extended the component reference to allow images as part of the documentation ... so far, its all screen shots. http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/index.html Feedback

Re: Improving Component Reference

2008-02-06 Thread Daniel Jue
Great Job!

Re: Improving Component Reference

2008-02-06 Thread Andreas Andreou
2 comments: - How is the 'introductory text' for each component derived? I'm asking cause it looks like it doesn't have any formatting in it... see for instance http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Palette.html it's very difficult to

Re: Improving Component Reference

2008-02-06 Thread Sven Homburg
+1 2008/2/6, Andreas Andreou [EMAIL PROTECTED]: 2 comments: - How is the 'introductory text' for each component derived? I'm asking cause it looks like it doesn't have any formatting in it... see for instance

question to building own components and passing parameters

2008-02-06 Thread T. Papke
Hello, i want just to get the current id of the product from earch row into my own component (carthandler). But i always got a nullpointer because currentProduct ist null? But wuy? CurrentPorduct is not null for the column, where they render the pagelink for productdetailpage? (with

question to building own components and passing parameters

2008-02-06 Thread T. Papke
Hello, i want just to get the current id of the product from earch row into my own component (carthandler). But i always got a nullpointer because currentProduct ist null? But wuy? CurrentPorduct is not null for the column, where they render the pagelink for productdetailpage? (with

Re: Improving Component Reference

2008-02-06 Thread Howard Lewis Ship
Partly generated right off the JavaDoc, partly generated by hand. The xdoc files contain the examples and notes and are merged into the file generated from the JavaDoc. For most of the examples, I have a side project that I used to write and test the code and from which I generated the

Re: Improving Component Reference

2008-02-06 Thread Howard Lewis Ship
On Feb 6, 2008 8:10 AM, Andreas Andreou [EMAIL PROTECTED] wrote: 2 comments: - How is the 'introductory text' for each component derived? I'm asking cause it looks like it doesn't have any formatting in it... see for instance

[Tapestry 5]-JSCookMenu

2008-02-06 Thread Anteneh Alemayehu
Hi Everyone, Is there any one who use a cool menu in Tapestry 5? Is JSCookMenu can be used for Tapestry 5? If yes, how? Thank you, Anteneh -- View this message in context: http://www.nabble.com/-Tapestry-5--JSCookMenu-tp15307078p15307078.html Sent from the Tapestry - User mailing list

Re: Improving Component Reference

2008-02-06 Thread Franz Amador
Two minor nits: - On the index page, listing every component class as its fully qualified name makes it hard to read. I agree with the suggestion that the package name be shown only once and the class names be listed without their package-name prefixes. - The doc for Form says, Examples of

Re: Using Tapestry-ioc Separately

2008-02-06 Thread Hilco Wijbenga
On Feb 5, 2008 2:39 PM, Jan Vissers [EMAIL PROTECTED] wrote: Indeed T5's IoC can be used without T5 core, although IMHO you're better of using Google Guice. If you're already familiar with T5 IoC, using Guice isn't that hard. Yes, I noticed that T5 IoC and Guice are *very* similar. But Guice

Re: Using Tapestry-ioc Separately

2008-02-06 Thread Christian Edward Gruber
Kinda liking picocontainer, but tapestry-ioc is becoming my favorite for non-embedded circumstances. christian. On 6-Feb-08, at 13:26 , Hilco Wijbenga wrote: On Feb 5, 2008 2:39 PM, Jan Vissers [EMAIL PROTECTED] wrote: Indeed T5's IoC can be used without T5 core, although IMHO you're

Re: Using Tapestry-ioc Separately

2008-02-06 Thread Hilco Wijbenga
On Feb 5, 2008 11:19 PM, Davor Hrg [EMAIL PROTECTED] wrote: http://wiki.apache.org/tapestry/Tapestry5HowToIocOnly http://wiki.apache.org/tapestry/Tapestry5HowToIocAndHibernate Oh, nice! I had not noticed these. Is there a reason that the Module needs to have a *static* bind(ServiceBinder)? Why

Re: Using Tapestry-ioc Separately

2008-02-06 Thread Davor Hrg
module methods can be both static and instance methods, you choose ... http://tapestry.apache.org/tapestry5/tapestry-ioc/module.html Davor Hrg On 2/6/08, Hilco Wijbenga [EMAIL PROTECTED] wrote: On Feb 5, 2008 11:19 PM, Davor Hrg [EMAIL PROTECTED] wrote:

[T4] @For produces strange id values

2008-02-06 Thread Richard Hoberman
Hi All I'm trying to use the index and id attributes of the For component to create predictable (parseable) ids. I'm getting the following sequence: item_0, item_0_0, item_1. I was expecting item_0, item_1, item_2, etc. Relevant code below. Am I doing something silly? Richard Hoberman

Re: Using Tapestry-ioc Separately

2008-02-06 Thread Hilco Wijbenga
On Feb 6, 2008 11:08 AM, Davor Hrg [EMAIL PROTECTED] wrote: module methods can be both static and instance methods, you choose ... http://tapestry.apache.org/tapestry5/tapestry-ioc/module.html Great! :-) That's very nice. I think the examples should use instance methods then, shouldn't they?

Re: Improving Component Reference

2008-02-06 Thread Howard Lewis Ship
On Feb 6, 2008 9:39 AM, Franz Amador [EMAIL PROTECTED] wrote: Two minor nits: - On the index page, listing every component class as its fully qualified name makes it hard to read. I agree with the suggestion that the package name be shown only once and the class names be listed without

Re: T5.0.9: Upgrading from 5.0.6 and If-Modified-Since is killing me....

2008-02-06 Thread Howard Lewis Ship
Definately a bug. On Feb 6, 2008 8:05 PM, Josh Canfield [EMAIL PROTECTED] wrote: Hey all, I'm looking at upgrading from 5.0.6 to 5.0.9. The problem is that I'm getting the old version of tapestry.js every time I load the page. I tracked the problem back through the AssetDispatcher,

T5: trouble with OrderedConfiguration

2008-02-06 Thread Will Norris
I'm running into a problem where I am unable to properly order contributions based on the order in which two modules are loaded. I am using Robin Helgelin's Tapestry5-Acegi along with my own module Tapesty-Shib which adds my own HttpServletRequestHandler. In my module, I have the

Re: T5: trouble with OrderedConfiguration

2008-02-06 Thread Will Norris
On Feb 6, 2008, at 10:10 PM, Will Norris wrote: If I add the same method (changing the configuration ID slightly), it works just fine. err, that should be... If I add the same method to my application, it works just fine. I only have the problem when contribution is made exclusively

T5: Hibernate and threaded service

2008-02-06 Thread Angelo Chen
Hi, I have two services, namely MyCreate and MyThread, what they do is: MyCreate will append a new record using Tapestry-Hibernate's session and MyThread will look it up, MyThread is in a thread while MyCreate is not, the problem is, the newly created record can not be located by MyThread, if

Re: T5: Hibernate and threaded service

2008-02-06 Thread Andy Huhn
Hi Angelo, The MyCreate service creates a new record, but doesn't commit until after MyThread is started. The MyThread service automatically gets a different Hibernate Session, and thus can't see the record that hasn't been committed yet by the other session. I'm not that familiar with MySQL,