Re: Migrated from t5componets 0.5.18 to chenillekit-tapestry 1.0.0

2009-02-24 Thread Petros Petrou
Massimo, For some reason I did not see your reply before posting my follow up question. Sorry about this. I will post a question here http://groups.google.com/group/chenillekit-usr?pli=1 Petros Massimo Lusetti wrote: > > On Tue, Feb 10, 2009 at 2:11 PM, Petros Petrou wrote: >

Re: Migrated from t5componets 0.5.18 to chenillekit-tapestry 1.0.0

2009-02-19 Thread Petros Petrou
Hi, Has anyone seen this problem? I am still not able to fix it? Petros Petros Petrou wrote: > > I just changed my dependencies from t5components 0.5.18 to > chenillekit-tapestry 1.0.0 and the following code that used to work fine > now throws the exception shown below. Switc

Migrated from t5componets 0.5.18 to chenillekit-tapestry 1.0.0

2009-02-10 Thread Petros Petrou
I just changed my dependencies from t5components 0.5.18 to chenillekit-tapestry 1.0.0 and the following code that used to work fine now throws the exception shown below. Switching back to t5components 0.5.18 fixes the problem ** @Inject @Property private Block t

Re: run-jetty-run eclipse plugin issue

2008-11-13 Thread Petros Petrou
No because EndOfRequestListenerHub is not my class but Tapestry 5.0.15. I prefer to treat T5 as a black box? We have other T5 projects similar to this and we do not see this issue which is why I am wondering if anyone else has seen this. Petros Petros Petrou wrote: > > We hav

run-jetty-run eclipse plugin issue

2008-11-12 Thread Petros Petrou
We have been successfully using the eclipse run-jetty-run for our tapestry project http://code.google.com/p/run-jetty-run/wiki/GettingStarted for one of our eclipse projects but we are getting the exception below every time we try to run it for another eclipse project. Everything works fine on Tom

Re: @Environment problem

2008-07-22 Thread Petros Petrou
urg" <[EMAIL PROTECTED]> > 22.07.2008 14:44 > Bitte antworten an > "Tapestry users" > > > An > "Tapestry users" > Kopie > > Thema > Re: @Environment problem > > > > > > > wich version of tapestry are

@Environment problem

2008-07-22 Thread Petros Petrou
I have the following code Test.java @Environmental private RenderSupport renderSupport; @OnEvent(value = "action", component = "openWindowActionLink") void onActionFromOpenWindowActionLink() { renderSupport.getClass(); } Test.tml Open Window When the Open W

Re: t5components - Window

2008-07-22 Thread Petros Petrou
mponent >> and I am trying to use it as a confirmation dialog box but I am getting >> this >> exception >> No object of type org.apache.tapestry5.RenderSupport is available from >> the >> Environment. Available types are >> org.apache.tapestry5.services.ComponentEv

Re: t5components - Window

2008-07-22 Thread Petros Petrou
rocessor. Any ideas ? Petros Sven Homburg wrote: > > extends the window class, its a simple overideable component class > > 2008/7/18 Petros Petrou <[EMAIL PROTECTED]>: > >> >> The demo source code uses this code in the WindowPage.tml >> >>

Re: t5components - Window

2008-07-18 Thread Petros Petrou
t;openWindowActionLink") Object onActionFromOpenWindowActionLink(){} Is this possible ? Petros Martijn Brinkers (List)-2 wrote: > > Demo code can be found here: > > http://87.193.218.134:8080/t5components/maven-repository/org/apache/tapestry/t5c-demo/0.5.13/ > > Mar

t5components - Window

2008-06-24 Thread Petros Petrou
I am trying to use the Window component as demonstrated here http://87.193.218.134:8080/t5c-demo/windowpage but I can't get it to work. Does anyone have a code example I could use ? Is it possible to download the source code for the demo ? Furthermore, I added this dependency to my pom.xml and i

RE: T5.0.10 DateField component broken ???

