URL-Stripping in 5.0.9 leads to incorrect URLs

2008-01-28 Thread Moritz Gmelin
Hi, I just tried to update to the 5.0.9 Release version and found some strange behaviour. I have a dynamically created image from a service on my page. The method to create the link is as follows public Link getBPURL(){ return getResources().createActionLink(BPGraph,

T5: Checkbox list

2008-01-28 Thread Foror
Why it does not work? Any idea how to make the checkbox list? t:form t:id=testForm t:loop source=test value=value t:checkbox value=value.checked/ /t:loop t:submit/ /t:form t:loop source=test value=value t:if test=value.checked ${value.id} /t:if /t:loop --- @Persist private

Re: T5: Checkbox list

2008-01-28 Thread Geoff Callender
What's the error? On 28/01/2008, at 9:07 PM, Foror wrote: Why it does not work? Any idea how to make the checkbox list? t:form t:id=testForm t:loop source=test value=value t:checkbox value=value.checked/ /t:loop t:submit/ /t:form t:loop source=test value=value t:if test=value.checked

HOWTO create advanced form on t5 ?

2008-01-28 Thread yodla
hi all i wish to make a form to put data from it into database. let's say i have two classes: Student(with property:private String studentName) School(private String schoolName). Now i wish to create form first i want to be asked how many student will be in the school(max 10): and then

Re: HOWTO create advanced form on t5 ?

2008-01-28 Thread Davor Hrg
http://wiki.apache.org/tapestry/Tapestry5HowTos On Jan 28, 2008 12:59 PM, yodla [EMAIL PROTECTED] wrote: hi all i wish to make a form to put data from it into database. let's say i have two classes: Student(with property:private String studentName) School(private String schoolName). Now i

Re: HOWTO create advanced form on t5 ?

2008-01-28 Thread yodla
sorry but where it is on this page? -- View this message in context: http://www.nabble.com/HOWTO-create-advanced-form-on-t5---tp15133856p15135155.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To

Re: T41: dojo form validation on submit problem, Firefox

2008-01-28 Thread Andreas Andreou
I dont remember having such issues, but... can you create the simplest example that reproduces this and add it as an issue (https://issues.apache.org/jira/browse/TAPESTRY) ? BTW, is it possible that you have another button in your form which is actually the one triggered when you hit ENTER? On

T5 ExceptionReporter

2008-01-28 Thread Peter Stavrinides
Hi all, I am using the example provided in the wiki to display a friendly error page that uses the ExceptionReporter interface, and this works well, but I want to also turn it on and off using perhaps a properties file, so that in development I can benefit from Tapestry's exceptional error

Re: T4.1.3 Page rewind

2008-01-28 Thread Grigoris Ioannou
It worked after all. The trick was to create a page property with the facilities list and initialize it during pageBeginRender. It seems that ognl has a problem with expressions of the type a.b.c where b or c is null. So the solution was to add in .page: property name=roomFacilityList/

Re: T5 ExceptionReporter

2008-01-28 Thread Harald Geritzer
from the nightly docs at http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ Tapestry now differentiates between development mode and production mode, primarily in how it reports runtime exceptions. It defaults to production mode. guess there must be a switch for this... cheers

Re: URL-Stripping in 5.0.9 leads to incorrect URLs

2008-01-28 Thread Kevin Menard
You should file a JIRA for your particular use case. The URL optimization stuff had been beaten on pretty hard, though, so you shouldn't run into issues in the general case. In the meanwhile, you can control the behavior of the URL generation. To use the old format, add the following:

Re: T5 ExceptionReporter

2008-01-28 Thread Chris Lewis
I love puns :-). This indeed would be a useful feature, if somehow T5 had a notion of execution phases, or whatever they might be called. You could easily build this into your application in a somewhat rigid manner with a service that reads your prop file and provides access to that setting

Re: T5: Edit page best practice - Mk III - now Mk V

2008-01-28 Thread Davor Hrg
things are a bit different in newer versions, for one, form persists submited data if validation fails, and does not update data on your entity. the invalidated form is persisted default (session if without @Meta) and suits my use fine, I reset form only if new entityid shows up, if you go to:

RE: When T5 will be released?

2008-01-28 Thread HHB
When we will get the stable and final release? kristian.marinkovic wrote: there are already T5 releases 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.0.6 5.0.7 5.0.9 (soon) ... are you looking for something special? we use it for production. HHB [EMAIL PROTECTED] 28.01.2008 14:43

Re: When T5 will be released?

2008-01-28 Thread Chris Lewis
I'm sure this is just semantics, but the wording of this makes me quite nervous. Will there or will there not be a point at which we as developers can expect our applications to not break between small releases? Kevin Menard wrote: I don't think there's a formal plan in place. Howard has

Re: Is there an example using ajax with tapestry to refresh a table?

2008-01-28 Thread Michael Courcy
http://213.160.23.119:8080/t5components/ James Lin a écrit : Hi: I want to see a very simple example show how to update a table using ajax. But I could not find one in the tapestry source. Do anyone have a sample for this? thanks in advance! James

Re: [Tapestry 5] Template question

2008-01-28 Thread Kheldar666
Hi again, We tried your method in our Tapestry demos. It works fine, but it is not very convinient for the moment. We were wondering if there is a way to implement the same mecanism that is used by the Localized Component Templates. In fact this mecanism would perfectly feet our needs. If it is

Re: When T5 will be released?

2008-01-28 Thread Daniel Jue
Stability is relative. T5 in it's more recent releases 5.0.5+ has shown to be very stable. Probably more stable than other OS projects out there. I am also using it in production. On Jan 28, 2008 9:06 AM, HHB [EMAIL PROTECTED] wrote: When we will get the stable and final release?

Re: T5: Eclipse unhappy with TML file that has DOCTYPE

2008-01-28 Thread Szemere Szemere
I too don't have the line with: xml version=1.0 encoding=UTF-8 and it all works fine in Eclipse 3.3.1.1 (I believe I have WST or at least some of its plugins).

Re: T5: Eclipse unhappy with TML file that has DOCTYPE

2008-01-28 Thread Franz Amador
Okay, I tried removing that first line, but it didn't help. I'm running the basic Eclipse 3.3.1.1 for Java developers with only a few extra plugins (subclipse, maven2, jetty). Sounds like something I need to ask the Eclipse folks about. Thanks anyway. - Original Message From:

Re: T5 Encoding issue (repost)

2008-01-28 Thread Francois Armand
Martin Grotzke wrote: Hi, Hi Martin, I just want to pickup this topic in a new thread, to make sure it's noticed - thx to Uli's suggestion in the previous thread :) At first a short summary again: - T5 (the PageRenderDispatcher) tries to decode activation context arguments (in

Re: T5: Edit page best practice - Mk III - now Mk V

2008-01-28 Thread Martin Grotzke
Hi Geoff, if validation fails the page is displayed again, and the person will be loaded again in the according GET request - so all input from the user will be lost. We're using flash persistence for this: the person would get annotated with @Persist(flash), would be reset in cleanupRender and

T5: How easy/hard is it to use tapestry-test (Jetty) with JNDI?

2008-01-28 Thread Michael Lake
Anyone have any ideas about how someone should go about doing this? thanks, -mike - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5: Eclipse unhappy with TML file that has DOCTYPE

2008-01-28 Thread Franz Amador
I've used that in the past, but at the moment I'm trying to stay as minimal as I can get away with. I don't need WTP/WTS/whatever to do Tapestry5 dev, since the Jetty plugin runs the app and the XML editor (which ships standard with Eclipse now) works with the TML files. Or at least I think

Re: [Tapestry 5] Template question

2008-01-28 Thread Fernando Padilla
Do you mean like skins or themes support? ( of which locale is just one dimensions for skins ) Kheldar666 wrote: Hi again, We tried your method in our Tapestry demos. It works fine, but it is not very convinient for the moment. We were wondering if there is a way to implement the same

RE: Tapestry 5 book

2008-01-28 Thread Kolesnikov, Alexander GNI
I have put the contents and brief chapter description here: http://sundraw.ws -Original Message- From: Mahen Perera [mailto:[EMAIL PROTECTED] Sent: 18 January 2008 15:15 To: Tapestry users Subject: Tapestry 5 book Hi all, Does anyone know the contents of the Tapestry 5 book. Does

Re: T5: Edit page best practice - Mk III - now Mk V

2008-01-28 Thread Kalle Korhonen
Really important work Geoff, thanks. Which version are you using? I hope you go through the extra work to keep up with the versions. Davor, you say the invalidated form is persisted in session by default. Does multi-window support work in this case, i.e. if the same user opens another edit page

Editing a collection

2008-01-28 Thread Michael Courcy
Hi, I make some nice night experience about editing a list in a form. Here is my template === t:form t:loop source=users value=user t:textfield value=user.loginUser t:validate=required/br/ /t:loop t:submit / /t:form and here is my page

[ANN] t5components - release 0.5.4

2008-01-28 Thread Sven Homburg
Hi there, the t5components release 0.5.4 is out now. special thanks to Tod Orr and Ted Steen to let include their components into T5Components project page with demo click here http://213.160.23.119:8080/t5components/ - best regards Sven -- View this message in context:

Re: What happend to org.apache.tapestry.annotations.Inject ?

2008-01-28 Thread Marcus
Hi Spamglik, So many changes since 5.05. try this: - create a new project using mvn archetype:create - copy your files to new project. - put log4j-1.2.14.jar in JETTY_HOME/ext - drop JETTY_HOME/ext/log4j-1.2.8.jar from http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ -

Re: T5 Encoding issue (repost)

2008-01-28 Thread Martin Grotzke
On Mon, 2008-01-28 at 18:54 +0100, Francois Armand wrote: I spoke to fast : it seems that in T5.0.9, even slashes are handled correctly with utf-8 filter activated. This would be really great - then we should take the effort and upgrade... Good luck to you, cheers, Martin On Mon, 2008-01-28

Re: [Tapestry 5] Template question

2008-01-28 Thread Kheldar666
Yes, but Howard allready answered that it is not a good idea for the moment. Fernando Padilla wrote: Do you mean like skins or themes support? ( of which locale is just one dimensions for skins ) Kheldar666 wrote: Hi again, We tried your method in our Tapestry demos. It works fine,

Re: When T5 will be released?

2008-01-28 Thread Kevin Menard
I don't think there's a formal plan in place. Howard has been working pretty hard and the rate of releases has been accelerated as he's begun working on it full time. All I can say is that there's likely no one that wants to get the stable and final (btw, there won't really be a final) release

Re: Basic queries about Tapestry

2008-01-28 Thread Onno Scheffers
I think you will find all your answers here: http://tapestry.apache.org/tapestry5/tapestry-ioc/index.html - Onno 2008/1/28, HHB [EMAIL PROTECTED]: Hi. Why Tapestry5 came with its own DI container? why not using Spring or Guice as the default container? What are the advantages of T5 DI

RE: Basic queries about Tapestry

2008-01-28 Thread Kristian Marinkovic
please search the mailing list... (www.nabble.com) HHB [EMAIL PROTECTED] 28.01.2008 14:47 Bitte antworten an Tapestry users users@tapestry.apache.org An users@tapestry.apache.org Kopie Thema Basic queries about Tapestry Hi. Why Tapestry5 came with its own DI container? why not

Re: T5: Edit page best practice - Mk III - now Mk V

2008-01-28 Thread Geoff Callender
Here's Mark V of the single page edit. In previous attempts I was clinging onto client-side persistence of the entity to ensure optimistic locking, and then the penny finally dropped - all you need to ensure optimistic locking is to ensure the entity's version is retained - and you can do

Re: When T5 will be released?

2008-01-28 Thread Kevin Menard
Heh. Sorry if I made you worry. Like you, I'm just a user, so my answer is drawing more from my experience than anything else. I'm sure there will be an API stable release. What I meant by saying that there won't be a final release is that I'm sure there will always be room for improvements.

Re: T5: Eclipse unhappy with TML file that has DOCTYPE

2008-01-28 Thread Daniel Jue
For web development in Eclipse, you're going to want the WST or WTP bundled releases. I can't keep up with all the delivery modes. There are also release bundles called Callisto/Europa. Try this: http://www.eclipse.org/projects/listofprojects.php Get WTP, if you want to use Eclipse. Dan On

Is there an example using ajax with tapestry to refresh a table?

2008-01-28 Thread James Lin
Hi: I want to see a very simple example show how to update a table using ajax. But I could not find one in the tapestry source. Do anyone have a sample for this? thanks in advance! James _ Climb to the top of the charts! 

Could not find template for page framework:Exception in locale en_US

2008-01-28 Thread Pepijn Schmitz
My default Tapestry Exception page has stopped working, and I have no idea why. My configuration is ultra-simple, almost completely hello-world. When something goes wrong (a syntax error in a template for instance), I get an error 500 page from my application server instead of the Tapestry

Re: T5 Encoding issue (repost)

2008-01-28 Thread Francois Armand
Martin Grotzke wrote: Hi Francois, we're currently living with a really ugly hack: we use a patched version of TapestryInternalUtils, with the methods urlEncode and urlDecode changed [1]. Ho. Well, I tested almost everything I thought to, and the last item is patch Tapestry 5.0.6. I really

Re: T5 ExceptionReporter

2008-01-28 Thread Chris Lewis
Indeed there is. As of r616036 you can use this to toggle the behavior: public static void contributeFactoryDefaults(MappedConfigurationString, String configuration) { configuration.add(TapestryConstants.PRODUCTION_MODE_SYMBOL, true); //false would be development } I just

Basic queries about Tapestry

2008-01-28 Thread HHB
Hi. Why Tapestry5 came with its own DI container? why not using Spring or Guice as the default container? What are the advantages of T5 DI container over Spring Guice? One more thing: Will Tapestry be rewritten for Tapestry 6? Thanks you. -- View this message in context:

Re: T5 Encoding issue (repost)

2008-01-28 Thread Martin Grotzke
Hi Francois, we're currently living with a really ugly hack: we use a patched version of TapestryInternalUtils, with the methods urlEncode and urlDecode changed [1]. For us this is still an issue we want to investigate, I believe this is an issue in combination with mod_jk. But my memory is

Re: use messages in a service

2008-01-28 Thread Paul Stanton
anyone? Paul Stanton wrote: Hi All, I have a service which does not have access to the request cycle etc however I need to use the same messages used for the tapestry components, preferrably from the same Object/Service as the one available to pages. I've tried creating a setter method for

RE: When T5 will be released?

2008-01-28 Thread Kristian Marinkovic
there are already T5 releases 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.0.6 5.0.7 5.0.9 (soon) ... are you looking for something special? we use it for production. HHB [EMAIL PROTECTED] 28.01.2008 14:43 Bitte antworten an Tapestry users users@tapestry.apache.org An users@tapestry.apache.org Kopie

RE: Tapestry 5 book

2008-01-28 Thread Andy Huhn
I guess I'll be the first to mention...my copy of the book arrived last week! (Thursday) I've already read a good chunk of it, and skimmed what I didn't read. Excellent! Even though I've been plowing my way through learning Tapestry for the past few months, I found the book to be an

Re: T5: Edit page best practice - Mk III - now Mk V

2008-01-28 Thread Davor Hrg
invalidated form is persisted using @Persist without explicitly defining strategy session is default strategy, so yes: if you use the same invalidated form in different windows, expect problems. When conversation strategy is implemented this will work just fine :) you can however use @Meta

Re: T5 ExceptionReporter

2008-01-28 Thread Howard Lewis Ship
And, of course, you can run your app from your IDE with -Dtapestry.production-mode=false (for development mode) but leave the factory default (true) undisturbed for production. On Jan 28, 2008 1:43 PM, Chris Lewis [EMAIL PROTECTED] wrote: Indeed there is. As of r616036 you can use this to

T5: How to use MasterObjectProvider?

2008-01-28 Thread Franz Amador
I'd like to use MasterObjectProvider to create objects whose constructors take services as arguments. Tapestry will inject MasterObjectProviderImpl, but I don't see a way to get access to MasterObjectProvider.provide's arguments. It wants an AnnotationProvider and an ObjectLocator. I don't

Re: Basic queries about Tapestry

2008-01-28 Thread Howard Lewis Ship
On Jan 28, 2008 5:47 AM, HHB [EMAIL PROTECTED] wrote: Hi. Why Tapestry5 came with its own DI container? why not using Spring or Guice as the default container? What are the advantages of T5 DI container over Spring Guice? Because those containers are broken or limited. One more thing:

T5 direction - general purpose vs specialized?

2008-01-28 Thread kranga
I was testing t5 (5.0.7) and saw that the form component automatically throws bubble messages for validation. T5 also seems to utilize Scriptaculous for achieving this. So my question is - is Tapestry meant to be specialized or general purpose? All our clients dictate the look-n-feel of error

Re: Basic queries about Tapestry

2008-01-28 Thread Jan Vissers
On Jan 28, 2008 5:47 AM, HHB [EMAIL PROTECTED] wrote: Hi. Why Tapestry5 came with its own DI container? why not using Spring or Guice as the default container? What are the advantages of T5 DI container over Spring Guice? Because those containers are broken or limited. C'mon. With all

Re: use messages in a service

2008-01-28 Thread Paul Stanton
hmm. I think it's going to be easier to write a new service that handles messages and picks up the messages from the application level properties file. it's unfortunate that i can't get the tapestry service from hivemind, but I don't have a request and would prefer not to attach to an

T5: Submit Event Handlers

2008-01-28 Thread Mark W. Shead
I am having problems getting an event handler to fire for a submit button. Here is the relevant part from the .tml form t:type=form t:id=myForm input type=submit value=Submit t:type=submit t:id=submitButton/ /form and here is the handler from the .java file:

Re: [ANN] t5components - release 0.5.4

2008-01-28 Thread Michael Gerzabek
Hi Sven, I like your Components. Thank You for your work. I tried to include the dependency and repository into my pom yesterday like said in the webpage. Unfortunately it didn't work. I'm just shallow in maven so I assume it was a local problem. Are others observing similar experiences?

T5 How to handle form onsubmit??

2008-01-28 Thread Dapeng
hi guys i got a form requiring user to upload a big file but i want to show a confirm() dialogbox i do it like this t:form onsubmit=return confirm('ready to upload?') // HTML here is abbreviated /t:form it doesn't work ... and i try to hook the event to the submit button