Re: Noob problem with Guessing Game tutorial

2010-05-11 Thread Sergey Didenko
Hi Phil, how did you setup your project? Try moving your .tml files into the same folder where the corresponding .java files are. Also make sure that first line of java files - "package org.apache.tapestry5.tutorial.pages" corresponds to their location - something/org/apache/tapestry5/tutorial/p

Re: [ANN] JumpStart 4.7 released

2010-05-07 Thread Sergey Didenko
Hi Geoff, there is an error on "http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/state/ejb3"; " Source code: JNDIServicesLocator.java -- The file was not found. Path given was /WEB-INF/sourcecode/business/src/main/java/jumpstart/util/JNDIServicesLocator

Re: Answering my own JEE6/Tapestry Question [LONG]

2010-05-06 Thread Sergey Didenko
Hi Pierce, Could you share what you think of this approach now, 2 months later? Do you still think it makes sense to combine Tapestry and EJBs (application server)? Regards, Sergey. ( http://old.nabble.com/Answering-my-own-JEE6-Tapestry-Question--LONG--td28098096.html ) On Wed, Mar 31, 2010 at

Re: Discussion

2009-12-23 Thread Sergey Didenko
A few thoughts from this discussion: Tapestry site needs: 1. immediately visible search field over all valuable resources, like wiki. We were discussing custom google search that makes it. 2. A few more diagrams, like http://tapestry.apache.org/tapestry5.1/images/component-render-states.png

Re: Affortable Hosting solutions for Tapestry WebApps

2009-12-18 Thread Sergey Didenko
http://slicehost.com is reliable and has a great support Depending on traffic needs, their sister service http://rackspacecloud.com(AKA mosso.com ) can be better alternative. Their support is also great.

Re: Netbeans 6.7 tapestry 5 plugin support

2009-11-12 Thread Sergey Didenko
Hi, does anybody uses this T5 plugin for Netbeans? ("nbtapestrysupport", see below). Does it work all right? On Mon, Jun 15, 2009 at 9:07 AM, iberck wrote: > > Hi I'm developing a netbeans plugin for tapestry 5 tested on windows xp > The supported features are: > > > Feel free to download f

Re: Re: [Tapestry Central] Next Steps for Tapestry

2009-11-09 Thread Sergey Didenko
I would prioritize the directions in the following way: 1) T5.1.1.x with important bugfixes 2) The website ( the future book can be just a compilation and extension of website materials) 3-4) T5.2 and book - To unsubscribe, e-m

Re: Tapestry 5 and Clojure

2009-11-01 Thread Sergey Didenko
Thanks! On Sat, Oct 31, 2009 at 4:02 PM, Howard Lewis Ship wrote: > I suppose you could use Clojure for back end logic that is > traditionally implemented as IoC services.  Using proxy and/or > genclass, you might even be able to have Clojure functions be the > implementation of service interface

Tapestry 5 and Clojure

2009-10-31 Thread Sergey Didenko
Can anyone advise best practices on using Tapestry 5 with Clojure? Tapestry 5 is a good choice if I want to use Clojure widely, isn't it? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-

Re: Page methods guidelines ...

2009-10-14 Thread Sergey Didenko
May be this will help you: http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/navigation/whatiscalledandwhen On Sun, Oct 11, 2009 at 11:40 AM, Gunnar Eketrapp wrote: > Hi! > > I have been porting a web app to T5 for some weeks now and have some > questions on how you folks do! > > I s

Re: DDOS emergency button for Tapestry 5?

2009-10-14 Thread Sergey Didenko
It is more effective to use reverse proxy like nginx as a frontend. And use it to cut ddos requests. You will need to setup it with a rule like "if the request does not contain auth cookie - send error.html ". May be more complex one because this can be hijacked with a fake cookie. Even more effe

Re: Problems using upload inside an ajax zone

2009-10-12 Thread Sergey Didenko
All solutions are either java/flash based or pretty hacky. See http://stackoverflow.com/questions/166221/how-to-upload-file-jquery - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: us

Re: Script Error:Tapestry is undefined

2009-10-07 Thread Sergey Didenko
Well, you can search "Tapestry is undefined" on the mail list. See for example http://www.nabble.com/-T5.1.0.5--'Tapestry'-is-undefined-JavaScript-error-on-form-submit-td23834056.html On Wed, Oct 7, 2009 at 8:53 AM, Vidya Sivadas wrote: > > I  have a login page where I am using an external javas

