user input validation and field dependencies

2009-09-15 Thread Ilya Obshadko
ter? Thanks in advance. -- Ilya Obshadko

multiple onActivate methods in page handler

2009-09-17 Thread Ilya Obshadko
this.bookCode = book; this.topicId= topicId; } we would have public void onActivate ( String book ) { this.bookCode = book; } public void onActivate ( String book, String topicId ) { this.bookCode = book; this.topicId= topicId;

Re: multiple onActivate methods in page handler

2009-09-17 Thread Ilya Obshadko
mming, whilst > the onActivate doesn't seem very robust. > I solved the above issue by using a dummy for the id if it didn't exist > e.g. > bookTitle/0 > -- Ilya Obshadko

Re: Multiple onActivate() methods ...

2009-09-24 Thread Ilya Obshadko
nism at all ... > > A hint anyone? I'll buy you a beer next time you are in town! > > Thanks in advance, > Gunnar Eketrapp > Stockholm Sweden > -- Ilya Obshadko

Re: A survey about redeployment time in the Java EE world

2009-09-24 Thread Ilya Obshadko
ys related to the web tier. :) > > -- Ilya Obshadko

Re: A survey about redeployment time in the Java EE world

2009-09-24 Thread Ilya Obshadko
; > Use Jetty instead: faster, simpler, more modular. :) Take a look at the > reloadable attribute in the Context tag. Try making your context not > reloadable. > I'm totally OK with Jetty, but it demonstrates pretty the same behavior if running inside Eclipse IDE server adaptor. Probably I'm missing something obvious? -- Ilya Obshadko

Re: A survey about redeployment time in the Java EE world

2009-09-24 Thread Ilya Obshadko
th. > Thank you, I think this is it. Do you know if sysdeo's plugin works with Eclipse Galileo? > Note that while I use Tomcat for development my designers happily run > mvn jetty:run and edit the live templates without ever really having > to understand and worry about the underlying machinery. > > -- Ilya Obshadko

DateField customization

2009-11-16 Thread Ilya Obshadko
all black), but this can be probably worked around using CSS. -- Ilya Obshadko

simulate form submission events without Submit component

2009-11-17 Thread Ilya Obshadko
simulate 'real' submit behavior. I believe it must be simple, but I'm stuck. Any ideas? -- Ilya Obshadko

Re: simulate form submission events without Submit component

2009-11-18 Thread Ilya Obshadko
... anybody? On Tue, Nov 17, 2009 at 10:03 PM, Ilya Obshadko wrote: > I have a task that looks quite simple, but still have a problem > accomplishing it. > > Suppose you have a form with Select control, and onChange event on that > control should generate form submission event. &

Re: DateField customization

2009-11-18 Thread Ilya Obshadko
... anybody, again? :) On Tue, Nov 17, 2009 at 9:05 AM, Ilya Obshadko wrote: > Could someone give me an idea how do I customize built-in DateField > component? > > I would like to disable Today/None buttons, and make some sort of context > dependencies in calendar itself (for exam

Re: simulate form submission events without Submit component

2009-11-18 Thread Ilya Obshadko
On Wed, Nov 18, 2009 at 5:59 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Wed, 18 Nov 2009 11:22:03 -0200, Ilya Obshadko > escreveu: > > ... anybody? >> > > Thanks! I thought about something similar, but I was hoping that it's possi

Re: simulate form submission events without Submit component

2009-11-18 Thread Ilya Obshadko
ogous to multiple submit buttons). If someone is interested in source code, let me know. On Wed, Nov 18, 2009 at 9:29 PM, Ilya Obshadko wrote: > On Wed, Nov 18, 2009 at 5:59 PM, Thiago H. de Paula Figueiredo < > thiag...@gmail.com> wrote: > >> Em Wed, 18 Nov 2009 11:

Re: simulate form submission events without Submit component

2009-11-18 Thread Ilya Obshadko
On Thu, Nov 19, 2009 at 1:10 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Wed, 18 Nov 2009 20:00:22 -0200, Ilya Obshadko > escreveu: > > > Finally, I've managed to create generic-purpose mixin that can trigger >> form submit on any type of

"missing key" for localized resources on Linux

2009-11-23 Thread Ilya Obshadko
lasspath on Mac OS X works normally. Does anybody have an idea? -- Ilya Obshadko

Re: "missing key" for localized resources on Linux

