hi all,
so far i haven't seen any detail tutorial on the usage of ajax with
scriptaculous within Tapestry 5, anyone has pointer or links to it? please
advise
regards,
wesley
--
View this message in context:
http://n2.nabble.com/Tutorial-on-Tapestry-5-scriptaculous-usage-tp1369700p1369700.html
Well, that was fun. Sort of.
I did get it working by setting volatile="true" for the loop. It did leave
me scratching my head wondering about the interactions of Persist and
volatile.
Odd.
> -Original Message-
> From: Andy Pahne [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 23
That's my proposal as well. Simply add a prefix that is unequivocally
owned by tapestry ("t5.enhanced", etc), so that everyone (no matter what
logging system you use), can reliably and efficiently control what gets
logged and how.
Andy Pahne wrote:
I'd prefer a prefix like "t5.enhanced
I'd prefer a prefix like "t5.enhanced." for the logging category That
way I'd be in full control what comes up and what doesn't.
Jonathan Barker wrote:
Let's turn this into a question.
How do we want to be able to configure Tapestry logging?
I have found the rather verbose logging to
Hello,
thanks for fast answer, but
tapestry.app-package is set to eu.hlavki.tamsample.
So Layout.tml is in eu/hlavki/tamsample/components folder. Is that wrong?
thanks, m.
On Thursday 23 October 2008 20:08:18 Howard Lewis Ship wrote:
> Your Layout.tml is likely in the wrong location.
>
> On Thu,
Hello,
thanks for fast answer, but
tapestry.app-package is set to eu.hlavki.tamsample.
So Layout.tml is in eu/hlavki/tamsample/components folder. Is that wrong?
thanks, m.
On Thursday 23 October 2008 20:08:18 Howard Lewis Ship wrote:
> Your Layout.tml is likely in the wrong location.
>
> On Thu,
Thiago H. de Paula Figueiredo wrote:
Em Thu, 23 Oct 2008 15:00:33 -0300, Andy Pahne <[EMAIL PROTECTED]> escreveu:
Jonathan Barker wrote:
id="search_accommodation_submit">${message:next-step}
Shoudn't you use a instead of a ? Or at
least a ?
That were our web designers. But
tapestryphoto wrote:
This looks similar to my problem (see both of my posts from a day or
so ago). It appears Loops in a Form do not update the properties.
Perhaps this is broken in Tapestry. I guess it must be a bug.
Unfortunately I'm not knowledgeable enough about Tapestry to provide
an an
Em Thu, 23 Oct 2008 15:00:33 -0300, Andy Pahne <[EMAIL PROTECTED]> escreveu:
Jonathan Barker wrote:
id="search_accommodation_submit">${message:next-step}
Shoudn't you use a instead of a ? Or at
least a ?
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer,
In my case an encoder would be useless, because the entities are new.
Their primary key would be null.
a.
tapestryphoto wrote:
My understanding is the "additional configuration" is in using an
encoder. If you have simple serializable objects (like I do) then it
should just encode them au
hi oliver,
i checked it, and you are right,
its impossible to insert a chart into a hidden (display:none) element.
in this case the flotr library cant calculate the dimension of the chart
i have change the flotr code a bit, so if element is hidden, the dimension
is getting from style tag if set.
Your Layout.tml is likely in the wrong location.
On Thu, Oct 23, 2008 at 11:04 AM, Michal Hlavac <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I created sample tapestry5 applicatoin from maven quickstart archetype...
>
> Then I created Layout.tml and Layout.java
> Layout.tml:
> http://tapestry.apache.or
Hello,
I created sample tapestry5 applicatoin from maven quickstart archetype...
Then I created Layout.tml and Layout.java
Layout.tml:
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
My Tapestry Application
Layout.java:
public class Layout {
}
Inde
Jonathan Barker wrote:
Perhaps you could post your full template and class. I don't see a submit
component so I question what else has been omitted.
Jonathan
I omitted a few things that seemed unimportant to me. But here it is
complete, only some names obfuscated...:
http://tapestry.ap
My understanding is the "additional configuration" is in using an
encoder. If you have simple serializable objects (like I do) then it
should just encode them automagically in the form. If you have complex
objects then you need to write an encoder so only, say, object ids are
encoded in t
Perhaps you could post your full template and class. I don't see a submit
component so I question what else has been omitted.
Jonathan
> -Original Message-
> From: Andy Pahne [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 23, 2008 11:15
> To: Tapestry users
> Subject: [T5] editing a
Let's turn this into a question.
How do we want to be able to configure Tapestry logging?
I have found the rather verbose logging to be beneficial in figuring out
what listeners are being fired when using naming conventions rather than
explicit OnEvent configuration. However, it has also obsc
ok
so my css is not hooked to the tag, it's hooked to the class.
FYI
p.msg, div.msg, td.msg {
background-color : #ff;
color : #707070;
font-family : verdana,arial;
font-size : 11px;
border : 1px solid #cc;
padding: 6px 6px 6px 6px;
margin : 4px 0px 4px 0px;
}
Stephan
It should work somehow, at least the documentation says so:
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Loop.html
(at the very end of the page).
Quote "Tapestry form control element components (TextField, etc.) work
inside loops. However, so
This looks similar to my problem (see both of my posts from a day or
so ago). It appears Loops in a Form do not update the properties.
Perhaps this is broken in Tapestry. I guess it must be a bug.
Unfortunately I'm not knowledgeable enough about Tapestry to provide
an answer and I await so
I mean defining in your css something like this:
div {
}
That style is applied to all div tags and in that case after the partial
update it wouldn't be applied anymore.
Stephane Decleire wrote:
What do you mean by "hooked to the tag" ?
Stephane
Hugo Palma a écrit :
Are you sure your
Hi,
We are busy converting our Struts/Tiles based application to Tapestry. Until
this is complete I have am required to generate links to the new Tapestry
pages correctly from the jsp pages.
Normally this isn't a problem as I used the url pattern of:
PARAM3
Now, please consider the situation
I am trying to edit the properties of objects contained in a list by
using a loop in a form component. But it does not work, because the
objects in the list are not updated.
The list of passengers:
@Property @Persist
private List passengers;
This list is initialized like this:
What do you mean by "hooked to the tag" ?
Stephane
Hugo Palma a écrit :
Are you sure your css isn't hooked to the tag instead of the class ?
I still haven't tried this fix, but it seems weird that the msg class isn't
applied when it's declared in the class attribute of the tag.
On Thu, Oct 23
Are you sure your css isn't hooked to the tag instead of the class ?
I still haven't tried this fix, but it seems weird that the msg class isn't
applied when it's declared in the class attribute of the tag.
On Thu, Oct 23, 2008 at 1:14 PM, Stephane Decleire <
[EMAIL PROTECTED]> wrote:
> The corr
Em Thu, 23 Oct 2008 09:33:27 -0300, Ulrich Stärk <[EMAIL PROTECTED]>
escreveu:
Thiago,
Hi, Ulrich!
I was referring to a supposedly fixed issue, that, although it's marked
as fixed, still causes this NPE. Do you really think I'd make this claim
if I wasn't using the latest snapshot and m
Thiago,
I was referring to a supposedly fixed issue, that, although it's marked
as fixed, still causes this NPE. Do you really think I'd make this claim
if I wasn't using the latest snapshot and made sure, that maven isn't
playing tricks on me?
Uli
Thiago H. de Paula Figueiredo schrieb:
Em
Since your problem is similar to serverpush functionality you might also
take a look into dwr. They have a chat example which you might use in your
Tapestry app.
Look here: http://directwebremoting.org/dwr/reverse-ajax
Got the onbeforeunload call to work. On the off chance that someone is doing
something similar here's my .tml head.
I'm using jQuery to do an ajax call with a onActionFromLink(String name)
method in my page to remove the user from my trusty singleton. Interesting
gotcha, ie 6 caches all ajax ca
The correction linked to Jira TAP5-290 defines the namespaces as needed
but the tag generated is not the same in a full and in a partial render :
In my sample, the tag printed during a full page rendering :
...
becomes an tag :
http://www.w3.org/1999/xhtml"; xmlns:ns1="">
...
and
Em Thu, 23 Oct 2008 06:32:59 -0300, Ulrich Stärk <[EMAIL PROTECTED]>
escreveu:
And here is the Exception :)
java.lang.NullPointerException
at $Request_11d24c24553.getSession($Request_11d24c24553.java)
Upgrade to 5.0.16-SNAPSHOT, as it has a fix for this bug.
--
Thiago H. de Paula Figueired
Thanks.
I forced a maven update and it works now.
Stephane
Ulrich Stärk a écrit :
Stephane Decleire schrieb:
I get this morning the bug described in JIRA TAP5-290.
Since this bug is supposed to be closed for 3 days now, how can i
know if the correction is taken into account in the last snaps
Stephane Decleire schrieb:
I get this morning the bug described in JIRA TAP5-290.
Since this bug is supposed to be closed for 3 days now, how can i know
if the correction is taken into account in the last snapshot ?
Thanks in advance.
Stephane
Check the date of the snapshot. They should be
Looking at Jira, the bug is supposed to be closed since 10/20, the
tapestry framework has been updated in my maven repository on 10/22 but
the error is still there, that's why i put this question ;-)
Stephane
Andy Pahne a écrit :
You may have a look at your local maven repo after mvn update
You may have a look at your local maven repo after mvn update. You can
tell from the snapshot's filename when it has been built.
You could also just give it a try to see if the error has gone...
Stephane Decleire schrieb:
I get this morning the bug described in JIRA TAP5-290.
Since this b
I get this morning the bug described in JIRA TAP5-290.
Since this bug is supposed to be closed for 3 days now, how can i know
if the correction is taken into account in the last snapshot ?
Thanks in advance.
Stephane
It sure is possible.
Looking at your use case my approach would be to implement those conditional
validation on the "onValidateForm" method in your page / component class.
For example:
public class Login
{
@Persist
@Property
private String userId;
@Property
private String password;
It is definitely not needed for tapestry! As I said, just remove
tapestry-hibernate from your class path.
Uli
muinjava schrieb:
thanks all for your answers, I solved this problem by adding hibernate3.jar
into my classpath. so it seems hibernate is a must-have one no matter you
like it or not
thanks all for your answers, I solved this problem by adding hibernate3.jar
into my classpath. so it seems hibernate is a must-have one no matter you
like it or not. happy day!
--
View this message in context:
http://www.nabble.com/Tapestry-5.0.15%2C-NetBeans-6.1-and-Hibernate-ClassNotFound-e
Joachim, thanks man!
That solved the problem
Henrik
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
There has been a lot of posts on this topic, and yes you are not alone.
--
If you are not an intended recipient of this e-mail, please notify the sender,
delete it and do not read, act upon, print, disclose, copy, retain or
redistribute it. Please visit http://www.albourne.com/email.html for im
Remove tapestry-hibernate from your classpath
Uli
muinjava schrieb:
simple question:
I made a simple tapestry web app and set all standard tapestry5.0.15 library
jars on clasapath, and started tomcat, got following error:
Exception starting filter app
java.lang.NoClassDefFoundError: org/hiber
Did you include the tapestry hibernate library? It will be trying to
load hibernate related stuff if it's included in the classpath,
regardless of whether you use hibernate in your own code.
muinjava wrote:
> simple question:
> I made a simple tapestry web app and set all standard tapestry5.0.15
simple question:
I made a simple tapestry web app and set all standard tapestry5.0.15 library
jars on clasapath, and started tomcat, got following error:
Exception starting filter app
java.lang.NoClassDefFoundError: org/hibernate/Session
at java.lang.Class.getDeclaredMethods0(Native Meth
Ulrich Stärk schrieb:
Although https://issues.apache.org/jira/browse/TAP5-257 has been fixed,
I am still getting a NPE when I try to store an ASO into the session
from within a HttpServletRequestFilter.
I've got a HttpServletRequestFilter that handles OpenID authentication
in conjunction with
Although https://issues.apache.org/jira/browse/TAP5-257 has been fixed,
I am still getting a NPE when I try to store an ASO into the session
from within a HttpServletRequestFilter.
I've got a HttpServletRequestFilter that handles OpenID authentication
in conjunction with tapestry-spring-securi
Hi Tapestry gurus! :) I'm facing an interesting problem with a service that
I'm trying to build. This service will aid in building a navigation menu,
but for localization purposes, I need to get a "Messages" reference for
access to the application-wide message catalog.
I searched through the arch
Can it be that you switched on resource filtering in your maven project?
If this is a multi-component project, it may have been in a parent
project as well.
Kind regards,
Joachim
Henrik Schlanbusch wrote:
Hi I am using Tapestry 5.0.15 and have come over
a strange problem that I cannot resolve
Hi everybody, we are in a hurry in our project, because some requirements
made us to put somethin like Conditional Validations.
For instance, input components (textfield, select, ...) will always have
format validations, but when the page will be invoked with a parameter, a
validation required i
The group object is of course my own object.
I do not understand why the maven project is
returned.
If I try to access the group in the java code
System.out.println(getGroup().getClass().getName());
I get the correct classname.
Henrik
--
I am even more puzzled. I tried to do this in
the tml file:
${group.class.name}
and the result in the html was:
org.apache.maven.project.MavenProject
I am using the jetty:run to start the project.
Henrik
-
To unsubscribe, e
On Wed, Oct 22, 2008 at 7:56 PM, Fernando Padilla <[EMAIL PROTECTED]> wrote:
> Most people use Log4j, so I don't think suggesting "Markers" is a worthwhile
> suggestion.
I've switched to logback from log4j on a small project with high
concurrent utilization and besides the nice new features i've
52 matches
Mail list logo