Hi,
I'm using tapestry 4.1.5.
Why client-side validation doesn't work?
There are 2 errors, which saying: dojo is undefined and tapestry is
undefined
When I click view source on Firefox, Tapestry adds these lines on the
bottom section:
script type=text/javascript!--
Hi all,
This problem solved by adding @Shell component before @Body component
but, there is another question:
Is it possible to distinct error message lines in Client Side Validation
message box (Same message just appear once) ?
plz help
Thanks in advance,
Yohan
On Wed, 2008-07-02 at 13:37
Hello,
I have a class defined (MyClass) that has a String property pstlCode,
with a getter and a setter.
If I use BeanModelSource to create a BeanModel for MyClass, the
BeanModel has a property pstlCode that can be used to access the
pstlCode.
However, if I exclude the pstlCode property, and
Hi All
Under certain conditions, the autocompleter ignores text that has been types
directly into the textfield.
To reproduce:
1. Give focus to the textfield portion of the autocompleter
2. Type in a valid value
3. Click the textfield portion of the autocompleter (this closes the
dropdown)
4.
Hi all,
I'm successfully eliminate duplicate messages in client-side validation
by modifying form.js
I love open source.
Thanks anyway,
Yohan
On Wed, 2008-07-02 at 14:10 +0700, Yohan Yudanara wrote:
Hi all,
but, there is another question:
Is it possible to distinct error message lines in
Hi all,
I'm having a trouble understanding the persistence value.
Let say I have a property as follow:
private String password;
Although there's no @Persist annotation. The value always retrieved back
even though I'm opening a new browser (Not another tab).
Basically, two users that's
Hi Ronny,
I didnt got it fully but take a look at @ApplicationState annotation.
This is how we store LoginStatus:
@ApplicationState
LoginStatus loginStatus;
{...
loginStatus.login(user, password);
loginStatus.isLoggedIn()...
Etc.
...}
Cheers,
Martin (Kersten)
-Ursprüngliche
Hi Martin,
Thanks for your reply.
Basically I only want to keep all page properties (Forms, etc) specific to
the user's session/page and not sharing the information among other user.
However, adding the @Persist(client) doesn't make any different. It keeps
retrieving/modifying the same
then you have to put @Persist to all user spcific properties... it works.
all fields will be saved/restored to/from the users own session
just try this:
@Persist
private String data;
alas, there is one usecase where such problem can still occur.
that depends on how you initialize your fields.
Hi,
I have just upgraded my projects dependencies under maven from T5.0.11
to T5.0.13. Everything compiled OK (after I changed all the *.tapestry.*
imports to *.tapestry5.* imports and used the new refactored constants
classes). However when I request a page that includes a BeanEditForm I
get a
Russell,
I think this is a Jetty issue. Try running the application via mvn jetty:run
- if this works then the problem is Jetty is hiding SLF4J from the
beanEditForm class loader.
What is happening is Jetty hides 'server' classes from the web application
unless they are also in WEB-INF/lib. When
That is it.
Thanks Ben
Russell.
-Original Message-
From: Ben Gidley [mailto:[EMAIL PROTECTED]
Sent: 02 July 2008 12:09
To: Tapestry users
Subject: Re: T5: upgrade to T5.0.13 from T5.0.11 ClassNotFoundException
for slf4j.Logger
Russell,
I think this is a Jetty issue. Try running the
Hi Kristian,
I think I have solve the problem. Not sure what's happening.
Basically
I have three properties
@Persist
private User user = new User ();
@Persist
private Login login = new Login();
@Persist
private Info info = new Info();
@Component(id = loginIdTxt, parameters = {size=15,
Em Wed, 02 Jul 2008 09:16:19 -0300, Ronny L [EMAIL PROTECTED] escreveu:
@Persist
private User user = new User ();
@Persist
private Login login = new Login();
@Persist
private Info info = new Info();
Try not initializing the fields in their declaration. Use the Form
component prepare events
Are there any plans to release Tapestry5-Acegi 1.1.1 (the one with
Tapestry 5.0.13 support) soon? I've checked out the sources and the code
is there, but not released yet.
As I'm planning to release some open-source packages until Friday, and one
of them is built on Tapestry5-Acegi, I'm
Hi!
How can one use multiple databases with hibernate integration? Is the answer
use integration for the db that is largest and code by hand the rest?
It should be possible IMHO.
- 99
--
View this message in context:
Hmmm, create two tapestry apps that are modules/libraries rather than
web apps. One for accessing DB1 with hibernate and one for accessing DB2
with hibernate (thus separate config) then create another tapestry web
app that uses those to modules to display/manipulate etc the data from
the database?
Yes, by subclassing the TapestryFilter class; there's a method to
override that allows you to have greater control over what modules are
loaded.
However, the easier way is to figure out why your AppModule is not
being loaded; once that is loaded, you can place a @SubModule
annotation on it to
Thanks.
I was not precise enough: the application module DOES load when I put it in a
jar with a manifest containing the Tapestry-Module-Classes key, but it does not
load just by the default name derived in the way described in the documentation.
But now i think that may be due to the
(this isn't a question - I found a solution)
I have installed maven - it is functioning correctly. I have not installed or
configured anything else specific to it.
I am simply trying to following the Tapestry Archetype explained here:
Your form is not being submitted via AJAX. You may have a javascript error
that is preventing the form from being properly updated for the zone.
The request object has the isXHR method which you can use to determine if
it's a full or partial request. You can use this info to return something
That -U flag can save a lot of time (and frustration) so we could
mention it in the guide...
Also, the fact that you needed to define remoteRepositories should
also be mentioned
(it's valid for snapshot versions of the archetype)
On the other hand, if I omit it and delete the archetype artifacts
Answering my own question:
This seems to work
a t:type=ActionLink t:id=cancelButton
buttonCancel/button
/a
The actionLink returns another page so the submit is canceled.
Martijn
On Wed, 2008-07-02 at 11:00 -0700, Martijn Brinkers (List) wrote:
Hi,
I have added a cancel button to
Everything under the .base. package is going to be loaded by the
component class loader, and transformed into a component class at
runtime. Only components should go there, not data objects.
On Wed, Jul 2, 2008 at 4:02 PM, Martijn Brinkers (List)
[EMAIL PROTECTED] wrote:
I get a loader
Yes that was it. Is there a list of packages that are 'special' to
Tapestry. The base package was new to me. The 'Project Layout' page does
not mention the special packages and I could not find a page mentioning
the base package.
Martijn
On Wed, 2008-07-02 at 18:20 -0700, Howard Lewis Ship
Hi Josh,
What would you suggest to avoid this kind of thing.
Should I rather use a primitive properties for storing form fields. It's
much easier to use object but it doesn't always work the way we want it.
Thanks,
Ronny
joshcanfield wrote:
The value set by the constructor, or inline, is
26 matches
Mail list logo