For component ConcurrentModificationException during rewind.

2006-10-16 Thread Gareth
hi, I am making use of the tapestry For loop in my HTML to create a table (I'm using this rather than a table due to the simplicity). I have 3 columns of data, and 2 buttons per row. one button deletes the row, and the other changes all fields to edit boxes so it can be amended. At the

Re: For component ConcurrentModificationException during rewind.

2006-10-16 Thread Christian Haselbach
Zitat von Gareth [EMAIL PROTECTED]: I have gotten around the problem by, in the listener for onDelete, I flag the row for deletion, and then in the PageBeginRender method, I check to see that it is not rewinding - i.e. it is about to start rendering the response, and if the deletion flag is

Component ApplicationRuntimeException Tap-4.1.1 help please (thanks)

2006-10-16 Thread Ken nashua
Guys, I am just testing out a simple @ShowMessages component that highlights text whereby the *.html and *.jwc are located under my WEB-INF/proto/component/ directory --- Here is the proto.library file library-specification descriptionPrototype Component library/description library

RE @Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks)

2006-10-16 Thread Ken nashua
Well i tried a couple of things finding out that contrib was named in two places when it should haven't... --- new *.application file application name=tap.proto !-- page name=Home specification-path=/Home.page/ -- meta key=org.apache.tapestry.page-class-packages value=proto/ meta

RE Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks)

2006-10-16 Thread Ken nashua
Well it is obviously in the *.application file Here is the latest *.application file.. apologies for the slop application name=tap.proto meta key=org.apache.tapestry.page-class-packages value=proto/ meta key=org.apache.tapestry.component-class-packages value=proto/component/ library

RE Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks)

2006-10-16 Thread Ken nashua
Ok, I have taken this to another level. My package spec had slashes instead of dots. No indicator of such at runtime though... although I have been operating dots/slashes for 20 years now. --- Here is the latest library spec library-specification library id=contrib

Re: Component resolution question

2006-10-16 Thread Patrick Moore
Hi Ryan -- Eclipse can look for fully specified names but 'members/Navigation' isn't fully specified. The component specification looks like: @Component(type=member/Navigation) public Navigation getNavigation(); (FYI, in my example I was only giving the full flassname for illustration only)

Re: Ajax form that updates itself destroys the ajaxy-goodness of said form

2006-10-16 Thread Patrick Moore
... And I am having the time of my life being able to *use* your good work to be able to reach higher than I thought I would be able to :-) On 10/15/06, Jesse Kuhnert [EMAIL PROTECTED] wrote: No need for thanks. I'm having the time of my life doing this stuff. I've never had access to learning

Async=true stops listener from being called in ImageSubmit

2006-10-16 Thread Peter Beshai
Has anyone else experienced this? As soon as I add the binding async=true to my ImageSubmit, it stops calling the listener. If I remove the binding, it works as expected. When I try changing ImageSubmit to LinkSubmit, it works with and without async=true. Any ideas? Here is the code I am

RE: Async=true stops listener from being called in ImageSubmit

2006-10-16 Thread Peter Beshai
Err, that should read doImageSubmit() (the LinkSubmit pointed to that listener.. but they both do the same thing) From: Peter Beshai [EMAIL PROTECTED] Reply-To: Tapestry users users@tapestry.apache.org To: users@tapestry.apache.org Subject: Async=true stops listener from being called in

How to change table page index by a form submit event

2006-10-16 Thread Huang Gehua
I made a T4 page with a Contrib:Table and a form in it. In the form there is a textbox and a submit button to add record to the table.If i was view the 3rd page of the table and then add a new record . After submitting the new record was added and i was still at the 3rd page of the table.But the

RE: How to change table page index by a form submit event

2006-10-16 Thread Thomas.Vaughan
Try the .reset() method on the table. I've got a page with something like this (in the .java): @InjectComponent( table ) public abstract Table getTable( ); void resetFields( ) { ... setItemsPerPage( DEFAULT_PAGE_SIZE ); // Reset table, so that on next rendering it begins at

Form focus not working?

2006-10-16 Thread Leo Sakhvoruk
I'm trying to get a form to receive focus when a page loads but binding the 'focus' parameter with 'true' in a form component doesn't seem to have the intended effect. It seems to do nothing. Even when an error occurs, the form doesn't receive focus on the field in error. Am I doing something