2008-04-19 Thread Petros Petrou
Jonathan, That was the problem, it works fine now thank you Petros Jonathan Barker wrote: > > > Try using value="fromDate" rather than the expansion. > > >> -Original Message- >> From: Petros Petrou [mailto:[EMAIL PROTECTED] >> Sent: Th

Re: Re: Grid component and context values - TapestryException

2008-04-19 Thread Petros Petrou
d accountManager aren“t null when being called by > the t:parameter. > Greetz nillehammer > > - original Nachricht > > Betreff: Re: Grid component and context values - TapestryException > Gesendet: Fr, 18. Apr 2008 > Von: Petros Petrou<[EMAIL PROTECTED]> &g

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 > ... > pri

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-16 Thread Petros Petrou
I don't mean to be rude but really... WHY DO YOU GUYS EVEN REPLY TO THIS GUY Can't you see how much fun he is having. By replying to a discussion he is part of, I feel I am his puppet and my job is to keep entertaining him. This is what we are all doing by reploying to him. I am sure I am going

Re: T5: Using ajax to get a value for a form prior to its submission

2008-04-14 Thread Petros Petrou
Hi Denis, Is it possible to provide a sample of your code. I need to invoke an Ajax request to update specific fields in a form when selecting a checkbox and/or RadioButton but I have no experience with Ajax or Javascripts. Cheers, Petros Denis McCarthy-2 wrote: > > Not to worry, > I've m

Re: T5: Strategy for pages that edit beans

2008-04-03 Thread Petros Petrou
Hugo, Your UserPage.tml/UserPage.java is the view and your User POJO the model, right ? The way I see the probem is who ever (eg UserListPage, Register Link) needs to use the UserPage needs to pass in te POJO, otherwise the UserPage wont know what to display. What are the UseCases that you need

Re: ComponentEventException on Form Submit with Ajax

2008-04-03 Thread Petros Petrou
Yes returning void is a typo. What I am trying to achieve is the following: I have two versions of a searchCriteriaForm. I have a second form (configureSearchCriteriaForm) that contains two radio buttons. Depending on which radio button is selected an "onclick" event submits this form to decide

ComponentEventException on Form Submit with Ajax

2008-04-03 Thread Petros Petrou
The form below works fine when the Submit button is pressed but the exception below is thrown when the myRadioButton is selected. It looks like the onclick="this.form.submit()" is making it fail. Any ideas how I can solve this ? org.apache.tapestry.runtime.ComponentEventException Return type org

Grid cmpnt and Ajax

2008-04-03 Thread Petros Petrou
I have the following grid that displays search results Everything works fine and I can see that only the searchResultsBlock is returned as an Ajax request. However, when more than 10 entities are found and I click on the second page the whole page is returned and not ju

Re: [T5]: label in properties file

2008-04-03 Thread Petros Petrou
I think you need to move your FindCoops.properties file to be next to your .tml file and not the .java file. Petros Andy Huhn-2 wrote: > > OK, this is driving me crazy. > > I have a .tml named FindCoops.tml that contains the following fragment: > > > t:value="userPstlCode" /> > > In the

Re: T5: Expansions & prefixes

2008-04-02 Thread Petros Petrou
You may want to read this http://tapestry.apache.org/tapestry5/tapestry-core/guide/parameters.html Andy Blower wrote: > > I'm accessing message catalogs using expansion with a prefix. e.g. > ${message:this-is-my-key} > > 1) Is there a list of prefixes anywhere, or have I got them all now? > (l

Grid component and context values - TapestryException

2008-04-01 Thread Petros Petrou
I have the following code that works fine AccountsList.tml ${account?.accountManager?.username} AccountsList.java ... private BeanModel model; { model = beanModelSource.create(Account.class, true, componentResources); model.add("accountManager", null); } Now I replaced this

Re: Form with a Zone -> ComponentEventException

2008-04-01 Thread Petros Petrou
Oh well, your reply gives me something to look into anyway. I'll try to solve the issue with the ModalBox guys and post the solution here. Thanks, Petros Howard Lewis Ship wrote: > > The question is: does this Modalbox send a request via XmlHttpRequest? > And does it use Tapestry's handling o