Is your form using a zone?
If so, you may have hit this bug
https://issues.apache.org/jira/browse/TAPESTRY-2324
cheers
Ben
> -Original Message-
> From: Janko Muzykant [mailto:[EMAIL PROTECTED]
>
>
> ups, sorry for not specifing that. i'm using latest tapestry 5.0.13.
>
> jm.
> Massim
27;t work for me. My html templates are in subdirectories of WEB-
> INF. Where are yours?
>
> On 01/10/2007, at 11:53 PM, Ben Sommerville wrote:
>
> > Switching to the JBoss classloader also makes auto-loading of html
> > templates
> > work for me.
> >
> &g
auto-reload T5 html templates in JBoss???
>
> Alternatively, can someone point me to T5.0.5's template
> scanning class?
>
> Thanks in advance,
> Geoff
>
> On 30/09/2007, at 10:01 PM, Ben Sommerville wrote:
>
> > I found that using the JBoss UnifiedClassLoad
I found that using the JBoss UnifiedClassLoader instead of the Tomcat
class loader for web applications fixes the auto-reloading issues.
To change this setting you need to edit the following file:
JBoss 4.0.x
/deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml
JBoss 4.2.x
/deploy/jbossweb.de
You can find that discussion here
http://www.nabble.com/T5%3A-NPE-in-Base64InputStream-and-locked-waiting-Ch
eckForUpdatesFilter-tf4058686.html
> -Original Message-
> From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
> Sent: Saturday, 25 August 2007 3:35 AM
> To: Tapestry users
> Subject
I finally had a chance to test this & I'm confident it is fixed.
Under 6u1 I was consistently getting a deadlock, under 6u2 I cannot
reproduce it.
cheers
Ben
> -Original Message-----
> From: Ben Sommerville [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 11 July 2007 4:24
x27;s the
> underlying cause.
>
> I wonder if we could create a work around by setting a wait time to
> acquire the read lock? In a loop?
>
> On 7/10/07, Ben Sommerville <[EMAIL PROTECTED]> wrote:
> > If you are running under jdk 6u1 and tapestry 5.0.5 (or
> g
If you are running under jdk 6u1 and tapestry 5.0.5 (or greater) then
there is
a jvm bug that can cause a deadlock.
The bug report is at
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6571733.
It is supposed to be fixed in jdk 6u2 (which was release recently) but I
haven't had a chance to t
That is deliberate, not a bug.
>From "New And of Note" at
http://tapestry.apache.org/tapestry5/tapestry-core/index.html
The mapping from class names to page names (or component types) has been
tweaked to remove some redunancy; For example, class
org.example.myapp.pages.edit.EditUser will now hav
tp://repo1.maven.org/maven2),
> codehaus.snapshots (http://snapshots.repository.codehaus.org),
> howardlewisship.com (http://howardlewisship.com/repository)
>
> I think this is maven problem. Do I need to change my pom.xml?
>
> On 6/1/07, Ben Sommerville <[EMAIL PROTECTED]&g
Tapestry users'
> Subject: Re: T5: when is @Persist necessary and when not...
>
> On Thu, May 31, 2007, Ben Sommerville wrote:
>
> > For a form I'd say the best place to create those compound objects
> > is in the onPrepare method. This will be invoked before
&g
That download should still work... the only thing that you should
need to change is the tapestry versions in the pom files
(replace all 5.0.4 references with 5.0.5)
If you run into problems drop me an email & I will try to help.
cheers
Ben
> -Original Message-
> From: Jason Lea [mailto
The default value that the _person member gets reset to will be
the Person _instance_ that you assigned in the constructor.
So when the form is submitted that instance will have its members
set based on the form values. When the page is rendered the
same instance will be used as the default val
Hi Allen,
You can use
public void onSelectedFromUpdate(){...}
public void onSelectedFromBack(){...}
A couple of things to note:
- all the standard form events (prepare, submit, validate, etc) will also
be invoked.
I believe that selected events will be invoked between prepare and
validate
- on
ject: Re: T5: PrintWriter weirdness
>
> You can also return a StreamResponse, which is probably
> easier to implement
> that ActionResponseGenerator.
>
> On 5/22/07, Ben Sommerville <[EMAIL PROTECTED]> wrote:
> >
> > Bill,
> >
> > When you return
Bill,
When you return void from an actionLink method the default response
of tapestry is to render the page.
To just return the editor value you need to return an
ActionResponseGenerator
that outputs your desired response.
e.g.
ActionResponseGenerator onInPlaceEditorSubmit() throws IOExcept
});
}
}
where is the javascript to test if "value" is a valid email address.
Add a script include to your border/page (to load your validation
function)
and change the render method to use MyProject.Field.email and you are good
to go
cheers.
--
Ben Sommerville
I believe that tapestry uses javassist 3.4ga.
It is likely that the tapestry ClassFactoryClassPool class is
trying to use a javaassist method that isn't in 3.2
cheers
Ben
> -Original Message-
> From: Tim Sawyer [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 18 April 2007 7:40 AM
> To:
I'll take a peek when I get a chance.
>
> My intention is for there to be a small tapestry-upload
> project for the Upload component. The (majority of)
> applications that don't use upload will not be burdened with
> the many extra dependencies Upload will bring.
>
> O
FYI - I just submitted an implementation of a file upload component
to JIRA.
It can be downloaded from
https://issues.apache.org/jira/browse/TAPESTRY-1354
You'll have to build it yourself, but it should "just work" using
maven.
If anyone tries it out, please let me know if you have any problems
o
I also had this error when I was playing yesterday.
In my case it turned out that I had two copies of tapestry-core on the
classpath (one in a web app lib and the other in the ear that contained the
web app). Removing the extra copy (in the web app) fixed this problem for
me.
-Original Messa
mport org.apache.tapestry.Tapestry;
import org.apache.tapestry.annotations.Parameter;
import org.apache.tapestry.annotations.ComponentClass;
import org.apache.hivemind.ApplicationRuntimeException;
/**
* TODO: Doc this.
*
* @author Ben Sommerville
*/
@ComponentClass(allowBody = false, reservedParam
I ran into this problem too. FieldLabel does not work with Radio because
it is not an IFormComponent.
The order of FieldLabel & the component it refers to doesn't matter. Except
that if you put the FieldLabel after the component you have to set
prerender=false.
I worked around this by creating
can be more
useful with ideas.
On 9/10/06, Ben Sommerville <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Can an @EventListener be used to subscribe to an event publised via a
> dojo topic?
> (dojo topics are described at
>
> http://dojotoolkit.org/docs/dojo_event_system.htm
Gary,
If you change
@EventListener(events="onSelect", elements="addressTable")
to
@EventListener(events="onSelect", targets="addressTable")
then Tapestry will render the event script using dojo.widget.ByID
(elements hooks to html elements, targets hooks to components/widgets)
Hope that helps
re
Hi,
Can an @EventListener be used to subscribe to an event publised via a dojo
topic?
(dojo topics are described at
http://dojotoolkit.org/docs/dojo_event_system.html#using-topics-for-truly-an
onymous-communication).
cheers,
--
Ben Sommerville
tent type
'text/xml;charset=UTF-8'; a default filter has been used."
Any ideas what might be causing this?
thanks
--
Ben Sommerville
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
that helps.
For what its worth, you have my sympathies. I've tried to find similar
problems myself & itÂ’s a long, hard road :(
Regards,
Ben Sommerville
-Original Message-
From: Henri Dupre [mailto:[EMAIL PROTECTED]
Sent: Monday, 24 July 2006 2:12 PM
To: Tapestry users
Subject: Re: Perm
28 matches
Mail list logo