Re: T4.1.5 and OC4J: Missing classpath resource '/dojo-0.4.3-custom-4.1.5/'.

2008-05-15 Thread Andreas Andreou
Does this show up in the console for all pages? What does the browser show? On Wed, May 14, 2008 at 11:54 AM, Jan Vissers <[EMAIL PROTECTED]> wrote: > Hi, > > We're trying to migrate an 4.1.2 app to 4.1.5, but are running into an issue. > It seems the exception page isn't properly initialized. Ca

Re: T5: Acegi integration

2008-05-15 Thread Stephane Decleire
You were right : i had different versions of hibernate and hibernate annotations. Everything works fine now ... Thanks. Stephane Robin Helgelin a écrit : On Thu, May 15, 2008 at 5:54 PM, Stephane Decleire <[EMAIL PROTECTED]> wrote: I use tapestry and tapestry-hibernate 5.0.12-SNAPSHOT (but

EventLink and context from page

2008-05-15 Thread Tomasz Dziurko
In one page (let's name it http://www.myapp.com/show) I am showing some items. These items could be divided into some categories and when user wants to filter them uses link looking like that http://www.myapp.com/show/category_name_4, where 4 is number of category passed by onPassivate/onActivate m

T5: Abstract onSuccess methods for forms in base page classes force double form submission

2008-05-15 Thread Bill Holloway
This is just FYI I guess, but I have a page class that inherits from an abstract base class. In the abstract base class I have an abstract onSuccess method to "force" myself to implement the onSuccess handlers in the derived page classes. When submitting the form, I actually get TWO form submissi

Re: [ANN]: T5 website and validation feedback

2008-05-15 Thread tdziurko
Yes, it is possible. Just use clientValidation parameter with false value in your form component. More info: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Form.html - To unsubscribe,

Re: T5: Acegi integration

2008-05-15 Thread Robin Helgelin
On Thu, May 15, 2008 at 5:54 PM, Stephane Decleire <[EMAIL PROTECTED]> wrote: > I use tapestry and tapestry-hibernate 5.0.12-SNAPSHOT (but tried and get the > same error with 5.0.11 and 5.0.10) and tapestry5-acegi 1.1.0-SNAPSHOT. Hmm, seems more like some problem with how you integrate tapestry-hi

Re: [ANN]: T5 website and validation feedback

2008-05-15 Thread Toby Hobson
Is it possible to tell T5 to not perform client-side validation? For the moment I'm happy to take the round-trip hit to get around the problems I'm having with the Javascript stuff Toby - Original Message From: babbler <[EMAIL PROTECTED]> To: Tapestry users Sent: Thursday, 15 May, 200

Re: [ANN]: T5 website and validation feedback

2008-05-15 Thread babbler
I differ in the use of Ajax for consistency. It is not so much getting around DHTML manipulation but - allowing sophisticated validation to be performed on the server-side in a client-agnostic manner - allowing the developer to write one piece of validation and knowing that it will consistently

Re: T5: Acegi integration

2008-05-15 Thread Stephane Decleire
I use tapestry and tapestry-hibernate 5.0.12-SNAPSHOT (but tried and get the same error with 5.0.11 and 5.0.10) and tapestry5-acegi 1.1.0-SNAPSHOT. Robin Helgelin a écrit : On Thu, May 15, 2008 at 4:02 PM, Stephane Decleire <[EMAIL PROTECTED]> wrote: I have just made the integration of Aceg

Re: T5: Acegi integration

2008-05-15 Thread Robin Helgelin
On Thu, May 15, 2008 at 4:02 PM, Stephane Decleire <[EMAIL PROTECTED]> wrote: > I have just made the integration of Acegi in my T5 application but after > each authentication attempt, i get the following error : > > Error invoking service builder method > org.apache.tapestry.hibernate.HibernateModu

Re: T5: unable to resolve 'Layout' (see Article: Tapes try for Nonbelievers)

2008-05-15 Thread jg433
Hi Nille, thank you, that helped. In Eclipse all tml-pages are in the folder WebContent (obviously no need to create subpackages there, because the compiler did not complain). When I put my Layout.java in a subpackage "components" everything was fine. Thanks a lot!! :-)) Juliane -Ursprüng

Re: [ANN]: T5 website and validation feedback

2008-05-15 Thread Josh Canfield
> One obvious advantage of having ajaxified client-side validation is that the > server-side validation and client-side validation will look exactly the > same! Ajax isn't the answer for this problem. You don't have to go to the server to get consistent error reporting, adding and removing element

Re: T5 + JSON + key name

