Re: Tapestry 5.1.0.5 FCKEDITOR PROBLEM

2009-12-09 Thread Ville Virtanen
Hi, you can take a look at: http://kenai.com/projects/t5-easy-fckeditor The documentation lives here: http://t5-easy-fckeditor.kenai.com/ Please report any problems to http://kenai.com/jira/browse/T5_EASY_FCKEDITOR Or if you want to use the Chenillekit one then please report this problem to C

Locale switcher and exception reporter

2009-12-09 Thread shymon
I have an Error page which implements ExceptionReporter and intercepts all exceptions thrown by other pages. As every other page in my app, Error page contains locale switcher - user should be able to change language of displayed error message. (Locale switcher is part of Layout component). In e

Re: rendered as textfield ???

2009-12-09 Thread Gunnar Eketrapp
Thanks a lot! I had by mistake a TexField annotation in the java class for the password field! T5 has such a great error handling and perhaps an error should be thrown here pointing out the error. Anyway thanks a lot I have spent some time searching for this one /G 2009/12/9 Ulrich Stärk

Tapestry 5.1.0.5 FCKEDITOR PROBLEM

2009-12-09 Thread Boban Stojanovski
Hi can someone tell me how to implement a fckeditor in a tapestry webapp. i use maven. The Pom.XML is a bit large so ill paste just the fckeditor part org.chenillekit chenillekit-core 1.2.0 jar false org.chenillekit chenillekit-tapestry 1.2.0 jar false Chenillekit has a FCKeditor. I tried t

Re: t5 handling events by components, event handling sequence

2009-12-09 Thread kamiseq
> > I beg to differ. The framework itself does not use the session. If you're > using an onActivate()/onPassivate() method pair, you don't need to persist > the corresponding fields. ActionLink and EventLink preserve the page context as long as you provide it > to the context parameter. > After y

Re: Select does not submit form on change

2009-12-09 Thread Thiago H. de Paula Figueiredo
Em Wed, 09 Dec 2009 16:10:44 -0200, Vangel V. Ajanovski escreveu: - t:id="my submit" - works AFAIK, t:id can't have a space on it. - id="my submit" does not work Does this mean that theoretically a single component can have two id-s? One tapestry id, and another non-tapestry one? Yes

Re: rendered as textfield ???

2009-12-09 Thread Ulrich Stärk
You don't have a TextField password2 annotated with @Component in your page class, do you? And you aren't manipulating the DOM in some way (either server or client side)? Uli On 09.12.2009 21:18 schrieb Gunnar Eketrapp: Hi! I have a strange problem with ! For some reason this TML ...

rendered as textfield ???

