Re: Accessing autoconnect-parameter by reference, not by value

2009-11-09 Thread Alexey Hanin
Oh, I finally found what I was doing wrong :) Just misread the documentation. The parameter bound to the property which is named exactly as component. In fact only one property can be bound. On Mon, Nov 9, 2009 at 2:14 PM, Alexey Hanin wrote: > Seriously, guys? Anyone? > > On Sun, Nov 8

Re: t5: Link s addParameter and null

2009-11-09 Thread Alexey Hanin
gt;        if (parameters == null) >            parameters = CollectionFactory.newMap(); > >        parameters.put(parameterName, value); >    } > > it is making sure the value is not blank, but I believe query string having > blank value is often. > > > Alexey Hani

Re: t5: Link s addParameter and null

2009-11-09 Thread Alexey Hanin
Just make it empty string when it's null: lnk.addParameter("country", country == null ? "" : country); On Mon, Nov 9, 2009 at 3:24 PM, Angelo Chen wrote: > > Hi, > > I have a query string that I need to append to a  Link object, the query > string is: > > ?gender=M&country= > > I got two questio

Re: Accessing autoconnect-parameter by reference, not by value

2009-11-09 Thread Alexey Hanin
Seriously, guys? Anyone? On Sun, Nov 8, 2009 at 8:55 AM, Alexey Hanin wrote: > Hmm... Seems like autoconnect does not work for me as I expect. > > I checked in setupRender() inside EditorComponent and found that > 'entity' is null, while Page.setupRender() assigns new val

Re: Accessing autoconnect-parameter by reference, not by value

2009-11-07 Thread Alexey Hanin
Hmm... Seems like autoconnect does not work for me as I expect. I checked in setupRender() inside EditorComponent and found that 'entity' is null, while Page.setupRender() assigns new value to its same named property. What am I doing wrong? On Sat, Nov 7, 2009 at 7:50 PM, Alexey Ha

Accessing autoconnect-parameter by reference, not by value

2009-11-07 Thread Alexey Hanin
onSuccess() { // save entity here } } class EditorComponent { @Property @Parameter(autoconnect = true) private EntityObject entity; } Which way do I have to start to dig to? Alexey. - To unsubscribe, e-mail: users-unsubscr

Accessing autoconnect-parameter by reference, not by value

2009-11-07 Thread Alexey Hanin
onSuccess() { // save entity here } } class EditorComponent { @Property @Parameter(autoconnect = true) private EntityObject entity; } Which way do I have to start to dig to? Alexey. - To unsubscribe, e-mail: users

RE: recursion in PropertyConduitSource?

2009-06-24 Thread Alexey Chmutov
Thanks, Howard I was looking for an info how to fix this "recursion in PropertyConduitSource" error since the beginning of May. It emerged that just version switch from 2.7.6 to 3.1.1 was needed. Is there any way to make/use maven to resolve such dependency problems? Alexey. ---

RE: best book for T5

2009-06-15 Thread Alexey Chmutov
+1 Thanks, Alexey. -Original Message- From: Ivano Luberti [mailto:lube...@archicoop.it] Sent: Monday, June 15, 2009 11:23 AM To: Tapestry users Subject: Re: best book for T5 I'm also interested. BTW I'm surprised this kind of books can be printed in a language other th

Error on page request: Construction of service 'PropertyConduitSource' has failed due to recursion

2009-06-03 Thread Alexey Chmutov
5bc982e.service($HttpServletRequestHandle r_121a5bc982e.java) $HttpServletRequestHandler_121a5bc9828.service($HttpServletRequestHandle r_121a5bc9828.java) org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:127) Thanks, Alexey.

Re: [T5] RadioGroup and Radio holding enum values

2008-10-08 Thread Alexey Hanin
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Radio.html > > HTH, > > Uli > > Am Mi, 8.10.2008, 15:10, schrieb Alexey Hanin: >> Hello, >> >> I'm trying to use RadioGroup with Enum values and getting >> ClassC

[T5] RadioGroup and Radio holding enum values

2008-10-08 Thread Alexey Hanin
A, B } I supposed literal representation must be evaluated to corresponding enum values and wise-versa, but I got a ClassCastException. I found this way logical and I really don't want to use getters for every element of enum. Is there any ways to achieve this? Tapestry version is 5.0.15 Regar

[T5] Passing page state with AJAX request

2008-09-27 Thread Alexey Hanin
Hello, Recently I started to examine AJAX features in T5 and I already have a lot of question of course, but I'd like to go through the each very deeply. The question is: how can I send an AJAX request from within the control and also include component (page) state? I've created a mixin similar to

Re: Call Javascript After Request Processing

2008-09-23 Thread Alexey Frishman
range that I haven't found it in T5... On Mon, Sep 22, 2008 at 4:45 PM, Alexey Frishman <[EMAIL PROTECTED]>wrote: > Forgot to tell, I use T5 > > > On Mon, Sep 22, 2008 at 4:36 PM, Alexey Frishman < > [EMAIL PROTECTED]> wrote: > >> Hi all, >> >> I

Re: Integration with GWT

2008-09-22 Thread Alexey Frishman
n a basic but complete tutorial on using GWT in T5. > Anyone want to share some sample setup/source code or give some pointers? > > On Sun, Sep 21, 2008 at 1:13 PM, Alexey Frishman > <[EMAIL PROTECTED]>wrote: > > > Hi, > > > > I use T5 in my project as main web

Re: Call Javascript After Request Processing

2008-09-22 Thread Alexey Frishman
Forgot to tell, I use T5 On Mon, Sep 22, 2008 at 4:36 PM, Alexey Frishman <[EMAIL PROTECTED]>wrote: > Hi all, > > I there any possibility to invoke some Javascript code just after > processing an AJAX request? > Can I attach my own event listeners in Javascript to t

Call Javascript After Request Processing

2008-09-22 Thread Alexey Frishman
Hi all, I there any possibility to invoke some Javascript code just after processing an AJAX request? Can I attach my own event listeners in Javascript to the component with the ability to be called after AJAX request processing?

Integration with GWT

2008-09-21 Thread Alexey Frishman
Hi, I use T5 in my project as main web framework. The project itself is a sort of simple web GIS, based on Google Maps. There is great widget library for GWT to serve Google Maps with all their AJAX stuff, so I decided to use it also. Please, give me some information whether it's possible to inte

T5: Scrambled unicode localized message

2007-05-25 Thread Alexey Hanin
T5" (http://wiki.apache.org/tapestry/Utf8EncodingInT5 ). Browser determines encoding correctly. I've set encoding to UTF-8 in every place and still no success. Please, tell me am I am missing something? Regards, Alexey.

Re: RadioGroup and Event Listener

2006-08-01 Thread Alexey
As you wish :) http://issues.apache.org/jira/browse/TAPESTRY-1039 -- View this message in context: http://www.nabble.com/RadioGroup-and-Event-Listener-tf2034012.html#a5598651 Sent from the Tapestry - User forum at Nabble.com. --

Re: RadioGroup and Event Listener

2006-08-01 Thread Alexey
I could help you, but I'm a newbie in Tapestry and maybe you could give a idea there I can start from. -- View this message in context: http://www.nabble.com/RadioGroup-and-Event-Listener-tf2034012.html#a5598250 Sent from the Tapestry - User forum at Nabble.com. ---

RadioGroup and Event Listener

2006-08-01 Thread Alexey
Hello everyone, I had download last one snapshot of 4.1 branch and playing with it. And I really like new event annotations but right now I find a break where annotations cann't help me :) or maybe somebody could find a briliant solution of my problem. Ok, this a task description - I've got two p