How do you add custom dojo widget?

2006-10-16 Thread Peter Beshai
I am interested in using the dojo progress bar discussed at http://www.richardrodger.com/roller/page/richard/Weblog/dojo_progress, but I can't figure out how to get it to work in Tapestry (4.1). I'm confused about where to put the widget files and how to reference them. Do I have to add it as

Re: Component resolution question

2006-10-16 Thread andyhot
Patrick Moore wrote: Hi Ryan -- Eclipse can look for fully specified names but 'members/Navigation' isn't fully specified. The component specification looks like: @Component(type=member/Navigation) public Navigation getNavigation(); (FYI, in my example I was only giving the full

Re: RE Component ApplicationRuntimeException... Tap-4.1.1 help please (thanks)

2006-10-16 Thread andyhot
Why define the components both in the library and in the app? BTW, span jwcid=@tap.proto:ShowMessages/ should work. Also, where is ShowMessages.jwc located? Do you also have a ShowMessages.java somewhere? Ken nashua wrote: Ok, I have taken this to another level. My package spec had slashes

Re: Form focus not working?

2006-10-16 Thread Howard Lewis Ship
I've seen some problems with this when using Tacos; it may be Tacos or Dojo related. On 10/16/06, Leo Sakhvoruk [EMAIL PROTECTED] wrote: I'm trying to get a form to receive focus when a page loads but binding the 'focus' parameter with 'true' in a form component doesn't seem to have the

Re: Form focus not working?

2006-10-16 Thread Jesse Kuhnert
Hmm...This should be working correctly. I went through the same thing the other day and found that there were actually a few forms on the page, so I had to pick which one I wanted to give higher default priority to using the @Form focus parameter. If it really looks like a bug a JIRA issue

Re: Component ApplicationRuntimeException Tap-4.1.1 help please (thanks)

2006-10-16 Thread Jesse Kuhnert
It looks like you are defining the contrib library ID twice, once to the Tapestry contrib library and once to your proto library? I think you shuold be doing something more like: application name=tap.proto meta key=org.apache.tapestry.page-class-packages value=proto/ meta

Re: Form focus not working?

2006-10-16 Thread Leo Sakhvoruk
I only have a single form on one of the pages where it's not working and several on another one where it's not working either. In fact, none of them work in my application :( I'm using 4.1.1-SNAPSHOT but I believe that this problem was even there in 4.0.2 I'll try to post in JIRA later today

Re: How do you add custom dojo widget?

2006-10-16 Thread Karthik N
peter - the first step would be to isolate the issue are you able to make this widget work without tapestry and with just plain vanilla HTML and dojo? if not, then that would be an excellent starting point. On 10/17/06, Peter Beshai [EMAIL PROTECTED] wrote: I am interested in using the dojo

Re: Component resolution question

2006-10-16 Thread Ryan Holmes
Hi Patrick, I was referring to the class resolution ambiguity you encountered in your Navigation example. Had you specified the 'type' parameter, you would be forced to indicate whether you meant 'Navigation' or 'members/Navigation'. Specifically, I was talking about the ambiguity in the

Re: Form focus not working?

2006-10-16 Thread Jesse Kuhnert
Ok... oops . Will be fixed in whatever makes it out tonight. (Should work on widgets + normal fields equally well as an added bonus to make up for breaking it. ) On 10/16/06, Leo Sakhvoruk [EMAIL PROTECTED] wrote: I only have a single form on one of the pages where it's not working and

Re: Portlets in tapestry 4.1 doesn't works

2006-10-16 Thread Jesse Kuhnert
Ouch. I'm really sorry about this. Either everyone else has been very kind to me or you are the first portlet user using 4.1.1. I will make this my top priority of things to do in my next available multi hour segment of time. (Probably sometime during this week. ) On 10/16/06, Vitaly Baranovsky

Re: DatePicker not working after upgrading from 4.0.2 to 4.1

2006-10-16 Thread mraible
I just tried upgrading Equinox (http://equinox.dev.java.net) from Tapestry 4.0.2 to 4.1 (b/c 4.1.1 isn't in the Maven repo) and I'm experiencing the same issue. I tried changing from: input jwcid=@DatePicker type=text size=11 value=ognl:user.birthday id=birthday