2009-11-23 Thread Ilya Obshadko
> DH > http://www.gaonline.com.cn > > - Original Message - > From: "Ilya Obshadko" > To: "Tapestry users" > Sent: Monday, November 23, 2009 6:07 PM > Subject: "missing key" for localized resources on Linux > > > > I've starte

determine current page context from component

2009-11-24 Thread Ilya Obshadko
onSuccess () just redirects to the same page, and context is missing after submit. -- Ilya Obshadko

Re: determine current page context from component

2009-11-24 Thread Ilya Obshadko
Thanks, it worked. On Tue, Nov 24, 2009 at 5:17 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Tue, 24 Nov 2009 09:07:53 -0200, Ilya Obshadko > escreveu: > > > Is there a way to determine current page context from within a component? >> &g

Re: Change Event on Select Component

2009-11-25 Thread Ilya Obshadko
n > > > > > > > > > __ > > __ > > Veja quais são os assuntos do momento no Yahoo! +Buscados > > http://br.maisbuscados.yahoo.com > > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > > > > > > > Veja quais são os assuntos do momento no Yahoo! +Buscados > http://br.maisbuscados.yahoo.com > -- Ilya Obshadko

RSS feed output using Tapestry

2009-12-11 Thread Ilya Obshadko
writer ) rendering method Both ways it ends up with error: "Page Rss did not generate any markup when rendered. This could be because its template file could not be located, or because a render phase method in the page prevented rendering." What am I doing wrong? Thanks in advance. -- Ilya Obshadko

Re: RSS feed output using Tapestry

2009-12-12 Thread Ilya Obshadko
iredo < thiag...@gmail.com> wrote: > Em Fri, 11 Dec 2009 16:57:28 -0200, Ilya Obshadko > escreveu: > > > Could someone point out how to create RSS feed using Tapestry page? >> > > Create a page and return a StreamResponse (in this case, a > TextStreamR

Re: RSS feed output using Tapestry

2009-12-12 Thread Ilya Obshadko
> > Why not? Just curious. :) > > The RSS feed is complicated quite a lot, it must support various feeds from various sections of the site, so I'm trying to encapsulate the logic only in page handler, rather than in both handler and template. -- Ilya Obshadko

API for obtaining absolute URL of the page?

2009-12-12 Thread Ilya Obshadko
notifications and any other sort of content that is not viewed on the website itself. I know that it's possible to @Inject HttpServletRequest and obtain all necessary data from it, but maybe I'm missing some easier way to do that? -- Ilya Obshadko

Re: API for obtaining absolute URL of the page?

2009-12-15 Thread Ilya Obshadko
solute URL of a page: > > @Inject > private LinkSource linkSource; > > @Inject > private ComponentResources resources; > > public void create() { >String absolute = > linkSource.createPageRenderLink(resources.getPageName(), > false).toAbsoluteURI(); > } > >

dynamically switching layouts

2009-12-17 Thread Ilya Obshadko
In case I need to switch layouts dynamically (for example to create "printable version" of the same page) - is that possible to accomplish the task without creating a 'switch' construct between different blocks in the original layout component? Thanks. -- Ilya Obshadko

Re: dynamically switching layouts

2009-12-17 Thread Ilya Obshadko
CSS styleheet in the past. You could have a >> link that switches to one of those and the templat html can remain the same. >> > > There's no need to switch CSS files: just add media="print" to the print > CSS. It will only be used when printing or previewing printing. > > -- Ilya Obshadko

Re: dynamically switching layouts

2009-12-17 Thread Ilya Obshadko
I was reading exactly the same page and it doesn't look very optimistic :) On Thu, Dec 17, 2009 at 10:21 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Thu, 17 Dec 2009 19:03:38 -0200, Ilya Obshadko > escreveu: > > > Looks like there's a lot

linksubmit doesn't work on localized pages

2010-03-18 Thread Ilya Obshadko
s a last problem preventing me from deploying a really big project, so any help is very much appreciated. Thanks again. -- Ilya Obshadko

Re: linksubmit doesn't work on localized pages

2010-03-18 Thread Ilya Obshadko
r is mangling the query > path in some way? > > On Thu, Mar 18, 2010 at 12:49 PM, Ilya Obshadko > wrote: > > I have a very strange blocker bug: linksubmit component doesn't work at > all > > on localized pages. > > > > I have an AJAX form in a sidebar t

