Re: [T5] - is there any example for Grid usage ?

2008-01-02 Thread Zsolt Salamon
Did you see this screencast? http://tapestry.apache.org/tapestry5/screencast_5.html On Jan 2, 2008, at 11:54, Mohammad Shamsi wrote: there is nothing about paging here there is just one incomplete sample here about grid. even that i copy and past GridDemo code form wiki page, i got exceptio

Re: T5: Getting the logical name of a page

2008-01-02 Thread Andy Huhn
Josh, That's exactly what I was looking for. Thanks a bunch! Andy On Wed, 2008-01-02 at 22:55 -0800, Josh Canfield wrote: > I think what you're looking for is ComponentClassResolver, you can inject it > into your page. It has two methods: > > resolvePageClassNameToPageName(); > canonicalizePag

Re: T5: Getting the logical name of a page

2008-01-02 Thread Josh Canfield
I think what you're looking for is ComponentClassResolver, you can inject it into your page. It has two methods: resolvePageClassNameToPageName(); canonicalizePageName(); I'm still back on 5.0.6, so no guarantees that this still works in 5.0.7. Josh On Jan 2, 2008 8:34 PM, Andy Huhn <[EMAIL PRO

[T5] Phone Book - A Simple Web Based Application To Help you Start Developing by Tapestry 5

2008-01-02 Thread Mohammad Shamsi
Hi Friends, If you are looking for a simple example to start tapestry 5 please visit here http://code.google.com/p/shams/ download source code from http://shams.googlecode.com/files/phonebook-src.zip PhoneBookApplication Phone Book is a simple Tapestry Application. About Phone Book this app

T5: Getting the logical name of a page

2008-01-02 Thread Andy Huhn
All, Short version of the question: Is there a method somewhere in Tapestry that will return "messages/Contact" if I pass it a class com.blahblahblah.pages.messages.Contact? I'm trying to pass a page name to ComponentResources.createPageLink, and I don't want to hardcode the page name...I'd like

Re: T5.0.7: No service implements the interface org.slf4j.Logger

2008-01-02 Thread Howard Lewis Ship
It's a thorny issue, the Logger that a service gets is based on the class name of the module and the service id of the service. This is predicatable, and handles a common case where multiple services use the same service implementation, just configured differently. It also handles the case where th

JSR-168/JSR-286 revisited --- what's happening at the 'neighbours'

2008-01-02 Thread Jan Vissers
http://wicket.apache.org/ Apart from wicket also switching to slf4j, the new version now also supports JSR-168/JSR-286. Apparently without changing code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: T5.0.7: No service implements the interface org.slf4j.Logger

2008-01-02 Thread Franz Amador
Properly speaking, it works in 5.0.6 on my home computer, but not on my work computer, though now you've got me wondering if I added the logging after I last ran it (I don't think so, but...). Regardless, it sounds like I shouldn't be trying to pass a Logger to my contributeHibernateSessionSour

Re: T5.0.7: No service implements the interface org.slf4j.Logger

2008-01-02 Thread Howard Lewis Ship
That's odd, I don't understand why it would have worked in 5.0.5! A Logger should only be available for a service builder method, not for a contribution method. On Jan 2, 2008 11:18 AM, Franz Amador <[EMAIL PROTECTED]> wrote: > This used to work, but now it's broken for me in 5.0.6 and 5.0.7. I'

T5.0.7: No service implements the interface org.slf4j.Logger

2008-01-02 Thread Franz Amador
This used to work, but now it's broken for me in 5.0.6 and 5.0.7. I'm not sure how to debug this. Apparently a proxy is being created for Logger, but when HibernateSessionManagerImpl tries to use it, it can't be realized. Thanks in advance for any help. Here are the relevant bits of AppModul

Re: Session Creation...

2008-01-02 Thread Norman Franke
I had similar issues changing from an HTTPs login page to a normal HTTP session for speed. I gave up in the end (for now.) I was using Tomcat, and it kept randomly creating a new session when switching back and forth. But, I'd bet it's really your servlet container that's doing this, not

Re: T5: AJAX and Firefox doesn't work

2008-01-02 Thread Britske
somehow the bug doesn't appear anymore. I'm running 5.0.6 so it could be related. I'll investigate once I encounter it again. Howard Lewis Ship wrote: > > That's supposed to work; there was a bug in 5.0.6 that may have caused > this behavior (and is fixed in 5.0.7). > > On Jan 2, 2008 1:43 A

Re: T5: AJAX and Firefox doesn't work

2008-01-02 Thread Howard Lewis Ship
That's supposed to work; there was a bug in 5.0.6 that may have caused this behavior (and is fixed in 5.0.7). On Jan 2, 2008 1:43 AM, Britske <[EMAIL PROTECTED]> wrote: > > A strange thing happens. > > following an example of returning a streamresponse based on a user-click, > this all works well

Re: T5: template parser XHTML-well formed --> javascript goes wrong

