Re: [ANNOUNCEMENT] New Tapestry 5 book

2009-09-20 Thread Igor Drobiazko
Hi Max, I'm happy you like the book so far. It is nice to get some positive feedback. I guess you can download the CD content from publishers website. There is a link called "Buch CD/DVD" just bellow the book cover. Alternatively you can checkout the sources or download WAR-files from here: http:

New Tapestry Website - Final review

2009-09-20 Thread Sebastian Hennebrueder
Hello, I finished the last open tasks for the new website. I would appreciate, if we get this finished as soon as possible as I need to focus on my normal work for the next weeks. In addition, we have to continuously update the current status in case changes happen to existing docs, so it wo

Re: New Tapestry Website - Final review

2009-09-20 Thread Dmitry Gusev
If you interested in my opinion, I don't like left nav menu how its implemented, because only one item could be viewed at a time. For me it would be better if I can have several groups expanded at one time. On Sun, Sep 20, 2009 at 23:49, Sebastian Hennebrueder wrote: > Hello, > > I finished the l

Re: New Tapestry Website - Final review

2009-09-20 Thread Dmitry Gusev
It is also unusual/unconvenient that menu items reflected on up/down keys. If I expand menu item and it contents doesn't fit the screen I want to scroll the page by the down key, and in current implementation I don't get what I expect. On Mon, Sep 21, 2009 at 00:01, Dmitry Gusev wrote: > If you

Re: New Tapestry Website - Final review

2009-09-20 Thread Sebastian Hennebrueder
This happens after having clicked on any element in the menu without finally navigating to a new entry. If you click on a link and the page is loaded, you can use up and down keys to scroll the page. It wouldn't be a problem to allow multiple open menus as well. I invite other people to commen

Re: New Tapestry Website - Final review

2009-09-20 Thread Dmitry Gusev
On Mon, Sep 21, 2009 at 00:23, Sebastian Hennebrueder wrote: > This happens after having clicked on any element in the menu without > finally navigating to a new entry. If you click on a link and the page is > loaded, you can use up and down keys to scroll the page. > > Yes, this is what I wanted

Avoiding recursion detection in ajax situations.

2009-09-20 Thread ownedthx
Hi all, Tapestry doesn't allow nested components. Ok, no problem. However, there is a situation where, say in component A's template, that I want to define a block which has a reference to component A--but I'll only call that component in a Zone update via Ajax. In other words, there isn't act

Re: Avoiding recursion detection in ajax situations.

2009-09-20 Thread ownedthx
The injected page 'trick' probably is not going to work. the action attribute of the form, unsuprisingly, points back to the path of that injected page; not where the form is in the page actually using this block from the injected page. Understandable. Maybe I can return the component as the re

Re: Avoiding recursion detection in ajax situations.

2009-09-20 Thread ownedthx
Tried using a mixin on the zone returned. I wanted to see if I could just return my component on BeforeRenderTemplate. I guess, though, that the zone has to have my component defined (which however would cause the recursion detection to fire), because I get an error on initial page load, complai

Re: is there a PropertyUtils in T5?

2009-09-20 Thread Alejandro Scandroli
Thanks! Howard On Sun, Sep 20, 2009 at 4:52 AM, Howard Lewis Ship wrote: > There is a PropertyAccess service that is based on reflection, and a > PropertyConduit service that uses the property expression language (it > generates new classes, bypassing reflection). > > On Sat, Sep 19, 2009 at 3:4

About regexps on Tapestry

2009-09-20 Thread Madtyn
Hello! I have some doubts about the regexp validators in Tapestry. I have learnt some about regexp but after making some validating with success, I haven't been able to do two things: 1) Which flavour of regexp does Tapestry use? I have looked for it on the Internet but I couldn't find out. I kno

Re: About regexps on Tapestry

2009-09-20 Thread Alejandro Scandroli
Hi Madtyn Your pattern looks OK to me, it should work, just be sure the file where you are writing the pattern is encoded in UTF-8. This is the pattern I use: [a-zA-ZáéíóúñçÁÉÍÓÚÑÇ]+ Again, be sure your file is correctly encoded in UTF-8 and it should work. Saludos. -- Alejandro Scandroli - htt

Re: About regexps on Tapestry

2009-09-20 Thread Thiago H. de Paula Figueiredo
Em Sun, 20 Sep 2009 21:02:57 -0300, Alejandro Scandroli escreveu: On Mon, Sep 21, 2009 at 12:33 AM, Madtyn wrote: 1) Which flavour of regexp does Tapestry use? I have looked for it on the Internet but I couldn't find out. I know that there are the regexp from Javascript, Jakarta and many ot

dynamic forms

2009-09-20 Thread Alfonso Quiroga
Hi! When I use static forms in T5'tmls everything OK but... what happens if I have And when I'm rendering the page, in javascript (maybe via ajax) I want to append inputs to that form? Is it possible? I was thinking that maybe there are problems with inputs unique names, and the manner of receiv

How to display Blob byte array image?

2009-09-20 Thread Jun Tsai
hi, I had stored my image to database using byte array.How to display it? I couldn't find any image component. thanks -- regards, Jun Tsai

Re: dynamic forms

2009-09-20 Thread Thiago H. de Paula Figueiredo
Em Sun, 20 Sep 2009 21:24:17 -0300, Alfonso Quiroga escreveu: Hi! When I use static forms in T5'tmls everything OK but... what happens if I have And when I'm rendering the page, in javascript (maybe via ajax) I want to append inputs to that form? Is it possible? I was thinking that maybe t

Re: How to display Blob byte array image?

2009-09-20 Thread Thiago H. de Paula Figueiredo
Em Sun, 20 Sep 2009 21:36:30 -0300, Jun Tsai escreveu: hi, I had stored my image to database using byte array.How to display it? I couldn't find any image component. In any event handler method, return a StreamResponse. One example: the ImagePage and JPEGAttachment classes in http://wik

Re: How to display Blob byte array image?

2009-09-20 Thread Jun Tsai
Thank your quick reply.I had seen it.But How to code image element in .tml file? 2009/9/21 Thiago H. de Paula Figueiredo > Em Sun, 20 Sep 2009 21:36:30 -0300, Jun Tsai > escreveu: > > hi, I had stored my image to database using byte array.How to display it? >> I couldn't find any image compon

Re: How to display Blob byte array image?

2009-09-20 Thread Thiago H. de Paula Figueiredo
Em Sun, 20 Sep 2009 21:49:49 -0300, Jun Tsai escreveu: Thank your quick reply.I had seen it.But How to code image element in .tml file? If implemented as a page with onActivate() return StreamResponse, I use the following code: @Inject private PageRenderLinkSource pageRenderLinkSource;

Re: How to display Blob byte array image?

2009-09-20 Thread DH
Maybe this is feasible: Create an event link and get the url, put the url to the http://www.gaonline.com.cn - Original Message - From: "Jun Tsai" To: "Tapestry users" Sent: Monday, September 21, 2009 8:49 AM Subject: Re: How to display Blob byte array image? > Thank your quick reply.

Re: New Tapestry Website - Final review

2009-09-20 Thread Geoff Callender
Has the page containing Third Party Libraries, Tutorials and Resources ( http://tapestry.apache.org/ ) been lost in this process? Like others, I'm not sure about the accordion-style menu bar. Maybe if the text and spacing were reduced it would feel less clunky? Keep up the good work. Geof

Re: About regexps on Tapestry

2009-09-20 Thread Martin Strand
There are java specific operators that match letters: \p{javaLowerCase} \p{javaUpperCase} So to make sure a string only contains letters (in any language) you could do this: ^[\p{javaLowerCase}\p{javaUpperCase}]+$ If you're using Eclipse you might find this plugin handy, it allows you to test