T5: Is there a simple way to display property of embedded instance in Grid?

2008-04-17 Thread dhning
Hi, All Case: A user own a location while the location is comprised of city, street... public class User { private Location location; // setter & getter } public class Location { private String city; // setter & getter } In the user list page, I want to display the city as one column in Gr

Re: Grid component and context values - TapestryException

2008-04-17 Thread Petros Petrou
Hi guys, Has anyone seen the problem below Petros Petros Petrou wrote: > > I have the following code that works fine > AccountsList.tml > > > ${account?.accountManager?.username} > > > > AccountsList.java > ... > private BeanModel model; > { >model = beanModelSource.crea

Re: @EventListener Issue

2008-04-17 Thread abhilash
correction: i replaced targets with elements.I am getting 'Error: bad srcObj for srcFunc: onchange' when calling method: [nsIDOMEventListener::handleEvent]" error .My ajax response has this dojo.widget.byId("MyDialog").show(); tapestry.cleanConnect("yypeChanged", "onchange",

migrating from T4.0.2 to T4.1.5 problem

2008-04-17 Thread abangkis
Hi, i'm trying to migrate my application from using Tapestry 4.0.2 to 4.1.5. I fix the problem that rises, remove tap4 library from my tomcat shared lib, copied tap4.1 library to my tomcat shared lib, and re-deploy it in my local computer, and it work fine. But when i try deploying the application

Re: @EventListener Issue

2008-04-17 Thread abhilash
No,still not working Andy Pahne-3 wrote: > > > Try > > > > instead of > > > > > > Because you use the parameter "targets" in your @EventListener, you have > to use a component id. > > > Andy > > > > > > abhilash schrieb: >> Hi all, >> i am using tapestry4.1.5 >> My even

Re: Newbie Question about services and modules

2008-04-17 Thread Chris Lewis
Sorry I missed the filter-mapping part, which I believe needs to match the filter name. So you should have: ... Quiz org.apache.tapestry.TapestryFilter Quiz /* ... Chris Lewis wrote: > Hi Michael, > > I believe the problem is your filter name

Re: Newbie Question about services and modules

2008-04-17 Thread Chris Lewis
Hi Michael, I believe the problem is your filter name in web.xml. See this part: ... app org.apache.tapestry.TapestryFilter ... If I remember correctly T5 uses the filter name to deduce your application module. By default (using the maven quickstart archetype) this is

Re: Newbie Question about services and modules

2008-04-17 Thread Peter Beshai
In your AppModule class you probably need to add @SubModule({QuizModule.class}) above the class definition. e.g. @SubModule( { DAOModule.class }) public class AppModule { ... } Also, you may want to make the bind method static, unless you're using instance variables with it. Peter Beshai On Thu

Re: Newbie Question about services and modules

2008-04-17 Thread Igor Drobiazko
Method bind shoould be static On Thu, Apr 17, 2008 at 9:56 PM, Michael Szalay <[EMAIL PROTECTED]> wrote: > Hi all > > I tried to build my first service, but its not found within the > registration > > I try to lookup it in the page: > > @Inject >private QuizService quizService; > > There is

Newbie Question about services and modules

2008-04-17 Thread Michael Szalay
Hi all I tried to build my first service, but its not found within the registration I try to lookup it in the page: @Inject private QuizService quizService; There is a Module class which should build my service: package com.szalay.quiz.services; import org.apache.tapestry.ioc.ServiceBind

Re: AW: AW: Getting Answers on the User List

2008-04-17 Thread Thiago HP
On 4/17/08, Chris Lewis <[EMAIL PROTECTED]> wrote: > > Rob Smeets wrote: > > Chris, > > 1. Every Tapestry major release is backward incompatible with previous > > releases. > > > > This is public knowledge and documented on the Tapestry website (5 not > compatible with 4). Howard has stated

Re: AW: Automatic class reloading on Tomcat 6 not working for me

2008-04-17 Thread Josh Canfield
Hmm... after reading the title again I guess the fact that it works in Tomcat 5.5 is irrelevant... sorry for the sidetrack. On Thu, Apr 17, 2008 at 10:01 AM, Josh Canfield <[EMAIL PROTECTED]> wrote: > I use Tomcat 5.5 and IntelliJ, I haven't tried tomcat in eclipse. I've > found that if I don't al

jQuery and Zone

2008-04-17 Thread Stellit
Hey guys, Is it possible to make tapestry zone component and jQuery work together? I have a slider which uses jquery UI, the code looks like this: $('#slider').slider( { min: 0, max: 100,change: function(e,ui) { $.ajax({url: '${TheLink}/' + ui.value, async: false, success: <> }) } } ); I also

Re: T5: BeanForm, processSubmission, AppPropertyEditBlock help

2008-04-17 Thread Bill Holloway
Thanks, Thiago, yes that is there. I have "theflexDateEditor_0" in the input. I'm wondering what technique I can use to have that integer extension folded into the elementName variable passed into processSubmission. Bill On Thu, Apr 17, 2008 at 12:24 PM, Thiago HP <[EMAIL PROTECTED]> wrote: >

Re: T5: BeanForm, processSubmission, AppPropertyEditBlock help

2008-04-17 Thread Thiago HP
On 4/17/08, Bill Holloway <[EMAIL PROTECTED]> wrote: > Ok, below are the flexdateeditor template and class. Below that is the use > of FlexDateEditor in TestPage.tml. What is below works just fine -- however > note the appending of a "_0" to the element name in processSubmission. Tapestry appe

Re: T5: BeanForm, processSubmission, AppPropertyEditBlock help

2008-04-17 Thread Bill Holloway
Ok, below are the flexdateeditor template and class. Below that is the use of FlexDateEditor in TestPage.tml. What is below works just fine -- however note the appending of a "_0" to the element name in processSubmission. Also, in processSubmission, the element name is "theFlexDateEditor", which

Re: AW: Automatic class reloading on Tomcat 6 not working for me

2008-04-17 Thread Josh Canfield
I use Tomcat 5.5 and IntelliJ, I haven't tried tomcat in eclipse. I've found that if I don't allow IntelliJ to replace the classes while debugging then the Tapestry reloading will work. Otherwise, it might work once then goes back to the old class. Josh On Thu, Apr 17, 2008 at 2:44 AM, Martin Ker

RE: T5.0.10 DateField component broken ???

2008-04-17 Thread Jonathan Barker
Try using value="fromDate" rather than the expansion. > -Original Message- > From: Petros Petrou [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 17, 2008 9:59 AM > To: users@tapestry.apache.org > Subject: RE: T5.0.10 DateField component broken ??? > > > Mahen, > > Has 5.0.11 solved

Re: @EventListener Issue

2008-04-17 Thread Andy Pahne
Try instead of Because you use the parameter "targets" in your @EventListener, you have to use a component id. Andy abhilash schrieb: Hi all, i am using tapestry4.1.5 My eventListener is not getting called.This is my code. delegate="ognl:validationDele

T5: Integration Testing Component Class Resolver

2008-04-17 Thread Peter Beshai
In order to get my integration tests stored in org.example.myapp.integration.app1 (under src/test) to use components from org.example.myapp.components, I had to add the following to my org.example.myapp.integration.services.AppModule: public static void contributeComponentClassResolver(Configurati

@EventListener Issue

2008-04-17 Thread abhilash
Hi all, i am using tapestry4.1.5 My eventListener is not getting called.This is my code. Choose Type :

RE: T5.0.10 DateField component broken ???

2008-04-17 Thread Petros Petrou
Mahen, Has 5.0.11 solved your problem ? I am on 5.0.11 and when I am submitting a form with a DateField I am getting the following exception? Is this the someone you were seeing ? Has anyone else seen this problem ? Failure writing parameter 'value' of component hotel/contract/Page:seasoncmpnt

Re: AW: AW: Getting Answers on the User List

2008-04-17 Thread Lindsay Steele
> > 1. Every Tapestry major release is backward incompatible with previous > releases. Releases of many frameworks are incompatible with each other. The change from 3 to 4 was minor and with the change from 4 to 5, one can still use the same HTML templates and do a fairly good upgrade. Versi

Re: AW: AW: Getting Answers on the User List

2008-04-17 Thread Onno Scheffers
> > I want you to take a close look at the following points I've been making > and > tell me which one is a misinformation. > > 1. Every Tapestry major release is backward incompatible with previous > releases. That's true and really inconvenient. On the other hand I also complain about framewor

Re: AW: AW: Getting Answers on the User List

2008-04-17 Thread Michael Gerzabek
Chris only pinpointed your former offends and was so kind to translate the type of it with respect. He was AFAICS not digging into what you repeatedly post as facts to list. So, Rob, we got your points [1-4]. Thank You. And now would you just be so kind and leave us so we can happily close th

Re: AW: AW: Getting Answers on the User List

2008-04-17 Thread Rob Smeets
Ok, now I know you don't care about those issues. But I know these are issues many evaluating a framework would care to consider as part of their decision factors. I don't know what you are building with Tapestry and don't know for who. I can be 100% sure though it's not a serious stuff for a serio

AW: AW: Automatic class reloading on Tomcat 6 not working for me

2008-04-17 Thread Martin Kersten
Is it still true? I use hot replacement for components and somehow the class is reloaded. I thought this issue was solved. Do I miss something? (Using also T6) -Ursprüngliche Nachricht- Von: Peter Stavrinides [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 17. April 2008 11:05 An: Tapes

Re: AW: AW: Getting Answers on the User List

2008-04-17 Thread Chris Lewis
Rob Smeets wrote: > Chris, > > Some of your quotes were made by me but others not by me. To make things > easier for you I've copied my previous post for you. Be bold and answer > them, ok. Don't be afraid or shy. At least I won't bite you. There we go: > > I want you to take a close look at the

Re: AW: AW: Getting Answers on the User List

2008-04-17 Thread Rob Smeets
Chris, Some of your quotes were made by me but others not by me. To make things easier for you I've copied my previous post for you. Be bold and answer them, ok. Don't be afraid or shy. At least I won't bite you. There we go: I want you to take a close look at the following points I've been makin

Re: AW: Automatic class reloading on Tomcat 6 not working for me

2008-04-17 Thread Peter Stavrinides
You cannot use Tomcat for class reloading, this is not a bug, it's a feature which apparently is a result of the limitations Java has for package traversal and exploration, Jetty somehow gets around this partially but its also not perfect... http://tapestryjava.blogspot.com/2007/02/fighting-wit

Re: AW: AW: Getting Answers on the User List

2008-04-17 Thread Chris Lewis
Francis (as Rob): http://www.nabble.com/Re%3A-AW%3A-Getting-Answers-on-the-User-List-p16679523.html "...not only are high profile Tapestry users abandoning Tapestry, high profile sites which were using Tapestry are also ditching Tapestry..." - *FUD* http://www.nabble.com/Re%3A-Getting-Answers-on-

Re: AW: AW: Getting Answers on the User List

2008-04-17 Thread Rob Smeets
> > This person is beyond a troll and has > gone to a concerted effort to spread FUD and mis-information Petros, I want you to take a close look at the following points I've been making and tell me which one is a misinformation. 1. Every Tapestry major release is backward incompatible with pre

Re: Trolls (Rob Smeets, Emmanuel Sowah, you know)

2008-04-17 Thread Rob Smeets
Hi guys, I've been sitting in my nice and soft chair, this time with a chilled beer in my right hand, reading and enjoying this thread with really big LOLs. And I noticed also there is a page on the Tapestry 5 wiki devoted to my name. I have no problem with that at all. People who come across this

Re: how to use t5 complete mixin

2008-04-17 Thread Chris Lewis
You need to at least provide the t:textfield component with the value parameter (the property that populates it). See: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/TextField.html. chris luna_guo wrote: > t5 beta: > Start.tml: > http://tapestry.apac

Re: AW: AW: Getting Answers on the User List

2008-04-17 Thread Chris Lewis
Check this wiki page: http://wiki.apache.org/tapestry/Tapestry5Trolls, and then consider reporting him to the relevant abuse departments. A couple of us now know a good deal about who this person is, and I am hoping that he will consider the reputation of his actual identity and back off. chris L