Re: T5 / 404 / with jetty and reloading ....

2009-10-07 Thread Sergey Didenko
I saw this a few times. It was always after a live reloading. May be after I saved one new class/tml file and before I saved another dependent changes. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additiona

Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

2009-10-05 Thread Sergey Didenko
Thanks. I'm planning to make it in the future. >> BTW, is there a simple way to change the bundled Prototype for Google >> CDN's one? ( >> http://ajax.googleapis.com/ajax/libs/prototype/1.6.1/prototype.js >> ) > > Not a simple way, as that would defeat Tapestry's JavaScript aggegation. > >>

Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

2009-10-04 Thread Sergey Didenko
BTW, is there a simple way to change the bundled Prototype for Google CDN's one? ( http://ajax.googleapis.com/ajax/libs/prototype/1.6.1/prototype.js ) >> Tapestry is nice enough to bundle the Prototype and Scriptaculous >> libraries it's client-side support is wired against, which is very >> convi

Re: About stateless applications

2009-09-30 Thread Sergey Didenko
Another alternative is to pass page activation context as action context, then initialize and return component as AJAX response: The code may require some cleanup, but the idea is the following: tml: ... java: @Parameter private long someId @Component private

Re: Accessing page context from a component

2009-09-28 Thread Sergey Didenko
I see, we are actually talking about "state in page" vs "state in component" approaches. >> the component encapsulates the knowledge about specific >> url parameters that it needs > So given the above this appears to me to be paradoxical, if you are going to > encapsulate the url parameters then

Re: Accessing page context from a component

2009-09-22 Thread Sergey Didenko
Chakra words reminds me of the interesting idea for components to have their independent activation context. That page is not aware of. In this case the component encapsulates the knowledge about specific url parameters that it needs. And can be reused on different pages without altering them. For

Re: form that create an object

2009-09-22 Thread Sergey Didenko
Hi Limonn, you need a public setter for your User object. > Class com.limonn.pages.Form does not contain a property named 'name' (within > property expression 'name'). Available properties: class, > componentResources, user > > > because in the class page I have > > private User user > > it is th

Re: T5: On-site edition of messages (translation) ?

2009-09-22 Thread Sergey Didenko
Hi Nicolas, GNU gettext may interest you if you have complex cases like a lot of plurals. It has nice tool support. Unfortunately you will loose Tapestry component-binded message bundles in this case. - To unsubscribe, e-mail: us

Re: New Tapestry Website - Final review

2009-09-22 Thread Sergey Didenko
About the search - as I wrote above I think the search button should be on the every page. May be it would be good to have checkboxes "include maillist" and so on. The mail list is pretty important resource for T5, but a bit messy. May be it's ok to create this search based on the custom google s

Re: New Tapestry Website - Final review

2009-09-22 Thread Sergey Didenko
I like the user guide to be updated "out-of-the-cycle" with marks like: " Tapestry can now automatigically frobnicate the groznard via the " - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional c

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 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: switch between tml and component

2009-09-18 Thread Sergey Didenko
Looms works ok for me on Eclipse Ganymede (3.4.2) P.S. Loom is pretty old BTW On Thu, Sep 17, 2009 at 5:15 PM, Alfonso Quiroga wrote: > Yes, I have eclipse configured so tml files are shown as JSP files, > and I use a specific tapestry DTD for auto-completion, that works > perfect. I was wonderi

Re: Website preview - update

2009-09-14 Thread Sergey Didenko
Documentation menu has a scrollbar. I think it's better to get rid of it. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: New Tapestry tutorial -> documentation structure

2009-09-14 Thread Sergey Didenko
I think it's important to show reusability of a custom component in this tutorial. It's better to be something practical. For example "ShortUserInfo" - a component that shows a user avatar, his name and date of registration. It can be used in the end of every forum post and every user article. >

Re: Website preview - update

2009-09-14 Thread Sergey Didenko
Sebastian, first of all thanks for your efforts! Grouping links into categories (menus) is a very good thing. I have a few suggestions: 1. "http://tapestry.laliluna.de/"; : 1.1 "Apache Tapestry is an open-source framework" - add "component-oriented" . As for me it's a very important feature to

Re: T5: access some user session from another thread

2009-09-10 Thread Sergey Didenko
I see, this question is not in the Tapestry field probably. I should use HttpSessionListener. On Thu, Sep 10, 2009 at 4:57 PM, Sergey Didenko wrote: > How can I delete a user session not from his request but from another > thread in T5? > > Suppose user deletion happens on a regular

T5: access some user session from another thread

2009-09-10 Thread Sergey Didenko
How can I delete a user session not from his request but from another thread in T5? Suppose user deletion happens on a regular basis. But the user to be deleted can be logged in. How can I delete not just database record for that user but also invalidate his current session objects if they exist?

Re: Projects and sites powered by Tapestry

2009-09-09 Thread Sergey Didenko
BTW, it's worth to remind again everyone who is going to publish their site urls, to close the access to ".class" and ".tml" files . On Tue, Sep 8, 2009 at 6:46 PM, Massimo Lusetti wrote: > On Tue, Sep 8, 2009 at 5:27 PM, Thiago H. de Paula > Figueiredo wrote: > >> Hi! >> >> I guess this was alre

Re: Where did all the components come from?

2009-09-05 Thread Sergey Didenko
I made a temporary hackish solution for this, see http://wiki.apache.org/tapestry/Tapestry5HowToVisualizeComponentHierarchy . Hope this helps. On Thu, Jun 18, 2009 at 7:29 PM, Erick Erickson wrote: > An utter Tapestry newbie here, although I was at some recent training Howard > gave. > > My questi

Re: [ANN] JumpStart 4.5 released 1 September

2009-09-03 Thread Sergey Didenko
Thanks Geoff! - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re:

2009-09-03 Thread Sergey Didenko
Hi Oliver, see https://issues.apache.org/jira/browse/TAP5-711 On Tue, Sep 1, 2009 at 10:25 AM, Oliver Bauer wrote: > Hello, > > i have some problems with the submit component and the parameter t:image. > The following works fine with T5.1.0.5 > > >   > > > and as expected the following methods

discussion: why-did-you-stop-using-tapestry

2009-09-02 Thread Sergey Didenko
I think it would be interesting for us to read this discussion, just to concentrate again on what can be improved in T5. Also good comments can help the public image of T5. http://stackoverflow.com/questions/1303438/why-did-you-stop-using-tapestry -

Re: [ANN] JumpStart 4.4 released

2009-09-01 Thread Sergey Didenko
Hi Kalle, It looks like you need to use onActivate() in your case. Could you give us a sample code, so we can understand you better? Regards, Sergey. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional

advanced localization

2009-08-30 Thread Sergey Didenko
Hi, I'm studying advanced localization techniques right now, and realised that T5 message bundles has no framework support for plural forms. Are there any solutions that take into account tapestry component hierarchies? Of course it is possible to just use GNU gettext solution, but it knows nothi

Re: Component LinkSubmit doesn't work

2009-08-24 Thread Sergey Didenko
http://tapestry.apache.org/tapestry5.0/ http://tapestry.apache.org/tapestry5.0/apidocs/ On Wed, Aug 19, 2009 at 2:55 PM, Borut Bolčina wrote: > By the way, what is the url of T 5.0.18 and its API? - To unsubscribe, e-mail: users

Re: Zones and blocks inside components

2009-08-24 Thread Sergey Didenko
Alternatively you can use the outside loop index value instead of "generateRandomUniqueString()" On Tue, Aug 18, 2009 at 2:15 PM, Juan E. Maya wrote: > > Yes that did the trick. Somehow i didn't think about it :S > > Thanks! > > On Tue, Aug 18, 2009 at 8:36 AM, Inge Solvoll wrote: > > You're righ

Tapestry IoC Idea: annotations for build and contribute methods

2009-08-17 Thread Sergey Didenko
Hi, What do you think about dedicated annotations that are alternative to buildXXX() and contributeXXX() name convention? I changed service names a few times and forgot to update my build and contribute methods. If I would code it with annotations, say @Build( serviceId = ServiceInterface.class

Re: tapestry request processing diagram

2009-08-17 Thread Sergey Didenko
Thanx, Uli! - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Organisation of Tapestry documentation

2009-08-12 Thread Sergey Didenko
I think it's a really good idea. Currently the newcomer has to follow all the links to estimate what is more important and what is less important. That takes a lot of time. On Thu, Aug 6, 2009 at 1:04 AM, Sebastian Hennebrueder wrote: > Hello, > > while working on my Tapestry evaluation article,

Re: Form component generates invalid xhtml

2009-08-04 Thread Sergey Didenko
No, it is not very important for me right now. On Tue, Aug 4, 2009 at 7:55 PM, Daniel Jones wrote: > > I'm also having this problem Sergey. Did you find a simple workaround? > > Daniel > >

Re: combine-scripts issue

2009-07-31 Thread Sergey Didenko
Yes, please, see (and vote for) https://issues.apache.org/jira/browse/TAP5-712 P.S. I have another thought what can be the reason. I will investigate this. On Thu, Jul 30, 2009 at 2:49 PM, Henning Petersen < henning.peter...@daenen4.de> wrote: > > I am experiencing seemingly random problems when

Re: [T5.1] Avoiding "new"

2009-07-29 Thread Sergey Didenko
Is it so bad to create new session user using explicit "new"? Regards, Sergey.

T5.1 default locale for app.properties: bug or feature?

2009-07-27 Thread Sergey Didenko
Hi, My application uses *"ru"* as default locale. It works ok for component message properties. I don't have *"acomponent.properties"* files, only *"acomponent_ru.properties" *and it work right. However when I create global message catalogue - *"app_ru.properties"*(without "app.properties"), it i

Re: Form component generates invalid xhtml

2009-07-27 Thread Sergey Didenko
Added. See https://issues.apache.org/jira/browse/TAP5-796 On Fri, Jul 24, 2009 at 5:12 PM, Sergey Didenko wrote: > I guess nobody have it working the right way, so I'm going to add a JIRA > issue. > > > On Thu, Jul 23, 2009 at 9:00 AM, Sergey Didenko > wrote: > > Yes

Re: Session lost when cookies disabled?

2009-07-27 Thread Sergey Didenko
" url without "jsessionid". On Mon, Jul 27, 2009 at 9:52 AM, Sergey Didenko wrote: > I have the same bug. > > I tried to catch it. > > It seems that ApplicationStateManager does not trigger url based session > tracking when setting a session object from a servi

Re: Session lost when cookies disabled?

2009-07-26 Thread Sergey Didenko
I have the same bug. I tried to catch it. It seems that ApplicationStateManager does not trigger url based session tracking when setting a session object from a service. But it works ok if there a "write" to session from a component. I will create a JIRA if there is no objections. Regards, Serg

Re: Howards last commit: 28th of april?

2009-07-26 Thread Sergey Didenko
Thanks for details, Howard. Happy refreshing the batteries! On Sun, Jul 26, 2009 at 12:07 AM, Howard Lewis Ship wrote: > No worries. > > I've been gearing up for the No Fluff Just Stuff symposium, learning > Clojure and Cappuccino (both fun!). > > I've been extending my workshop, improving existi

Re: Form component generates invalid xhtml

2009-07-24 Thread Sergey Didenko
I guess nobody have it working the right way, so I'm going to add a JIRA issue. On Thu, Jul 23, 2009 at 9:00 AM, Sergey Didenko wrote: > Yes, these are the first 2 lines of my Layout component: > > " > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>

Re: [T5] Problems with commitAfter

2009-07-24 Thread Sergey Didenko
Well, now it looks like Hibernate related problem. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: T5.1.0.5: StackMapTable format error

2009-07-24 Thread Sergey Didenko
Cameron, you would better use Javassist 3.9. Tapestry 5.1 distribution comes with that version. P.S. When I read all threads like this I'm so glad that set my dependencies manually without Maven. - To unsubscribe, e-mail: users-u

Re: [T5] Problems with commitAfter

2009-07-24 Thread Sergey Didenko
How do you check that data is not persisted, Jose? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: search hints for Tapestry 5

2009-07-24 Thread Sergey Didenko
It's a pity it does not let me to refine search by date. On Fri, Jul 24, 2009 at 9:37 AM, Ben Gidley wrote: > I use this > http://www.google.com/coop/cse?cx=016399560855919712413%3Awdbpuwqto88 - it > is a google coop search engine that searches the things listed in this > thread (and a few more) >

Re: search hints for Tapestry 5

2009-07-23 Thread Sergey Didenko
What sources and how do you check them against your keywords, Juan? Do you mean string search over the latest Tapestry core sources? On Thu, Jul 23, 2009 at 10:48 PM, Juan E. Maya wrote: > i will add jumpstart and checking the sources in the svn repository ---

Re: Component API?

2009-07-23 Thread Sergey Didenko
Dennis, I suggest you read Tapestry User Guide section in parallel with Jumpstart. P.S. I love Google email translating feature! :) >Hello Dennis, here your old work colleague Kai. If you somehow >Tapestry have the chance not to use: it is not used! It is a >Graus. It wants to do everything and

search hints for Tapestry 5

2009-07-23 Thread Sergey Didenko
Let's share how we search how to do certain things in Tapestry 5. That is my sequence: - search Guide. Google "site:tapestry.apache.org/tapestry5.1/guide keywords" - search Nabble, Google "intitle:tapestry intitle:user site:nabble.com keywords" - search Wiki. Google "site:wiki.apache.org/tapestry

Re: Activation Context of the Login page

2009-07-23 Thread Sergey Didenko
nk handler, following by optional redirect to any page you want. See tapestry docs. On Thu, Jul 23, 2009 at 10:21 AM, Stephan Windmüller wrote: > Sergey Didenko wrote: > >> Stephan, why do you invalidate the session inside onActivate()? >> onActivate is for activating pages. I

Re: Activation Context of the Login page

2009-07-22 Thread Sergey Didenko
Stephan, why do you invalidate the session inside onActivate()? onActivate is for activating pages. I guess onAction* handlers are better place for this code. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For add

Re: Form component generates invalid xhtml

2009-07-22 Thread Sergey Didenko
Yes, these are the first 2 lines of my Layout component: " http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";> " On Thu, Jul 23, 2009 at 12:30 AM, Ulrich Stärk wrote: > Did you set the correct doctype inside your templates? > -

Form component generates invalid xhtml

2009-07-22 Thread Sergey Didenko
I just encountered that Form generates invalid xhtml 1.0 strict - it puts "name" attribute to the "form" tag and that is invalid. '

Re: Pop up validation error bubbles

2009-07-22 Thread Sergey Didenko
Sorry, that turned out to be caused by " z-index: 1" property on my content. Sorry again. Regards, Sergey. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apac

Pop up validation error bubbles

2009-07-22 Thread Sergey Didenko
I propose to add .t-error-popup { z-index: 2; } into common Tapestry css. Without it popup errors are semi-hidden behind input labels, which looks ugly. I'm going to create a JIRA issue for that. Any remarks, objections? Regards, Sergey.

JumpStart 4.3 for T5.1.0.5: old documentation links

2009-07-22 Thread Sergey Didenko
Hi Geoff, I suggest to change links from T5.0 to T5.1 documentation. For example on page http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/input/creatingvalidators1 there are links like "Form Input and Validation" that point to T5.0 docs. On Thu, Jul 16, 2009 at 8:59 AM, Geoff Calle

Re: T5 Page field persistance and multithread problems

2009-07-21 Thread Sergey Didenko
I think that can be done on a framework level with optional parameter or annotation such as: @Persist("lazy-thread-safe-session") that locks in the beginning of the request and unlocks in the end. However I don't think it's a priority feature. As for me it's enough to just put reminder to "Pers

Re: Tapestry-Spring Security & Page Testing

2009-07-21 Thread Sergey Didenko
What a beautiful solution! Thanks, Paul. On Fri, Jul 17, 2009 at 4:43 PM, Paul Field wrote: > I have an IOC module TestInfrastructureModule that is included only in my > tests. It contains this contribution: > - To unsubscribe,

Re: t5: moving to 5.1.0.5 and can't find @Inject

2009-07-21 Thread Sergey Didenko
Thanks for the link! I used findjar.com to resolve dependencies manually. On Thu, Jul 16, 2009 at 3:45 PM, Joakim Olsson wrote: > Hi, > > I would recommend you (and anyone else looking for classes) to take a > look at http://www.jarvana.com > > http://www.jarvana.com/jarvana/search?search_type=cl

Re: Fragments, Validation and IE

2009-07-20 Thread Sergey Didenko
Hi Geoffrey, try to disable combine-scripts and gzip-compression: -Dtapestry.combine-scripts=false -Dtapestry.gzip-compression-enabled=false for the command line. Does it change anything? - To unsubscribe, e-mail: users-unsubs

Re: Is AjaxFormLoop example working for you?

2009-07-18 Thread Sergey Didenko
It works in IE8, Firefox 3.5, Opera 9.64. Windows XP, no proxy, Ukraine If I open the page, then delete session cookies, "add row" fails. May be some firewalls, antiviruses just cut session id cookie and that is the reason. - To

Re: [ANN] JumpStart 4.3 released - for T5.1.0.5

2009-07-16 Thread Sergey Didenko
http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/tables/ajaxformlooptailored1 works good for me. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.a

Re: [ANN] JumpStart 4.3 released - for T5.1.0.5

2009-07-16 Thread Sergey Didenko
Thanks, Geoff! Jumpstart was very useful for me. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: T5 Asset URLs

2009-07-16 Thread Sergey Didenko
Did you try "Simplified Paths" on http://tapestry.apache.org/tapestry5.1/guide/assets.html ? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: How to inform a user that a form is submitted?

2009-07-15 Thread Sergey Didenko
What about writing the number of iteration "0 forms submitted", "1 form submitted", "2 forms submitted" and so on. You can also show "the latest submit was at 15:56" message. - To unsubscribe, e-mail: users-unsubscr...@tapestry.a

Re: authorization for components

2009-07-13 Thread Sergey Didenko
Thanks for the tips. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

authentication: remember me feature

2009-07-13 Thread Sergey Didenko
Is it true that the only ways to have "remember me" feature for authentication are 1) to use spring security 2) to implement it manually (and call it in Dispatcher or RequestFilter) As I understand chenillekit-access does not support it, right? Regards, Sergey --

