Re: Possible bug in Datepicker? (with possible resolution)

2011-10-19 Thread Robert Zeigler
Fixed in trunk. Robert On Oct 19, 2011, at 10/1910:35 PM , Lenny Primak wrote: > I found this issue: > https://issues.apache.org/jira/browse/TAP5-1409 > > that is related to this. The fix for it is commented out apparently. > >> I identified a simple fix to not exit when a popup month is sele

Re: Possible bug in Datepicker? (with possible resolution)

2011-10-19 Thread Lenny Primak
I found this issue: https://issues.apache.org/jira/browse/TAP5-1409 that is related to this. The fix for it is commented out apparently. > I identified a simple fix to not exit when a popup month is selected: > > ---change: > 331 if (parent.className == 'datePicker') { > > ---to: > 331 if

Possible bug in Datepicker? (with possible resolution)

2011-10-19 Thread Lenny Primak
I am now using DatePicker more seriously, and worked through a set of bugs / incompatibilities, but one still remains unresolved. When clicking on the Month/year label, i.e. "2011 October" on the top of the Calendar, you are supposed to be able to pick a different month in the next 6 months, but

Re: Importing a JQuery library stops Zones from responding to events from EventLink

2011-10-19 Thread Taha Hafeez Siddiqi
Hi jQuery and Prototype can only work together if jQuery is run in noConflict mode. http://wiki.apache.org/tapestry/Tapestry5HowToIntegrateJQuery There is a great module for jQuery integration https://github.com/got5/tapestry5-jquery Also you can check firebug to see what is really happeni

Importing a JQuery library stops Zones from responding to events from EventLink

2011-10-19 Thread bogdan_cm
Hi all, I have a page in which I declare a zone: @InjectComponent private Zone tokenDetailsZone; an EventLink for updating the zone: @Component(parameters = "event=updateContent","zone=tokenDetailsZone" }) private EventLink updateContent; and the event handler method:

Re: Problems using JPA with 5.3

2011-10-19 Thread Lenny Primak
I don't see anything weird with your configuration. I do not have adviseTransactionally() method in my code, and I am using Glassfish, so no EclipseLink or javax.persistence in my pom.xml, and JPA stuff works perfectly. On Oct 19, 2011, at 9:58 PM, jesse wrote: > So here's my configuration (thoug

Re: Problems using JPA with 5.3

2011-10-19 Thread jesse
So here's my configuration (though there's not much to it): In addition to the T5 and tapestry-jpa dependencies in my pom, I also have these: org.eclipse.persistence javax.persistence 2.0.3 org.eclipse.persistence

JavaScript errors when using tapx-datefield

2011-10-19 Thread Lenny Primak
I am trying to use tapx-datefield, but as soon as I declare the dependency, Datefield JavaScript initialization fails: Exception invoking function Tapestry.Initializer.tapxDateField with parameters [{"time":false,"clientDateFormat":"%o/%e/%Y","singleClick":true,"clientId":"dateFrom"}]: TypeErro

Re: Datepicker suggestion

2011-10-19 Thread Steve Eynon
I believe the tapx-datefield has a time component: http://tapestry.formos.com/nightly/tapx/tapx-datefield/ Steve. On 20 October 2011 03:48, Thiago H. de Paula Figueiredo wrote: > On Wed, 19 Oct 2011 17:46:21 -0200, Muhammad Gelbana > wrote: > >> Is it a valuable addition to have time select

progressive display

2011-10-19 Thread Wechsung, Wulf
Hello T-User, I would like to start using the progressive display component to create the illusion of responsitivity (:) ) but I'm facing the problem that if anything goes wrong during the rendering of the P-D's body it will not show an error page and instead keeps showing the load animation.

Re: a possible defect in AjaxFormUpdateControllerImpl

2011-10-19 Thread Howard Lewis Ship
PERTHREAD values are discarded at the end of each request On Wed, Oct 19, 2011 at 6:56 AM, Keio Kraaner wrote: > Hi > > Shouldn't AjaxFormUpdateControllerImpl.cleanupAfterPartialZoneRender() > assign null to formComponentId after it has checked it is not null? > As the service's scope is PERTHREA