Re: linksubmit doesn't work on localized pages

2010-03-20 Thread Ilya Obshadko
Any ideas yet? On Fri, Mar 19, 2010 at 12:30 AM, Ilya Obshadko wrote: > No, the problem is that I don't see any request on the server side. > > No request is being sent at all. After clicking on linksubmit component it > calls waitForPage() which is handling form submit even

Re: linksubmit doesn't work on localized pages

2010-03-21 Thread Ilya Obshadko
experience has shown that when things don't work for one user that > do work for other users, the final analysis almost invariably turns > out to be some custom bit of code or JavaScript added by the user and > not Tapestry. > > On Sat, Mar 20, 2010 at 1:41 PM, Ilya Obshadko >

custom Expires: header?

2010-03-29 Thread Ilya Obshadko
How do I add custom logic for the Expires: header in my module? - contributeRequestHandler doesn't seem to work - decorateResponse doesn't seem to work I'm just curious - at which point Expires: 0 header is set and how could I override this default behavior? -- Ilya Obshadko

Re: custom Expires: header?

2010-03-29 Thread Ilya Obshadko
n, Mar 29, 2010 at 3:06 PM, Ben Gidley wrote: > If you look at tapestry.ioko.com there is an open source library there > that > does this - it is called Cache Control. > > > Ben Gidley > > www.gidley.co.uk > b...@gidley.co.uk > > > On Mon, Mar 29, 2010 at 10:45 AM

Re: Tapestry5 Anchor Usage for Navigation

2013-10-25 Thread Ilya Obshadko
--- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Ilya Obshadko

Re: Tapestry5 Anchor Usage for Navigation

2013-10-27 Thread Ilya Obshadko
client to the server, when requesting for a resource. > > > > > So dealing with anchors is completely client-side job. > > Of course you can redirect from server-side to anchored URL. > > > > On Sat, Oct 26, 2013 at 6:54 AM, Ilya Obshadko >wrote: > > > Found

Re: Tapestry5 Anchor Usage for Navigation

2013-10-27 Thread Ilya Obshadko
it works very well for > simple cases where you simply want to trigger zone update from client-side > on hash changed (or initial page load). > > > > On Sun, Oct 27, 2013 at 12:41 PM, Ilya Obshadko >wrote: > > > That's understandable. However, *client-side* part

Re: Tapestry5 Anchor Usage for Navigation

2013-11-05 Thread Ilya Obshadko
nge events and updates specified zone - if client-side JavaScript is disabled, it falls back to normal ActionLink behavior I suppose it might be handled using JS DOM manipulation in @AfterRender phase. Are there any other options to do that? On Sun, Oct 27, 2013 at 4:24 PM, Ilya Obshadko wrote: &g

Re: Tapestry5 Anchor Usage for Navigation

2013-11-05 Thread Ilya Obshadko
Yes, that looks much better than what I've originally proposed. Thanks. On Tue, Nov 5, 2013 at 11:22 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 05 Nov 2013 17:11:17 -0200, Ilya Obshadko > wrote: > > I've researched this problem a little

Re: Tapestry5 Anchor Usage for Navigation

2013-11-08 Thread Ilya Obshadko
improve it are kindly appreciated. On Wed, Nov 6, 2013 at 6:41 AM, Ilya Obshadko wrote: > Yes, that looks much better than what I've originally proposed. Thanks. > > > On Tue, Nov 5, 2013 at 11:22 PM, Thiago H de Paula Figueiredo < > thiag...@gmail.com> wrote: >

jQuery autocomplete stops working when SUPPRESS_PROTOTYPE is true

2013-11-08 Thread Ilya Obshadko
This is weird, and I can't find what causes the error. If JQuerySymbolConstants.SUPPRESS_PROTOTYPE is set to true, autocomplete list disappears on hover. If I switch it back to false, everything starts working correctly again. Any ideas? -- Ilya Obshadko

Re: jQuery autocomplete stops working when SUPPRESS_PROTOTYPE is true

2013-11-09 Thread Ilya Obshadko
on prototype or other > > significant defects. > > > > John > > - Original Message - > > From: Ilya Obshadko > > To: Tapestry users > > Sent: Saturday, November 09, 2013 7:38 AM > > Subject: jQuery autocomplete stops working when SU

Re: jQuery autocomplete stops working when SUPPRESS_PROTOTYPE is true