authorization for components

2009-07-13 Thread Sergey Didenko
Hi, How do you implement authorization for components? I mean when the component is not authorized for the current user it outputs nothing. I made a small mixin for this, but may be there is a solution with Annotations? Regards, Sergey. --

Re: T5.1 components inside loops not getting reset

2009-07-12 Thread Sergey Didenko
Hi Jack, the right way to use render methods is: void setupRender() { // initializer code a = 0; } void beginRender() { // mutator code a++; } See the "Component Rendering". setupRender is for initia

Re: Decoration of setupRender, beginRender from a service

2009-07-08 Thread Sergey Didenko
Turned out Mixins are the perfect tool for this problem. They helped me to eliminate super.setupRender() calls in the beginning of every parameterized component setupRender(). Thanks for the clue, Thiago! On Sun, Jul 5, 2009 at 3:45 PM, Sergey Didenko wrote: > Not yet. I needed that to refac

Re: Decoration of setupRender, beginRender from a service

2009-07-05 Thread Sergey Didenko
at 1:03 AM, Thiago H. de Paula Figueiredo wrote: > Em Sat, 04 Jul 2009 04:33:10 -0300, Sergey Didenko > escreveu: > Have you already implemented what you needed? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache

Decoration of setupRender, beginRender from a service

2009-07-03 Thread Sergey Didenko
Hi, is it possible to make something like this? Component.java: @Inject DecoratingService service; void setupRender() { logger.info(" I'm not the first... "); } DecoratingService.java : void decorateSetupRender() { // somehow decorate hosting component setupRender() logger.info(

Re: T5: Include Google Analytics Code

2009-07-03 Thread Sergey Didenko
May be it's related to these javascript bugs: http://www.nabble.com/-T5.1.0.5--%27Tapestry%27-is-undefined-JavaScript-error-on-form-submit-tp23834056p23839494.html "TAP-712: Form component: javascript error in IE when submitting form" - Strange, I can't find this discussion on nabble, the summary

Re: T5 ajax examples

2009-06-27 Thread Sergey Didenko
See "Ajax & JavaScript" in "User Guide" pane on this page: http://tapestry.apache.org/tapestry5.1/ On Sun, Jun 28, 2009 at 12:10 AM, haipeng du wrote: > What is the good reference for ajax in T5? I did not find any good > documentation from T5 website.

Re: Environmental annotation

2009-06-26 Thread Sergey Didenko
Thank for the tip, Kristian. So probably this bug is not important then. On Fri, Jun 26, 2009 at 9:56 AM, Kristian Marinkovic wrote: > when compiled your inner class will get an own .class file > in the components package. tapestry will load any class > from the components package and enhance it.

Re: Environmental annotation

2009-06-25 Thread Sergey Didenko
Howard, I don't want to be ontrusive, but I mean environmental services. They are not obligated to be component classes. RenderSupport, FormSupport, TabModel are not component classes, right? ( http://tapestry.apache.org/tapestry5.1/guide/env.html ) My report is related to a problem of fetching a

Re: Environmental annotation

2009-06-25 Thread Sergey Didenko
Well, I don't use @Environmental inside the inner class. Ok, then why @Environmental works for OuterClass which is placed outside .base, .page, .component packages? To reproduce just replace InnerClass for OuterClass in the previous example. And add OuterClass.java: package mytapp; public class

Re: Environmental annotation

2009-06-25 Thread Sergey Didenko
Sure, I talk about component classes. Sorry for the unclear message. I played with the bug and reproduced it in the simple form. It happens when I put an inner class of the page into environment and use @Environmental. It does not happen when I refactor that inner class out of the page. It does n

Re: parent rendering phases: must be called explicitly

2009-06-25 Thread Sergey Didenko
Sorry, that was the other bug. It works as it is documented. On Thu, Jun 25, 2009 at 6:34 PM, Thiago H. de Paula Figueiredo wrote: > On Thu, Jun 25, 2009 at 12:26 PM, Sergey > Didenko wrote: >> This behaviour seems to contradict >> http://tapestry.apache.org/tapestry5.1/gu

parent rendering phases: must be called explicitly

2009-06-25 Thread Sergey Didenko
Is it ok that parent render phases must be called explicitly from my components? I.e. I must create DerivedComponent.java: protected void beginRender() { super.beginRender(); } otherwise BaseComponent beginRender() is not called. This behaviour seems to contrad

Environmental annotation

2009-06-25 Thread Sergey Didenko
Hi, is it ok, that @Environmental does not work for user defined classes? I expected it to work after reading http://tapestry.apache.org/tapestry5.1/guide/env.html. But it does not. I use environment.peek() instead. Regards, Sergey. --

Re: Type-safe PageLink version

2009-06-23 Thread Sergey Didenko
Vjeran, thanks a lot. I am really surprised to see that line "Link link = pageRenderLinkSource.createPageRenderLink( page.getClass() );" indeed passes page context! I see this is documented http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/services/PageRenderLinkSource.html

Re: T5.1: get the current page context from a component

2009-06-13 Thread Sergey Didenko
E" that I implemented by contributing ParamaterMap ValueEncoder as was advised on this list for optional parameters. On Sat, Jun 13, 2009 at 1:58 AM, Thiago H. de Paula Figueiredo wrote: > Em Fri, 12 Jun 2009 18:54:59 -0300, Sergey Didenko > escreveu: > >> And call onPassivate(

Re: Decoration passed by parameter. Possible?

2009-06-13 Thread Sergey Didenko
Thanks. On Sat, Jun 13, 2009 at 4:06 AM, Lukasz Jazgar wrote: > 2009/6/12 Sergey Didenko : >> Could you help me, I can't understand how it is wired together. >> >> What is passed as its "by" parameter. > > Generally, Block with inside, which I name &qu

Re: Switch from Prototype to jQuery?

2009-06-13 Thread Sergey Didenko
Ok, I'll move js related discussion there. > If anyone is interested, I'll be documenting my progress here: > http://piraya-blog.blogspot.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands

Re: T5.1: get the current page context from a component

2009-06-12 Thread Sergey Didenko
: > Em Fri, 12 Jun 2009 18:18:10 -0300, Sergey Didenko > escreveu: > >> Well, how I can inject not just ConcretePage but the current page? So >> the component can be reused on different pages. > > @Inject ComponentResources and then call its getPage() method. You m

Re: T5.1: get the current page context from a component

2009-06-12 Thread Sergey Didenko
Well, how I can inject not just ConcretePage but the current page? So the component can be reused on different pages. > You could also inject the container into the component, and then reference > your context somehow directly. Using "inherit" binding also means parameter declaration as I unders

  1   2   >