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
tting/SettingPage.tml, line 17, column 60]. Return type org.apache.tapestry5.internal.structure.BlockImpl can not be handled. Configured return types are java.lang.Class, java.lang.String, java.net.URL, org.apache.tapestry5.Link, org.apache.tapestry5.StreamResponse, org.apache.tapestry5.runtime.Co

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
Tomcat. We are using Eclipse 3.4.1, JDFK1.6, Tapestry 5.0.15. Any ideas? Petros [ERROR][11-13-2008 07:32:23,343] [org.mortbay.log] ? (?):failed app java.lang.RuntimeException: Class org.apache.tapestry5.internal.services.EndOfRequestListenerHub (implementation of service 'EndOfRequestListen

Re: @Environment problem

2008-07-22 Thread Petros Petrou
n an action method ? PS: This is my original issue http://www.nabble.com/t5components---Window-to18087605.html Sorry if I complicated things by creating two different issues. Sven, sorry about all these questions but my Javascript skills are very limited. Petros kristian.marinkovic wrote:

@Environment problem

2008-07-22 Thread Petros Petrou
ndow When the Open Window link is clicked I am getting the following exception No object of type org.apache.tapestry5.RenderSupport is available from the Environment. Available types are org.apache.tapestry5.services.ComponentEventResultProcessor. Does anyone know how I can even approach th

Re: t5components - Window

2008-07-22 Thread Petros Petrou
Hi Sven, I had already tried this and is the same problem. However, I just realized that I am getting this exception whenever I use @Environment even without using the Window component. I don't know why. I'll post another message specific to that problem. Thanks, Petros Sven Hom

Re: t5components - Window

2008-07-22 Thread Petros Petrou
thod from an ActionLink method that uses this component 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.ComponentEventResultP

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
l and it fails to download. Can I manually download it from anywhere ? org.apache.tapestry t5c-demo 0.5.13 Petros -- View this message in context: http://www.nabble.com/t5components---Window-tp18087605p18087605.html Sent from the Tapestry - User mailing list archive at Nabbl

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
Hi Greetz, You suggestion fixed the problem thank you :) Petros nille hammer wrote: > > Hi Petros, > the problem is caused by the expression > context="{account?.accountManager?.username}". With "?." you tell > Tapestry: "The value might be null,

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
l/contract/Page:seasoncmpnt.datefield: Binding [EMAIL PROTECTED] is read-only. My code is .tml .java public class Period{ private Date fromDate; public void setFromDate(Date fromDate); public Date getFromDate(); } Petros Mahen Perera-2 wrote: > > I also encountered this same issue,, an

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

2008-04-16 Thread Petros Petrou
ady helped me out through this forum by replying to my posts and I am very thankful of this BUT please let's keep this forum clean from destructions and clean from emotional counter productive arguments and let's stop providing free entertainment. Cheers, Petros Martin Kersten

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,

Re: T5: Strategy for pages that edit beans

2008-04-03 Thread Petros Petrou
be setting a new one or an existing one anyway ? Petros HugoPalma wrote: > > Imagine the following use case: > > A page to register a new user. I have a User class so i'm all set. > The page class looks something like: > > @Meta("tapestry.persistence-strate

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
just the searchResultsBlock. How can I force the page links of the Grid component to returned my searchResultsBlock ? Petros -- View this message in context: http://www.nabble.com/Grid-cmpnt-and-Ajax

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=&quo

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
e "context" everything works fine. Furthermore, moving this line ${account?.accountManager?.username} outsite the grid component also works fine. Why it doesn't let me use context values for the PageLink inside a Grid component ? Petros -- View this message in context: http://www.nabb

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 Tapes

Re: Form with a Zone -> ComponentEventException

2008-03-29 Thread petros
, org.apache.tapestry.Link, org.apache.tapestry.StreamResponse, org.apache.tapestry.runtime.Component. Why the use of modal box appears to interfear with the way tapestry works internally ? Petros petros wrote: > > Sorry about the second post but this problem is killing me :) > I tried this exa

Re: Form with a Zone -> ComponentEventException

2008-03-28 Thread petros
but in my case I am getting the exception that I am not allowed to return a Block object. Is there any configuration I need to do ? I am using 5.0.11 Thanks, Petros petros wrote: > > When the userSearchForm of the code below is submitted I am getting the > following excepti

Form with a Zone -> ComponentEventException

2008-03-27 Thread petros
When the userSearchForm of the code below is submitted I am getting the following exception A component event handler method returned the value [EMAIL PROTECTED] Return type org.apache.internal.structure.BlockImpl can not be handled. Configured return types are java.lang.Class, java.lang.String,