2013-11-09 Thread Ilya Obshadko
Well, looks like listening to the history events conflicts with jquery/autocomplete mixin somehow. jquery-hashchange plugin has same issue: when hashchange event is handled, autocomplete no longer works. On Sun, Nov 10, 2013 at 12:31 AM, Ilya Obshadko wrote: > I don't completely unders

Re: jQuery autocomplete stops working when SUPPRESS_PROTOTYPE is true

2013-11-09 Thread Ilya Obshadko
tions. > see https://github.com/got5/tapestry5-jquery/wiki/FAQ > and the first commit about SUPPRESS_PROTOTYPE > > https://github.com/got5/tapestry5-jquery/commit/0fcf73467eacea340f8770dc18ac9278b5db9c96 > > > > 2013/11/9 Ilya Obshadko > > > I don't

Re: jQuery autocomplete stops working when SUPPRESS_PROTOTYPE is true

2013-11-10 Thread Ilya Obshadko
ficult to dig. > > > 2013/11/10 Ilya Obshadko > > > Thanks, that makes sense. Any ideas on hashchange event handling > > compatibility? > > > > > > On Sun, Nov 10, 2013 at 3:29 AM, François Facon > >wrote: > > > > > Oups! My bad. >

Re: Best way to implement continuously background jobs

2013-11-11 Thread Ilya Obshadko
rnate session and any PerThreadValue > instances. > -- Ilya Obshadko

Re: Best way to implement continuously background jobs

2013-11-11 Thread Ilya Obshadko
This is it, thanks! On Tue, Nov 12, 2013 at 11:25 AM, Dmitry Gusev wrote: > > http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/ReloadAware.html > > > On Tue, Nov 12, 2013 at 4:16 AM, Ilya Obshadko >wrote: > > > I have implemented ParallelExecutor

session management and threads synchronization

2014-01-17 Thread Ilya Obshadko
correct to synchronize on *this*? Or should I synchronize on HTTP Session instance instead? Thanks in advance. -- Ilya Obshadko

kaptcha component reloading issues with Firefox

2014-01-20 Thread Ilya Obshadko
RI(), "width", producer.getWidth(), "height", producer.getHeight()); resources.renderInformalParameters(writer); writer.end(); return false; } It might be a good idea to fix it in the main branch. -- Ilya Obshadko

Re: kaptcha component reloading issues with Firefox

2014-01-22 Thread Ilya Obshadko
obviously overrides the first one. Is it going to be fixed? On Tue, Jan 21, 2014 at 12:59 PM, Ilya Obshadko wrote: > I'm not sure if anyone else has that issue: reloading the zone containing > kaptcha component does not trigger image reloading, so the whole thing > becomes unusable (

Re: kaptcha component reloading issues with Firefox

2014-01-23 Thread Ilya Obshadko
Okay, https://issues.apache.org/jira/browse/TAP5-2275 On Fri, Jan 24, 2014 at 8:46 AM, Dimitris Zenios wrote: > You should start by writing a jira bug report > On 23 Jan 2014 00:09, "Ilya Obshadko" wrote: > > > So I have discussed the issue with Kaptcha library auth

Re: Problems with accessing my SSO from the service layer. request related NPE.

2014-01-24 Thread Ilya Obshadko
#x27;s. > > > -- > Thiago H. de Paula Figueiredo > > ----- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Ilya Obshadko

Re: Problems with accessing my SSO from the service layer. request related NPE.

2014-01-24 Thread Ilya Obshadko
e to achieve the same goal by overriding RestEasy request filter. On Fri, Jan 24, 2014 at 11:07 PM, Ilya Obshadko wrote: > Just run into this thread with a similar problem. I'm implementing REST > service (using tapestry-resteasy) for mobile clients. >

Tapestry with Jetty behind https frontend

2014-02-17 Thread Ilya Obshadko
re () || "https".equalsIgnoreCase ( request.getHeader ( "X-Forwarded-Proto" ) ) ; } - which is not very convenient, because I have to do that every time I use, for example, Link.toAbsoluteUri ( isSecure ). Is there any better way to do that? -- Ilya Obshadko

Re: Tapestry with Jetty behind https frontend

2014-02-17 Thread Ilya Obshadko
you can provide a custom > implementation of isSecure() by decorating or overriding it in your > AppModule. > On 17 Feb 2014 08:30, "Ilya Obshadko" wrote: > > > Probably this has been asked already, but I couldn't manage to find a > > solution that works. &g

