Fwd: Preventing Layout Reloading!!!

2014-08-16 Thread Sumanth
Hi Tapestry Gurus, I'm new to tapestry and I have a simple classic doubt. I'm working on a project where there is a layout component. I have certain other components which are part of this layout for example user login, messages from other user (equivalent to facebook top bar). Now if the user ha

Re: Preventing Layout Reloading!!!

2014-08-18 Thread Sumanth
Hi all, * If you click a link generated by EventLink, then you should see exactly *two* requests: the first one will respond with an HTTP 302 (REDIRECT) response and the second will respond with an HTTP 200 (OK) response which contains the whole page including the layout. >> >> Of course there may

Re: Event Bubbling Help Required.

2014-08-29 Thread Sumanth
There is already a solution provided by Howard Lewis Ship. I also hope this makes up available as an example in jumpstart or the documentation of tapestry itself as it is a common problem. It is as simple as just adding From"ComponentName" for each of the bubbling up event. For more explanation ple

Re: Event Bubbling Help Required.

2014-08-31 Thread Sumanth
pstart7/examples/component/eventbubblingwithcontext > > Geoff > > On 30 Aug 2014, at 8:44 am, Sumanth wrote: > > > There is already a solution provided by Howard Lewis Ship. I also hope > this > > makes up available as an example in jumpstart or the documentation of

Guava Cache , Auto scheduling

2014-08-31 Thread Sumanth
Hello guys, I have a component in which the values for the component is cached using guava cache. I want to auto update the cache every 10 seconds and I'm using ScheduledExecutorService to auto schedule the cache refresh but unfortunately it is not working for me and throwing exception. Any Hel

Different Zone Update's

2014-09-03 Thread Sumanth
i have a Zone(a table inside a zone containing notifications) and an actionlink to delete the selected notifications.(bulk delete). On delete of these notifications i want the count which is in layout component (mentioned above) to be updated. How can i do it? Thank you, Sumanth

Re: Different Zone Update's

2014-09-03 Thread Sumanth
other suggestions? > > On 4 Sep 2014, at 3:51 am, Thiago H de Paula Figueiredo < > thiag...@gmail.com> wrote: > > > On Wed, 03 Sep 2014 13:40:53 -0300, Sumanth > wrote: > > > >> Hello Experts, > > > > Hi! > > > >> > >> I have

Restricting components

2014-09-16 Thread Sumanth
Hi all, I wanted to know how can we make a component restrictive within an another component. As the best example for my situation here would be the jumpstart's tabs component. http://jumpstart.doublenegative.com.au/jumpstart7/examples/navigation/tabs . We have a and I want to make

Re: Restricting components

2014-09-16 Thread Sumanth
ahh ok, now I get it, why it is not necessary. On Tue, Sep 16, 2014 at 6:29 PM, Lance Java wrote: > I'm not sure that's a good idea. This will mean you can't use , > or any other components which generate might help in rendering tabs. > On 16 Sep 2014 14:46, "

A submit button block inside an ajax form causing problem with disabling the input.

2014-12-02 Thread Sumanth
Hello Guys, Let me explain what I'm trying to achieve first, I have a table with select button and below the table a submit button "Add me to the table". If he adds himself, his name is shown on the table and the button is removed. He can delete himself from the table by selecting the select butt

Re: A submit button block inside an ajax form causing problem with disabling the input.

2014-12-03 Thread Sumanth
honor this? > > You could mark up the submit in another way (a data attribute or something > else that allows you to find it in the DOM) > > -- > Chris > > On Tue, Dec 2, 2014 at 7:54 PM, Sumanth wrote: > > > Hello Guys, > > > > Let me explain what I

How to access tapestry validation results inside jquery

2014-12-03 Thread Sumanth
Hello Gurus, I have a ajax form component with a submit button. My requirement is to change the label of the button to "submitting.." and disable the button on the form submit. This form component has a select input field. The script to disable the button. define([ "jquery" ], function($) {

Issues with Forms Inside Zone and Outside Zone Behaviour Tapestry 5.4

2015-01-06 Thread Sumanth
Hello All, Consider this situation that, we have two forms with text boxes , one inside ajax, other outside ajax // java side void onValidateFromzone1() { selectDateForm.recordError(firstnameTxt, "Hi Txt"); } void onValidateFromOutsideZone()

Re: Issues with Forms Inside Zone and Outside Zone Behaviour Tapestry 5.4

2015-01-06 Thread Sumanth
are you specifying the clientside validation? Have you tried adding > t:validate="required" or some other validation type to your textfield? > > On Tue, Jan 6, 2015 at 10:17 AM, Sumanth wrote: > > > Hello All, > > > > Consider this situation that, we have two

How to know "Redirected From URL"

2015-02-03 Thread Sumanth
Hello Guys, I have a page which has a back button. I need to set the "URL" for this back button dynamically depending on which page directed the user to this page. Is there any way of knowing from Which URL was i Redirected from in Tapestry? Thanks in advance

T5.4 : Problem with two components with Ajax on the same page.

2015-02-19 Thread Sumanth
/After_Clicking_Second_Link.png http://s10.postimg.org/8kaij68rt/After_Refresh.png Kind Regards, Sumanth

Re: T5.4 : Problem with two components with Ajax on the same page.

2015-02-19 Thread Sumanth
Figueiredo < thiag...@gmail.com> wrote: > On Thu, 19 Feb 2015 11:01:13 -0200, Sumanth > wrote: > > Hello Users, >> > > Hi! > > Please post the code when asking for help. We're not psychics (well, at > least I know I'm not). :) > > > >> I a

