Re: First Custom Component -> Confused; source = null, but values populated mysteriously

2012-04-02 Thread Chris Mylonas
That's awesome!!! Thanks a lot Thiago VM arguments for the unwashed are: -Dtapestry.production-mode=false -Dtapestry.compress-whitespace=false On 03/04/2012, at 12:36 PM, Thiago H. de Paula Figueiredo wrote: > On Mon, 02 Apr 2012 23:02:17 -0300, Chris Mylonas wrote: > >> Hello List, > > Hi!

Re: First Custom Component -> Confused; source = null, but values populated mysteriously

2012-04-02 Thread Chris Mylonas
oh! sounds good. I'm using 5.3.2 and my production mode symbol is the default because I've been ignorant to all that sort of stuff in the past, now it's biting me back. On 03/04/2012, at 12:36 PM, Thiago H. de Paula Figueiredo wrote: > On Mon, 02 Apr 2012 23:02:17 -0300, Chris Mylonas

Re: First Custom Component -> Confused; source = null, but values populated mysteriously

2012-04-02 Thread Thiago H. de Paula Figueiredo
On Mon, 02 Apr 2012 23:02:17 -0300, Chris Mylonas wrote: Hello List, Hi! When I changed my component's beginRender() on a whim to see if I get an exception, I was surprised to see the value that the Grid prints to the screen was available to my component - yet everything about it in th

First Custom Component -> Confused; source = null, but values populated mysteriously

2012-04-02 Thread Chris Mylonas
Hello List, I'm confused. In setting up the debugger and carefully working through my code to watch the "source" and "currentItem" fields, I was always watching them set to null. I've followed through Grid & Loop to find where the values are fetched (cachingDataSource for Grid) but there's a l

Re: Q? about render phase of grid

2012-04-02 Thread Chris Mylonas
> > >> BTW, I'm mucking around with my first component and during @SetupRender >> phase I have no data and return false to jump directly to @CleanupRender - >> which outputs my div saying "There is no data". >> >> I know this (@CleanupRender) will output all the time when I have elements >>

Re: Custom Component - @BeforeRenderBody not rendering stuff

2012-04-02 Thread Chris Mylonas
Thanks My "source" (and whatever the iterator returns) are always null...so I'll have to find out why that happens. On 02/04/2012, at 10:14 PM, Lance Java wrote: > Tapestry's own loop component might give you some inspiration too > http://tapestry.apache.org/5.3/apidocs/src-html/org/apache/tape

Re: Q? about render phase of grid

2012-04-02 Thread Chris Mylonas
>> How come the Grid component doesn't have @Setup/Begin/CleanupRender >> annotations? > > Actually, it does have a setupRender() method. Don't forget that you can > attach methods to events by using annotations (@OnEvent, @SetupRender, etc) > or using method name conventions (setupRender(), >

Re: Issue with Component Parameter

2012-04-02 Thread Robert Zeigler
Presumably the collage model is initialized/loaded based on some constraint/other information. Either supply that information via onPassivate and then re-initialize in onActivate, or else provide that information to your action handlers so they can retrieve the information as required. Robert

Re: Issue with Component Parameter

2012-04-02 Thread ksrijith
You were right. I was using a persisted object for the CollageModel in the Page and passing the same to the Component. I understand that this is the reason that the object gets shared between windows/tabs. Though if I don't store the object as a persistent value when I try to access it again using

Re: Issue with Component Parameter

2012-04-02 Thread Thiago H. de Paula Figueiredo
On Mon, 02 Apr 2012 15:31:30 -0300, derkoe wrote: Robert asked if you have a @Persist on your CollageModel in the parent component or page. Parameters in Tapestry have a bi-directional binding. So, if you have a @Persist on the model it is shared in the session. Two browser tabs/windows a

Re: Issue with Component Parameter

2012-04-02 Thread derkoe
Robert asked if you have a @Persist on your CollageModel in the parent component or page. Parameters in Tapestry have a bi-directional binding. So, if you have a @Persist on the model it is shared in the session. Two browser tabs/windows also share the same session. If you want to have state per wi

Re: Issue with Component Parameter

2012-04-02 Thread Robert Zeigler
@Persist isn't part of @Parameter. They are mutually exclusive. But in your parent component (eg: the page where you're using Collage), is the list @Persist'ed? The reference to the collage list shouldn't be static; this is not a problem with Tapestry. I use components that take list paramete