Re: Tapestry with Jetty behind https frontend

2014-02-17 Thread Ilya Obshadko
2014 at 8:03 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 17 Feb 2014 17:31:53 -0300, Ilya Obshadko > wrote: > > I understand how to do that with service advisors, but decoration remains >> unclear. How do I override a single method from the

Re: Tapestry with Jetty behind https frontend

2014-02-17 Thread Ilya Obshadko
(advisor never gets called). I'm stuck. On Tue, Feb 18, 2014 at 8:34 AM, Ilya Obshadko wrote: > I have already implemented it using method advice, so that > Request.isSecure () returns true when frontend sets appropriate header. > > However things turn strange at this point

Re: Tapestry with Jetty behind https frontend

2014-02-17 Thread Ilya Obshadko
for T5 also does this. You could snoop > around the code in there until someone here gets you an answer that meets > your needs. > > > On Mon, Feb 17, 2014 at 5:52 PM, Ilya Obshadko >wrote: > > > I've researched a little bit more and found BaseURLSource s

Re: Tapestry with Jetty behind https frontend

2014-02-17 Thread Ilya Obshadko
Forgot to mention: in this case, you don't need any custom Jetty connectors. Having true in your connector configuration is sufficient. On Tue, Feb 18, 2014 at 10:50 AM, Ilya Obshadko wrote: > I've finally managed to find a correct solution. It's relatively easy once &g

Re: Tapestry with Jetty behind https frontend

2014-02-17 Thread Ilya Obshadko
I've posted it several hours ago. Did it reach the mailing list? I can create a Gist, if you'd like. On Tue, Feb 18, 2014 at 1:18 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 17 Feb 2014 19:52:32 -0300, Ilya Obshadko > wrote: > > I

Re: Tapestry with Jetty behind https frontend

2014-02-19 Thread Ilya Obshadko
e way. > > Thank you! By the way, is there any reason preventing Tapestry team from incorporating X-Forwarded-* headers support into Tapestry itself? This kind of configuration is pretty standard nowadays. -- Ilya Obshadko

Re: Tapestry with Jetty behind https frontend

2014-02-19 Thread Ilya Obshadko
. >> > > Feel free to post a JIRA about that. I have created public gist https://gist.github.com/xfyre/9104238 and posted https://issues.apache.org/jira/browse/TAP5-2291 Thank you! -- Ilya Obshadko

JavaScript method for context encoding

2014-04-12 Thread Ilya Obshadko
d explicit parameter name in all event handlers. -- Ilya Obshadko

Re: JavaScript method for context encoding

2014-04-12 Thread Ilya Obshadko
k like an > elegant solution: you need to use @RequestParameter annotation and explicit > parameter name in all event handlers. > > -- > Ilya Obshadko > > -- Ilya Obshadko

Re: JavaScript method for context encoding

2014-04-13 Thread Ilya Obshadko
This mixin uses prototype's > "observe" but could be tweaked to use jquery's "on". > -- Ilya Obshadko

dynamic forms concept & possible solutions

2014-04-14 Thread Ilya Obshadko
cause at this point form is not yet completed; user receives non-relevant validation errors - FormInjector might be a solution, but it can only add something to a form, rather than update its current controls So none of the above can actually solve the problem. Are there any other approaches to this? -- Ilya Obshadko

Re: dynamic forms concept & possible solutions

2014-04-14 Thread Ilya Obshadko
; for putting that code. Thanks for pointing this! :) > > > >> >> On Mon, Apr 14, 2014 at 2:19 PM, Thiago H de Paula Figueiredo < >> thiag...@gmail.com> wrote: >> >> On Mon, 14 Apr 2014 07:36:27 -0300, Ilya Obshadko < >>> ilya.obsha...@gmail.

form submit on pressing Enter inside a TextField

2014-04-17 Thread Ilya Obshadko
t have any idea (yet) how to handle it otherwise. Any thoughts? -- Ilya Obshadko

Re: form submit on pressing Enter inside a TextField

2014-04-17 Thread Ilya Obshadko
or CSS to do tricky things, like move the > positions > > of the submit buttons when they render so that the one you want to submit > > on Enter is first in the DOM, but can be elsewhere on the screen. > > > > mrg > > > > > > > > On Thu,

