Hi,
I am new to tapestry. I would like to know how/what
component if i want to develop a photo album like
application.
Basically, I am doing something like this:
* have a grid of images (a table of 3 X 3).
* have a 'next', 'previous' page button to move from
page to page.
Is there a similar exam
This is very strange.
Could it be that you have tied Hibernate SessionFactory creation to the
Visit object creation. In this case first attempt to access
Visit will take a long time especially if Hibernate configuration has
hbm2ddl set to create/validate DB schema.
Normally you would need on
Well, I implemented it and another feature. Tapernate now includes support
for transaction-per-request (turned on by default) and
session-per-conversation (turned off by default). You can turn on/off these
features by doing:
This would turn off transaction-per-request and turn on
sessi
I am suffering the same problem on my current project (Tapestry 3.0.4,
Hibernate 2.1.8, Oracle 9iR2, JBoss 3.2.7, Tomcat 5.0). We have been
doing intensive testing on every thing for weeks without results.
Did you ever solve this problem? Any comments are welcome.
JAVIER SANCHEZ
Bogota, Colom
The line Tapestry.register_form('order'); in the below script element is
causing problems for an embedded IE browser I am rendering my all in.
It is difficult to explain the effects of the problem, it is in a 3rd
party package which has a browser, and the error shows up later in the
app.
Does any
On 28. Apr 2006 - 17:47:09, James Carman wrote:
| Well, it'd be quite easy. I'll write it tonight over a couple of beers. :-)
*lol
You're a bit crazy if I may say that ;-)
Not that I want to complain about it because I'd really
appreciate it if this fixes the problem I have.
You're really doing
Well, it'd be quite easy. I'll write it tonight over a couple of beers. :-)
-Original Message-
From: Andreas Bulling [mailto:[EMAIL PROTECTED] On Behalf Of
Andreas Bulling
Sent: Friday, April 28, 2006 5:36 PM
To: Tapestry users
Subject: Re: One question concerning Tapernate
On 28. Apr 20
On 28. Apr 2006 - 10:33:11, James Carman wrote:
| You have to make sure your changes go on within a transaction. I'm going to
| add transaction-per-request support in Tapernate soon.
Well, I'm urgently waiting for this feature then ;)
-
I also asked for this kind of functionality and raised a formal Tap bug on
it so vote for that...
Jesse did a great job improving the Validation for Tap 4 but I believe what
you want to do is still not possible on the front end; i.e. your solution is
to catch this in back end validation and return
Another way to do it is to wrap it in the
LabeledPropertySelectionModel and then use "required" as validator,
like this:
/** .java **/
public abstract String getSex();
public IPropertySelectionModel getSexSelectionModel() {
return new
I would make the form listener do a redirect to an external page with the
search parms
Hello,
I'm using Tapestry 4 on Tomcat 5.5
I would like my users to be able to bookmark a URL after doing a search
using @Form from within a custom component.
I've tried setting the the @Form binding of the "stateful" parameter. It
seems the difference is in outputting the JSESSIONID.
This
Andy,
I have the same issue, but a have found a solution (I think).
I made a little modification in this class
http://fisheye5.cenqua.com/viewrep/xwork/src/java/com/opensymphony/xwork/util/InstantiatingNullHandler.java
from WebWork to work for me and override the method readCompile
So. We have this image we use for the navbar. We changed the navbar
image, but because we had set the expires to be a day, the change wasn't
apparent to people for a day after we deployed.
I proposed to our team to leverage the tapestry's Asset system to have
normal context assets add a nonce
The validator doesnt reject it because 'choice' is a value as well, and
thus valid. A validator cannot on it is own determine that 'choice' is
an invalid value for a 'gender' field
Besides that you also need to set an actual validator on your
PropertySelection component, otherwise it will never wor
Hi everyone. I'm new to Tapestry 4 (never use Tapestry before) and I would like
to say that I love it!
But now, I'm trying to do a simple thing: I would like to display a combo box on
my page with 3 values: "choice", "man", "women" and validate the value selected.
The dropdown is required so if th
You have to make sure your changes go on within a transaction. I'm going to
add transaction-per-request support in Tapernate soon.
-Original Message-
From: Andreas Bulling [mailto:[EMAIL PROTECTED] On Behalf Of
Andreas Bulling
Sent: Friday, April 28, 2006 10:31 AM
To: Tapestry users
Subje
Hi folks,
after having successfully changed my web application to Tapernate
(Honeycomb just didn't work for me and it was too complex to
change everything so that it works) there is one problem
left I don't know a solution to:
Using Persist("entity") on all the edit-pages doesn't seem
to work as
Nobody is trying to test their templated components? No thoughts on this?
Kevin
On 4/24/06, Kevin C. Dorff <[EMAIL PROTECTED]> wrote:
I am trying to test my components which use templates
(.html/.jwc/.java files) using BaseComponentTestCase. I am creating
the controls using the standard "newIns
Add to your service's .java
private ApplicationStateManager applicationStateManager;
public final void setApplicationStateManager(
final ApplicationStateManager applicationStateManager) {
this.applicationStateManager = applicationStateManager;
}
then when you want to
If you have set the ASO in the hivemodule.xml like this:
You can inject it in a page like this:
Add this to your class:
public abstract Visit getVisitObject();
Now you can access the object in a method like this:
Visit v = getVisitObject();
Don't know if this is what you meant
Hi all,
I was wondering if anyone has ever done the following, and if so, how :)
The situation is pretty complex, but basically it comes down to this:
I want to validate an Insert component, but only if another component, a
CheckBox, is checked...
Anyone?
Kind regards, Bianca.
You need to prefix the id of the module onto the 'simple' id of the service
point to get the full id. For example:
... etc...
In this example, the full service id is mymodule.MyService
And you'd do this in Tapestry:
@InjectObject("service:mymodule.MyService")
Paul
"sp y" <[EMA
This is another reason for changing the squeezer framework to a pipeline.
-Original Message-
From: Jun Tsai [mailto:[EMAIL PROTECTED]
Sent: Friday, April 28, 2006 7:00 AM
To: Tapestry users; [EMAIL PROTECTED]
Subject: Re: SqueezeAdaptor heads up
Thank you very much !!
2006/2/7, A
Thank you very much !!
2006/2/7, Aslak Gronflaten <[EMAIL PROTECTED]>:
Hi,
for anyone having problems with the SqueezeAdaptor.
I tried to implement an adaptor for Hibernate persisted objects,
following the instructions in the wiki. I just couldn't get it to
work, until I changed the ord
That would be the way to go.
> I think overriding the service
> "tapestry.ComponentMessagesSource"
> especially its getMessages() method may be a good point to start.
> You'll have to inject some Application-State into your version of it
> to get your company-id.
>
>> -Original Message-
I think overriding the service
"tapestry.ComponentMessagesSource"
especially its getMessages() method may be a good point to start.
You'll have to inject some Application-State into your version of it
to get your company-id.
> -Original Message-
> From: Inge Solvoll [mailto:[EMAIL PROTEC
the service "de.plattform.web.HibernateSession" you're missing should be
defined in you core project (PlatformCore in you case, I suppose).
So please make sure that
1. platform-core.jar contains a META-INF/hivemodule.xml with the above
service.
2. platform-core.jar is on the classpath of the WE
Yes, that's what I'm talking about. I've done this for the Struts part of
the application, it was a lot of work an involved a great deal of hacking,
but it works (hopefully).
I believe the same solution for Tapestry is easier, because of the
configuration possibilities in Hivemind. But for now, I
Sorry, I don't have an answer for you. Kludging up a solution using
unlikely locale's could work, but not if you need to do number
formatting and such. Perhaps there is a way, via Hivemind, to replace
the default message lookup mechanism with one of your own
construction?
--sam
On 4/28/06, Ing
Hi,
Anyone have the idea of how to re-initialize an ASO object.
I have a situation where i need to reset all the values of an ASO object that i
m using.Is there any way to do that?.
Any help is appreciated :)
-
To unsu
31 matches
Mail list logo