Datepicker suggestion

2011-10-19 Thread Muhammad Gelbana
Is it a valuable addition to have time selection in tapestry's datepicker ? Or is it just for "dates" ? Like to specify the hour, minute and possibly seconds. Tapestry's stock datepicker is not as shiny and powerful as other available JS datepickers. It would be nice to have an impressive datepic

Re: Browser Back Button

2011-10-19 Thread Muhammad Gelbana
Very informative Vangel. Thanks. On Wed, Oct 19, 2011 at 6:04 PM, Steve Eynon wrote: > Vangel, > > That's a good articulated answer - I like it! > > It's always a popular topic with management so I'll be sure to > bookmark this comment for future use. Cheers! > > Steve. > > > On 19 October 2011

Re: whats the best way to differentiate create and update modes in a form

2011-10-19 Thread Thiago H. de Paula Figueiredo
I consider /page2/UPDATE/24 restful, but I'm very, very far from being an expert in this subject. My approach is to use /something/edit for new object creation and /something/edit/ for existing object edition. In other words, the first activation context value is always the id of the ob

whats the best way to differentiate create and update modes in a form

2011-10-19 Thread hese
I have a program wizard that has 5 tabs (so 5 java/tml one for each tab). A new program's id created on the first page, is passed on to the other 4 pages, where the other parts of the program are created. Initially I had the urls look like - /page1 (for create), /page1/24 (for update of id=24)

Re: [T5.2+] Looking For A RenderNotification Mixin Example

2011-10-19 Thread Steve Eynon
Nice one - I may have overlooked the onBeginRender() vs beginRender(). Jira created: https://issues.apache.org/jira/browse/TAP5-1707 Steve. On 20 October 2011 01:17, Thiago H. de Paula Figueiredo wrote: > On Wed, 19 Oct 2011 13:59:08 -0200, Steve Eynon > wrote: > >> Right, sweet! I get you! >

Re: Rendering Custom Component via Zone

2011-10-19 Thread Thiago H. de Paula Figueiredo
On Wed, 19 Oct 2011 13:03:03 -0200, Times2 wrote: Hi, Hi! I have problem with replacing one custom component with another one Remember Tapestry doesn't make any difference between components provided by it and components provided by you. ;) via AJAX, using zone component. Replacing

Re: [T5.2+] Looking For A RenderNotification Mixin Example

2011-10-19 Thread Thiago H. de Paula Figueiredo
On Wed, 19 Oct 2011 13:59:08 -0200, Steve Eynon wrote: Right, sweet! I get you! When the Any component renders as a whole, it receives the render phase methods which are picked up the Mixin. The Mixin then fires its own component events with the same name, which bubble up the component hier

Re: tapestry-func on large dataset

2011-10-19 Thread Howard Lewis Ship
On Wed, Oct 19, 2011 at 8:24 AM, Richard Yunhua Sang wrote: > After more testing, I've seen the WeakReference impl. failed when JVM was > very busy in multi-threaded operations. Although the SoftReference impl. > survived in my test cases, it may fails too in radical situation of JVM. > > The Guav

Re: Browser Back Button

2011-10-19 Thread Steve Eynon
Vangel, That's a good articulated answer - I like it! It's always a popular topic with management so I'll be sure to bookmark this comment for future use. Cheers! Steve. On 19 October 2011 18:06, Vangel V. Ajanovski wrote: > On 18.10.2011 16:30, Olga wrote: >> >> I am noted that with back bro

Re: [T5.2+] Looking For A RenderNotification Mixin Example

2011-10-19 Thread Steve Eynon
Right, sweet! I get you! When the Any component renders as a whole, it receives the render phase methods which are picked up the Mixin. The Mixin then fires its own component events with the same name, which bubble up the component hierarchy. That makes sense, I'll try it out tomorrow... (By th

Re: [T5.3-beta-19] JS bug in Tapestry.ajaxRequest()

