Re: best book for T5

2009-06-11 Thread Igor Drobiazko
Well, the only one book about t5 is http://www.amazon.com/Tapestry-Applications-step-step-developer-friendly/dp/1847193072/ref=sr_1_1?ie=UTF8&s=books&qid=1244788318&sr=8-1 But this one is out dated-and covers a very early beta version of Tapestry 5. Right now I'm writing a new one which covers 5.

Re: best book for T5

2009-06-11 Thread Kristian Marinkovic
hi, currently there is no up to date book on t5. for more complex examples i can recommend http://jumpstart.doublenegative.com.au/home.html g, kris haipeng du 12.06.2009 05:20 Bitte antworten an "Tapestry users" An users@tapestry.apache.org Kopie Thema best book for T5 What is th

best book for T5

2009-06-11 Thread haipeng du
What is the best book for T5. Tutorial from t5 website is too simple. Thanks. -- Haipeng Du Salt Lake City

Re: How to show a Select component in a zone ?

2009-06-11 Thread Thiago H. de Paula Figueiredo
Em Thu, 11 Jun 2009 20:21:23 -0300, Thibaut Gadiolet escreveu: id="organizationZone"> It's not an ideal solution, but try putting the whole form inside the zone. Any field component needs to be rendered inside a Form being rendered, hence your situation. -- Thiago H. d

Re: How to show a Select component in a zone ?

2009-06-11 Thread Thibaut Gadiolet
Hi nille, I appreciate, but I should have precised in my first topic. Of course, I enclosed the zone previously by the anchors and [?] I am sure it is an Ajax error because the error report comes from Ajax... and as I explained, when I set visible to true, It works perfectly. The problem comes f

t5: slow debugging in IDEA

2009-06-11 Thread Angelo Chen
Hi, After I upgraded to the latest IDEA 8.1.2 build 9852, it is very slow to run T5 app in debug mode, anybody having the same experience? Thanks -- View this message in context: http://www.nabble.com/t5%3A-slow-debugging-in-IDEA-tp23990965p23990965.html Sent from the Tapestry - User mailing li

Re: How to show a Select component in a zone ?

2009-06-11 Thread nille hammer
Hi Thibaut, this is not an ajax problem. The important part of the error message is "The Select component must be enclosed by a Form component" t:select is a tapestry component that can only be located somewhere within t:form tags.Something similar to the following should work:

How to show a Select component in a zone ?

2009-06-11 Thread Thibaut Gadiolet
Hi folks, Sorry for bothering you again but I want to clarify something with tapestry and Ajax. I want to show a Select in a zone. *I have an actionLink:* Object onActionFromShowZone() { return organizationZone.getBody(); } *my tml zone:* Everything wor

Re: [Tapestry Central] Tapestry 5 Support in IDEA Maia

2009-06-11 Thread Hugo Palma
A little bit of history to answer ur question. The initial plugin did start as an open-source project but then i gave the source to the company i worked for at the time. The idea was to develop a core plugin module that would be reused by IDE specific implementations. We got the IntelliJ implementa

Re: Display product detail information

2009-06-11 Thread neo anderson
I just found out the display can be simply solved by using output component. I took many things into account. Thanks for the advice. I appreciate it. Thiago H. de Paula Figueiredo wrote: > > Em Thu, 11 Jun 2009 16:44:09 -0300, Neo Anderson > escreveu: > >> I read the message at >> http:

RE: Switch from Prototype to jQuery?

2009-06-11 Thread Blower, Andy
I'd just like to echo everything Robert said in this message. > -Original Message- > From: robert zeigler [mailto:robert.zeig...@gmail.com] On Behalf Of > Robert Zeigler > Sent: 10 June 2009 18:54 > To: Tapestry users > Subject: Re: Switch from Prototype to jQuery? > > I believe it's men

Re: Switch from Prototype to jQuery?

2009-06-11 Thread Onno Scheffers
> > Onno, I don't know how good are your javascript skills, but if you > have some hard problems with jQuery or javascript, you can write me. > > I coded some pretty complex javascript stuff in the past. I'm not John > Resig though :) Thanks Sergey, that might come in handy! I'm currently finish

Re: Display product detail information

2009-06-11 Thread Thiago H. de Paula Figueiredo
Em Thu, 11 Jun 2009 16:44:09 -0300, Neo Anderson escreveu: I read the message at http://www.mail-archive.com/users@tapestry.apache.org/msg17772.html. It seems like the beaneditform can be marked as readonly for displaying information. As far as I know, no. BeanEditForm is for editing info,

Re: Switch from Prototype to jQuery?

2009-06-11 Thread Sergey Didenko
Onno, I don't know how good are your javascript skills, but if you have some hard problems with jQuery or javascript, you can write me. I coded some pretty complex javascript stuff in the past. I'm not John Resig though :) On Thu, Jun 11, 2009 at 2:04 AM, Onno Scheffers wrote: >> 1) Defining an f

Display product detail information

2009-06-11 Thread Neo Anderson
I read the message at http://www.mail-archive.com/users@tapestry.apache.org/msg17772.html. It seems like the beaneditform can be marked as readonly for displaying information. For instance, I have a product detail page which will show product information e.g. product image, price, etc. and I do

Re: RequestCycle access without injecting

