[ANN] tapestry-monitor update

2011-06-23 Thread Josh Canfield
I've updated my JMX monitoring extension to work as an independent project (previously supposed it was in the core tapestry project) with the current 5.3.0 build (updated for plastic etc.) I'm not planning on providing an artifact repository at this time. https://github.com/joshcanfield/tapestry-m

Re: T5 Reference page attributes from a component

2011-06-23 Thread Martin Strand
On Thu, 23 Jun 2011 23:18:39 +0200, Tony Nelson wrote: In our T4 app we made a lot of use of this type of construct: default-value="ognl:page.selectedColumn" /> This particular component is embedded 4 layers deep and was able to reach back all the way to Page class to get values. Is t

Re: T5 Reference page attributes from a component

2011-06-23 Thread Thiago H. de Paula Figueiredo
On Thu, 23 Jun 2011 18:18:39 -0300, Tony Nelson wrote: In our T4 app we made a lot of use of this type of construct: default-value="ognl:page.selectedColumn" /> This particular component is embedded 4 layers deep and was able to reach back all the way to Page class to get values. Is

T5 Reference page attributes from a component

2011-06-23 Thread Tony Nelson
In our T4 app we made a lot of use of this type of construct: This particular component is embedded 4 layers deep and was able to reach back all the way to Page class to get values. Is there a similar construct in T5 or am I going to have to pass these values explicitly down the component

Re: [ANN] Tapestry-breadcrumbs version 1.4 is released

2011-06-23 Thread Joakim Olsson
Hi, My bad. You need this in the page/layout-class as well: @Property private BreadCrumbInfo breadCrumb; I'll update the readme. Regards, Joakim On Thu, Jun 23, 2011 at 4:35 PM, David Canteros wrote: > Hello! > I would like to test your component, I followed the instructions from > ht

Re: T5.2.x Property Expression Problem

2011-06-23 Thread Norman Franke
I think it's a bug, too as did Howard. I created a bug in JIRA. TAP-1555. To recreate, just put the "null" keyword in a property array, e.g. to a context parameter. OGNL works, of course. This fails, for example: linkt:pagelink> It complains about null. Remove that, it complains about this

Re: problems with submit when class variables are used in "value" attribute

2011-06-23 Thread hese
The problem was the data type of campaign.status. It was a class, instead of a string. Guess tapestry didnt know how to convert it, so the onSelect handler was not called -- View this message in context: http://tapestry.1045711.n5.nabble.com/problems-with-submit-when-class-variables-ar

Re: last page visited

2011-06-23 Thread leandroaispuru
Hi again, I think that I have to describe the whole scenario so you can understan why i have written the question of the first email. Here is my situation: * I have two pages p1 and p2, each page belongs to layout A. This layout contains two tabs, one is p1 and the other is p2. * If I go

problems with submit when class variables are used in "value" attribute

2011-06-23 Thread hese
Hi, I have a form with a table. Each row in the table has a select control, whose 'value' is being set from one of "row" class's instance variables. I have a submit button to post the form. The problem is the onSelectFromSubmit() handler is not getting called when I use value="campaignProgram.c

Re: T5: Asset protection and 5.3.0

2011-06-23 Thread Robert Zeigler
Can you define "not working anymore"? Is the repo not functional, or is the dispatcher not funcitonal? Robert On Jun 23, 2011, at 6/232:58 AM , Angelo C. wrote: > Hi, > > do we need assetProtectionDispatcher in 5.3? seems to me following not > working any more > com.saiwaisolutions >

Re: last page visited

2011-06-23 Thread Thiago H. de Paula Figueiredo
On Thu, 23 Jun 2011 12:34:22 -0300, Muhammad Mohsen wrote: May be a primitive solution like, when a page is "attached", it sets a session variable unique to the page ? I don't think that would work well. You'd need to add this code to all pages or at least add this code to a mixin to be a

Re: last page visited

2011-06-23 Thread Muhammad Mohsen
May be a primitive solution like, when a page is "attached", it sets a session variable unique to the page ? On Thu, Jun 23, 2011 at 3:40 PM, Taha Hafeez wrote: > Hi > > Take a look at https://github.com/argoyle/tapestry-breadcrumbs > > regards > Taha > > On Thu, Jun 23, 2011 at 7:07 PM, wrote:

Re: Integrating tapestry with Sakai

2011-06-23 Thread Earle Nietzel
Hi Taha, Yes it was very helpful, thank you for your input. Earle On Thu, Jun 23, 2011 at 1:44 AM, Taha Hafeez wrote: > Hi Earle, > > I did something similar with cometd, if you are interested you may find this > posting interesting > > http://tawus.wordpress.com/2011/06/13/tapestry-magic-15-in

Re: Integrating tapestry with Sakai