Re: form submit on pressing Enter inside a TextField

2014-04-20 Thread Ilya Obshadko
so onSelected is triggered on first visible submit I'm a little bit confused about this. Probably that's possible to create a workaround using t:submit hidden field, but it's not completely clear for me how this field is processed. On Fri, Apr 18, 2014 at 7:50 AM, Ilya Obshadk

Re: form submit on pressing Enter inside a TextField

2014-04-20 Thread Ilya Obshadko
function(event) { if (event.keyCode == 13) { event.preventDefault(); jQuery('#' + spec.submitId).click(); return false; } }); }); }; It's possible to extend it further, to make Enter handling more sele

Re: permgen error

2014-04-25 Thread Ilya Obshadko
13) > at > org.apache.tapestry5.ioc.internal.util.ConstructorInvoker.invoke(ConstructorInvoker.java:48) > at > org.apache.tapestry5.ioc.internal.util.LoggingInvokableWrapper.invoke(LoggingInvokableWrapper.java:42) > at > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74) > at > org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87) > at > org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1121) > at > org.apache.tapestry5.ioc.internal.util.ConstructionPlan.createObject(ConstructionPlan.java:60) > at > org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:61) > at > org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator$1.invoke(OperationTrackingObjectCreator.java:45) > at > org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74) > at > org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.invoke(PerThreadOperationTracker.java:87) > at > org.apache.tapestry5.ioc.internal.RegistryImpl.invoke(RegistryImpl.java:1121) > at > org.apache.tapestry5.ioc.internal.OperationTrackingObjectCreator.createObject(OperationTrackingObjectCreator.java:49) > at > org.apache.tapestry5.ioc.internal.SingletonServiceLifecycle.createService(SingletonServiceLifecycle.java:29) > at > org.apache.tapestry5.ioc.internal.LifecycleWrappedServiceCreator.createObject(LifecycleWrappedServiceCreator.java:46) > at > org.apache.tapestry5.ioc.internal.AdvisorStackBuilder.createObject(AdvisorStackBuilder.java:63) > > -- Ilya Obshadko

autocomplete data source

2014-05-16 Thread Ilya Obshadko
suggested methods to make autocomplete data source totally independent from current component? -- Ilya Obshadko

Re: autocomplete data source

2014-05-18 Thread Ilya Obshadko
ibernate results for subsequent calls? > - Original Message - > From: Ilya Obshadko > To: Tapestry users > Sent: Thursday, May 08, 2014 1:33 PM > Subject: autocomplete data source > > > It turns out that running an event handler (onProvideCompletionsFrom

Re: autocomplete data source

2014-05-18 Thread Ilya Obshadko
.isXHR()) // Do AJAX > { ... } > else // Do Normal > { ... } > } > > mrg > > > > On Thu, May 8, 2014 at 8:33 AM, Ilya Obshadko >wrote: > > > It turns out that running an event handler (onProvideCompletionsFrom) > > in the same component/page

Re: autocomplete data source

2014-05-18 Thread Ilya Obshadko
gative.com.au/jumpstart7/examples/navigation/onactivateandonpassivate/3 > > HTH, > > Geoff > > On 8 May 2014, at 10:33 pm, Ilya Obshadko wrote: > > > It turns out that running an event handler (onProvideCompletionsFrom) > > in the same component/page may result in variou

event triggering inside form loop

2014-05-20 Thread Ilya Obshadko
it is clicked, the event is triggered only on the last component in the loop. I know that p:defer parameter is supposed to handle this, but adding p:defer="false" doesn't help. Any ideas how to handle this? -- Ilya Obshadko

Re: event triggering inside form loop

2014-05-20 Thread Ilya Obshadko
ide a component enclosed by a loop, is it supposed to be handled by the SAME component that contained this submit element? On Tue, May 20, 2014 at 5:14 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 20 May 2014 10:05:11 -0300, Ilya Obshadko > wrote: > > Rega

Re: event triggering inside form loop

2014-05-20 Thread Ilya Obshadko
On Tue, May 20, 2014 at 5:35 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 20 May 2014 10:26:22 -0300, Ilya Obshadko > wrote: > > Already tried this. Context provided to onSelected handler contains value >> from the last iteration as well, s

Re: Customize autocomplete mixin match list?