Re: Issue with Component Parameter

2012-04-02 Thread ksrijith
I believe @Persist is part of the @Parameter annotation since if I Persist the property then it gives me the following error: Field model of class com.karamarie.web.store.components.Collage can not be claimed by @org.apache.tapestry5.annotations.Persist as it is already claimed by @org.apache.tape

Re: Issue with Component Parameter

2012-04-02 Thread Robert Zeigler
Are you @Persist'ing the list, eg, in the parent component? Robert On Apr 2, 2012, at 4/211:25 AM , ksrijith wrote: > Hi, > I'm using using Tapestry version 5.3. > I've created a collage component with is used to show a list of images. I'm > passing the image list as a parameter to the component

Issue with Component Parameter

2012-04-02 Thread ksrijith
Hi, I'm using using Tapestry version 5.3. I've created a collage component with is used to show a list of images. I'm passing the image list as a parameter to the component and inside the component I'm traversing through the list. I show 10 images at a time and if there are more than 10 images then

Re: JQuery Calendar problem.

2012-04-02 Thread trsvax
While that will work look at https://github.com/got5/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/services/javascript/JQueryDateFieldStack.java You can create your own and override the jQuery one in your AppModule. -- View this message in context: http://tapestry.1045711

Re: JQuery Calendar problem.

