Re: Tynamo's tapestry-jdo and JDOEntityValueEncoder not getting registered

2012-04-26 Thread Alex Kotchnev
Paulo, would you be able to put together a sample project that does this ? I'll have another look at the jdo sample project but I'm pretty sure this worked OK there (although it wasn't tested w/ T5.3.x). Cheers, Alex K On Thu, Apr 26, 2012 at 5:45 PM, Paulo Andrade wrote: > > On Apr 26, 2012

Re: ioc.Registry Exception Failed Coercion of "css" to Entity Id type java.lang.Long

2012-04-26 Thread netdawg
Still no trace of this error and cannot seem to reproduce it. I am pretty sure this was caused by using jQuery though - before replacing the $ sign with the word jQuery. http://docs.jquery.com/Using_jQuery_with_Other_Libraries and, while I was messing around trying to fix the apparent yuicom

Re: Pagelink above grid picks up context from last pagelink in grid

2012-04-26 Thread netdawg
Thanks, again, Thiago, Lance. We will have to pick this up later...I will be happy to post a toy application that will illustrate this (rather minor) anamoly.Please note, I am not using beaneditor or its cousin the beaneditorform. Need project specific styling. In think therein lies the hear

Re: Does the Tree component need to use the session?

2012-04-26 Thread trsvax
I'm not sure how to fix it in a backward compatible way. If you move the persistence to the URL it will change it's behavior under some circumstances. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Does-the-Tree-component-need-to-use-the-session-tp5667428p5668800.html Sent

Re: Does the Tree component need to use the session?

2012-04-26 Thread Bob Harner
+1 (who's the volunteer?) If it's designed cleverly, the character size need to store the expanded/collapsed state can be very tiny. On Apr 26, 2012 9:46 AM, "Lance Java" wrote: > > I thought client persist was via the url not cookies, but as I said I > never really used it > See my previous pos

Re: Tynamo's tapestry-jdo and JDOEntityValueEncoder not getting registered

2012-04-26 Thread Paulo Andrade
On Apr 26, 2012, at 10:09 PM, Thiago H. de Paula Figueiredo wrote: > On Thu, 26 Apr 2012 18:01:14 -0300, Paulo Andrade > wrote: > >> Hello, > > Hi! > >> http://example.com/app/foo/com.example.entity.foo$a4c34 >> http://example.com/app/foo/1 >> >> To fix this I simply restart the application

How do i trigger a zone update in the parent component or page?

2012-04-26 Thread Kristian Marinkovic
Hi, i have a loop in my page that renders some "rows" whereas each row is a zone component. Each row represents some special data type that has different properties when edited. Because i don't know in advance how many data types will be supported (and i want to stay as flexible as possible) i jus

Tynamo's tapestry-jdo and JDOEntityValueEncoder not getting registered

2012-04-26 Thread Paulo Andrade
Hello, I'm having a bit of annoying problem regarding the jdo entity value encoder. Sometimes it seems tapestry does not know about it and encodes my entities as strings. For example my URLs end up looking like: http://example.com/app/foo/com.example.entity.foo$a4c34 Instead of the correct h

Re: Live Traffic Feed

2012-04-26 Thread DegeneRatoR
OK, I have seen it. Basically it will be the tool for my processing, but how to take the data, ie from where to start, how to get the data of the visitor to my site? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Live-Traffic-Feed-tp5667632p5668474.html Sent from the Tapes

Re: Multiple Tapestry5 app on a single server

2012-04-26 Thread derkoe
Massimo Lusetti wrote > > So do you manage ram and server settings for each tomcat instance, right? > Yes, we created scripts for setting up and managing Tomcats because we have lots of webapps and Tomcats. Chris -- View this message in context: http://tapestry.1045711.n5.nabble.com/Multipl

Re: Live Traffic Feed

2012-04-26 Thread Thiago H. de Paula Figueiredo
On Thu, 26 Apr 2012 10:36:42 -0300, DegeneRatoR wrote: I want to make this using Tapestry, however I don't know from where to start. Any suggestions? Search the mailing list for ComponentRequestFilter. It'll be your starting point. -- Thiago H. de Paula Figueiredo Independent Java, Apac

Re: Does the Tree component need to use the session?

2012-04-26 Thread Lance Java
> I thought client persist was via the url not cookies, but as I said I never really used it See my previous post, I was wrong > The issue is the URL gets too long Agreed, perhaps gzip compression can help there > and bookmarking is iffy since the id can change. Hopefully the URL won't be bookmar

Live Traffic Feed

2012-04-26 Thread DegeneRatoR
I want to make this using Tapestry, however I don't know from where to start. Any suggestions? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Live-Traffic-Feed-tp5667632p5667632.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: Does the Tree component need to use the session?

2012-04-26 Thread trsvax
I thought client persist was via the url not cookies, but as I said I never really used it. It might be handy to have a persist that used a URL argument. That's how I do paging with something like url?table1.page=1 where table1 is the component id. In the case of tree that might be url?tree1.nod

Re: Does the Tree component need to use the session?

2012-04-26 Thread Lance Java
I take that back... I always assumed client persistence was based on cookies. It seems it uses a request parameter... That could work but has max URL length restrictions

Re: Does the Tree component need to use the session?

2012-04-26 Thread Lance Java
Client persistence wont get rid of the multiple window error. It will also introduce the possibility that the client has cookies disabled so nothing will work.

Re: Does the Tree component need to use the session?

2012-04-26 Thread trsvax
I would agree with that. I would prefer it if the core did not require a session at all. I suppose you could change the default to Persist(PersistenceConstants.CLIENT) but I have never tried that. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Does-the-Tree-component-nee

Submit problem

2012-04-26 Thread mwilliamson
I have form with two submit buttons and select field with submit() in its onChange event.. in my java code I have this: private boolean report;// not @Persist private boolean clear; // not @Persist public void onSelectedFromReport(){report = true;} public void onSelectedFromClear(){

Re: Does the Tree component need to use the session?

2012-04-26 Thread Geoff Callender
I've had the same thought. As you'd expect, if you open the Tree From Database, With Zones example in two browser windows you'll find that your actions in one affects the other. So +1 from me. On 26/04/2012, at 10:16 PM, Lance Java wrote: > The current tree implementation requires the session

Re: Multiple Tapestry5 app on a single server

2012-04-26 Thread trsvax
I only run one Tomcat instance for everything. Be sure and use the incremental garbage collector. Before I did that things would just freeze for a minute or two when you run with large amounts of ram. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Multiple-Tapestry5-app-on

Re: Multiple Tapestry5 app on a single server

2012-04-26 Thread trsvax
I've done this various ways and they all seem to work fine. 1. Virtual Tomcat hosts 2. Virtual Apache hosts 3. Just dump everything in webapp Just depends on what you need. I agree about sharing jars. The only thing I share is database drivers and the ones needed to email because I config log4j

Re: Multiple Tapestry5 app on a single server

2012-04-26 Thread Massimo Lusetti
On Thu, Apr 26, 2012 at 12:28 PM, derkoe wrote: > We use Tomcat with a single CATALINA_HOME and multiple CATALINA_BASE - > usually one per "logical application". A "logical application" consist of > one or more WARs. > > We usually do not put JARs in the common/lib - we do that just for database

Does the Tree component need to use the session?

2012-04-26 Thread Lance Java
The current tree implementation requires the session to store the TreeExpansionModel. As with most of you, I like to avoid using the session wherever possible to improve scalability and to avoid issues when a user opens multiple browser windows for the same page. In my mind, the TreeExpansionModel

Re: [ANN] JumpStart gets Tree From Database, With Zones example

2012-04-26 Thread Geoff Callender
On 26/04/2012, at 10:05 PM, Bob Harner wrote: > On Apr 26, 2012 7:14 AM, "Geoff Callender" < > geoff.callender.jumpst...@gmail.com> wrote: >> >> On 26/04/2012, at 8:54 PM, Lance Java wrote: >> >>> Great work Geoff!! Thanks for all your hard work. >>> >>> A couple of q's >>> 1. Is it necessary

Re: [ANN] JumpStart gets Tree From Database, With Zones example

2012-04-26 Thread Bob Harner
On Apr 26, 2012 7:14 AM, "Geoff Callender" < geoff.callender.jumpst...@gmail.com> wrote: > > On 26/04/2012, at 8:54 PM, Lance Java wrote: > > > Great work Geoff!! Thanks for all your hard work. > > > > A couple of q's > > 1. Is it necessary to update the "treeZone" in onLeafSelected()? > > Yes, it

Re: [ANN] JumpStart gets Tree From Database, With Zones example

2012-04-26 Thread Geoff Callender
On 26/04/2012, at 8:54 PM, Lance Java wrote: > Great work Geoff!! Thanks for all your hard work. > > A couple of q's > 1. Is it necessary to update the "treeZone" in onLeafSelected()? Yes, it refreshes which leaf is highlighted. > 2. Both BigInteger and Integer extend Number so you could avoid

Re: Pagelink above grid picks up context from last pagelink in grid

2012-04-26 Thread Thiago H. de Paula Figueiredo
On Thu, 26 Apr 2012 01:10:22 -0300, netdawg wrote: Thanks, all, for college of knowledge ;-). Much appreciated. 1. I am not beaneditorform (or beaneditor) in EditPerson.tml, therefore the @Persist annotation is needed in Person.java for the form to accept the submit. No, this is not c

Re: Linking my app with MYSQL

2012-04-26 Thread DegeneRatoR
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> Welcome, ${userExists.surname}! Log Out

Re: [ANN] JumpStart gets Tree From Database, With Zones example

2012-04-26 Thread Lance Java
Great work Geoff!! Thanks for all your hard work. A couple of q's 1. Is it necessary to update the "treeZone" in onLeafSelected()? 2. Both BigInteger and Integer extend Number so you could avoid the HSQLDB case by casting to Number. Cheers, Lance

Re: Possible to build a Table from multiple sources?

2012-04-26 Thread Az Madu
Thanks Lance/Thiago for your suggestions, I'm looking into doing that now. Regards Az On Thu, Apr 26, 2012 at 11:26 AM, Lance Java wrote: > If I understand correctly, you read your data into multiple lists. To read > a single record, you use the same index in each list... Correct? > > This sort

[ANN] JumpStart gets Tree From Database, With Zones example

2012-04-26 Thread Geoff Callender
Hi all, JumpStart 5.7.4 is out. The big ticket items in it are: * Example of a Tree From Database, With Zones. The leaves of the tree are selectable and all interactions are handled through AJAX. * Example of Alerts. As always, your thoughts and suggestions are welcome. Also, do

Re: Multiple Tapestry5 app on a single server

2012-04-26 Thread derkoe
Massimo Lusetti wrote > > Hi all, > I'm in the need to prepare a server for hosting multiple (read from 6 to > 8) tapestry5 apps. > > Do anyone have any experience in this field? Which is your typical > settings in this scenario? > We use Tomcat with a single CATALINA_HOME and multiple CATALIN

Re: Possible to build a Table from multiple sources?

2012-04-26 Thread Lance Java
If I understand correctly, you read your data into multiple lists. To read a single record, you use the same index in each list... Correct? This sort of model often leads to a maintenance nightmare. Create a bean which represents a single row in the grid and read your data into a single list. Yo

Re: Ajax failure: Status 500 for /mobile/browsegroups.loadingscreen: org.apache.tapestry5.runtime.ComponentEventException Communication with the server failed: org.apache.tapestry5.runtime.ComponentEv

2012-04-26 Thread derkoe
sommeralex wrote > > how can i get the stacktrace? my eclipse console does not show any errors. > I was trying to instantiate my list with an empty list if the list is > null, but the error consists: > When you are in development mode (and you're using Tapestry 5.3) the stacktrace is show in th

Multiple Tapestry5 app on a single server

2012-04-26 Thread Massimo Lusetti
Hi all, I'm in the need to prepare a server for hosting multiple (read from 6 to 8) tapestry5 apps. Do anyone have any experience in this field? Which is your typical settings in this scenario? Cheers -- Massimo http://meridio.blogspot.com -

Re: Possible to build a Table from multiple sources?

2012-04-26 Thread Az Madu
I want simply to display data in tabular format with 3 or more headers, currently I'm just experimenting with the three in my tml file (Position, UUID, Result) and I may want to add an Id column (assigned or auto) as the first column, similar to the Loop example on http://jumpstart.doublenegative.c

Re: Extract navigation to own menu component - links stop working

2012-04-26 Thread Lance Java
Seems like it should work to me. Try viewing the HTML source for both and compare the diffs

Re: Pagelink above grid picks up context from last pagelink in grid

2012-04-26 Thread Lance Java
I still get the feeling that you are using a single Person property instead of two. You MUST have two properties of type Person One will be used by your grid to store each row as it the grid iterates through. This MUST NOT be tied to onActivate() / onPassivate(). The other will store the Person c