2014-05-20 Thread Ilya Obshadko
DEMEY >wrote: > > > Or you can use the one provided by the Tapestry jQuery project. I have > > already customized the rendering by using this jQuery UI configuration : > > http://jqueryui.com/autocomplete/#custom-data > > > > Manu > > > > > > 2013/5/16 Lance Java > > > > > You could extend the AutoComplete mixin and override > > > generateResponseMarkup. > > > > > > > > > > > -- > > Emmanuel DEMEY > > Ingénieur Etude et Développement > > ATOS Worldline > > +33 (0)6 47 47 42 02 > > demey.emman...@gmail.com > > http://emmanueldemey.fr/ > > > > Twitter : @EmmanuelDemey > > > -- Ilya Obshadko

Re: event triggering inside form loop

2014-05-20 Thread Ilya Obshadko
u described it should work). But, if we replace it with and t:submit is placed INSIDE t:mycomponent, we have a problem I've just described. I'm not sure if it's indeed a Tapestry bug or it's just not intended to work this way. -- Ilya Obshadko

Re: event triggering inside form loop

2014-05-21 Thread Ilya Obshadko
rk, I just moved my logic to client-side, resetting fields using JS and then submitting the form. That gave me the result I needed. > Might it be better to use Loop instead of AjaxFormLoop and do one AJAX > Form per row? > > > http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax

Re: event triggering inside form loop