Re: T5.4 : Problem with two components with Ajax on the same page.

2015-02-19 Thread Sumanth
5.4 Beta 22 On Thu, Feb 19, 2015 at 3:46 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 19 Feb 2015 11:17:57 -0200, Sumanth > wrote: > > Forgot. :) >> > > It happens, and I do that a lot. :P > > What beta are you using? >

Re: T5.4 : Problem with two components with Ajax on the same page.

2015-02-19 Thread Sumanth
id will be updated by tapestry. kind regards Sumanth On 19-Feb-2015 7:15 pm, "George Christman" wrote: > I would have thought tapestry would have done this automatically, but the > problem is your ajaxresponserender is telling the first zone to update > rather than _0. This will g

Re: T5.4 : Problem with two components with Ajax on the same page.

2015-02-19 Thread Sumanth
sed for your > component, but as thiago said, you may want to use that else where and may > want to generate a unique one for your zone. > > On Thu, Feb 19, 2015 at 1:45 PM, Sumanth wrote: > > > @Chris > > Hi Chris, > > > > I've tried with zone&

Re: T5.4 : Problem with two components with Ajax on the same page.

2015-02-19 Thread Sumanth
Thank you guys, the solution works fine without much changes to the component. Only had generate clientID's dynamically On Thu, Feb 19, 2015 at 8:34 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 19 Feb 2015 17:17:01 -0200, Sumanth > wrote: > >

unit testing Tapestry Services (5.4)

2015-05-27 Thread Sumanth
Hi All, I'm trying to unit test services (these are already existing services) and facing a few challenges. I have a "ProjectService" which extends a baseService and this base service has another service which is injected into it. Interface IProjectService { Event getEvents(Long key) } Projec

Ajax Exception Handling - How to use alerts component instead of different page.

2015-06-01 Thread Sumanth
Hi All, I would like to know how to use the component to show exceptions when "any" ajax related operation results in uncaught exception. Also is it possible to refresh all/selected zones in the page if the ajax operation resulted in exception? I'm trying to use the "Override Exception Report

Form's validate event is fired even though cancel event is handled.(5.4)

2015-06-10 Thread Sumanth
Hi All, I have a ajax form and even though i click a submit button with t:mode = "cancel", the validate method of this form is called. The javadocs for SUBMITMODE.CANCEL says that,"If the event handler for that event allows the submission to proceed, then server-side validation still occurs on th

Possilbe Bug With Date Picker - changing system time zone adds +1 day to the date field

2015-06-19 Thread Sumanth
Hi all, To reproduce this. Currently my timezone is (UTC+1) Amsterdam,berlin etc and I'm living in this time zone.. And i change my system/OS(Windows) time zone to (UTC -5 ) Eastren Time (US & Canada). Then go to the jumpstart's website http://jumpstart.doublenegative.com.au/jumpstart7/examples/c

Re: Possilbe Bug With Date Picker - changing system time zone adds +1 day to the date field

2015-07-08 Thread Sumanth
Hello Everyone is anyone able to verify that is this a bug or not? If it is can anyone let us know when can we see a fix for this? Or is my details too short? Should I need to include anything else. Please let us know. How can we work around this! On Fri, Jun 19, 2015 at 11:16 AM, Sumanth

Problem with Script file (Migration from Tapestry 4.0.2 to 4.1.5 )

2008-03-24 Thread Sumanth Dupuguntla
Hi all, I'm using a script component , which was working fine with tapestry 4.0.2, when I changed the jar files (Tapesrtry 4.1.5 jars( tapestry-annotations-4.1.5.jar , tapestry-contrib-4.1.5.jar, tapestry-framework-4.1.5.jar, tapestry-portlet-4.1.5.jar and ognl-2.7.2.jar) I'm getting null pointer

afterUpdateElement for AutoCompleter of Tapestry 4.1.5

2008-04-03 Thread Sumanth Dupuguntla
Hi all, I'm working on migration of tapestry 4.0.2 to 4.1.5. Previously I was using tacos autocompleter where I used to "afterUpdateElement" parameter and in the javascript I am setting the required vales in the html form but now in tapestry 4.1.5 I'm using dojo autocompleter I couldn't find the

DatePicker component to be displayed always , not only when clicked on datepicker icon.

2008-05-13 Thread Sumanth Dupuguntla
Hi all, Is there any way to display the date picker widget always (not only when clicked on icon). please help me. I tried giving "toggle = false". no use. Thnks in advance, Sumanth.D www.indygo.in