2008-05-15 Thread Josh Canfield
> for(var key in jsonObject) { > addSelectOption(groupSelect, jsonObject[key], key, false); jsonObject is a hash, the keys in the hash are not stored with a predictable ordering. If you want an ordered list then you should create an array. On Thu, May 15, 2008 at 3:58 AM, Leon Derks <[EMA

Re: T5 + JSON + key name

2008-05-15 Thread Andreas Andreou
You probably have to rethink your json structure - it doesn't look like you're interested in getting values from keys... you just want the values in the particular order. Take a look at JSONArray On Thu, May 15, 2008 at 2:19 PM, Leon Derks <[EMAIL PROTECTED]> wrote: > Hi Chris, > > I just notice

Re: Re: Index page and trailing slash

2008-05-15 Thread nille hammer
Hi guys, I had a similar problem with relative urls. I have added a line to the method contributeApplicationDefaults in the AppModule class. The line is: configuration.add(TapestryConstants.FORCE_ABSOLUTE_URIS_YSMBOL, "true"); After that tapestry is not generating relative urls any more. Hope t

Re: T5: editing textfields values from a collection

2008-05-15 Thread Josh Canfield
> But I also want to be able to edit the textfield values, when I click the > save button. Are you saying that you want to modify the value in your java code after the user as clicked the save button? You can add an onValidate or onSuccess handler and modify the values there... If that's not what

Re: T5: unable to resolve 'Layout' (see Article: Tapestry for Nonbelievers)

2008-05-15 Thread nille hammer
Hi Juliane, templates and classes for pages or components have to be in the same package. Secondly, pages (i.e. Start) must go to the pages subpackage whilst components (i.e. Layout) must go to the components subpackage. The resulting package structure for your example would be: de...pages.Sta

T5: unable to resolve 'Layout' (see Article: Tapestry for Nonbelievers)

2008-05-15 Thread jg433
Hi, I am a Java Programmer just starting to study Tapestry 5. I tried to follow the example in the article "Tapestry for Nonbelievers" where a Layout.tml is used to integrate page specific content. I keep getting a "java.lang.IllegalArgumentException: Unable to resolve 'Layout' to a component cl

Re: T5 application not responding, blocked at PerThreadServiceCreator.createObject

2008-05-15 Thread Martin Grotzke
Hi Howard, I have upgraded our application to T5.0.11 and deployed it on one tomcat for testing, this one is running fine now - the issue seems to be solved with this. Thanx a lot! :) Though there are still 2 issues introduced with the upgrade to 5.0.11: - dateField component does not allow speci

Re: Failure writing parameter 'value' of component characteristic/Edit:nominaltextfield:

2008-05-15 Thread Leon Derks
Hi Nicholas, Indeed, that was it. Thanks! Leon nicholas Krul wrote: ${X} is a one way output... it uses the prop: binding by default... remove the EL-style ${} and it should work. On Thu, May 15, 2008 at 2:24 PM, Leon Derks <[EMAIL PROTECTED]> wrote: I get this error: Failure writing p

T5: Acegi integration

2008-05-15 Thread Stephane Decleire
I have just made the integration of Acegi in my T5 application but after each authentication attempt, i get the following error : Error invoking service builder method org.apache.tapestry.hibernate.HibernateModule.build(HibernateSessionSource, ThreadCleanupHub) (at HibernateModule.java:74) (fo

Re: Failure writing parameter 'value' of component characteristic/Edit:nominaltextfield:

2008-05-15 Thread nicholas Krul
${X} is a one way output... it uses the prop: binding by default... remove the EL-style ${} and it should work. On Thu, May 15, 2008 at 2:24 PM, Leon Derks <[EMAIL PROTECTED]> wrote: > I get this error: > > Failure writing parameter 'value' of component > characteristic/Edit:nominaltextfield: Bi

Failure writing parameter 'value' of component characteristic/Edit:nominaltextfield:

2008-05-15 Thread Leon Derks
I get this error: Failure writing parameter 'value' of component characteristic/Edit:nominaltextfield: Binding [EMAIL PROTECTED] is read-only. I have the corresponding getter / setter for the property. What am I doing wrong? Java Page: private String nominalDescription; public String get

Re: Question about update T5 from 5.0.10 to 5.0.11

2008-05-15 Thread Kristian Marinkovic
if you already have an existing maven project just change the tapestry version in your pom.xml file to 5.0.11 g, kris "nicholas Krul" <[EMAIL PROTECTED]> 15.05.2008 15:00 Bitte antworten an "Tapestry users" An "Tapestry users" Kopie Thema Re: Question about update T5 from 5.0.10 to 5.0

Re: Question about update T5 from 5.0.10 to 5.0.11

2008-05-15 Thread Chris Lewis
It sounds like you are using the old (5.0.10) maven archetype. What exactly are you using to create the project (the exact command)? amebaliu wrote: > Hi, I have post some question recently, and got some replies. first of all, > thanks all the people who replied my post before. Thank you guys a lo

Re: Question about update T5 from 5.0.10 to 5.0.11

2008-05-15 Thread nicholas Krul
Hi Alex's book is based on 5.0.5 from memory... I started at 5.0.10 and upgraded to 5.0.11 (early). With the latest maven, this command worked for me: mvn archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.11 -DgroupId=koncept -Dartifac

Question about update T5 from 5.0.10 to 5.0.11

2008-05-15 Thread amebaliu
Hi, I have post some question recently, and got some replies. first of all, thanks all the people who replied my post before. Thank you guys a lot. Now, I have a questions about how can I update the T5 from 5.0.10 to 5.0.11? I install the Maven follow the instructions in a book named Tapestry 5, B

Re: [ANN]: T5 website and validation feedback

2008-05-15 Thread babbler
One obvious advantage of having ajaxified client-side validation is that the server-side validation and client-side validation will look exactly the same! - Original Message - From: "babbler" <[EMAIL PROTECTED]> To: Sent: Thursday, May 15, 2008 5:08 AM Subject: [ANN]: T5 website and

Re: T5 + JSON + key name

2008-05-15 Thread Leon Derks
Hi Chris, I just noticed that the options in the select are initialy not ordered. But when I persist the options (groups) in my session data, the option are ordered after I have clicked the search button and submitted the form. Then refreshed page, contains a select with ordered group options.

Re: T5 + JSON + key name

2008-05-15 Thread Leon Derks
Thanks Chris, That worked. The only thing is that the order of groups in the select is gone. I know for sure I put them in the correct order in the java jsonObject. I think the var jsonObject = response.evalJSON(); or the for(var key in jsonObject) messes up the order. Is there a way to solve t

Re: T5 + JSON + key name

2008-05-15 Thread Chris Lewis
Try: for (var i in object) {} Where object would be your json object. Leon Derks wrote: > Hi Sven, > > I only see that they get the value by using the key name. > For example this: > > |var data = '{ "name": "Violet", "occupation": "character" }'.evalJSON(); > data.name; //prints Violet. > | > >

Re: T5 + JSON + key name

2008-05-15 Thread Sven Homburg
i have not tried before: var myHash = $H(transport.responseText) var keyArray = myHash.keys() 2008/5/15 Leon Derks <[EMAIL PROTECTED]>: > Hi Sven, > > I only see that they get the value by using the key name. > For example this: > > |var data = '{ "name": "Violet", "occupation": "character" }'.

Re: T5 + JSON + key name

2008-05-15 Thread Leon Derks
Hi Sven, I only see that they get the value by using the key name. For example this: |var data = '{ "name": "Violet", "occupation": "character" }'.evalJSON(); data.name; //prints Violet. | But in my case, I don't know the key name, so I can't get the value. Is there a way to get the key names o

Re: T5: JSONArray + fillling

2008-05-15 Thread Sven Homburg
http://www.prototypejs.org/learn/json 2008/5/15 Leon Derks <[EMAIL PROTECTED]>: > Thanks, > > How can I loop through the jsonObjects in javascript? > > I have now something like this: > > array.each(function(item) { > item[0] item[1] > //fill options with the item. > } > > But I get undefined

Re: T5 + JSON + key name

2008-05-15 Thread Sven Homburg
http://www.prototypejs.org/learn/json 2008/5/15 Leon Derks <[EMAIL PROTECTED]>: > Hello > > I have a JSON object like this: > > JSONObject obj = new JSONObject(); > > obj.put(entity.getId(), entity.getName()); > > But how can I get the value from my json object in javascript, if I don't > know t

T5 + JSON + key name

2008-05-15 Thread Leon Derks
Hello I have a JSON object like this: JSONObject obj = new JSONObject(); obj.put(entity.getId(), entity.getName()); But how can I get the value from my json object in javascript, if I don't know the key name? Is there a way to get the key name(s) from a json object in javascript? Leon --

Re: Question about property annoation

2008-05-15 Thread amebaliu
Just wanna ask, how to update the mvn repository?? Thanks :-{ Jakob Keres wrote: > > >> >> @Property >> private String message; <--- does anybody know the reason y i can >> not >> include the @Property ? >> I can find @Inject and all other annoations.. but not this one.. > > I had

[ANN]: T5 website and validation feedback

2008-05-15 Thread babbler
I've been working on a T5 and Flash based website - building a version of the good old acrophobia game. You can check it out at www.acrobabble.com. T5 is shaping up to be a great framework. However, I do have some feedback on the form validation mechanism. As you can see from the acrobabble webs

Re: T5: JSONArray + fillling

2008-05-15 Thread Leon Derks
Thanks, How can I loop through the jsonObjects in javascript? I have now something like this: array.each(function(item) { item[0] item[1] //fill options with the item. } But I get undefined text in for my select option values. The number of items in my select is correct, but the key-value i

Re: Pallete component behavior

2008-05-15 Thread Peter Stavrinides
I can confirm that I have experienced this as well. - Original Message - From: "Robert Zeigler" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Tuesday, 13 May, 2008 8:43:22 PM GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Pallete component behavior I've seen the behavior a

Re: T5 hidden field

2008-05-15 Thread Sven Homburg
try this http://87.193.218.134:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/components/Hidden.html 2008/5/15 Filip S. Adamsen <[EMAIL PROTECTED]>: > I'd really like to have this too. > > -Filip > > > On 2008-05-14 16:40, Toby Hobson wrote: > >> Is there a reason why there is no c

T5: editing textfields values from a collection

2008-05-15 Thread Leon Derks
I have an object which contains a collection with a maximum of 3 descriptions. I want to be able to edit the descriptions on the same page. At the moment I loop through the collection and print the descriptions in its own textfield on the screen. But I also want to be able to edit the textfi