2012-04-02 Thread generalkimi
Resolved... :) My solution: -- go to *C:\Users\/user/\.m2\repository\org\got5\tapestry5-jquery\/jqueryVersion/* -- Open tapestry5-jquery-/jqueryVersion/.rar file -- go to *tapestry5-jquery-/jqueryVersion/.jar\org\got5\tapestry5\jquery\ui_1_8* -- delete jquery.ui.datepicker.js file -- now ca

Re: JQuery Calendar problem.

2012-04-02 Thread generalkimi
Yes, i use JQuery library :) and i try this: ** in java * @Persist @Property private String testDate;* when press submit, exception: *Cannot format given Object as a Date* -- View this message in context: http://tapestry.1045711.n5.nabble.com/JQuery-Calendar-problem-t

Re: JQuery Calendar problem.

2012-04-02 Thread generalkimi
I use Tapestry version is 5.2.6... -- View this message in context: http://tapestry.1045711.n5.nabble.com/JQuery-Calendar-problem-tp5610238p5610724.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsu

Re: JQuery Calendar problem.

2012-04-02 Thread generalkimi
It works, but calls JQuery Calendar and default Calendar. :) Thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/JQuery-Calendar-problem-tp5610238p5610631.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

JQuery Calendar problem.

2012-04-02 Thread generalkimi
I have problem with JQuery Calendar, if i call * * calendar work fine, but when get entered value for *testDate* return null, if i set ** JQuery Calendar not work. Thanks for your suggestions. -- View this message in context: http://tapestry.1045711.n5.nabble.com/JQuery-Calendar-problem-tp56102

Re: Sonotype Security Brief

2012-04-02 Thread Howard Lewis Ship
Despite the inflammatory appearance of the document, the intent was to point out that many people are still downloading out-of-date versions of frameworks, including Tapestry, that have known vulnerabilities even when the vulnerabilities have been fixed in later releases. Despite that, their metho

Re: Unable to decode multipart encoded request - Help required to check this exception

2012-04-02 Thread derkoe
nazarhussain_s wrote > > Currently I am facing the following issues during the uploading of a File > through a form in tapestry. I need to know how to handle the below > exceptions.I am using Tapestry 4 , Jdk 1.5 , Weblogic 9.2. Can you please > suggest what could be done for below two exceptions

Re: Q? about render phase of grid

2012-04-02 Thread Thiago H. de Paula Figueiredo
On Sun, 01 Apr 2012 19:39:57 -0300, Chris Mylonas wrote: Good Morning Tapestry List, How come the Grid component doesn't have @Setup/Begin/CleanupRender annotations? Actually, it does have a setupRender() method. Don't forget that you can attach methods to events by using annotations (

Re: Q? about render phase of grid

2012-04-02 Thread Thiago H. de Paula Figueiredo
On Sun, 01 Apr 2012 19:39:57 -0300, Chris Mylonas wrote: Good Morning Tapestry List, Good morning! How come the Grid component doesn't have @Setup/Begin/CleanupRender annotations? Because it doesn't need to. Why would it? BTW, I'm mucking around with my first component and during @Se

Re: Custom Component - @BeforeRenderBody not rendering stuff

2012-04-02 Thread Lance Java
Tapestry's own loop component might give you some inspiration too http://tapestry.apache.org/5.3/apidocs/src-html/org/apache/tapestry5/corelib/components/Loop.html On Monday, 2 April 2012, Lance Java wrote: > > Perhaps this diagram will help to debug http://tapestry.apache.org/component-renderin

Re: Custom Component - @BeforeRenderBody not rendering stuff

2012-04-02 Thread Lance Java
Perhaps this diagram will help to debug http://tapestry.apache.org/component-rendering.html On Monday, 2 April 2012, Chris Mylonas wrote: > Hi Tapestry List, > > After spending a few hours with render phases and all that comes with it (heartbeat/resources) I'm in a bit of a jam that I don't know

Re: Lightweight TapestryTools update site

2012-04-02 Thread Lance Java
Hi, code completion is not working for me. Details below Cheers, Lance Unexpected runtime error while computing a text hover java.lang.ClassCastException: org.eclipse.wst.xml.core.internal.document.ElementImpl cannot be cast to org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode at

RE: Lightweight TapestryTools update site

2012-04-02 Thread Athneria, Mahendra
HI Gavin, I am using Eclipse Version=3.6.1 and installed the plugin. I am able to see the tapestry logo with tml file name but when I tried to open the tml page then it will give me below error. "An error has occurred. See error log for more details. org.eclipse.wst.xml.ui.internal.content

Re: Which method is called in a page when click back button from browser

2012-04-02 Thread Steve Eynon
I always enjoyed this post on the topic: http://tapestry.1045711.n5.nabble.com/Browser-Back-Button-td4909542.html#a4917143 Steve. On 31 March 2012 02:08, fredramsey wrote: > And this: > > http://www.boutell.com/newfaq/creating/backbutton.html > > You can probably find other solutions, just goo

Re: Enum with Values in Select

2012-04-02 Thread sub
Thiago H de Paula Figueiredo wrote > > On Fri, 30 Mar 2012 10:22:32 -0300, sub wrote: > >> what I want is: >> >> >> One Hour >> Two Hours >> Four Hours >> Eight Hours >> > > Why? > I'm passing the form to a different application, which expects these values. Thiago H de Paula F

Re: Communication with the server failed: undefined

2012-04-02 Thread Beat Durrer
The mentioned Jira does not fix the issue, but it let you see the exception trace log My exception looks like this: Communication with the server failed: TypeError: func is undefined ("") @http://localhost:8086/bpc/assets/0.0.3-DEV/core/tapestry.js:1830 () @http://localhost:8086/bpc/assets/0.0.3-D

Re: JQuery Calendar problem.

2012-04-02 Thread pieter
It's a date so use a date http://tapestry5-jquery.com/core/docsdatefield -- View this message in context: http://tapestry.1045711.n5.nabble.com/JQuery-Calendar-problem-tp5610238p5611668.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Tapestry Spring Security 4.0.0: ProviderManager IllegalArgumentException

2012-04-02 Thread antalk
Hi , ProviderManager is part of the spring-security-core package which is included as dependency on spring-security-web. Tapestry Spring Security only depends on spring-security-web and have Maven resolve the other required libraries. Maybe your project does not define the correct dependencies, e