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
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
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
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
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,
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
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
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
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
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
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
> 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
> 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
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
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
> 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
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
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
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
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
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
${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
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
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
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
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
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
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
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.
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
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.
> |
>
>
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" }'.
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
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
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
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
--
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
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
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
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
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
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
42 matches
Mail list logo