Re: Date Validation

2009-03-05 Thread Ville Virtanen
Feedback from customers indicate that this sometimes is work blocker, as "the system won't let me change the date and I cannot do anything" so, I think this deserves a JIRA. (Calendar should use the date if it is parsable, if not just ignore it and replace it when user chooses a date.) - Ville

about T5 javascript

2009-03-05 Thread Andrea Chiumenti
Hi to avoid me to read all Tapestry js code, could you tell me waht is/are the js Class and method(s) that replace a zone on a xhr call ? Thanks, kiuma - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additiona

Re: Tapestry 5.1 session invalidate misbehaving

2009-03-05 Thread Peter Stavrinides
Many thanks, for the clarification. Peter - Original Message - From: "Howard Lewis Ship" To: "Tapestry users" Sent: Friday, 6 March, 2009 01:06:39 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Tapestry 5.1 session invalidate misbehaving HttpServletRequest doesn't have a

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-05 Thread DH
Even though same page instance is used for requests, page field value is set to default value when it is released to pagepool (after every request), so email are always null after redirect-aftre-post . Use persist or activate/passivate pattern, please refer to http://tapestry.apache.org/tapestr

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-05 Thread Andy Pahne
I usually do it a little differnet and it works for me: class YourPage{ @InjectPage private DestinationPage destinationPage; Object onAction(String emailAddress){ return destinationPage.startEdit(emailAddress); } } class DestinationPagePage{ @Property @Pers

Date Validation

2009-03-05 Thread Luther Baker
I have a Hibernate entity - which contains a java.util.Date. It displays just fine in a BeanEditor ... if I intentionally enter a mis-formatted date it correctly comes back highlighted in a RED outline etc. Then, *when I try to click on the CALENDAR icon *- it just keeps telling me the date is in

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-05 Thread manuel aldana
thanks, but same issue. Anyway I think with the InjectPage pattern and returning an Object you have control which page-instance is passed. I debugged an the same page instance is used to retrieve the value. But further debugging shows that the setter is called, but when displaying the page the

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-05 Thread Luther Baker
Try adding @Persist to the destination class ... otherwise, I'm not sure you're guaranteed which page instance will get rendered. public class SendingActivationEmail { @Persist private String email; -Luther On Thu, Mar 5, 2009 at 7:10 PM, manuel aldana wrote: > Hi, > > I want to pass on

Re: Tapestry 5.1: Wait for Page

2009-03-05 Thread manuel aldana
I know it is a bit thread off-topic, but is there somewhere a documentation how you setup this nice integration test-suite from the screencast and to run it on localhost and access it through browser? Howard Lewis Ship schrieb: I've uploaded a short clip showing how the wait-for-page functiona

Page navigation passed value not displayed (@InjectPage style)

2009-03-05 Thread manuel aldana
Hi, I want to pass one value to one page with the InjectPage pattern (http://tapestry.apache.org/tapestry5/guide/pagenav.html). But below code does not work (email does not get displayed on other page). public class Registration { @Property private String email; @InjectPage p

Re: Tapestry way for email-templates

2009-03-05 Thread manuel aldana
ouch (couldn't find the link on tapestry home, but on Google it can be found easily). Nice, there is even a plug for the email stuff :) Howard Lewis Ship schrieb: http://tapestry.formos.com/nightly/tapestry-templating/ On Thu, Mar 5, 2009 at 4:03 PM, manuel aldana wrote: Hi, for sendin

Re: Tapestry way for email-templates

2009-03-05 Thread Howard Lewis Ship
http://tapestry.formos.com/nightly/tapestry-templating/ On Thu, Mar 5, 2009 at 4:03 PM, manuel aldana wrote: > Hi, > > for sending out emails I need templates. Is there an internal tapestry way > to solve this (currently .tml are bound to pages/components). Is there a > .tml way to use templates

Tapestry way for email-templates

2009-03-05 Thread manuel aldana
Hi, for sending out emails I need templates. Is there an internal tapestry way to solve this (currently .tml are bound to pages/components). Is there a .tml way to use templates outside of components and pages or do I need to resort to something like Velocity or Freemarker? thanks. -- manu

Re: Tapestry 5.1 session invalidate misbehaving

2009-03-05 Thread Howard Lewis Ship
HttpServletRequest doesn't have a way to determine if the session has been invalidated; Request does, which simplifies things in terms of trying to finish off the request in an orderly manner after invalidating the session. On Thu, Mar 5, 2009 at 2:23 PM, Robert Zeigler wrote: > > On Mar 5, 2009,

Re: [T5] Method name "render" not allowed for custom components?

2009-03-05 Thread Howard Lewis Ship
Please add a bug to JIRA. I believe this represents a conflict between a method Tapestry adds to your class; Tapestry should at least explain this to you and tell you how to fix it (rename the method). On Thu, Mar 5, 2009 at 3:24 AM, Felix Gonschorek wrote: > Hello, > > > today i've had a except

Re: Tapestry 5.1 session invalidate misbehaving

2009-03-05 Thread Robert Zeigler
On Mar 5, 2009, at 3/53:33 AM , Peter Stavrinides wrote: It is sloved now after much pain, but for the befefit of everyone: It seems Robert had a valid point in the end, lazy loading was at least half the problem (thanks very much for the tip!), the other half was that I was using HttpServ

Re: dojo Tapestry5 integration

2009-03-05 Thread Andrea Chiumenti
Good, I'll talk to Andreas for tacos/T5 but if I correctly recall, tacos/T4 is a bit different from the way I've chosen for T5 (decoration, and dojo annotations). I've to choose the html replacement strategy on xhr calls, even if I think that I'll stay a little more basic from what I thought at fi

j_security_check

2009-03-05 Thread Brian Collins
Hi, I have a Tapestry 5 webapp and I'm wondering how in Tapestry you would integrate with the Tomcat User DataBase using j_security_check. Thanks, Brian _ Hotmail® is up to 70% faster. Now good news travels really fast. http://win

Re: T5 ConcurrentBarrier / Deadlock

2009-03-05 Thread Ville Virtanen
If my memory servers me right T5 was having these problems all the way to 5.0.15 or 16, but today all of those are fixed afaik. - Ville titöf wrote: > > Hi! > > We encountered a "small" problem in the way tapestry detects changes of > tml's and classes which causes a server crash: in our sp

T5 ConcurrentBarrier / Deadlock

2009-03-05 Thread mailinglist
Hi! We encountered a "small" problem in the way tapestry detects changes of tml's and classes which causes a server crash: in our special case the request which detected changes used the ConcurrentBarrier write-lock to block all other threads. This is ok as long you guarantee the request will r

Re: Tapestry 5.1: Wait for Page

2009-03-05 Thread Howard Lewis Ship
I'm not seeing any of these problems. Please make sure you've wiped out the prior version of Tapestry, cleared your browser cache, etc. On Thu, Mar 5, 2009 at 9:11 AM, ningdh wrote: > I just updated to latest 5.1.0.1-snapshot and got 2 issues: > > 1. Form is rendered as method="get" and have iss

Re: Tapestry 5.1: Wait for Page

2009-03-05 Thread ningdh
I just updated to latest 5.1.0.1-snapshot and got 2 issues: 1. Form is rendered as method="get" and have issue "Forms require that the request method be POST and that the t:formdata query parameter have values. ". 2. [test] is rendered as [test], but the expected should be [[test]. Why it happe

Re: Localization problem with tapestry

2009-03-05 Thread Howard Lewis Ship
Sorry to say, but just building a JAR that has a WEB-INF folder doesn't add those files to the web application's context. I believe Tapestry 4 has options to move the global application catalog onto the classpath (rather than the default location under WEB-INF in the context); that's the only way y

Re: Tapestry 5.1: Wait for Page

2009-03-05 Thread Howard Lewis Ship
There may be room to tweak this; for example, to not use the grey overlay part, and to "hold" the event until the page is ready, then retrigger it. I actually like it the way it is, and the video doesn't do it justice! On Thu, Mar 5, 2009 at 8:34 AM, Francois Armand wrote: > Howard Lewis Ship wro

Re: Tapestry 5.1: Wait for Page

2009-03-05 Thread Howard Lewis Ship
Nope, I wrote it from scratch before I even found out about ModalBox. On Thu, Mar 5, 2009 at 8:22 AM, Thiago H. de Paula Figueiredo wrote: > Em Thu, 05 Mar 2009 13:17:46 -0300, Howard Lewis Ship > escreveu: > >> I've uploaded a short clip showing how the wait-for-page functionality >> works in 5

Re: dojo Tapestry5 integration

2009-03-05 Thread Howard Lewis Ship
The intention of Tapestry360 is that any and all Tapestry projects can move there; this will be good for end-users because there will be a single place to search for add-ons to Tapestry and they'll only have to register with a single bug tracker, the Tapestry360 JIRA. Currently, only SVN is suppor

Re: Tapestry 5.1: Wait for Page

2009-03-05 Thread Francois Armand
Howard Lewis Ship wrote: I've uploaded a short clip showing how the wait-for-page functionality works in 5.1. http://blip.tv/file/1844614/ The feature is a real plus, it will avoid strange errors from an user point of view. However, I find the current "disable" page a little to intrusive

Re: dojo Tapestry5 integration

2009-03-05 Thread Thiago H. de Paula Figueiredo
Em Thu, 05 Mar 2009 13:23:13 -0300, Howard Lewis Ship escreveu: Yes I did! What about Tapestry-related projects hosted elsewhere? Do you encourage them to move there? All projects at T360 will get its wiki and JIRA instances too? SourceForge's hosting for my open-source projects is sl

Re: dojo Tapestry5 integration

2009-03-05 Thread Howard Lewis Ship
I'm restarting tomcat to see if that fixes the issue. On Thu, Mar 5, 2009 at 8:28 AM, Howard Lewis Ship wrote: > Nope, that's a new one to me. > > On Thu, Mar 5, 2009 at 8:27 AM, Sven Homburg wrote: >> Howard, you know about the error if we call the wiki at 360? >> >> 2009/3/5 Howard Lewis Ship

Re: dojo Tapestry5 integration

2009-03-05 Thread Howard Lewis Ship
Nope, that's a new one to me. On Thu, Mar 5, 2009 at 8:27 AM, Sven Homburg wrote: > Howard, you know about the error if we call the wiki at 360? > > 2009/3/5 Howard Lewis Ship > >> Yes I did! >> >> On Thu, Mar 5, 2009 at 8:18 AM, Thiago H. de Paula Figueiredo >> wrote: >> > Em Thu, 05 Mar 2009

Re: dojo Tapestry5 integration

2009-03-05 Thread Sven Homburg
Howard, you know about the error if we call the wiki at 360? 2009/3/5 Howard Lewis Ship > Yes I did! > > On Thu, Mar 5, 2009 at 8:18 AM, Thiago H. de Paula Figueiredo > wrote: > > Em Thu, 05 Mar 2009 13:08:44 -0300, Andreas Andreou > > escreveu: > > > >> you could start a project @ sourceforge

Re: dojo Tapestry5 integration

2009-03-05 Thread Howard Lewis Ship
Yes I did! On Thu, Mar 5, 2009 at 8:18 AM, Thiago H. de Paula Figueiredo wrote: > Em Thu, 05 Mar 2009 13:08:44 -0300, Andreas Andreou > escreveu: > >> you could start a project @ sourceforge or googlecode >> or perhaps ask to join existing T5 projects. > > I guess Howard did Tapestry360 (http://

Re: Tapestry 5.1: Wait for Page

2009-03-05 Thread Thiago H. de Paula Figueiredo
Em Thu, 05 Mar 2009 13:17:46 -0300, Howard Lewis Ship escreveu: I've uploaded a short clip showing how the wait-for-page functionality works in 5.1. http://blip.tv/file/1844614/ It seems very nice! Is it using ModalBox (http://www.wildbit.com/labs/modalbox/)? -- Thiago H. de Paula Figue

Re: dojo Tapestry5 integration

2009-03-05 Thread Thiago H. de Paula Figueiredo
Em Thu, 05 Mar 2009 13:08:44 -0300, Andreas Andreou escreveu: you could start a project @ sourceforge or googlecode or perhaps ask to join existing T5 projects. I guess Howard did Tapestry360 (http://tapestry.formos.com/) exactly for this. ;) -- Thiago H. de Paula Figueiredo Independent

Tapestry 5.1: Wait for Page

2009-03-05 Thread Howard Lewis Ship
I've uploaded a short clip showing how the wait-for-page functionality works in 5.1. http://blip.tv/file/1844614/ -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind - To unsubscribe, e-mail: users-unsubscr...@

Re: dojo Tapestry5 integration

2009-03-05 Thread Andreas Andreou
Hi Andrea you could start a project @ sourceforge or googlecode or perhaps ask to join existing T5 projects. I know http://tacos.sourceforge.net/tacos5/ can include this (the package would then be net.sf.tacos5.dojo ) since it also deals with js libs for T4... on the other hand, you may want to go

Localization problem with tapestry

2009-03-05 Thread Bogdan Brezoi
Hi, I'm encountering something weird when trying to localize some messages using Tapestry. I'll make a short description of the problem and of the context: I'm using Tapestry 4.1.6 and have some page messages that should get localized. I have the next structure of *.properties file : WEB-INF

Re: T5: getting to the url anchor-tag server side

2009-03-05 Thread Britske
Hmm, it seems a non -tapestry issue. Browsers don't send anchor-tags to the server... Britske wrote: > > Is there a way to get to the anchor of an url in tapestry? > > I tried getting it through getRequestGlobals().getHTTPServletRequest(), > but the anchor seems to be stripped from the url t

T5: getting to the url anchor-tag server side

2009-03-05 Thread Britske
Is there a way to get to the anchor of an url in tapestry? I tried getting it through getRequestGlobals().getHTTPServletRequest(), but the anchor seems to be stripped from the url that HTTPServletRequest gives me. Anyone? Thanks, Britske -- View this message in context: http://www.nabble.co

Re: T5: accessing assets/files using apache httpd instead of tomcat

2009-03-05 Thread Lutz Hühnken
Hi Britske, assuming you are using mod_jk to connect Apache httpd to Tomcat, you can use JkMount/JkUnmount to unmount the paths containing static resources and have httpd handle them directly. Let's look at an example.. If your images are in "_img", the context is the root context and your webap

Re: http error on exception

2009-03-05 Thread Lutz Hühnken
The way I like to do it: decorate the exception handler in your AppModule.java /** * Decorate the exception handler in a way that it will just return error * code 500 in production mode. See * http://tapestry.apache.org/tapestry5/cookbook/exceptions.html On the * bottom o

[T5] Method name "render" not allowed for custom components?

2009-03-05 Thread Felix Gonschorek
Hello, today i've had a exception that took me a while to figure out where it came from: StackMapTable format error: bad class index It was, because i named a method "render" in my custom component: @BeginRender boolean render(MarkupWriter writer) { //blubb return false; } Renaming the

dojo Tapestry5 integration

2009-03-05 Thread Andrea Chiumenti
Hello, I'm writing dojo-T5 integration, which package should I choose? I think that current one com.mycompany.tapsample is not correct :) then I could use org.apache.tapestry5.dojo or open a project in SourceForge and naming the package as well. second question and more technical: The basic struc

Re: hi, about the remotelink minixs

2009-03-05 Thread nile black
miss attachments Nile Black - 每天一个小时debian. On Wed, Mar 4, 2009 at 10:37 PM, nile black wrote: > hi >i write a simple minixs call remotelink, it look like grails's > remotelink. >maybe minixs greate! > > you can simple use > > t:type="actionlink" t:update="resu

Re: templates changes from tapestry 4.1 to tapestry 5

2009-03-05 Thread Ivano Luberti
I understand and of course is always a problem of perspective. In my practical work I always have to spend too much time in adjusting html content when the web graphic modifies it, because obviously he/she doesn't want to work with the mess that a jsp or a velocity template has become once I have

Re: Tapestry 5.1 session invalidate misbehaving

2009-03-05 Thread Peter Stavrinides
It is sloved now after much pain, but for the befefit of everyone: It seems Robert had a valid point in the end, lazy loading was at least half the problem (thanks very much for the tip!), the other half was that I was using HttpServletRequest instead of Request, it seems the later is now requir

Q: Hook javascript event to component event method

2009-03-05 Thread 丁振波
There is a Tree Component to generate a js tree, and we use tree node event to do some operation. How can hook javascript event to my tree component method in tml file? such as js method here : function onNodeSelect(id){ alert("node"+id+" selected . "); } tree.setOnClickHandler(onN

apache configs to avoid subdirectory conflicts?

2009-03-05 Thread Michael Huff
greetings, i just signed up to this list; i'm faily new to tapestry, especially 5. i've searched the web extensively trying to find some reference to this issue, with so little success that i think i'm fundamentally misunderstanding something at this point. any assitance or pointers would be great

Re: Tapestry 5.1 session invalidate misbehaving

2009-03-05 Thread Peter Stavrinides
Thanks for the reply Robert, but that doesn't seem to be the issue, any other ideas? - Original Message - From: "Robert Zeigler" To: "Tapestry users" Sent: Thursday, 5 March, 2009 00:45:14 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Tapestry 5.1 session invalidate misb