2011-06-23 Thread Earle Nietzel
On Thu, Jun 23, 2011 at 12:20 AM, Thiago H. de Paula Figueiredo wrote: > On Thu, 23 Jun 2011 00:23:59 -0300, Earle Nietzel > wrote: > >> Hello, > > Hi! > >> I have recently begun using the Tapestry 5 framework a few months ago and >> have been very satisfied with it (actually am very impressed wi

Re: [ANN] Tapestry-breadcrumbs version 1.4 is released

2011-06-23 Thread David Canteros
Hello! I would like to test your component, I followed the instructions from https://github.com/argoyle/tapestry-breadcrumbs but i get an exception: *Exception assembling root component of page Index: Could not convert 'breadCrumb' into a component parameter binding: Exception generating conduit f

Re: Error while building 5.3

2011-06-23 Thread Igor Drobiazko
I'm experiencing same problem and I'm on Mac. Looks like provided dependencies are not available when the javadoc is generated. /Users/igor/Documents/idea/tapestry5/tapestry-core/src/main/java/org/apache/tapestry5/BaseOptimizedSessionPersistedObject.java:17: package javax.servlet.http does not ex

Re: last page visited

2011-06-23 Thread Taha Hafeez
Hi Take a look at https://github.com/argoyle/tapestry-breadcrumbs regards Taha On Thu, Jun 23, 2011 at 7:07 PM, wrote: > Hi all! > > I want to know what is the best way to obtain the last visited page ? > > For example... > I am navigating page A and when I click in a link I go to a page B. Wh

last page visited

2011-06-23 Thread leandroaispuru
Hi all! I want to know what is the best way to obtain the last visited page ? For example... I am navigating page A and when I click in a link I go to a page B. When I am in B I want to know that before being here I was in page A. My tapestry version is 5.1.0.5 and i can't migrate the project to

Re: T5 IoC: EagerLoad and ApplicationGlobals

2011-06-23 Thread Erik Fäßler
I created a small app with which the problem occurs, too. Here the snippet from AppModule: public class AppModule { public static void contributeSymbolSource( final OrderedConfiguration configuration, @InjectService("TestSymbolProvider") SymbolProvider semedicoSymbo

Re: ProgressiveDisplay in a custom component?

2011-06-23 Thread antalk
Thanks ! Hadn't thought of that, works beautiful ! antal -- View this message in context: http://tapestry.1045711.n5.nabble.com/ProgressiveDisplay-in-a-custom-component-tp4517111p4517313.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: menu.xml on tapestry 5

2011-06-23 Thread ronizedsynch
Thank Bob n Thiago but I am not really to parse xml file in java, its my hard work. I will research it on my uncle [google] :D Regard, Rony -- View this message in context: http://tapestry.1045711.n5.nabble.com/menu-xml-on-tapestry-5-tp4516397p4517281.html Sent from the Tapestry - User mailing l

Re: ProgressiveDisplay in a custom component?

2011-06-23 Thread Thiago H. de Paula Figueiredo
On Thu, 23 Jun 2011 08:17:17 -0300, antalk wrote: Hi all, Hi! I have a component which in itself contains a 'ProgressiveDisplay' component, however it does not catch the 'PROGRESSIVE_DISPLAY' event in there but i want to handle this in the page that contains my custom component. Is this pos

Re: menu.xml on tapestry 5

2011-06-23 Thread Thiago H. de Paula Figueiredo
I'm sorry, but I have absolutely no idea what you're talking about. On Thu, 23 Jun 2011 02:14:40 -0300, ronizedsynch wrote: Its possible to read menu.xml within layout.tml. I have layout.tml like this : ProgressiveDisplay in a custom component?
Hi all, I have a component which in itself contains a 'ProgressiveDisplay' component, however it does not catch the 'PROGRESSIVE_DISPLAY' event in there but i want to handle this in the page that contains my custom component. Is this possible ? If so how and what should the annotation @OnEvent lo

Re: JSONObject does not like javascript date constructor

http://www.json.org/ The value should be one of string number object array true false null Where object and array are defined as On Thu, Jun 23, 2011 at 10:42 AM, Joost Schouten (ml) wrote: >  Hi, > > I am not quite sure if this is a limitation of my javascript json knoledge > or a tapestry one

Re: menu.xml on tapestry 5

I guess I would just make a new component, maybe SideBar, and have a t:loop inside SideBar.tml that loops over a List property that is populated within a @SetupRender method within the SideBar.java component class.That method could parse the xml file. Then add a t:type="SideBar" to your div in lay

JSONObject does not like javascript date constructor

Hi, I am not quite sure if this is a limitation of my javascript json knoledge or a tapestry one. But When I use google's visulisation package to create json representation of a DataTable JSONObject.add("jsonDataTable", dataTableJSONString) I get the follwing exception (full exception at [1]

Re: T5 IoC: EagerLoad and ApplicationGlobals

Can you provide some more stack trace? Here is the code from TapestryFilter: registry = appInitializer.createRegistry(); context.setAttribute(REGISTRY_CONTEXT_NAME, registry); ServletApplicationInitializer ai = registry.getService("ServletApplicationInitializer",

Re: Tapestry5-JQuery Integration and tapestry-beanvalidator

My bad... I think it should be ok now. On 22 June 2011 18:38, Matias Blasi wrote: > Hi Clément, > > I updated tapestry-jquery and I got the following new error: > > missing ; before statement > tapestry-beanvalidator.js()tapestry-beanvalidator.js (line 15) > var Tapestry.Validator={}; > > Regar

T5: Asset protection and 5.3.0

Hi, do we need assetProtectionDispatcher in 5.3? seems to me following not working any more com.saiwaisolutions AssetProtectionDispatcher 1.0.0 -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Asset-protection-and-5-3-0-tp4516645p4516645.html Sent fr

T5 IoC: EagerLoad and ApplicationGlobals

Hi everyone! I build a web app using T5.2.5 and employing the T5 IoC container. I have a contribution to a service which gets the ApplicationGlobals service injected. Everything works fine - until I want to eagerload the service with the afore mentioned contribution. When I eagerload the servi