Re: searchengine bots and tapestry

2010-02-11 Thread Sergey Kashin
With "if (request.isXHR())" all work fine. Thx On Thu, 11 Feb 2010 08:55:53 -0200 "Thiago H. de Paula Figueiredo" wrote: On Thu, 11 Feb 2010 05:39:33 -0200, Sergey Kashin wrote: Google browse that pages by GET method, but tapestry except a POST method. As yo

searchengine bots and tapestry

2010-02-10 Thread Sergey Kashin
I have a problem with Ajax pages and google bot. Then google bot view ajax pages tapestry 5.1.0.5 throw many exceptions. like "Caused by: java.lang.RuntimeException: A component event handler method returned the value Block[Body of page:goodzone, at context:page.tml, line 61]. Return type or

Re: Tapestry URL Rewriting Support and form submit

2009-12-27 Thread Sergey Kashin
now all clear, thx On Sat, 26 Dec 2009 16:18:23 -0200 "Thiago H. de Paula Figueiredo" wrote: Em Thu, 24 Dec 2009 16:03:50 -0200, Sergey Kashin escreveu: if i click submit button in form (name frm in page) rewrite works not correctly: url looks like /rewrited_tst/testpage bu

Re: Tapestry URL Rewriting Support and form submit

2009-12-24 Thread Sergey Kashin
return RewriteRuleApplicability.INBOUND; } }; configuration.add("rule2", rule2); On Thu, 24 Dec 2009 23:48:01 +0600 "Sergey Kashin" wrote: Thanks for fast reply. You're absolutely right! I'am not rewrite .form. Big thanks! On Thu, 24 Dec 2009 10:01:22

Re: Tapestry URL Rewriting Support and form submit

2009-12-24 Thread Sergey Kashin
Thanks for fast reply. You're absolutely right! I'am not rewrite .form. Big thanks! On Thu, 24 Dec 2009 10:01:22 -0200 "Thiago H. de Paula Figueiredo" wrote: Em Thu, 24 Dec 2009 09:14:10 -0200, Sergey Kashin escreveu: Hello. Hi! All works fine except sub

Tapestry URL Rewriting Support and form submit

2009-12-24 Thread Sergey Kashin
Hello. I have create one simple rule for url rewriting. as described in manual http://tapestry.apache.org/tapestry5.1/guide/url-rewriting.html All works fine except submit action. Tapestry redirect to rewrite page except original if submit action occurs. Example: rule: rewrite /test to /t

Re[2]: question

2009-09-25 Thread Sergey Kashin
Stop on ognl, prop is not powerful. Creating java method public boolean isSufficientPlayers() { return playersOnline > 100; } instead ognl:playersOnline > 100 is not good idea 1. You move presentation in to java code 2. You lost control on viewable presentation code, 100 or 50 or 1000 palyersOnli

Re[2]: How to create Ajax request from t:select

2009-08-19 Thread Sergey Kashin
veral times in the last weeks. JEM> U can use chenillikit's onEvent mixin: JEM> http://www.chenillekit.org/chenillekit-tapestry/ref/org/chenillekit/tapestry/core/mixins/OnEvent.html JEM> or do something like: http://tinybits.blogspot.com/ JEM> 2009/8/19 Sergey Kashin : >>

How to create Ajax request from t:select

2009-08-19 Thread Sergey Kashin
Hello! In tapestry 4.1 I can create ajax request from select component a very simple way: @EventListener(elements = "city", events = "onchange", submitForm = "form", validateForm = false) public void citySelected(IRequestCycle cycle) { . cycle.getResponseBuilder().updateComponent("zip");

Various bug of EventListener in version 4.1.2-4.1.6

2008-10-16 Thread Sergey Kashin
Hello Tapestry List, In various Tapestry version EventListener works with various bugs I' have use beanform with code like this: - - java code --

Re[2]: T4.1.2 EventListener _ symbol in the name of element

2007-07-18 Thread Sergey Kashin
Hello Could you please specify Jira issue identificator, cant't find it. Thursday, July 19, 2007, 8:06:18 AM, you wrote: JK> There's a JIRA report open for itI guess I'll work on that next after I JK> finish what is bugging me first. ;) JK> On 7/18/07, Patrick Klein <[EMAIL PROTECTED]> wr

T4.1.2 EventListener _ symbol in the name of element

2007-07-18 Thread Sergey Kashin
Hello I'm found one strange bug in EventListener, EventListener method not execute if '_' symbol occurs in in the name of element, pageBeginRender method in that situation executed. Ajax create request for onchange request. Usally i'm use '_' symbol in beanform for custom input, there for it very

Re[4]: Problem witn TAP 4.1.2 and operation in template

2007-07-15 Thread Sergey Kashin
Hello Andrea, Thanks, all works fine with created component. I have not thought about component somehow, thanks for idea. Monday, July 16, 2007, 5:48:20 AM, you wrote: AC> Sergey, AC> it's enough easy, you can create a component like this for example jwcid="@your:Expression" var="ognl:varia

Re[4]: Multiple skins with Tapestry

2006-05-22 Thread Sergey Kashin
JC> Have you seen the "CSS Zen Garden"? You'd be surprised what you can do with JC> CSS... No,but i'm not planed to use CSS, pages will be so different, may be different components bettwen pages, in two words not only visual differents need something like localaize pages -- Best regards, Serg

Re[2]: Multiple skins with Tapestry

2006-05-22 Thread Sergey Kashin
Hello Matthew, Monday, May 22, 2006, 9:42:12 PM, you wrote: PM> Drop tapestry for the ww/sitemesh combo hmm, would you describe this method more detailed? i'll planed to use various folders with designs /design1/Home.html /design2/Home.html /design3/Home.html and one view class /Home.java --

Re[2]: Multiple skins with Tapestry

2006-05-22 Thread Sergey Kashin
Hello mike, Monday, May 22, 2006, 9:17:08 PM, you wrote: mj> css? no, disigns will be very different. Need various templates >> >> How to create multiple designs with tapestry for one application? >> >> may be good idea to use folders for skins >> design1/Home.html >> design2/Home.html >> design