se the configuration in a contribution on a per-app basis. Sounds
fun right? :)
On Fri, Sep 17, 2010 at 5:44 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Fri, 17 Sep 2010 12:58:52 -0300, Jack Nuzbit
> wrote:
>
> Hi,
>>
>
> Hi!
>
> Is
Hi,
Is there a way to create Pages and initialise their activation context at a
service level?
ComponentSource can give me Component instances but casting it to my page
instance results in a ClassCastException due to the different classloaders.
Is there a way I can set an activation/event context
On Tue, Nov 10, 2009 at 2:58 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> Em Tue, 10 Nov 2009 12:42:25 -0200, Jack Nuzbit
> escreveu:
>
>
> non-tapestry site. The problem is that in using tapestry components I
>> can't set the action attr
form to post to this external site. The form
component will override any action I define.
On Tue, Nov 10, 2009 at 1:53 PM, Massimo Lusetti wrote:
> On Tue, Nov 10, 2009 at 12:08 PM, Jack Nuzbit
> wrote:
>
> > Hi All,
> > I've got a rather complex form that I'd l
Hi All,
I've got a rather complex form that I'd like to use the tapestry form
components to initialise but it needs to post externally.
Is there a way to do this with tapestry? Form components require a
surrounding t:form element which then overrides the action. I can't see any
way around this with
I wrote a paging component that I think would do what you want. The
component takes a PageSource implementation which acquires the paged list of
items for display and also constructs the page activation context for any
paging links - so there's no need for any @Persist annotations.
Here's my blog
I mean too much component nesting like what's been described in this thread.
On Mon, Sep 14, 2009 at 12:56 PM, Ivano Luberti wrote:
> Jack, what "Uber component pattern" stands for ?
>
> Jack Nuzbit ha scritto:
> > I'm concerned I may be falling foul of t
I'm concerned I may be falling foul of the Uber-component pattern as well.
I'm regularly building container components that dynamically render
different sub-components.
Is there any chance somebody could document the recommended approach here.
Many thanks,
Jack
On Fri, Sep 11, 2009 at 8:23 PM,
Hi folks,
I thought I'd try out a RequestExceptionHandler that could catch custom form
validation exceptions and render the response directly rather than use the
standard redirect response.
This means I can avoid using sessions entirely and in my limited testing it
works perfectly but was wondering
I recently struggled with the same issue and in the end implemented a cookie
persist strategy similar to the one on the tapestry wiki. I've since
concluded that cookie persist strategies are far from ideal.
It would be great if tapestry could accommodate non-redirects on form errors
so persistent
er is expensive; running the assembler is cheaper (but still
> expensive enough to justify page pooling).
>
> HTH.
>
> Robert
>
>
> On Jul 8, 2009, at 7/86:33 AM , Jack Nuzbit wrote:
>
> Hello,
>>
>> Am I correct in thinking that when a component i
Hello,
Am I correct in thinking that when a component is acquired from the pool
it's state should be reset?
I'm asking because I've noticed that when rendering components repeatedly in
a loop the state doesn't get reset.
Here's the test component I've used:
public class Test {
@Property
I've just upgraded an application from 5.0.18 to 5.1.0.1 (a very smooth
upgrade i might add) and I'm very impressed with the new performance
features, gzipping and the far future asset headers.
I was wondering if anyone's considered adding the facility to use an assets
date modified in the cache u
I'm trying to use the tapestry IoC to inject a per thread service into my
other services.
@Scope(ScopeConstants.PERTHREAD)
public class PerThreadService {
private MyObject myObject;
public PerThreadService(Cookies cookies) {
myObject = new MyObject(cookies.readCookieValue("userData
Thanks Tobias, I think you're right. I've switched back to 5.0.14 for the
time being but I'll test again on the next release.
I've just tested the scenario of being redirected after a validation failure
using the quickstart Archetype and the code below.
I can see that tapestry is performing a redirect after the onValidateForm
even though the form has errors.
Is the only solution to persist the form data to a database?
Thanks for your responses.
if validation fails for a form, you shouldn't be redirected therefore you
> need not worry about that, the redirect after the post should occur if
> validation succeeds.
>
That makes a lot of sense. Presumably if the form failure event occurs there
will be no redirect t
I'm about to start a large project and intend to use tapestry 5 but want to
avoid using sessions due to scalability. The only issue I can see is losing
form data when the validation fails because of the redirect after the post.
I've noticed the property tapestry.suppress-redirect-from-action-requ
i just use
Jack
Hi All,
I've just switched over to tapestry 5.0.15 and I'm now seeing sporadic
NullPointerExceptions originating from the ContextAssetFactory.
Caused by: java.lang.NullPointerException
at $Request_11cf6ca8ebe.getContextPath($Request_11cf6ca8ebe.java)
at $Request_11cf6ca8e55.getContextPath
the image to
> use.
>
> Email me offline if you're still having problems and I'll send you my
> code.
>
>
> On Tue, Apr 29, 2008 at 8:32 AM, Jack Nuzbit <[EMAIL PROTECTED]>
> wrote:
>
> > Hi All,
> >
> > Can anybody point me in the rig
Hi All,
Can anybody point me in the right direction for creating an image submit in
tapestry 5. I've scoured the docs but i can't find anything.
Many thanks,
Jack
Hi All,
I'm trying to use a custom Format object with the output component but I'm
getting the following exception:
Caused by: java.lang.RuntimeException: Base class java.text.Format (super
class of my.package.tapestry.pages.util.MyFormat) is not in a controlled
package and is therefore not valid
Hi Marcus, looks like this is tapestry 5.0.11-SNAPSHOT specific. My fault
for being too eager.
I switched over to 5.0.10 and everything works fine.
In case this is a bug and not just a work in progress, to recreate it just
create a new project with the tapestry 5 archetype, change the tapestry
ver
t;[EMAIL PROTECTED]>
wrote:
> I believe that the "internal" APIs in T5 are "off limits". Injecting
> ComponentResources, an interface, doesn't do what you want?
>
> Bill h
>
> On Tue, Mar 4, 2008 at 11:29 AM, jack Nuzbit <[EMAIL PROTECTED]>
>
Hi All,
I'm trying to use the beaneditform component but i'm getting the following
exception bubbling up. Do i have to create a Service to implement the
InternalComponentResources class?
I can't find anything about this in any documentation so i'm inclined to
think i've misconfigured something but
26 matches
Mail list logo