Re: ApplicationStateManager exception

2008-03-26 Thread petros
sure if that contributes to the problem. Thanks for your help Petros Howard Lewis Ship wrote: > > Not sure why the presense of the overrideMe() method would change things. > > When Tapestry instantiates a bean (such as a User, here) it always > finds the constructor with t

ApplicationStateManager exception

2008-03-26 Thread petros
I have a LayoutCmpnt.java with the following annotation and everything works fine @ApplicationState private User currentPrincipal; When I add the method overrideMe(User user) to the User POJO I am getting the following exception. Removing the overrideMe(User user) fixes the problem. Any ide

LayoutCmpnt and Form submition

2008-03-23 Thread petros
this http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> Now I want to handle the form submition in XYZAddUpdate.java and not in AddUpdateLayout.java Is what I am trying to do even possible ? Thanks, Petros -- View this message in context: http://www.nabble.com/LayoutCmpnt-and-Form-submition-t

Re: T5: LayoutCmpnt and inherit: prefix

2008-03-23 Thread petros
ting the error Petros Howard Lewis Ship wrote: > > Looks like a bug. PageLoaderProcessor.java:249 is: > >// This may return null if the parameter is not bound in the > loading component. > > Binding existing = > loadingComponentBindingMap.get(loading

Re: Hide menu items

2008-03-23 Thread petros
Thanks for this Davor, I basically copied the code for ListBinding and overwrote the public Object get() method and everything works great. Petros Davor Hrg wrote: > > such construct is not yet possible, > OGNL is not used, > > checkout http://wiki.apache.org/tapestry/

T5: LayoutCmpnt and inherit: prefix

2008-03-23 Thread petros
I have a UserAddUpdate page with a property called readOnly. This property is used to enable/disable components to simulate edit/read mode on the page. The embedded AddressCmpnt template uses "inherit:readOnly" to enable/disable its components. I am now refactored the UserAddUpdate page and crea

Re: required fields formatting BEFORE validation

2008-03-16 Thread petros
What java class must the IValidationDelegate extend. Should it be placed under the components package How can we use this new validator in our pages Petros Martino Piccinato wrote: > > Ok, > > I reply to myself hoping this would be of any help for somebody else. > Is as si

I apologise for the multiple earlier posts. It was a mistake

2008-03-11 Thread petros
a -- View this message in context: http://www.nabble.com/I-apologise-for-the-multiple-earlier-posts.-It-was-a-mistake-tp15975867p15975867.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe,

Hide menu items

2008-03-10 Thread petros
I have a menu with the following items MyDetails UsersList I want the MyDetails item to be shown all the time and the UsersList to show only when the user has the roles admin and manager. I am assuming I have a method called checkAuthorisation(String[]). I know the syntax below is incorrect but I

Hide menu items

2008-03-10 Thread petros
I have a menu with the following items MyDetails UsersList I want the MyDetails item to be shown all the time and the UsersList to show only when the user has the roles admin and manager. I am assuming I have a method called checkAuthorisation(String[]). I know the syntax below is incorrect but I

Hide menu items

2008-03-10 Thread petros
I have a menu with the following items MyDetails UsersList I want the MyDetails item to be shown all the time and the UsersList to show only when the user has the roles admin and manager. I am assuming I have a method called checkAuthorisation(String[]). I know the syntax below is incorrect but I

Hide menu items

2008-03-10 Thread petros
I have a menu with the following items MyDetails UsersList I want the MyDetails item to be shown all the time and the UsersList to show only when the user has the roles admin and manager. I am assuming I have a method called checkAuthorisation(String[]). I know the syntax below is incorrect but I

Hide menu items

2008-03-10 Thread petros
I have a menu with the following items MyDetails UsersList I want the MyDetails item to be shown all the time and the UsersList to show only when the user has the roles admin and manager. I am assuming I have a method called checkAuthorisation(String[]). I know the syntax below is incorrect but I

Hide menu items

2008-03-10 Thread petros
I have a menu with the following items MyDetails UsersList I want the MyDetails item to be shown all the time and the UsersList to show only when the user has the roles admin and manager. I am assuming I have a method called checkAuthorisation(String[]). I know the syntax below is incorrect but I

Hide menu items

2008-03-10 Thread petros
I have a menu with the following items MyDetails UsersList I want the MyDetails item to be shown all the time and the UsersList to show only when the user has the roles admin and manager. I am assuming I have a method called checkAuthorisation(String[]). I know the syntax below is incorrect but I

Hide menu items