2014-05-21 Thread Ilya Obshadko
On Tue, May 20, 2014 at 11:09 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 20 May 2014 14:45:48 -0300, Ilya Obshadko > wrote: > > Yes, this is it. I have a component which is looped over. >> >> class MyComponent { >>@

Re: [T5.4] Component Rendering / Form Events

2014-05-26 Thread Ilya Obshadko
nts and best, > Thilo > ----- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Ilya Obshadko

[T5.4] Bootstrap and jQuery related JS libraries

2014-05-26 Thread Ilya Obshadko
y contains everything needed to work out of the box? Or do I have to import Bootstrap libraries manually? Because all Bootstrap controls just stopped working, there are no event handlers installed and it seems to me that bootstrap.js file bundled with Tapestry is very minimal one. -- Ilya Obshadko

Re: [T5.4] Bootstrap and jQuery related JS libraries

2014-05-26 Thread Ilya Obshadko
Turns out I've got "Uncaught TypeError: undefined is not a function" in dom.js, line 134. Don't have any idea where it might come from. On Mon, May 26, 2014 at 8:26 PM, Ilya Obshadko wrote: > I've just started migrating from 5.3 to 5.4-beta3. My application already &

Re: [T5.4] Bootstrap and jQuery related JS libraries

2014-05-26 Thread Ilya Obshadko
I did. Still got the same error. On Mon, May 26, 2014 at 10:25 PM, Lance Java wrote: > Have you swapped the infrastructure provider from prototype to jquery? > > Details here: > https://github.com/bobharner/blog/wiki/Jumping-Into-Tapestry-5.4-Alpha-3 > On 26 May 2014 18:00,

Re: [T5.4] Bootstrap and jQuery related JS libraries

2014-05-26 Thread Ilya Obshadko
>> > >> then, make a bootstrap distro directory in your webapp context. then > put a > >> a full bootstrap distro in it. > >> > >> Walla, you are running "whatever" version of bootstrap with any of the > the > >> widgets. > >>

Re: [T5.4] Bootstrap and jQuery related JS libraries

2014-05-26 Thread Ilya Obshadko
:1143 Module.init require.js:774 callGetModule require.js:1170 context.completeLoad require.js:1544 context.onScriptLoad require.js:1671 Any other ideas? On Tue, May 27, 2014 at 9:31 AM, Ilya Obshadko wrote: > Thanks everyone, that's totally makes sense. > > > On Tue, May 27,

Re: [T5.4] Bootstrap and jQuery related JS libraries

2014-05-26 Thread Ilya Obshadko
? null : value); } return current; }; readAttribute is not defined (and I believe it shouldn't, because it's a part of Prototype API and I'm using jQuery as infrastructure provider). Any ideas? On Tue, May 27, 2014 at 10:07 AM, Ilya Obshadko wrote: > I trie

Re: [T5.4] Bootstrap and jQuery related JS libraries

2014-05-27 Thread Ilya Obshadko
public static void switchProviderToJQuery( MappedConfiguration Object> configuration ) > { > configuration.add( > SymbolConstants.JAVASCRIPT_INFRASTRUCTURE_PROVIDER, "jquery" ); > } > > -- > Chris > > > > On Tue, May 27, 2014 at 8:29 AM, Ilya Obshadko >w

Re: [T5.4] Bootstrap and jQuery related JS libraries

2014-05-27 Thread Ilya Obshadko
y infrastructure working. Verify that your module > is being loaded etc. > > > On Tue, May 27, 2014 at 11:08 AM, Ilya Obshadko >wrote: > > > Here's my version of contributeApplicationDefaults(): > > > > public static void contributeAp

Re: [T5.4] Bootstrap and jQuery related JS libraries

2014-05-27 Thread Ilya Obshadko
c etc But that's at least a place to start. On Tue, May 27, 2014 at 5:54 PM, Ilya Obshadko wrote: > From the previous posts it seems that I have already completed all the > necessary steps to get jQuery infrastructure working. But it doesn't. > > I just don't have an

[T5.4] autocomplete mixin issues

2014-05-29 Thread Ilya Obshadko
best option is to create my own typeahead.js-based mixin instead of default one? (That's not very difficult anyway) Any other suggestions? -- Ilya Obshadko

Re: [T5.4] autocomplete mixin issues

2014-05-30 Thread Ilya Obshadko
t; wrote: > Are you using the jQuery or Prototype infrastructure in your 5.4 projects? > If Prototype, I'd just copy the 5.3.x Autocomplete and use it. > > > On Thu, 29 May 2014 13:59:33 -0300, Ilya Obshadko > wrote: > > Just started to migrate my autocomplete-

[T5.4] radio groups doesn't work (beta3)

2014-06-02 Thread Ilya Obshadko
Turns out that RadioGroup/Radio doesn't work as expected in beta3. Form always submits the value belonging to first radio control in a group. Two questions then: 1) Is it a specific beta3 issue? 2) If so, is there any Maven repository with beta6? I couldn't find one. -- Ilya Obshadko

Re: [T5.4] radio groups doesn't work (beta3)

2014-06-02 Thread Ilya Obshadko
Thanks, update to beta6 has fixed the problem. On Mon, Jun 2, 2014 at 9:16 PM, Kalle Korhonen wrote: > Try out beta6, it's now in central: > > http://central.maven.org/maven2/org/apache/tapestry/tapestry-core/5.4-beta-6/ > . > > Kalle > > > On Mon, Jun 2

Re: event triggering inside form loop

2014-06-04 Thread Ilya Obshadko
propagation from child to parent inside a loop? Any other ideas? On Thu, May 22, 2014 at 9:07 AM, Ilya Obshadko wrote: > On Tue, May 20, 2014 at 11:09 PM, Thiago H de Paula Figueiredo < > thiag...@gmail.com> wrote: > >> On Tue, 20 May 2014 14:45:48 -0300, Ilya Obshadko < &g

[T5.4] Autocomplete mixin replacement

2014-06-05 Thread Ilya Obshadko
data keys you are using in suggestion template if you do so) Feel free to use and improve it. If Tapestry contributors incorporate some of those ideas into Autocomplete mixin, that would be even better. Requirements: typeahead.js (bundled with Bloodhound) and Handlebars JS library. -- Ilya Obshadko

Re: File upload zone not working

2014-06-06 Thread Ilya Obshadko
; > -- > Thiago H. de Paula Figueiredo > Tapestry, Java and Hibernate consultant and developer > http://machina.com.br > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Ilya Obshadko

Re: [5.4.22] RequireJs custom path contribution - perhaps on Stacks or JavaScriptSupport

2014-06-10 Thread Ilya Obshadko
)); > >>> > >>> I thought it would be nice if it was possible somehow to contribute to > >>> requirejs configuration through stacks. > >>> That way they could be added to the requirejs config if the stack was > >> used. > >>> > >>> If it was a service (perhaps exposed through JavaScriptSupport) one > could > >>> also contribute on a page/component level..? > >>> > >>> I have no idea about the implications of this and if it's possible to > >>> accomplish, but could potentially help solving some more advanced use > >> cases. > >>> > >>> In any case I do need to find a solution pretty soon, so let me know if > >> you > >>> have any ideas or suggestions. > >>> > >>> Thanks > >>> Magnus > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > >> For additional commands, e-mail: users-h...@tapestry.apache.org > >> > >> > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Ilya Obshadko

  1   2   3   >