2008-01-02 Thread Chris Lewis
Hello, This is a documented issue (https://issues.apache.org/jira/browse/TAPESTRY-1818) that has been fixed in 5.0.8 (subversion). The bug wasn't that such code was converted as T5, for better or worse, attempts to force xml formatted data. Rather the bug was that T5 didn't support CDATA bloc

Re: [T5] Tapestry 5 and IntelliJ IDEA

2008-01-02 Thread Howard Lewis Ship
I'm on IDEA 7 and have no problems at all with this stuff. I can't remember doing any special configuration, beyond adding "*.tml" as an XML file (in the File Types view of the preferences panel). Hm. Actually, I do see one intention error, "URI is not registerred". Used the intention ... ok, no

Re: EventListener on components within a @For loop

2008-01-02 Thread caarney
Is anyone using this workaround on Tapestry 4.1.3? I'm getting some dojo JavaScript error ("o[i] has no properties"), but it seems to work on Tap. 4.1.2. Christian Dutaret-3 wrote: > > I found a nice solution using dojo's ability to listen to an arbitrary > javascript function as if it were a

Re: @radiogroup and @EventListener

2008-01-02 Thread caarney
Have you solved this problem? I'm getting a different dojo JavaScript error ("o[i] has no properties") while using Tapestry 4.1.3. Henri Dupre wrote: > > Thanks! I figured that one. Now I'm getting a "too much recursion" > JavaScript error when DOJO tries to serialize my form. Any ideas? >

Re: T5: template parser XHTML-well formed --> javascript goes wrong

2008-01-02 Thread Fernando Padilla
Another pattern is to push as much javascript into .js files, as parameterized functions. Then from the webpage, you can call the appropriate function with the appropriate values. So you limit the js that you maintain within the template. Britske wrote: Hi , I have a template which includ

Re: T5.0.7 Validation error

2008-01-02 Thread Marcelo Lotif
Fine...just clean the cache and the problem is gone unless for IE6, the bubbles are totally messed up there... 2007/12/29, dwi ardi irawan < [EMAIL PROTECTED]>: > > oops...already fixed. > delete the cookies like howard said. > > On Dec 29, 2007 1:30 PM, dwi ardi irawan <[EMAIL PROTECTED]> wrote:

Re: Displaying form data in Tapestry 5

2008-01-02 Thread Marcelo Lotif
http://213.160.23.119:8080/t5components/index.html look at the BeanSelect component 2008/1/2, Yeeswara Nadapana (HCL Financial Services) < [EMAIL PROTECTED]>: > > Thanks Howard, > > Please help me with this issue also. I am getting some string data as an > ArrayList, which I need to add to a comb

Re: T5: template parser XHTML-well formed --> javascript goes wrong

2008-01-02 Thread yuan gogo
does this help? 2008/1/2, Britske <[EMAIL PROTECTED]>: > > > Hi , > > I have a template which includes a javascript-function: > > function asyncCall (){ > if(($('quickTextField').value.length > 2)) > { > new Ajax.Request ('${quickSearchBoxLink}', > {asynchronous:true,onSuccess:handleRes

Re: [T5] - using textfield compoents without validate attribute cause exception.

2008-01-02 Thread Mohammad Shamsi
Sorry, It was my mistake. tapestry-annotation.jar was forgotten to add to lib directory in war file :( sorry again and thanks On Jan 2, 2008 1:51 PM, dwi ardi irawan <[EMAIL PROTECTED]> wrote: > well, i really have no idea bout that > maybe i missed some points > could anyone help us clear

Re: [T5] - is there any example for Grid usage ?

2008-01-02 Thread Mohammad Shamsi
there is nothing about paging here there is just one incomplete sample here about grid. even that i copy and past GridDemo code form wiki page, i got exception. On Jan 2, 2008 6:47 AM, dwi ardi irawan <[EMAIL PROTECTED]> wrote: > try : > http://wiki.apache.org/tapestry/Tapestry5CheckOutTheSour

T5: template parser XHTML-well formed --> javascript goes wrong

2008-01-02 Thread Britske
Hi , I have a template which includes a javascript-function: function asyncCall (){ if(($('quickTextField').value.length > 2)) { new Ajax.Request ('${quickSearchBoxLink}', {asynchronous:true,onSuccess:handleResponse}); } } However, this gets converted to (note the > instead of '

Re: [T5] - using textfield compoents without validate attribute cause exception.

2008-01-02 Thread dwi ardi irawan
well, i really have no idea bout that maybe i missed some points could anyone help us clear this problem ? On Jan 2, 2008 5:13 PM, Mohammad Shamsi <[EMAIL PROTECTED]> wrote: > Hi DWI > > i did it, but i still have this problem. > > this is a server side exception, are you sure this is related

Re: [T5] - using textfield compoents without validate attribute cause exception.

2008-01-02 Thread Mohammad Shamsi
Hi DWI i did it, but i still have this problem. this is a server side exception, are you sure this is related to Java Script and Client Browser ? On Jan 2, 2008 6:49 AM, dwi ardi irawan <[EMAIL PROTECTED]> wrote: > i got this err too when i changed to tapestry 5.0.7 > but as howard said : > "T

RE: T5: AJAX and Firefox doesn't work

2008-01-02 Thread Yeeswara Nadapana (HCL Financial Services)
Hi, I want to use like which is a List of String objects. I want to add those strings to the combo box... so trying to loop through the tag... Please explain how to add those elements to combo box? Thanks, Yeeswar. -Original Message- From: Britske [mailto:[EMAIL PROTECTED] Sent: Wedn

Re: [T5] Tapestry 5 and IntelliJ IDEA

2008-01-02 Thread Paudi Moriarty
Howard, You switched to Idea recently, does this work for you? On 21/12/2007, Paudi Moriarty <[EMAIL PROTECTED]> wrote: > > >> There is probably an easier way to do it, and it probably doesn't (or > >> shouldn't) happen if you associate the file as an xml file type. > > I have associated *.tml wi

T5: AJAX and Firefox doesn't work

2008-01-02 Thread Britske
A strange thing happens. following an example of returning a streamresponse based on a user-click, this all works well in IE7 but not in Firefox. Instead firefox exectutes the action and the simply fires an onActivate-event rendering the action useless (the page is simply loaded again as if the