:)
Tapestry uses a pool to store page instances. While rendering it is safe
to use instance variables but you have to make sure they are reset,
preferrably in either pageDetached or pageAttached events.
If you don't reset them, information can be shared between many users of
your site, but not
Sorry. What I mean by does not work is that getLocationOfStore() in my
component is null after the component renders.
When I use the updated code below the storeLocation is passed through to
the component and getLocationOfStore() contains the location I passed in
from the page.
It does not like
Brian Doherty wrote:
Hi,
I am having problems binding a property on my page to a parameter in my
component. The following does not work
can you be more specific. "Does not work" is somehow general...
I have a CategoryListComponent as follows
On my CategoryList.java I have
pub
Hi,
I am having problems binding a property on my page to a parameter in my
component. The following does not work
I have a CategoryListComponent as follows
On my CategoryList.java I have
public abstract void setStoreLocation(Location storeLocation);
public abstract Location getS
Hi,
I revived an old tapestry app (3.0). Now I realized that my custom component
does not get updated correctly within an contrib:table.
This means: when I sort the table, the values of the @PropertySelection
which are contained within the component do not get updated, but still
get their values
Ryan,
Glad you figured out your problem.
regards,
Mark
-Original Message-
From: Ryan Cuprak [mailto:[EMAIL PROTECTED]
Sent: Sat 6/3/2006 10:34 PM
To: Tapestry users
Subject: Re: Custom component validation - two fields
Hello,
I think figured out my problem - I needed to render
template I yanked code out of the BaseComponent class.
In the end, I want my custom component to display a checkbox and a
textfield (possibly a PropertySelection as well). When the form is
submitted, if the checkbox is checked but no content is contained
in the textfield I want to decorate it and
new form component re-using other form components - right?
To read the template I yanked code out of the BaseComponent class.
In the end, I want my custom component to display a checkbox and a textfield
(possibly a PropertySelection as well). When the form is submitted, if the
checkbox is
goes away.
Basically, it is done via a Conditional or Choose Component.
hth,
Mark
-Original Message-
From: Ryan Cuprak [mailto:[EMAIL PROTECTED]
Sent: Fri 6/2/2006 12:38 PM
To: users@tapestry.apache.org
Subject: Custom component validation - two fields
Hello,
We are trying to
Hello,
We are trying to implement a rather simple custom form component for a search
page and perform validation on it. The custom component has a checkbox and a
text field. If the checkbox is checked then a value must be provided in the
text field. If not, the field must be decorated and a
It looks like something unrelated to your custom component or to
Tapestry at all. The stack trace is entirely inside the Tomcat code.
I'd try a clean rebuild of the app and restarting Tomcat, deleting the
old webapps and work trees to make sure it's starting with a clean
slate. If t
> Hi all again
>
> I am trying to create a custom component for my menu, header and
> footer. I
> created a Menu.html whose content is a simple html table.
> I created a .jwc file in my WEB-INF directory with the following
> content:
>
> allow-body="no" a
A complete stack track trace might help; "NullPointerException" by
itself doesn't say much
On May 12, 2006, at 10:31 AM, Rui Pacheco wrote:
Hi all again
I am trying to create a custom component for my menu, header and
footer. I
created a Menu.html whose content is a si
Hi all again
I am trying to create a custom component for my menu, header and footer. I
created a Menu.html whose content is a simple html table.
I created a .jwc file in my WEB-INF directory with the following content:
But when I deploy my application, Tomcat starts dumping this error in an
201 - 214 of 214 matches
Mail list logo