2009-12-09 Thread Gunnar Eketrapp
Hi! I have a strange problem with ! For some reason this TML ... ... renders this HTML ... Can anyone come up with a reason why type is rendered as text and not password ? Thanks in advance! Gunnar Eketrapp (from a dark and wet Stockholm, Let's hope the climate co

Re: Best practice for initializing page to default context

2009-12-09 Thread Kalle Korhonen
Opened https://issues.apache.org/jira/browse/TAP5-948 for it. Kalle On Tue, Dec 8, 2009 at 11:24 AM, Kalle Korhonen wrote: > On Tue, Dec 8, 2009 at 10:59 AM, Howard Lewis Ship wrote: >> I've had to solve this problem for one of my clients as well and I >> think it's something that should go int

Re: Select does not submit form on change

2009-12-09 Thread Vangel V. Ajanovski
On 09.12.2009 11:24, sandeepraj singh wrote: > Its because, when you do not assign t:id to a submit button, it assigns > name="submit" > which has a conflict with any other submit in your page(even through java > Script) > > i got it working with t:id="My Submit" then even on Change works. > Hu

Re: t5 handling events by components, event handling sequence

2009-12-09 Thread Thiago H. de Paula Figueiredo
Em Wed, 09 Dec 2009 15:34:52 -0200, kamiseq escreveu: The session itself is extremely overused in the framework and it could be limited if only actionLink's call preserve page's context. I beg to differ. The framework itself does not use the session. If you're using an onActivate()/onPassiv

Re: t5 handling events by components, event handling sequence

2009-12-09 Thread kamiseq
> > I don't understand what's your problem. Page activation context would >> always be kept between any requests of the same page, if you add the context >> that given to the tab component tot he page activation conetext, and provide >> the correct onActivate and onPassivate handler, there would b

Re: Select does not submit form on change

2009-12-09 Thread Inge Solvoll
https://issues.apache.org/jira/browse/TAP5-947 On Wed, Dec 9, 2009 at 1:17 PM, sandeepraj singh < sandeepraj.si...@atosorigin.com> wrote: > > Hi Inge, > I am not able to raise the jira since i am sitting behind a firewall. > Do you mind raising it? > > Thanks > Sandeep > > > Inge Solvoll-2 wrote:

Re: t5 handling events by components, event handling sequence

2009-12-09 Thread Thiago H. de Paula Figueiredo
Em Wed, 09 Dec 2009 12:44:31 -0200, ningdh escreveu: I don't understand what's your problem. Page activation context would always be kept between any requests of the same page, if you add the context that given to the tab component tot he page activation conetext, and provide the correct o

Re: t5 handling events by components, event handling sequence

2009-12-09 Thread ningdh
I don't understand what's your problem. Page activation context would always be kept between any requests of the same page, if you add the context that given to the tab component tot he page activation conetext, and provide the correct onActivate and onPassivate handler, there would be no proble

Re: page name generating

2009-12-09 Thread Paul Field
There's a JIRA issue about this with a variety of ideas and discussion: https://issues.apache.org/jira/browse/TAP5-633 There really isn't a good answer to this at the moment, that I can see. The URL rewriting means you still need to use the "Page" postfix in .tml fies (e.g. for links), which I t

Re: [beginner] - PageLink doesn't work

2009-12-09 Thread marioosh.net
Thanks :) I had wrong jars in my libraries. On jars *-5.1.0.5 everyting works good :) 2009/12/9, Inge Solvoll : > I'm guessing you have T5.0 installed. You have to install T5.1 to use 5.1 > schema. > > On Wed, Dec 9, 2009 at 1:29 PM, marioosh.net wrote: > >> 2009/12/9, Mario Udina : >> > hello! >

Re: [beginner] - PageLink doesn't work

2009-12-09 Thread Inge Solvoll
I'm guessing you have T5.0 installed. You have to install T5.1 to use 5.1 schema. On Wed, Dec 9, 2009 at 1:29 PM, marioosh.net wrote: > 2009/12/9, Mario Udina : > > hello! > > > > first of all you are using a > > href="#" in the link indicates the page You are linking to, and the > > quotation

Re: [beginner] - PageLink doesn't work

2009-12-09 Thread marioosh.net
2009/12/9, Mario Udina : > hello! > > first of all you are using a > href="#" in the link indicates the page You are linking to, and the > quotation part is the location of the page. > hashmark indicates the current page. > > I use pagelinks like this: > > > > regards, > mario > > On Wed, Dec 9,

Re: [beginner] - PageLink doesn't work

2009-12-09 Thread Thiago H. de Paula Figueiredo
Em Wed, 09 Dec 2009 09:48:21 -0200, marioosh.net escreveu: I'm starting with Tapestry. I choose 5 because is newer... and i suppouse is better ;) Right choice! Tapestry 5 is better and easier. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, de

Re: Select does not submit form on change

2009-12-09 Thread sandeepraj singh
Hi Inge, I am not able to raise the jira since i am sitting behind a firewall. Do you mind raising it? Thanks Sandeep Inge Solvoll-2 wrote: > > I think this should be a JIRA issue in T5. If you don't specify an id for > a > submit, T5 generates name="submit", which breaks form javascript. T5 >

Re: Select does not submit form on change

2009-12-09 Thread Inge Solvoll
I think this should be a JIRA issue in T5. If you don't specify an id for a submit, T5 generates name="submit", which breaks form javascript. T5 should generate a safe default name for submit component. On Wed, Dec 9, 2009 at 11:24 AM, sandeepraj singh < sandeepraj.si...@atosorigin.com> wrote: >

Re: [beginner] - PageLink doesn't work

2009-12-09 Thread marioosh.net
I'm starting with Tapestry. I choose 5 because is newer... and i suppouse is better ;) 2009/12/9, Ulrich Stärk : > You are mixing things up here. jwc...@... was the syntax used by Tapestry 3 > and 4 while the XML > namespace declaration indicates that you want to use Tapestry 5 (although > you got

Re: [beginner] - PageLink doesn't work

2009-12-09 Thread Ulrich Stärk
You are mixing things up here. jwc...@... was the syntax used by Tapestry 3 and 4 while the XML namespace declaration indicates that you want to use Tapestry 5 (although you got the schema URL wrong). So you might want to start over by telling us what version you are using and what you want to a