2008-03-10 Thread petros
I have a menu with the following items MyDetails UsersList I want the MyDetails item to be shown all the time and the UsersList to show only when the user has the roles admin and manager. I am assuming I have a method called checkAuthorisation(String[]). I know the syntax below is incorrect but I

Hide menu items

2008-03-10 Thread petros
I have a menu with the following items MyDetails UsersList I want the MyDetails item to be shown all the time and the UsersList to show only when the user has the roles admin and manager. I am assuming I have a method called checkAuthorisation(String[]). I know the syntax below is incorrect but I

Hide menu items

2008-03-10 Thread petros
I have a menu with the following items MyDetails UsersList I want the MyDetails item to be shown all the time and the UsersList to show only when the user has the roles admin and manager. I am assuming I have a method called checkAuthorisation(String[]). I know the syntax below is incorrect but I

Hide menu items

2008-03-10 Thread petros
I have a menu with the following items MyDetails UsersList I want the MyDetails item to be shown all the time and the UsersList to show only when the user has the roles admin and manager. I am assuming I have a method called checkAuthorisation(String[]). I know the syntax below is incorrect but I

Re: Tapestry 5 Roadmap

2007-10-25 Thread petros
Thanks for this Howard. Following from your reply I believe is reasonably safe to assume that the final release of T5 will be no later than March or April 2008. Thanks again for your prompt reply Petros Howard Lewis Ship wrote: > > Unfortunately, I'm going to only be working

Re: Tapestry 5 Roadmap

2007-10-25 Thread petros
anage the stakeholders of my projects. Howard, a prompt reply to this message will be greatly appreciated. Petros Howard Lewis Ship wrote: > > I'll have a better idea about the roadmap at the end of this week. > > I've been working for a new consulting company, and

Re: Tapestry 5 Roadmap

2007-10-18 Thread petros
ork I have worked with. This is why an update on the T5 roadmap is important for us. Petros Michael Kleen wrote: > > You seriously recommending a framework in a alpha status for a > multi-million dollar project ? Don't get me wrong, > i like tapestry and i'am using versio

Re: Tapestry 5 Roadmap

2007-10-18 Thread petros
st to develop another web framework. I want to use an existing one to implement my business requirements ASAP and with a minimum budget" Petros kranga wrote: > > The question is very relevant. The concern of the project should be to > build > out the business functionality using

Re: Tapestry 5 Roadmap

2007-10-17 Thread petros
arguments that I can use to address the points raised above to prove that T5 should be chosen over JSF. Thanks, Petros Howard Lewis Ship wrote: > > I'll have a better idea about the roadmap at the end of this week. > > I've been working for a new consulting company, and

Tapestry 5 Roadmap

2007-09-13 Thread petros
The tapestry 5 website says that the final release of T5 is fall 2007. Is this still realistic ? If not can you please provide a realistic date ? Petros -- View this message in context: http://www.nabble.com/Tapestry-5-Roadmap-tf4439437.html#a12666499 Sent from the Tapestry - User mailing list

Re: T4.1: How do you combine Tapestry + Spring?

2007-07-10 Thread petros
Assuming you have a spring bean with name userManager you can use the following code in a tapestry page @Inject @Service("userManager") private UserManager userManager; Petros malin wrote: > > Hi all! > > I'm doing a Tapestry project for

Re: [T5] Is there a working Acegi example available?

2007-07-02 Thread petros
I haven't updated the wiki yet http://www.nabble.com/Tapestry-5-and-Acegi-tf3769520.html#a10886654 Petros Daniel Jue wrote: > > Dear List, > > I'm sorry, I think I found my problem, and it was a stupid one. It > took a 3rd cup of coffee to make it appear. > >

Re: [T5] Documentation

2007-06-23 Thread petros
The note at the end of this page http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html Petros Daniel Gredler wrote: > > Hi all, > > In an effort to improve the T5 documentation, I'm going to start going > through the mailing list, looking at ques

Re: T5 application wide message catalog

2007-06-19 Thread petros
The application wide catalog works fine now. I was putting the app.properties file under WEB-INF/classes instead of just WEB-INF. petros wrote: > > I tried both app.properties and App.properties and it still doesn't work > for me. I guess I just have to wait for the final T5.0.5

Re: Form Validation

2007-06-12 Thread petros
Hi, Please ignore the previous message. I just realizes that the problem was with Firefox remembering the values. Everything is working fine with IE. Petros petros wrote: > > I have a problem with the following code. > > When the form is submitted my form displays a message

Form Validation

2007-06-11 Thread petros
I have a problem with the following code. When the form is submitted my form displays a message advising if the email is valid or not. When the message is displayed I start another browser and I access the same page. The message is still displayed the first time the "second" user accesses this

Re: Fwd: How to load a image dynamically in tapestry5.0.4

2007-06-11 Thread petros
. Petros # UserDetails.html # UserDetails.java @Persist protected UploadedFile uploadedFileCmpnt; @Inject private ComponentResources cmpntResources; private InputStream imageFileInputStream = null

Re: Wiring up AppModule

2007-06-07 Thread petros
If you class is called AppModule then the Tapestry Filter name in your web.xml needs to be app. For example app org.apache.tapestry.spring.TapestrySpringFilter Petros Ben Tomasini-2 wrote: > > I am working on a T5 application, and can't figure out how the AppModule >

Re: How to load a image dynamiclly in tapestry5.0.4

2007-06-06 Thread petros
I have an image saved in the database as BLOB. I am loading this image in memory and can access it using getUser().getPhotoImage() which returns an object of type java.io.File. How can I display this image on a tapestry html page using a Tapestry Asset? Petros Howard Lewis Ship wrote

Moving T4 to T5 broke Acegi

2007-05-31 Thread petros
context/AccessDenied However, typing context/AccessDenied in the URL and pressing enter works fine. I initially thought that was an Acegi problem but now I am almost certain is a T5 problem. Any ideas? Petros

A feature or a bug

2007-05-30 Thread petros
ecause the name of the page starts with the same substring as the name of its package? I think I like this feature because it forces you to avoid having information in your page name that is already captured by the name of the package. However, is this a feature or a bug :) Petros -- View this

Re: Tapestry 5 and Acegi

2007-05-30 Thread petros
Ok... I don't have the tapestry-hibernate.jar in my classpath. Please send me an email to [EMAIL PROTECTED] and I will reply with my files that are relevant to your question. Petros Joshua Jackson-3 wrote: > > Hi Petros > > Here's my response: >> 1. Are you using

Re: Tapestry 5 and Acegi

2007-05-30 Thread petros
t do you refer to when you say "not use spring-hibernate" If you don't use a database you could have a quick read of section 6.2.1 of the acegi guide http://www.acegisecurity.org/docbook/acegi.html Petros Joshua Jackson-3 wrote: > > Hi Petros, > > Thanks for the quick

Re: T5 application wide message catalog

2007-05-30 Thread petros
I tried both app.properties and App.properties and it still doesn't work for me. I guess I just have to wait for the final T5.0.5 review release :) Thanks for the reply Petros Howard Lewis Ship wrote: > > The name exactly matches the filter name ... thus "app.properties" n

Re: ComponentClassResolverImpl

2007-05-30 Thread petros
That solved my problem Thanks, Petros Howard Lewis Ship wrote: > > url() references in a stylesheet a relative to the stylesheet. > url(images/bg.gif) will generate a proper URL to a real resource, and > Tapestry won't attempt to interpret it as an action request URL

Re: Tapestry 5 and Acegi

2007-05-30 Thread petros
let me know if you want to see my security.xml and the springContext.xml files Petros Joshua Jackson-3 wrote: > > Hi Petros. Thanks for the contribution since I need this as well. But > my question is, did you use Spring to configure Acegi? Or did you use > tapestry-ioc to configur

ComponentClassResolverImpl

2007-05-30 Thread petros
Details at org.apache.tapestry.internal.services.ComponentClassResolverImpl.resolvePageNameToClassName(ComponentClassResolverImpl.java:257) which is caused by the line (in style.css) background: #f4f4f4 url(styles/images/bg.gif) top center repeat-y; The directory structure is /styles/images/bg.gif /styles/style.css How can I solve this problem ? Petros -- View this message

Re: T5 application wide message catalog

