Re: New Tapestry Website - Final review

2009-09-21 Thread Michael Gerzabek
Howard Lewis Ship schrieb: Tapestry used to use Forrest, but it was a lot of work to get it functioning correctly and predictably. That was true for older versions. With 0.8, which is the same release for two years right now, it's really simple. 1. unpack the zip into some arbitrary directo

T5:how to inject slf4j service?

2009-09-21 Thread cleverpig
i always use log4j for a long time.and now i will change to new weapon--slf4j! i use @inject annotation to request this slf4j logging service: public class Start{ ... @Inject private Logger log; ... } but got a expection: No service implements the interface org.slf4j.Logger ... i

Re: Avoiding recursion detection in ajax situations.

2009-09-21 Thread ownedthx
I tried url rewriting the outbound action attribute to match the component form, instead of the form from the injected page. It causes the event to raise now in the right form... but all the form field data are sent to the form in the injected page, because that big nasty hidden input field that

Re: New Tapestry Website - Final review

2009-09-21 Thread Howard Lewis Ship
Tapestry used to use Forrest, but it was a lot of work to get it functioning correctly and predictably. On Mon, Sep 21, 2009 at 1:06 PM, Michael Gerzabek wrote: > Howard Lewis Ship schrieb: > >> >> On another front ... the organization (outside of my above thoughts) >> appears >> pretty nice (I s

Re: RenderInformals on Component With Template

2009-09-21 Thread Josh Canfield
Whoops... you're right. Sorry about that. I didn't try it with anything else in the page. I just grabbed the last element before rendering the template, then found it after rendering and grabbed the next element after that @SupportsInformalParameters public class Inf { @Inject private

Re: passing a service into a component as a parameter

2009-09-21 Thread Josh Canfield
I'm assuming that your users aren't uploading the components or the services, just the pages? If you use a common interface for your services you can use that class to access the registry. I built a quick binding factory and wrote a couple services for it to use here is the implementation: publi

Re: New Tapestry Website - Final review

2009-09-21 Thread Michael Gerzabek
Howard Lewis Ship schrieb: On another front ... the organization (outside of my above thoughts) appears pretty nice (I still haven't had a chance to look at it in more detail) but this documentation reboot is also a chance to move away from using Maven to generate the documentation. I've had goo

Re: zone append or add new content

2009-09-21 Thread Josh Canfield
> That problem still exists. I need a simple mechanism to add or delete some > content via ajax which don't refresh older added content. The ajaxformloop > is no option. Have you taken a look at the FormInjector? http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/

Re: Avoiding recursion detection in ajax situations.

2009-09-21 Thread ownedthx
Hi Robert, The issue of recursion I can fully appreciate. To have what I want to work, the structure algorithm would have to take into account more than it does now. So I opened a feature request for that (not a bug :)) I tried what you suggested, thanks. The issue is still the same, th

Re: New Tapestry Website - Final review

2009-09-21 Thread Sebastian Hennebrueder
Hello, it is nice to get so much feedback on this. I set up a second page with static navigation: http://tapestry2.laliluna.de/ Tutorial and Documentation is now collapsed to reduce the total size of the menu. The most important thing considering the structure is where to put the user guide.

Re: New Tapestry Website - Final review

2009-09-21 Thread Howard Lewis Ship
Sebastian and I have chatted about this seperately, and I have an issue with the documentation structure ... but I'd like to hear other people's thoughts. Basically, moving the user documentation up a level is problematic. Currently, the user guide is generated as part of the tapestry-project docu

Re: Avoiding recursion detection in ajax situations.

2009-09-21 Thread Robert Zeigler
The problem is that even though there is no recursion in the / rendering/, per se, there is recursion in the structure. All recursive routines (and even having A => B => A is a recursive structure) have to have a stop condition; the problem is that the stop condition for rendering is only know

Re: New Tapestry Website - Final review

2009-09-21 Thread Piero Sartini
+1 for single-click navigation! - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Avoiding recursion detection in ajax situations.

2009-09-21 Thread ownedthx
I've tried everything I can think of. Opened a feature request on Tapestry: https://issues.apache.org/jira/browse/TAPESTRY-2752 ownedthx wrote: > > 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

Re: New Tapestry Website - Final review

2009-09-21 Thread Norman Franke
On the Documentation > Component Reference, I use that the most, and having a single click method of getting there would be best (from the home page.) Otherwise, one needs to click on Documentation then click on Component Reference. The current page is single click-friendly, which is handy.

Re: New Tapestry Website - Final review

2009-09-21 Thread Ivano Luberti
Don't know I finfd myself so oftent as part of a minority, but I like dinamic menu with only one submenu expanded at time , like now. Sergey Didenko ha scritto: > Well, after more thinking I'm more for multiple open menus. IMHO they > stress doc structure better. > > --

Re: New Tapestry Website - Final review

2009-09-21 Thread Sebastian Hennebrueder
Ted Steen schrieb: +1 for static menus 2009/9/21 Sergey Didenko : It would be really good to place search hints from this thread: "search hints for Tapestry 5" (July, 23) in "User guide" menu. - To unsubscribe, e-mail: users-u

Re: New Tapestry Website - Final review

2009-09-21 Thread Sergey Didenko
The search input can be done just by inserting google custom search code, like this "http://www.gmodules.com/ig/ifr?url=http://www.google.com/cse/api/016399560855919712413/cse/wdbpuwqto88/gadget&synd=open&w=320&h=75&title=Tapestry&border=%23ff%7C3px%2C1px+solid+%2399&am

Re: New Tapestry Website - Final review

2009-09-21 Thread Sergey Didenko
Well, after more thinking I'm more for multiple open menus. IMHO they stress doc structure better. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: New Tapestry Website - Final review

2009-09-21 Thread Ted Steen
+1 for static menus 2009/9/21 Sergey Didenko : > It would be really good to place search hints from this thread: > "search hints for Tapestry 5" (July, 23) in "User guide" menu. > > - > To unsubscribe, e-mail: users-unsubscr...@ta

Re: New Tapestry Website - Final review

2009-09-21 Thread Sergey Didenko
It would be really good to place search hints from this thread: "search hints for Tapestry 5" (July, 23) in "User guide" menu. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-

Re: New Tapestry Website - Final review

2009-09-21 Thread Sergey Didenko
It would be nice to put a link to the component reference on http://tapestry.laliluna.de/userguide/index.html . - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.a

Re: New Tapestry Website - Final review

2009-09-21 Thread Sergey Didenko
I'm for either multiple open menus or static menus. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: New Tapestry Website - Final review

2009-09-21 Thread Thiago H. de Paula Figueiredo
Em Mon, 21 Sep 2009 10:49:35 -0300, Max Weißböck (info) escreveu: - I would much prefer a "static" menu and not this dynamic open/close "flutter" +1 to static menus. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago

Re: New Tapestry Website - Final review

2009-09-21 Thread Max Weißböck (info)
- Menu Documentation > Component Reference is broken (this is the one I need most :-) - Back Button does not work as expected on all Items in the Documentation Menu - This Back Button Problem seems to happen in other Menu Items too - I would much prefer a "static" menu and not this dynamic op

Re: passing a service into a component as a parameter

2009-09-21 Thread Thiago H. de Paula Figueiredo
Em Mon, 21 Sep 2009 10:28:48 -0300, david.boyce escreveu: It just seems to me that being able to inject services out of the tapestry registry into the components via parameters without having to perform any special incantations would be a nice feature... but meh, what do I know (apparentl

Re: passing a service into a component as a parameter

2009-09-21 Thread david.boyce
What does the text "dooferController" represent in this context? Is it > a string that represents the name of the service interface that you > want to load? or is it a property in your page that holds a reference > to the service implementation? > Sorry, my question probably wasn't very clear.

Re: Using locale from user setting after login

2009-09-21 Thread ccordenier
Am I right if I say that Tapestry does not use a cookie anymore to persist the locale ? And that the PersistentLocale does not persist the locale accross a request ? (Comparing to Tapestry 5.0.18) Stephan Windmüller-8 wrote: > > On Fri, 18. Sep 2009, Stephan Windmüller wrote: > >> > Use a Req

Re: Resource access problem, alternative packaging

2009-09-21 Thread Thiago H. de Paula Figueiredo
Em Mon, 21 Sep 2009 06:33:29 -0300, Sebastian Hennebrueder escreveu: Hello, Hi! while reading through the JSF 2 spec I found the packaging instruction of resources. JSF 2 will allow to pack any kind of resources in a dedicated directory 'resources'. META-INF/resources/ If we would f

Re: ck/tabset block label?

2009-09-21 Thread Mario Udina
thank You very much! I forgot about this feature. regards, Mario Udina On Mon, Sep 21, 2009 at 1:36 PM, ningdh wrote: > Use 'lable-' prefix in the message properties. > Like label-stuff1=Word1 Word2. > > DH > > - Original Message - > From: "Mario Udina" > To: "Tapestry users" > Sent:

Re: About regexps on Tapestry

2009-09-21 Thread Andreas Andreou
AFAIK \p{Alpha}, \p{javaLowerCase}, \p{Lower} and others mentioned all deal with ascii If you want to match any letter in any language then \p{L} and that matches accented ones as well. On Mon, Sep 21, 2009 at 1:41 PM, Madtyn wrote: > I already use quickRex, a wonderful and handy tool but I did

Re: ck/tabset block label?

2009-09-21 Thread ningdh
Use 'lable-' prefix in the message properties. Like label-stuff1=Word1 Word2. DH - Original Message - From: "Mario Udina" To: "Tapestry users" Sent: Monday, September 21, 2009 7:29 PM Subject: ck/tabset block label? > Hello! > > using tapestry 5.1.0.5 and ChenilleKit 1.1.0. TabSet co

ck/tabset block label?

2009-09-21 Thread Mario Udina
Hello! using tapestry 5.1.0.5 and ChenilleKit 1.1.0. TabSet component I am not aware of how to change the label of the component. Using this example: http://tapestry.formos.com/nightly/chenille-kit/chenillekit-tapestry/ref/org/chenillekit/tapestry/core/components/TabSet.html the label on the Tab i

Re: About regexps on Tapestry

2009-09-21 Thread Madtyn
I already use quickRex, a wonderful and handy tool but I didn't know which flavour did I have to use, so I was confused about that. About the \p{javaLowerCase}\p{javaUpperCase}, it seems to have problems with 'ñ' spanish letter and letters with graphical accents. Maybe I did something wrong. I fin

Re: RenderInformals on Component With Template

2009-09-21 Thread Kai Weber
Josh Canfield schrieb: > This component will grab the first element from the template and add > all the informal parameters to it. Cool. But it grabs the first element of the outer component. If I have + form + | +- div | +- div | +- component it alway

Resource access problem, alternative packaging

2009-09-21 Thread Sebastian Hennebrueder
Hello, while reading through the JSF 2 spec I found the packaging instruction of resources. JSF 2 will allow to pack any kind of resources in a dedicated directory 'resources'. META-INF/resources/ If we would follow this approach, we could get rid of the access problem immediately without t

Re: New Tapestry Website - Final review (fixed)

2009-09-21 Thread Sebastian Hennebrueder
Sebastian Hennebrueder schrieb: Geoff Callender schrieb: Has the page containing Third Party Libraries, Tutorials and Resources ( http://tapestry.apache.org/ ) been lost in this process? Yes but not intentionally. I will add it to the external component menu. There is an article section alrea

Re: New Tapestry Website - Final review

2009-09-21 Thread Sebastian Hennebrueder
Geoff Callender schrieb: Has the page containing Third Party Libraries, Tutorials and Resources ( http://tapestry.apache.org/ ) been lost in this process? Yes but not intentionally. I will add it to the external component menu. There is an article section already here http://tapestry.laliluna.d