2011-10-19 Thread Steve Eynon
> Even if I'm not if it will be in for 5.3GA or not please do it. If I understood you correctly... https://issues.apache.org/jira/browse/TAP5-1706 :) Cheers, Steve. On 19 October 2011 22:43, Massimo Lusetti wrote: > On Tue, Oct 18, 2011 at 6:59 AM, Steve Eynon > wrote: > >> I can make a J

Re: tapestry-func on large dataset

2011-10-19 Thread Richard Yunhua Sang
After more testing, I've seen the WeakReference impl. failed when JVM was very busy in multi-threaded operations. Although the SoftReference impl. survived in my test cases, it may fails too in radical situation of JVM. The Guava does support Lazy operations, but its API is not that friendly. Tha

Rendering Custom Component via Zone

2011-10-19 Thread Times2
Hi, I have problem with replacing one custom component with another one via AJAX, using zone component. Replacing first component with second should happen on action inside first component. On parent page i have one block(with second component inside him) , zone component and first component insi

Re: [T5.2+] Looking For A RenderNotification Mixin Example

2011-10-19 Thread Thiago H. de Paula Figueiredo
On Wed, 19 Oct 2011 11:46:09 -0200, Steve Eynon wrote: Hello, Hi! Does anyone have any examples on how to use the RenderNotification Mixin? I would like some pre and post render events to be fired on a component after it's handled an Ajax event and returned a Zone which it contains. Docum

Re: An Appeal To Use the Latest Betas

2011-10-19 Thread Serge Eby
I tried beta-23 and it worked. Thanks, /Serge -- View this message in context: http://tapestry-users.832.n2.nabble.com/An-Appeal-To-Use-the-Latest-Betas-tp6890825p6908988.html Sent from the Tapestry Users mailing list archive at Nabble.com.

Re: [T5.3-beta-19] JS bug in Tapestry.ajaxRequest()

2011-10-19 Thread Massimo Lusetti
On Tue, Oct 18, 2011 at 6:59 AM, Steve Eynon wrote: > I can make a Jira if you like and supply a patch file for the above - > but I have no idea how to write JS unit tests though! Even if I'm not if it will be in for 5.3GA or not please do it. Cheers -- Massimo http://meridio.blogspot.com ---

a possible defect in AjaxFormUpdateControllerImpl

2011-10-19 Thread Keio Kraaner
Hi Shouldn't AjaxFormUpdateControllerImpl.cleanupAfterPartialZoneRender() assign null to formComponentId after it has checked it is not null? As the service's scope is PERTHREAD it means that at the moment the following scenario is possible: - thread A processes an Ajax request, finds out that the

[T5.2+] Looking For A RenderNotification Mixin Example

2011-10-19 Thread Steve Eynon
Hello, Does anyone have any examples on how to use the RenderNotification Mixin? I would like some pre and post render events to be fired on a component after it's handled an Ajax event and returned a Zone which it contains. Documentation points to the RenderNotification Mixin but I can't figure

Re: Can i edit chenillekit pagedloop navigation links to <>

2011-10-19 Thread Taha Hafeez Siddiqi
Hi I have used it long time back and I don't think you can change it for your use case by extending the existing component. I think you will have to use the existing code and create your own component but that is not difficult. Here is an implementation that does what you want. http://code.goo

Re: Can i edit chenillekit pagedloop navigation links to <>

2011-10-19 Thread 82.kishore
Hello Guys !!! Please provide me your valuable inputs... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Can-i-edit-chenillekit-pagedloop-navigation-links-to-prev-next-tp4831199p4917381.html Sent from the Tapestry - User mailing list archive at Nabble.

Re: Browser Back Button

2011-10-19 Thread Vangel V. Ajanovski
On 18.10.2011 16:30, Olga wrote: I am noted that with back browser button we can see all page history, but you can be logout or was logined with other username. Correct behaviour of browser is to not contact server at all when clicking Back button, so the content should be reproduced completely

Re: Browser Back Button

2011-10-19 Thread Olga
Thanks -- View this message in context: http://tapestry.1045711.n5.nabble.com/Browser-Back-Button-tp4909542p4916873.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr.