Re: component export message properties to global / application catalog

2007-07-23 Thread Eckenfellner Klaus
the libId (which equals namespaceId) is set in the application-specification (or library-specification if library is used in library). so if i would hard-code cycle.getPage("libId:pageName") in my border-component (which is also a own library), i would get a problem if anyone would make a typo in t

RE: T3: loosing the User object as soon as the edit action is invoked?

2007-07-23 Thread Bhuiyan, Nazmul
Hi Nick, Thanks a lot. I've added persistent="yes" and it is working. Naz -Original Message- From: Nick Westgate [mailto:[EMAIL PROTECTED] Sent: Tuesday, 24 July 2007 5:30 p.m. To: Tapestry users Subject: Re: T3: loosing the User object as soon as the edit action is invoked? How is

Re: T3: loosing the User object as soon as the edit action is invoked?

2007-07-23 Thread Nick Westgate
How is the User object persisted? (What relates to it in your UserEdit.page file?) Cheers, Nick. Nazmul Bhuiyan wrote: I’m loosing the User object as soon as the edit action is invoked? I’m setting an object (e.g. User) in page UserMaint.java to the page UserEdit.java. UserMaint.java public

T3: loosing the User object as soon as the edit action is invoked?

2007-07-23 Thread Nazmul Bhuiyan
I’m loosing the User object as soon as the edit action is invoked? I’m setting an object (e.g. User) in page UserMaint.java to the page UserEdit.java. UserMaint.java public void userEditAction(IRequestCycle cycle) { UserEdit nextPage = (UserEdit) cycle.getPage("UserEdit"); Object[] para

Re: Popup New Window With A Button in Tapestry

2007-07-23 Thread Nick Westgate
Sorry, I don't have code like this handy, but the steps would be: - your submit button or form listener sets a flag/data on the Home page - the home page renders the response to the submit - the home page checks the flag and conditionally includes javascript to open the Popup page from onLoad

Re: T5: TextArea strange behavior

2007-07-23 Thread Nick Westgate
Yes, the default translators do this. See Translator and StringTranslator. http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/org/apache/tapestry/Translator.html String is the odd one out because representing null and "" differently client side is difficult. You can provide your own tran

Re: T5: Redirecting to out-of-tapestry page

2007-07-23 Thread Nick Westgate
Probably the best way would be a new method on ComponentResourcesCommon to get an external link, or an ExternalLink class or something. In the meantime see if you can return a new LinkImpl() with what you need. Cheers, Nick. Bill Holloway wrote: Apologies if this has already been asked, but I

Suggestion on managing state for tapestry 4.1.2 app

2007-07-23 Thread Daniel Leffel
Hi All, I have a question. I have an application deployed to production which makes significant use of ExternalPage. For the purpose of Natural Search, I want clean URLs and have implemented a URL encoder as per the "Friendly URLs" document. Despite not using any persistent properties, it's beco

Re: T5: page redirect

2007-07-23 Thread Nick Westgate
Yes, search the list for "bug in redirect". I posted a workaround a couple of weeks ago (and logged a JIRA issue). BTW, readers who view threaded wouldn't see your reply to such an old post. Cheers, Nick. CarstenM wrote: Hey guys, already any solution for this "behaviour"? Bye Carsten Sve

RE: JumpStart v1.6 - for Tapestry 4.1.2

2007-07-23 Thread Bhuiyan, Nazmul
Hi, Is it possible for you to put some tips to use tomcat with your JumpStart? Thanks Naz -Original Message- From: Geoff Callender [mailto:[EMAIL PROTECTED] Sent: Tuesday, 24 July 2007 2:18 a.m. To: Tapestry users Subject: JumpStart v1.6 - for Tapestry 4.1.2 Hi all, JumpStart v1.6.0 is n

0gnl-2.7.1-SNAPSHOT bug... please help

2007-07-23 Thread Ken nashua
Folks, My java code is fine... this template keeps failing. It seems OGNL cannot negotiate/articulate propertyDescriptor for my contrib:table column.

Re: Editable table and DirectLink

2007-07-23 Thread Ying Lee
Thanks for replying! I haven't tried this approach, but I will give it a shot. The difficulty here is that how do I get the "valueFromInputField"? Since each row has its own TextField that accepts input, and I think that Tapestry will automatically assign unique ID (correct me if I am wrong)

T5: TextArea strange behavior

2007-07-23 Thread Thiago H de Paula Figueiredo
Hi! Is it just me or the Tapestry 5 TextArea component (5.0.5, non snapshot) sets the bound field to null when the user leaves the text area blank? Thiago - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

T5: Redirecting to out-of-tapestry page

2007-07-23 Thread Bill Holloway
Apologies if this has already been asked, but I need to redirect from a page's onActivate() to a page on another site altogether. What's the best technique? bill

Re: [T4.1]tabs supporting listeners

2007-07-23 Thread Marcelo C. de Freitas
thanks a lot! :) 2007/7/23, Shing Hing Man <[EMAIL PROTECTED]>: Have you tried Dojo TabContainer? The following has an example (in Tap 4.1.2). http://lombok.demon.co.uk/tapestry41Demo/app Shing --- "Marcelo C. de Freitas" <[EMAIL PROTECTED]> wrote: > Hello there, > > As this is my fi

Re: T5: page redirect

2007-07-23 Thread CarstenM
Hey guys, already any solution for this "behaviour"? Bye Carsten Sven Homburg wrote: > > wow, and i think i must be crazy and nobody believes me !! > > Mit freundlichem Gruss > > homburg Softwaretechnik > S.Homburg > 21220 Seevetal / GERMANY > Fon: +49-4105-669746 > Fax: +49-4105-668947 >

Re: [T4.1]tabs supporting listeners

2007-07-23 Thread Shing Hing Man
Have you tried Dojo TabContainer? The following has an example (in Tap 4.1.2). http://lombok.demon.co.uk/tapestry41Demo/app Shing --- "Marcelo C. de Freitas" <[EMAIL PROTECTED]> wrote: > Hello there, > > As this is my first question in this list (and > my 2nd message) I`d > like to sa

Re: Editable table and DirectLink

2007-07-23 Thread Shing Hing Man
Have you tried the following ? function append() { window.location = document.anchors.link1.href+"&sp=s"+valueFromInputField } foo where append() is a javascript function that appends the value of your input field to the Directlink URL. Shing --- Ying Lee <[EMAIL PROTECTED]> wrote: > Gr

[T4.1]tabs supporting listeners

2007-07-23 Thread Marcelo C. de Freitas
Hello there, As this is my first question in this list (and my 2nd message) I`d like to say tanks for all tapestry developers and contributors for creating this amazing framework. I have a simple question (I looked for it in the list history but I couldn`t find any useful information).

Re: T4 - Problem with latin characters

2007-07-23 Thread Marcelo C. de Freitas
something should have messed up your encoding settings. make sure you know what encoding you use in your pages and follow the instructions contained at: http://tapestry.apache.org/tapestry4.1/usersguide/configuration.html (look for "encoding") good luck! 2007/7/23, Hernani Cerqueira <[EMAIL

T4 - Problem with latin characters

2007-07-23 Thread Hernani Cerqueira
Hello all, i have a T4 app that was working flawlessly until now, sudently, all the latin characters in the page were replaced by losangles with a question mark, except for the ones that come from the database, wich is postgresql. Anyone knows wath could have happened? Thanks in advance, Hernâ

[T5] Problems with beaneditform errormessages in IE7

2007-07-23 Thread mailvttanhua
Hi, I'm going through Tapestry tutorial and noticed that error messages for beaneditform are not aligned properly in IE7. Vesa - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5 Loading Component Assets

2007-07-23 Thread Todd Orr
From what I see in the GridColumns code, I've coded this correctly. I'm still confused about why this works for a core component but not a custom component. Unless anyone has any insight I'll create a Jira item. On 7/20/07, Todd Orr <[EMAIL PROTECTED]> wrote: Tap 5.0.5. I'm having trouble loa

Editable table and DirectLink

2007-07-23 Thread Ying Lee
Greetings all, I am using Tapestry 4.0 and trying to make a simple shopping area that shows a table of items, and each row has a textfield where users can input the quantity they want to buy, and I want to add a DirectLink for each row so that it will send a purchase action for that particular

Re: Stale session problem

2007-07-23 Thread nobody22
thanks, the solution you posted works. anyway I set the "stateful" parameter on the Form component to "false". so no active session is required when the form is submitted as you can read on link belowe: http://www.erinors.com/developer/temp/tapdocs/org.apache.tapestry.Framework/Form/index.html

Re: Mistake in Tapestry tutorial

2007-07-23 Thread Howard Lewis Ship
Good catch; I'll probably change the mvn part to create an artifact called tutorial1 so that things line up. Redoing the screenshots is a pain! On 7/20/07, Julien HENRY <[EMAIL PROTECTED]> wrote: Hi everybody, I'm new to Tapestry world, and I'm following the tutorial (http://tapestry.apache.org

RE: component export message properties to global / application catalog

2007-07-23 Thread Marcus.Schulte
Hm, you could do cycle.getPage("libID:pageName") in your nav-component, couldn't you? > -Original Message- > From: Eckenfellner Klaus [mailto:[EMAIL PROTECTED] > Sent: Monday, July 23, 2007 10:58 AM > To: users@tapestry.apache.org > Subject: Re: component export message properties to glo

Re: T5 - Suitable use for Chain of Command?

2007-07-23 Thread Howard Lewis Ship
Sounds to me like several chains-of-command that share the same interface. On 7/22/07, Peter Beshai <[EMAIL PROTECTED]> wrote: Thanks Howard, that works quite well. However, I would like the configuration (order of commands) to be setup in the web application. I would also like to have several

JumpStart v1.6 - for Tapestry 4.1.2

2007-07-23 Thread Geoff Callender
Hi all, JumpStart v1.6.0 is now available. New features include: it works with Tapestry 4.1.2, it has a more Maven-like project structure, and it builds its exploded EAR file on the fly. You'll find it at the usual place: http://files.doublenegative.com.au/jumpstart JumpStart v

Re: [T5] Simple CRUD application with Hibernate : Relations

2007-07-23 Thread mailvttanhua
Hi, Could this tutorial give any help: http://tapestry.apache.org/tapestry5/tapestry-core/guide/beaneditform.html section Property Editor Overrides. Best regards, Vesa > Hi, > > I have no clue whether this is your problem but one thing is noticeable: > @ManyToOne needs a @JoinColumn > > Bets reg

Re: [T4.1.2] Is there Client side validation for @RadioGroup ?

2007-07-23 Thread #Cyrille37#
[EMAIL PROTECTED] a écrit : Looks like a bug to me. If you file a JIRA-issue for it, I'll have a closer look Thanks a lot. Here is the newly created Jira : https://issues.apache.org/jira/browse/TAPESTRY-1663 Cyrille. -Original Message- From: #Cyrille37# [mailto:[EMAIL PROTECT

Re: Tapestry5 and WebSphere6.1

2007-07-23 Thread Renat Zubairov
Hi Could you may be post your web.xml here because 404 means that servelet mappings might be incorrect. Otherwise it's very strange. Renat On 23/07/07, yosemite <[EMAIL PROTECTED]> wrote: Hello, thanks. Security on WebSphere is turned off. I also tried to modify to was.policy with no success

Re: component export message properties to global / application catalog

2007-07-23 Thread Eckenfellner Klaus
sorry but there is a mistake in my handling. getting the page from requestCycle and storing information in list is not correct because all visitors would have the same translation. correct handling is to store page name in list and border-component fetches page informations every request from requ

Re: Popup New Window With A Button in Tapestry

2007-07-23 Thread teacup
How do you include a popup javascript (say popup.js) in the response from the listener method in Home.java? In Home.html you press a 'Submit' button that fires the listener in Home.java, but I am not sure how the listener return a javascript in response that will popup a new window. Please expla

4.1.2 dojo gregorianExtras.js

2007-07-23 Thread Malin Ljungh
Hi, I have a problem with my 4.1: 2007-07-23 13:36:35,122 [http-8080-Processor4] WARN tapestry.services.Asset- Classpath resource '/dojo- 0.4.3/src/i18n/calendar/nls/sv/gregorianExtras.js' does not exist. I can see there is a corresponding GregorianExtras.js file in the tapestry framework jar,

Re: Tapestry5 and WebSphere6.1

2007-07-23 Thread yosemite
Hello, thanks. Security on WebSphere is turned off. I also tried to modify to was.policy with no success: grant codeBase "file:${application}" { permission java.security.AllPermission; }; Funny thing is that a default welcome jsp gets displayed OK and Tapestry filter seems to get invoke

Re: component export message properties to global / application catalog

2007-07-23 Thread Eckenfellner Klaus
found the following solution to my problem... my border component needs a list of pages. pages are needed to get i18n which are only stored in the several libraries. for that purpose i wrote a little inferface, which is implemented for every page which is startpage of my plugins (libraries). publ

Re: Stale session problem

2007-07-23 Thread Eckenfellner Klaus
2 months ago i had the same problems like you. to study the vlib application from howard lewis ship helped me a lot, because there is also a basic(but very good) mechanism for user login / logout control. here the mechanism in a nutshell: all pages in your application extends one abstract page, i

Re: Stale session problem

2007-07-23 Thread nobody22
thanks a lot! the problem is the Visit object. Do you think is it possible solve problem set Visit Object to null? Or, how can i redirect on session time out th application on login page? Thnaks in advance eckobar wrote: > > in the example > http://svn.apache.org/viewvc/tapestry/tapestry4/t

RE: [T4.1.2] Is there Client side validation for @RadioGroup ?

2007-07-23 Thread Marcus.Schulte
Looks like a bug to me. If you file a JIRA-issue for it, I'll have a closer look > -Original Message- > From: #Cyrille37# [mailto:[EMAIL PROTECTED] > Sent: Monday, July 23, 2007 12:31 PM > To: users@tapestry.apache.org > Subject: Re: [T4.1.2] Is there Client side validation for > @Radi

Re: [T4.1.2] Is there Client side validation for @RadioGroup ?

2007-07-23 Thread #Cyrille37#
#Cyrille37# a écrit : #Cyrille37# a écrit : For the TextField the client-side validation works, but for @RadioGroup only the server-side validation is called, no client-side event occured. For precision here is following the code at the end of the generated html page. In that code we can see

Component templates not found: java.lang.IllegalStateException

2007-07-23 Thread Mike_R
Hi all, I refactored my application to use a new package structure. Unfortunately I forgot to change the package of the templates in 'src\main\resources' (it might take some getting used to but there are so many places a page/component can be in...). This resulted in a very cryptic error messag

Re: component export message properties to global / application catalog

2007-07-23 Thread Eckenfellner Klaus
maybe you can tell me how to initialize all my plugin libraries (which are tapestry component libraries) before the first request?! because the behavior that library - specifications are only parsed if the are needed is tapestry default mechanism. i wasn't able to find any configuration or service

Mixing AjaxForm and Form

2007-07-23 Thread RachelS
Hi there (I'm using Tapestry 4.0.2 and Tacos 4.0.1) I have a situation where I have a Form and a separate AjaxForm on a page. What I find is that the Form works perfectly when the AjaxForm is not also on the page. As soon as the AjaxForm is added, most of the Form's validation fails with errors

AW: Popup New Window With A Button in Tapestry

2007-07-23 Thread Peter Schröder
http://wiki.apache.org/tapestry/PopupLinkSubmit -Ursprüngliche Nachricht- Von: teacup [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 22. Juli 2007 14:22 An: users@tapestry.apache.org Betreff: Popup New Window With A Button in Tapestry Hello, members: Mostly we use a Javascript to pop up