Re: [beginner] - PageLink doesn't work

2009-12-09 Thread Thiago H. de Paula Figueiredo
Hi! Em Wed, 09 Dec 2009 09:25:35 -0200, marioosh.net escreveu: I have PageLink like that: http://tapestry.apache.org/schema/tapestry_5_0_2.xsd";> The correct schema is http://tapestry.apache.org/schema/tapestry_5_1_0.xsd go page2 ... jwcid was used in Tapestry 4. If you're using Tape

Re: [beginner] - PageLink doesn't work

2009-12-09 Thread Kristian Marinkovic
are you using T4 or T5? there have been some major changes. g, kris "marioosh.net" 09.12.2009 12:31 Bitte antworten an "Tapestry users" An Tapestry users Kopie Thema Re: [beginner] - PageLink doesn't work What do you mean check the source ? 2009/12/9, Ashwanth Kumar : > Use this

Re: [beginner] - PageLink doesn't work

2009-12-09 Thread marioosh.net
What do you mean check the source ? 2009/12/9, Ashwanth Kumar : > Use this: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd > > - Ashwanth > > On Wed, Dec 9, 2009 at 4:55 PM, marioosh.net wrote: > >> I have PageLink like that: >> >> http://tapestry.apache.org/schema/tapestry_5_0_2.xsd";> >>

Re: [beginner] - PageLink doesn't work

2009-12-09 Thread Mario Udina
hello! first of all you are using a href="#" in the link indicates the page You are linking to, and the quotation part is the location of the page. hashmark indicates the current page. I use pagelinks like this: regards, mario On Wed, Dec 9, 2009 at 12:25 PM, marioosh.net wrote: > I have Pa

Re: [beginner] - PageLink doesn't work

2009-12-09 Thread Ashwanth Kumar
Use this: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd - Ashwanth On Wed, Dec 9, 2009 at 4:55 PM, marioosh.net wrote: > I have PageLink like that: > > http://tapestry.apache.org/schema/tapestry_5_0_2.xsd";> > ... > go page2 > ... > > > I see link, but nothing happens when i click on i

Re: Login Filter,

2009-12-09 Thread sandeepraj singh
Hi Thiago, I created my own AccessController dispatcher but i have entered into another problem One first access to any page, redirection to Login page happens but it is without any stylesheet. My order of configuration is configuration.add( "AccessController", accessControlle

Re: [beginner] - PageLink doesn't work

2009-12-09 Thread Ashwanth Kumar
Did u chk the source?? - Ashwanth On Wed, Dec 9, 2009 at 4:55 PM, marioosh.net wrote: > I have PageLink like that: > > http://tapestry.apache.org/schema/tapestry_5_0_2.xsd";> > ... > go page2 > ... > > > I see link, but nothing happens when i click on it. > > -- > Pozdrawiam, > Mariusz > > --

[beginner] - PageLink doesn't work

2009-12-09 Thread marioosh.net
I have PageLink like that: http://tapestry.apache.org/schema/tapestry_5_0_2.xsd";> ... go page2 ... I see link, but nothing happens when i click on it. -- Pozdrawiam, Mariusz - To unsubscribe, e-mail: users-unsubscr...@tapest

Re: t5 handling events by components, event handling sequence

2009-12-09 Thread kamiseq
yes eventually I did so *BUT* answering your question, it -in my opinion- how tab component renders doesn't depend on page context, because it just groups/organise content of the page and if removed page remains unchanged. component model depends on context but it is given by page and component is

Re: Select does not submit form on change

2009-12-09 Thread sandeepraj singh
Hi, Its because, when you do not assign t:id to a submit button, it assigns name="submit" which has a conflict with any other submit in your page(even through java Script) i got it working with t:id="My Submit" then even on Change works. This is such an irritating error that we have put it our

Re: Select does not submit form on change

2009-12-09 Thread sandeepraj singh
What was your way out mite.How did you get it working But anyways, do you think writing a java script for submitting a select should be the ideal way that it should be working? Thanks Sandeep Mite wrote: > > At last. This way works. > > This is the second time you get me out of the mud. :)

Re: Select does not submit form on change

2009-12-09 Thread Inge Solvoll
I solved this problem just a few weeks ago myself :) It is a very bad bug that is very hard to track down, the only error is "submit is not a function". The solution is to assign an id to your submit button, like this: . You should always do that anyway, it makes code clearer and it is easier to t