Re: How to move tapestry project to the web root

2006-12-29 Thread Huang Gehua
Thanks !!! It runs at the "ROOT" thank you very much 2006/12/29, Steve Shucker <[EMAIL PROTECTED]>: When I install tomcat, I usually remove or rename webapps/ROOT to something else. If I want to deploy an app to the root context, I just name the war file ROOT.war and let tomcat autodeploy i

PropertySelection populated from database

2006-12-29 Thread galpi06
Hi folks, I'm fetching a list of countries from a mysql database to populate a PropertySelection inside a form. So let's say you have: option 0 : Canada option 1 : US If the list of countries in the database changes before the user submits the form, the wrong selection may get submitted ! For ex

Re: CamelCase page names/URLs in Tapestry

2006-12-29 Thread mraible
Martin, Thanks for the link to show this is possible. I like your advice of going with the flow though. ;-) Matt Martin Strand-4 wrote: > > Matt, > it's *possible* to make the first character lower case in all page urls > without changing any *.page files or classes. You could do this with

RE: CamelCase page names/URLs in Tapestry

2006-12-29 Thread mraible
In AppFuse 2.0, we're requiring JDK 5 and using annotations where it seems appropriate. AFAIK, we can eliminate .page files if we use annotations instead. Is that true? If so, how do you define how a @TextField works (displayName, validation rules, etc.)? Do you use annotations on your model o

RE: relative css image path references?

2006-12-29 Thread Anna Vo
The path issue is still occurring after trying both classpath and context. The following error below may be related. This error occurs the first time the site is loaded and disappears if you hit refresh or browse to another page. To reproduce the error the browser needs to be closed and reopened.

Re: JSR-168/268 support and Tapestry 5.0

2006-12-29 Thread Konstantin Ignatyev
does it make sense at all to support portals? Does people still use and develop portals? I mean that with the AJAX proliferation it looks like "Clientlets" make much more sense than Portlets and therefore Portals in a sense of JSR-168 are headed to oblivion. What is the peoples' experience and o

Re: JSR-168/268 support and Tapestry 5.0

2006-12-29 Thread Howard Lewis Ship
That should be "action" requests and "render" requests. The fact that servlet Tapestry 5 differentiates between the two will make it easier, or at least make it more consistent, for portlet Tapestry 5. On 12/29/06, Jan Vissers <[EMAIL PROTECTED]> wrote: From Howard: "T5 should have similar po

Re: @EventListener inside of a component

2006-12-29 Thread Alexandru Dragomir
Perhaps the tapestry.linkOnClick(url,id,isJson) will do the trick. In the url you can put the info you want to send to the server. Take a look at the timetracker application for a sample of how to use it. Cheers, Alex On 12/29/06, Roberto Ramírez Vique <[EMAIL PROTECTED]> wrote: Hello Jesse &

Re: @EventListener inside of a component

2006-12-29 Thread Roberto Ramírez Vique
Hello Jesse & Mark, I am in the same situation as Mark was some time ago, at least I think the situation is the same. This email is to know if there is any other way to solve my problem. I want to have a component which has a simple EventListener to that goes to the server and changes some value

Re: JSR-168/268 support and Tapestry 5.0

2006-12-29 Thread Jan Vissers
From Howard: "T5 should have similar portlet support to what's in T4. In fact, I've let portlets influence a major aspect of Tapestry: as with portlets, there are distinct "action" requests and "portlet" requests. However, my priority is to get servlet support working, so I can't commit to w

Re: http://howardlewisship.com/repository/

2006-12-29 Thread Howard Lewis Ship
Looks like its up to me. It's a hosted site, so up time is 99%+. On 12/22/06, Peter Schröder <[EMAIL PROTECTED]> wrote: hi, did the location move, or is server down? happy holidays, peter - To unsubscribe, e-mail: [EMAIL PR

Using a CachedRowSet to supply data to a table

2006-12-29 Thread Daniel Jue
Hello list, I am trying to use a CachedRowSet to supply data to a table. I implemented a CachedRowSetIterator class, but it doesn't seem to play well with the Contrib:Table. (I am using Tap 4.0.2) I am also Persisting the CachedRowSet in my page using this notation: @Persist("session") public

Re: CamelCase page names/URLs in Tapestry

2006-12-29 Thread Martin Strand
Matt, it's *possible* to make the first character lower case in all page urls without changing any *.page files or classes. You could do this with a custom service encoder, but it's probably just easier to go with the flow and leave them as they are. :) See "encoder" at the bottom: http://

Re: EventListener annotation

2006-12-29 Thread Mahmut Izci
Ok, I got it working now. I didn't use the and components. Mahmut Mahmut Izci schrieb: Hi all, I'm just trying out the new EventListener annotation in tapestry 4.1.1 according to the explanation at "http://tapestry.apache.org/tapestry4.1/ajax/eventlistener.html"; and I can't get it workin

RE: CamelCase page names/URLs in Tapestry

2006-12-29 Thread Marcus.Schulte
You'd have to map between .page- and template-file-name and the Java class name if you don't want to break the convention for Java class names. Since Tap-4 I don't have .page files anymore. So non-CamelCase page names would simply not be an option for me - even if I found them aesthetically more

Re: CamelCase page names/URLs in Tapestry

2006-12-29 Thread Jesse Kuhnert
Not even taking into account the items specific to Tapestry templates/pages/etc, it really comes down to which usability effect you are going for: -) Aesthetically pleasing to the eye. This would seem to support your all lowercase idea for url's. Not necessarily the best thing as far as reading u

EventListener annotation

2006-12-29 Thread Mahmut Izci
Hi all, I'm just trying out the new EventListener annotation in tapestry 4.1.1 according to the explanation at "http://tapestry.apache.org/tapestry4.1/ajax/eventlistener.html"; and I can't get it working. Do I have to make any additional configurations? The EventListener method is not called.

context url prefix with tomcat / jnp

2006-12-29 Thread RonPiterman
Hi all, I am trying to configure apache/jnp/tomcat as the following: we have two contexts: c1 and c2 apache/jnp maps www.c1.com to localhost:8080/c1/ and www.c2.com to localhost:8080/c2/ problem is, tapestry generates links for css and js with /c1/ prefix. Will be most thankfull for any help

Re: How to move tapestry project to the web root

2006-12-29 Thread Steve Shucker
When I install tomcat, I usually remove or rename webapps/ROOT to something else. If I want to deploy an app to the root context, I just name the war file ROOT.war and let tomcat autodeploy it. For maven's tomcat plugin, I provide a context.xml file that specifies the root context. Tomcat's

specless pages in libraries

2006-12-29 Thread Steve Shucker
I'm writing specless pages/components in my current projects, but I can't get specless pages working in libraries. My pages work fine if I just create an empty spec and specless components work flawlessly. I've looked at the PageSpecificationResolverImpl and ComponentSpecificationResolverImpl

Re: How to move tapestry project to the web root

2006-12-29 Thread Mahmut Izci
Huang Gehua schrieb: Always our project is run under the path with a context path ,For example: http://someHost:8080/prjectName/app If i want use url like this [http://someHost:8080/app] to visit my app ,How to do? Tomcat always defines a default context named "ROOT" under webapps folder. Norm

How to move tapestry project to the web root

2006-12-29 Thread Huang Gehua
Always our project is run under the path with a context path ,For example: http://someHost:8080/prjectName/app If i want use url like this [http://someHost:8080/app] to visit my app ,How to do? i have try to build a Virtual host in my tomcat like this i can visit my app use