2009-06-11 Thread Andreas Andreou
Why not make your ITableSortingState a service and inject IRequestCycle to that? On Thu, Jun 11, 2009 at 7:27 PM, wrote: > Hi > > Is there any way to get hold of the RequestCycle in tapestry 4.0.x without > injecting it ie some static utility that can provide it. Basically I think > there is a

RequestCycle access without injecting

2009-06-11 Thread Howard.Kelsey
Hi Is there any way to get hold of the RequestCycle in tapestry 4.0.x without injecting it ie some static utility that can provide it. Basically I think there is a bug with tables in that if you click a column heading to sort the column the table values are sorted in the rewind. This means th

Re: T5.1.0.5, XMLInputFactory class cast exception

2009-06-11 Thread Christian Köberl
Hi committers! This class cast exception is a major issue! Tapestry will usually not run on any application server (I tested Glassfish and Websphere CE 2) because the appservers will use their own implementation of Stax. The main problem is in org.apache.tapestry5.internal.services.TemplateParse

Re: T5.1.0.5, XMLInputFactory class cast exception

2009-06-11 Thread Christian Köberl
Hi Sige! The problem is that Tapestry uses some special extensions to StaX in the template parser. Therefore Tapestry casts the XMLInputFactory to the Woodstox implementation and fails. Workaround: 1. add a system parameter -Djavax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory

Re: Difference between prop: and ${...} in PageLink

2009-06-11 Thread Onno Scheffers
${} is a shortcut to make it very easy to insert some property-value into your template without having to use a component for it. There are typically 3 ways to insert some content into your page: 1. The way you're using components, keeping most of the configuration in the Java class: Some title @

Re: Difference between prop: and ${...} in PageLink

2009-06-11 Thread Radek Terber
Hi all. As I know from My experiments, ${ ... } converts each object to string, in contrast to "prop:...", which returns object "as is". In page link, this difference should not take an effect. But in parameters this is significant ... Kai Weber napsal(a): > Hi, > > I am a Tapestry beginner. I a

Re: Difference between prop: and ${...} in PageLink

2009-06-11 Thread Howard Lewis Ship
${...} expansions evaluate the expression and convert it to a string. Since the page parameter expects a string, that's OK. Converting a context (an array or List to a string) is different than passing the List, unchanged, as the context parameter. Allowing ${...} expansions in attribute values

Difference between prop: and ${...} in PageLink

2009-06-11 Thread Kai Weber
Hi, I am a Tapestry beginner. I am far from knowing all the internals. I use the PageLink component in one of my as follows: @Component(id="backLink", parameters={ "page=${backLink}", "context=backLinkContext", "anchor=${prev.getUniqueIdentifier()}"}) private PageLink backLink; My quest

Re: Two Menu Components

2009-06-11 Thread Otho
Create an eventhandler in your MainMenu component which fires on select and gives the selected menuitem as context. For example class MainMenu @Inject private SideMenu sideMenu; Object onActionFromYourMenu(String context) { sideMenu.setSelectedMainMenuItem(context); return null; } class

Re: Two Menu Components

2009-06-11 Thread donf yang
Oh, some mistakes: - > ---MyMenu.java --- Object onShowSubMenu(String submenuId){ this.submenuId = submenuId; //It's depends on which zone u linked //MultiZoneUpdate multiZoneUpdatenew = new MultiZoneUpdate("majorMen

Re: Two Menu Components

2009-06-11 Thread donf yang
codes fragements: Main.tml sub1-menu1 sub1-menu2 sub2-menu1 sub2-menu2 ---Main.java--- //Provide menu source, key-title of sub menu | value - content block of sub menu @Inject Block subMenuBlock1, subMenuBlock2; Ma

Two Menu Components

2009-06-11 Thread Eldred Mullany
Hi All I need some advice on how to get two menu components to talk to each other. The fist component is a top menu with a whole lot of links, when an action link is fired(from the first menu component) I want to pass a parameter string to the second component (sub-menu) which will render base

Re: Problems with Tapestry, Spring & jax-ws integration

2009-06-11 Thread Otho
Is there any obligation to use hibernate 3.2.6 instead of 3.3.1? I'm not 100% sure, but the problem might be in annotations 3.4 being not entirely compatible with hibernate core 3.2. In the stacktrace you posted, this: org.hibernate.validator.event.ValidateEventListener cannot be cast to org.hiber

Re: Problems with Tapestry, Spring & jax-ws integration

2009-06-11 Thread rsdev
Solved it! The JBoss lib had version 3.2.1 of hibernate-annotations jar, if I removed this and re-deployed everything worked :-) -- View this message in context: http://www.nabble.com/Problems-with-Tapestry%2C-Spring---jax-ws-integration-tp23965049p23977749.html Sent from the Tapestry - User

Re: Problems with Tapestry, Spring & jax-ws integration

2009-06-11 Thread rsdev
Thanks, I have just tried that and it still gives me the same error. The dependencies I have are:- com.sun.xml.bind jaxb-impl 2.1.9 provided org.apache.tapestry tapestry-core ${tapestry

Re: Problems with Tapestry, Spring & jax-ws integration

2009-06-11 Thread Otho
I use annotations 3.4.0, core 3.3.1 and validator 3.1.0 together with envers 3.4.0-SNAPSHOT without any problems. But I don't use tapestry-hibernate but have hibernate, datasources and data-access configured with spring, including the listeners for envers. So I would suspect the problem is somewher