2007-05-27 Thread petros
ckage com.glintech.jumpstart.tapestry app org.apache.tapestry.spring.TapestrySpringFilter app /* Petros SergeEby wrote: > > Hi, > > I believe this is now available in 5.0.5-SNAPSHOT. > > /Serge > >

Re: T5 HttpServletRequest

2007-05-26 Thread petros
You can try the following. I tried it on T5.0.4 @Inject @Service("RequestGlobals") private RequestGlobals requestGlobals; requestGlobals.getHTTPServletRequest().getRemoteAddr() Petros Marcus-11 wrote: > > Hi, > > How can i get HttpServletRequest.getRemoteAdd

Changing Locale

2007-05-22 Thread petros
cookie on the client to provide the default for the locale on the next visit, and store a locale name in the session (if a session exists). TODO: I believe this has been implemented by Kent. Petros -- View this message in context: http://www.nabble.com/Changing-Locale-tf3801846.html#a10757009

Re: How to load a image dynamiclly in tapestry5.0.4

2007-05-20 Thread petros
This is how I used Asset for an image in T5.0.4 Java class @Inject @Path("context:images/banners/new_logo.jpg") private Asset logoImage; HTML code Petros Allen Guo wrote: > > Hi All, > > I want to show the ProductDetail page with product image. It looks like >

Re: How to load a image dynamiclly in tapestry5.0.4

2007-05-20 Thread petros
This is how I used Asset for an image in T5.0.4 Java class @Inject @Path("context:images/banners/new_logo.jpg") private Asset logoImage; HTML code prop:logoImage Petros Allen Guo wrote: > > Hi All, > > I want to show the ProductDetail page with product image.

Re: 5.0.5-SNAPSHOTS

2007-05-17 Thread petros
'ServletApplicationInitializer': Unable to instantiate class org.apache.tapestry.services.TapestryModule as a module builder: Error creating bean with name 'txProxyTemplate': Bean definition is abstract Petros petros wrote: > > I have a problem in T5.0.4 when

Re: Can I set a T5 page to return to another page dynamically?

2007-05-17 Thread petros
Have a look at this http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html Eko S.W. wrote: > > That is to say, I have CrmsHome.java and I would like it to go to > SharedDelete.java, so in CrmsHome I would like to do : > ... > SharedDelete _deletePage; > ... > _deletePage.setBack

Re: 5.0.5-SNAPSHOTS

2007-05-17 Thread petros
I have a problem in T5.0.4 when I am changing from @[EMAIL PROTECTED] to @[EMAIL PROTECTED] CODE THAT WORKS LayoutCmpnt.html http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> LayoutCmpnt.java public class LayoutCmpnt { @InjectPage private Login

Re: Tapestry 5 and Acegi

2007-05-16 Thread petros
Hi Adnrea, I'll go through the links you provided and I will spend some time improving my code before updating the wiki. At the moment I feel that my code is more of a hack than a nice solution. Petros Andreas Andreou-3 wrote: > > Petros, hi. > It would be nice to have th

Re: 5.0.5-SNAPSHOTS

2007-05-16 Thread petros
I replaced my 5.0.4 jars with 5.0.5 and the following code doesn't compile anymore @Inject @SpringBean("userManager") Has this changed from 5.0.4 ? Howard Lewis Ship wrote: > > Sorry, yes. That's a change in 5.0.4, you must have been using 5.0.3. > > Injection got a LOT smar

Tapestry 5 and Acegi

2007-05-16 Thread petros
pnt.html ${tapestryPrincipal.username} Update Acegi Security Context I also have this code where the user's details are updated in order to keep the Acegi Principal up to date. UsernamePasswordAuthenticationToken token = new UsernamePasswordAuthenticationToken(updatedUser,updatedUse

Re: Localized Submit lable

2007-05-14 Thread petros
Thanks Eric, That works. I did not realize that I was not using t: Petros Eric Chatellier wrote: > > it's working with > > > > 2007/5/14, petros <[EMAIL PROTECTED]>: >> >> I want to use a localized string as my submit button's label. No

Calling methods with parameters from a template

2007-05-14 Thread petros
Users List Petros -- View this message in context: http://www.nabble.com/Calling-methods-with-parameters-from-a-template-tf3752070.html#a10602858 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscri

Localized Submit lable

2007-05-14 Thread petros
I want to use a localized string as my submit button's label. None of the two below works 1. 2. What's the correct way of using localized string as labels in T5 ? Petros -- View this message in context: http://www.nabble.com/Localized-Submit-lable-tf3752045.html#a10602783 Sen

Re: Tapestry 5: Default Locale

2007-05-14 Thread petros
This is how I did it http://www.nabble.com/T5---Changing-Locale-tf3376399.html#a10424282 It works when the locale of the browser is changed and the page is refreshed. However, setting the new locale using ThreadLocale doesn't work for me either. I was hoping someone was going to reply to my post

Re: T5 - Changing Locale

2007-05-10 Thread petros
e onActionFromGreekLocaleLink() method is called as expected, but just before the method is returned the currentLocale object is still set to the "en" Locale. Is this the right way to change the Locale programmatically ? Petros Howard Lewis Ship wrote: > > I think that comment

Re: T5 - Changing Locale

2007-05-10 Thread petros
ale is not changed. Is the above the correct way to inject the ThreadLocale service in my page? If yes then how can I force the above method to be called and consequently change the locale. Thanks, Petros Howard Lewis Ship wrote: > > I think that comment is out of date. > > You sho