t the "id" can be any
serializable object. So, for the general case, I can't just append it to a
string. What if it's a composite id? You do have to "squeeze" the id at
least.
James
-Original Message-
From: Ted Steen [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
assname/id stuff quite easily.
-Original Message-
From: Ted Steen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 02, 2006 5:16 PM
To: Tapestry users
Subject: Tapernate squeezer implementation generates loong sp:s
James,
As long as you just save the class name and id when squeezing an
entity the
James,
As long as you just save the class name and id when squeezing an
entity the squeezed result could as well be just the class name and
the id (as in the example in the wiki).
It would generate much nicer url:s
Or maybe you got some secret plans for the EntityIdentity? :)
/ted
Yes, I did. But the same error. :/
On 5/2/06, Andreas Bulling <[EMAIL PROTECTED]> wrote:
On 02. Mai 2006 - 14:16:29, Ted Steen wrote:
| Thanks for your answers!
|
| I tried the url jdbc:mysql://localhost/tapestrySandbox but to no avail.. :/
|
| James, which version of the connector did y
e svn history)
Regarding the org.gjt.mm.mysql.Driver vs. com.mysql.jdbc.Driver
I read that the org.gjt.mm.mysql are there for backwards compatibility
see http://jguru.com/forums/view.jsp?EID=1282327
On 5/2/06, Andreas Bulling <[EMAIL PROTECTED]> wrote:
On 02. Mai 2006 - 13:26:04, Ted
because I'm using Tapernate quite happily
with Hibernate and c3p0 without any problems.
Can you post your configuration as something rather seems to
be wrong there IMHO..
Cheers,
Andreas
On 02. Mai 2006 - 01:38:10, Ted Steen wrote:
| I'm trying to switch to c3p0:s connection pooling, but
I'm trying to switch to c3p0:s connection pooling, but when I do that I get
this error
http://rafb.net/paste/results/W4tsCJ17.html
I'm not doing anything fancy here, I just set c3p0.max_size=100
When I switch back to Hibernates native connection provider it works..
Is there anything I should set
It is one way to glue Tapestry and Hibernate together.
There are other alternatives like Honeycomb or Hivetranse (Hivetranse
beeing more of a generic Hibernate -> HiveMind glue, without any
Tapestry specific stuff like squeezers etc.)
One neat thing with Tapernate, in my opinion, is that it reus
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
eturn getOption(Integer.parseInt(value));
}
}
/***/
On 4/27/06, James Carman <[EMAIL PROTECTED]> wrote:
> So, you want a generic way to generate the value for the objects in the
> collection (and the display text I presume)?
>
> -Original Message-
> From
n of
these objects.
The naming convention could be a bit messed up as English is not my
native language...
On 4/27/06, Mark Stang <[EMAIL PROTECTED]> wrote:
> Can you provide code and an example?
>
> regards,
>
> Mark
>
>
> -Original Message-
> From: Ted St
I created a "NamedPropertySelectionModel". Is this something that has
already been done that I could find in T4?
It just feels like something alot of people would need.
Cheers!
/ted
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
http://www.myeclipseide.com/
Look at the feature list for 4.1.1
That must be Spindle, right?
/ted
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It would be sweet.. :)
Thanks to HiveMind that should be possible, now I'm just waiting for
people (smarter than me) to do it (better than I could do it)
On 4/23/06, Andreas Bulling <[EMAIL PROTECTED]> wrote:
> On 23. Apr 2006 - 16:00:12, Ted Steen wrote:
> | Tapernate looks ve
Hi!
Is this something that will be a part of the HiveMind project in the
near future?
com.javaforge.hivemind.spring.hibernate3.HibernateService
Or is it just for Tapernate?
By the way, I think Tapernate looks very promising!
The E-Pluribus project Howard is working on at javaforge have some
clever
Tapernate looks very promising, but there some solutions to choose from.
Honeycomb, HiveMind Utilities and Tapernate (and howards ePluribus
project) should merge in to one solution for this tapestry+hibernate
problem.
On 4/22/06, James Carman <[EMAIL PROTECTED]> wrote:
> Oh, and all of that stuf
>-> submit form (page 2)
>-> page 2 displayed, data is lost
>
> Briefly looking at the code it seems you just have to add a hidden with
> the value binding ognl:someData inside your form.
>
> Cheers,
> Ron Piterman
>
>
>
>
>
>
>
> Ted Steen wrot
yes
On 4/22/06, Raul Raja <[EMAIL PROTECTED]> wrote:
> Do you have the following in your hivemodule.xml?
>
>
>
>
>
> Ted Steen wrote:
> > Hi.
> >
> > This is a subset of my hivemodule.xml
> >
> >> interf
Hi.
This is a subset of my hivemodule.xml
Hi!
I'm trying to edit a set of values, and it works fine if I use
@Persist on the data I'm trying to edit.
I would like to avoid @Persist as much as I can as it bloats the session.
Therefore I would like some guidance on how to do it without @Persist
I would like to point out that I have tried @P
). I was burned
> by the same thing. The "client" persistence strategy doesn't use the
> squeezers to write out the data.
>
>
>
>
>
> -Original Message-
> From: Ted Steen [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 18, 2006 7:03 PM
>
Hi!
My Class C contains various things including a set.
In a listener in page A i get page B (by injection) and I call
pageB.setFoo(c) (where c is an instance of class C) and then i
activate pageB.
in pageB
i have a @Hidden with foo as value. I have this because I want the
various things in Foo
Hi!
I've made a HibernateSqueezer that works fine, apart from one thing..
When I try to @Persist("client") a property that should be squeezed
with the HibernateSqueezer tapestry falls back on the standard
DataSqueezer (wanting a Serializable object).
Now, is this a bug or am I doing something wron
I'm looking for a sample of how to structure my resources, javafiles
and jwc/page files when I create a library for T4.
I'm using maven
I just need a good example I can look at
Thanks!
/ted
-
To unsubscribe, e-mail: [EMAIL PROTEC
Hi!
Have a look at hivetranse http://hivetranse.sourceforge.net/web/index.html
It has excelent transaction, rollback and exception handling.
You just drop the jar in there and add a few lines to hivemodule.xml.
Hope it helps!
On 4/12/06, Sukma Agung Verdianto <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
ng?
> I'll post on the wiki my solution.
>
> Henri.
>
>
> On 4/10/06, Ted Steen <[EMAIL PROTECTED]> wrote:
> >
> > Hi Henri.
> >
> > I got a solution that provides the session (in a session-per-view
> > manner). I also have transaction-handlin
ering... This lead into most of
> my poor code in Tapestry 3 that I'm trying to cleanup...
> What I did in Tapestry 4 is a WebRequestFilter that creates a Spring
> Hibernate session (I translated the Spring "OpenSessionInView" servlet
> filter). If you are using Spring, I ca
Hi all!
I need an active transaction when the page is rendered, in order to
load/read lazy collections.
One way to do it would be to start a transaction in beginRender etc.
Another way that I think is better would be to intercept the method in
the Engine that renders the page.
Now the problem is t
Hi!
I'm keeping an eye on the kickstart project, and I have some questions.
How is the move to javaforge going?
Will there be a hivetranse integration or are you going to use your
own implementation?
Hivetranse is planning to implement support for "long sessions" (so
you won't have to)
have a loo
hehe, yeah. it's pretty irritating.
On 2/8/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> Something seems wrong with TapestryForums; they have been spamming me
> and several other users. They have also been unresponsive in fixing
> the problem. I've done what I can ... unsubscribing them from
Nice!!
Keep up the good work!
/ted
On 1/18/06, Schulte Marcus <[EMAIL PROTECTED]> wrote:
> My goal is not to re-write the n-th transaction interceptor-wrapper.
> Rather, my first focus is consistent tapestry integration. And treating
> hibernate sessions the way you used to treat your db-connect
oups!
just read about the property-persistence-strategy "conversation"
so the cache size would not be a problem.
nice..
On 1/17/06, Ted Steen <[EMAIL PROTECTED]> wrote:
> hi!
>
> I think the generic data access objects on the hibernate page could be
> usefull as they,
hi!
I think the generic data access objects on the hibernate page could be
usefull as they, among other things, support a generic way to specify
the id (not only long).
One thing that I come to think about regarding the
session-per-conversation pattern is that there could be memory issues.
the se
This is something that is really needed, but I have some questions.
Why do you not use Hivetranse for session/transaction management?
There has already been done alot of work on that. It is a clean
Hivemind contribution. Check it out!
http://hivetranse.sourceforge.net/
Also, as you are using Java
stry/UsersGuide/events.html
>
> -Original Message-----
> From: Ted Steen [mailto:[EMAIL PROTECTED]
> Sent: 12 January 2006 16:48
> To: Tapestry users
> Subject: page events, in what order? when and how?
>
> Where can I read about the page events? and in what order they are
>
Where can I read about the page events? and in what order they are invoked?
suddenly pageBeginRender() is only called with rewind=true and not a
second time with rewind=false...
I apparently have misunderstood the whole page event cycle.
--
/ted
Hi all!
Hibernate problem ahead...
I want to have a form that allows me to alter a certian object. the
form should use validation, so if something goes wrong I want to be
able to correct the mistake and be able to press save again. I don`t
want the changes to persist until the validation succeeds
taking
place. maybe that is done with the interceptors and engine services?
I am taking my first trembling steps into the db-layer, transaction
handling world and I obviously need some guidance.
On 1/9/06, Filip S. Adamsen <[EMAIL PROTECTED]> wrote:
> Ted Steen wrote:
> > A
much better to have one Session span over one page request
> instead. I don't know if it's recommended to put Session handling code
> in pageAttached and pageDetached - I'm on Tapestry 4.0 myself, and I'm
> using a HiveMind service to take care of this, so my Session's s
I`ll go with the getSuperclass() solution..
thanks!
On 1/10/06, Ido M. Tamir <[EMAIL PROTECTED]> wrote:
> On Monday 09 January 2006 13:44, Ted Steen wrote:
> > there is a problem with the HibernateSqueezer (
> > http://wiki.apache.org/jakarta-tapestry/HibernateTapestrySqueeze
ious performance hit. Without
> seeing the source for the hibernate squeezer I can't offer a solution on
> that end.
>
> --- Pat
>
> > -Original Message-
> > From: Ted Steen [mailto:[EMAIL PROTECTED]
> > Sent: Monday, January 09, 2006
there is a problem with the HibernateSqueezer (
http://wiki.apache.org/jakarta-tapestry/HibernateTapestrySqueezer )
sometimes Hibernate extends the persistent classes, this probably has
something to do with caching.. anyway, this is an example of what
data.getClass().getCanonicalName()
could retur
Hi!
I`m planning on having my hibernate transaction span over one page request..
Is pageAttached(...) and pageDetached(...) the right place to start
and end the transaction?
I guess this is the first and last thing that happen on a request.
Also, is it wise to have the transaction scope over a who
"unavailable in this context" description of disabled.
>
> --- Pat
>
> > -Original Message-
> > From: Ted Steen [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, December 17, 2005 3:16 AM
> > To: Tapestry users
> > Subject: disable an element in a
Switched to T4-beta-13 and now the pageAttached(...) is called.
This must be a serious bug :)
On 12/17/05, Ted Steen <[EMAIL PROTECTED]> wrote:
> I'm using T4-rc1 and I can't get tapestry to call my pageAttached(...) method.
> I have implemented PageAttachListener and I hav
I'm using T4-rc1 and I can't get tapestry to call my pageAttached(...) method.
I have implemented PageAttachListener and I have some println(...) in
my pageAttached(PageEvent) method.
problem is that nothing is printed out :(
has anyone experienced this with rc1?
--
/ted
--
>
> This should be cleared up the next time the tapestry website forrest docs
> are deployed.
>
> On 12/16/05, Ted Steen <[EMAIL PROTECTED]> wrote:
> >
> > i'm using T-rc1 and when I try to use the Integer validator Tapestry
> > says there is none.
> >
I can't find a way to disable a single element in a propertyselection.
I was hoping to find an isEnabled() method on the
PropertySelectionModel
am I missing something here?
--
/ted
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
i'm using T-rc1 and when I try to use the Integer validator Tapestry
says there is none.
gives me org.apache.hivemind.ApplicationRuntimeException: No validator
named 'int' has been defined.
am I doing something wrong?
--
/ted
-
Hi!
What is the difference between returning an ILink or an IPage on a listener?
And how do I get hold of an ILink? The IPage I can inject or get from
the cycle..
--
/ted
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
Beeing able to cache whole pages/components or parts of them is a real
performance boost in many situations.
This components is a great start;
http://tapfx.sourceforge.net/multiproject/tapfx-components/apidocs/index.html
But...
Problems may occur.
For instance, you'll run into problems if you wan
, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Αρχικό μήνυμα από Ted Steen <[EMAIL PROTECTED]>:
>
> > There should not be any problems with the Cache component if one uses
> > cookies, right?
>
> True, but can you really make sure that your clients never disable the
There should not be any problems with the Cache component if one uses
cookies, right?
Problem is that sometimes I see a jsessionid=xxx even though I use cookies.
Do anyone know why?
On 11/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Wow!
> >
> > This is a really powerful component!
> >
Wow!
This is a really powerful component!
Simple and powerful.
I think it should be part of the Tapestry Framework.
On 11/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I also needed to cache parts of some pages, and so I created the cache
> component of
> TapFX ( tapfx.sf.net) which use
Is OGNL 3.0 ever going to be finished, or has development stoped?
There where some serious speed improvements promised for 3.0, as far
as I remember.
--
/ted
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
I'm having the same problem.
I, on the other hand, have found a "sollution" to the problem.
As far as I can see, people are talking about reconnecting the object
to the session using this technique:
http://wiki.apache.org/jakarta-tapestry/SpringHibernate?highlight=%28hibernate%29
look at the bottom
Very nice!
I noticed that support for Hibernate "long sessions" is planned for 0.7.0.
When, do you think, will this be released?
/Ted
On 11/1/05, Jean-Francois Poilpret <[EMAIL PROTECTED]> wrote:
> Dear Tapestry users,
>
> I am proud to announce the release of HiveMind Utilities 0.5.0 on
> Sourc
Hi!
Is it possible to bind a domain name to a tapestry page?
like http://www.my-subset-of-my-application.com/ -->
http://www.my-application.com/app?page=subPages/Sub1&service=page
If it is possible, will it be possible to keep the addres as
http://www.my-subset-of-my-application/... while one bro
bounce...
On 10/24/05, Ted Steen <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I'm considering using hivetranse and would like to hear from others
> that have been using it (successfully or unsuccessfully). Pros and
> cons in comparison to the spring way, or any other way.
Hi!
I'm considering using hivetranse and would like to hear from others
that have been using it (successfully or unsuccessfully). Pros and
cons in comparison to the spring way, or any other way.
After seeing all these Hibernate + Tapestry discussions I can't
understand why people don't talk more
I'm making a component that should act as a image selector.
You should be able to, in the component, browse some images and add
them to a list, this
list is connected to a (out) parameter.
problem is that the list should not only be a prameter but also
persistent, in order to persist while you brow
Hi!
A way to properly bind CSS styling to a component/page is something I
would be really happy to see.
Is this planned for T4?
http://issues.apache.org/jira/browse/TAPESTRY-199
--
/ted
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
yes, and hivetranse seem to be doing it the right way.
http://hivetranse.sourceforge.net/
I think the long session pattern is coming to hivetranse soon.
On 9/23/05, Schulte Marcus <[EMAIL PROTECTED]> wrote:
> No, we don't use Spring anymore. I was (probably quite unjustified) a bit
> fed up with
problem solved.
I needed to include the configuration, like this;
On 9/21/05, Ted Steen <[EMAIL PROTECTED]> wrote:
> I was thinking hivetranse was a nice way
I was thinking hivetranse was a nice way to solve where to place the
hibernate session.
aren't there anyone out there who could help me with this?
I think it is a simple hivemind problem.
On 9/21/05, Ted Steen <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I'm trying to setup hivet
Hi!
I'm trying to setup hivetranse+tapestry here and i have configured
hivemind.xml like this:
---
to construct service
se.liu.studorg.blaskan.web.hibernateSession"
On 9/20/05, Ted Steen <[EMAIL PROTECTED]> wrote:
> ok, some more trouble with hivemind..
> this is in my hivemind.xml
>
>id="hibernateSession"
> interface="org.hibe
AIL PROTECTED]> wrote:
> Ted Steen gmail.com> writes:
>
> >
> > i got this hivemodule
> > > id="hibernateSession"
> > interface="org.hibernate.Session"/>
> >
> >
i got this hivemodule
and yet I get this error:
Error: No module has contributed a service constructor for service
point se
ed and then when i login (all happening on the loginpage) the
callback that is supposed to take me back is null :(
On 9/19/05, Ted Steen <[EMAIL PROTECTED]> wrote:
> I'm looking at it right now. I remembered that it was in Kents book I read it.
>
> thanks!
>
> On
I'm looking at it right now. I remembered that it was in Kents book I read it.
thanks!
On 9/19/05, Martijn Hinten <[EMAIL PROTECTED]> wrote:
> Kent Tong does an excellent job in describing this in chapter 4 of
> his e-book Enjoying Web Development With Tapestry:
> www.agileskills2.org. Pages 121
Hi!
If in the middle of an application a user need to login to proceed it
would be nice to be able to get back to the place he/she came from
after login/registration is completed.
My first thought was that I could save the IPage I'm coming from, but
then I remembered that I have seen this beeing d
an <[EMAIL PROTECTED]> wrote:
> get the ServletContext and call getResource() with the path (relative
> to the context root) and you get an URL. Or call getResourceAsStream()
> with the same argument to get an InputStream.
>
> Geoff
>
> On 9/16/05, Ted Steen <[EMAIL
On 9/16/05, Geoff Longman <[EMAIL PROTECTED]> wrote:
> get the ServletContext and call getResource() with the path (relative
> to the context root) and you get an URL. Or call getResourceAsStream()
> with the same argument to get an InputStream.
>
> Geoff
>
> On
I need to load a .properties file from the context directory.
I have been messing around with the class loaders getResource etc. but
I can't get it to work.
I have a POJO that is a part of my tapestry application. And all I
want to do is get the InputStream for a file in context/
--
/ted
--
I will add an ASO with application scope.. ofcourse.
sorry for being stupid.. :>
On 9/15/05, Ted Steen <[EMAIL PROTECTED]> wrote:
> Ok, so now i have this in hivemind.xml
>
>
>
>
>
>
Hi!
I'm planning to add support for plugin loading for my webapp.
It will be possible to add plugins and activate them "on the fly" using JPF
http://jpf.sourceforge.net/index.html
Now I need a place to put my plugin manager. So I need to extend
functionality to an existing Tapestry class that is
If you write "message:page.error" tapestry will look for a message
called "page.error", that is it will look in your .properties file for
that message.
If you want to dynamically choose the message I think the best thing
would be to do like this:
public String getPageError() {
return getMessag
Hi all!
I need to work with BigDecimal in order to represent decimal numbers
with greater precision than float.
If I need to store the (float) number 27.9 in a BigDecimal it
transforms into 27.89857891452847...
In tapestry I have my @TextField with translator:number
tied to a propert
cation 4.0//EN"
> "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
>
> 2005/8/30, Ted Steen <[EMAIL PROTECTED]>:
> > Thank you Mind Bridge! I obviously didn't read the docs carefully enough.
> >
> > You are absolutely right, except that it
Thank you Mind Bridge! I obviously didn't read the docs carefully enough.
You are absolutely right, except that it should be
not
But for some reason the xml parser won't accept the in my
.application file
I get this error:
"org.apache.tapestry.util.xml.DocumentParseException: Unable to read
c
Hi.
On my developer box (windows) the swedish characters displayed as they should.
But now when I deploy the application (gentoo linux) the characters
are all messed up (replaced by ??).
I have tried to use both iso-8859-1 and utf8 on my .properties files,
but to no avail.
So the problem occurs w
Hi.
Is this supposed to be a friendly URL "/admin/Menu,border.link.direct"?
or have I done something wrong?
@PageLink generates, what I would like to call friendly URL:s
(http://localhost:8080/myApp/Home.html)
this is added to web.xml:
myapp
*.direct
myapp
*.sdirect
--
/ted
--
What if one have Assets that need to be referenced in the css?
How is that solved?
On 8/25/05, Ron Piterman <[EMAIL PROTECTED]> wrote:
> What I do to resolve this is the following:
>
> Each component which wants to "contribute" a css, implements an
> Interface named IStyleable.
>
> The border go
quot; attribute like onclick="return confirm('Really?')"
> >
> > If false is returned the href is not executes (followed)
> >
> > Darn simple! :-)
> >
> > regards, Lars Borup Jensen
> >
> >
> > On Tue, 23 Aug 2005 11
Hi!
I want to make the user confirm that he/she really wants to go on with
some action.
So if a @DirectLink is pressed I want a javascript confirm box to popup.
How is this done in the "tapestry way"?
Do I have to make my own IScript etc. or is it already done?
--
/ted
--
Never mind...
I was totaly wrong. It's all in the users guide.
On 8/21/05, Ted Steen <[EMAIL PROTECTED]> wrote:
> How do I get my hands on the global messages?
> and in wich .properties file should I put them?
> It doesn't say in the users guide.
How do I get my hands on the global messages?
and in wich .properties file should I put them?
It doesn't say in the users guide.
--
/ted
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
When I press submits I still get these ugly URLs;
http://localhost:8080/Peng/Home,loginForm.direct
links works fine, and generates nice URL:s, but submits doesn't.. :(
--hivemodule.xml--
--web.xml--
Peng
/app
Peng
*.direct
Pen
Hi all!
I'm planning to build a core site with the ability to plugin external
modules dynamically.
My thoughts at the moment is to make my own plugin api/interface that
will insert the
modules different parts at certain places in the app.
Now I need some feedback on this thoughts, is it possible
Sorry, I should mention two things;
the setError() should be in the else part of the if statement.
and PengBasePage is derived from BasePage.
I was a little quick posting my question...
-
To unsubscribe, e-mail: [EMAIL PROTECTED
I'm trying to activate a new page if some condition is true within an
listener, but
i get an Exception (outside of tapestry!) when doing so.
--- snipplet from MainPage.java ---
@InjectPage("main/AddEntry")
public abstract AddEntry getAddEntryPage();
public IPage doAddEntry() {
AddEntry addEntry
92 matches
Mail list logo