I didnt expect the useful tip is coming from a deprecated component.
Thank you very much.
On 4/14/06, Mike Snare <[EMAIL PROTECTED]> wrote:
>
> The docs also say this (at least for 4.0, not sure for 3.x) with
> regard to the column binding.
>
> "The full description string may be prefixed by the
Ahh right, I forgot null is not an object and that (null instanceof
anything) is false.
http://www.norvig.com/java-iaq.html#null
So you're right, there's no NPE there. But the remove() method would
still be nice :P.
--
Ing. Leonardo Quijano Vincenzi
DTQ Software
Web Application Design and Pr
A remove method would be nice...
But i dont see where the NPE would be thrown...
>From Leonardo Quijano Vincenzi <[EMAIL PROTECTED]>:
> Indeed, just found out about that. But it's not fool-proof, because if
> your ASO implements SessionStoreOptimized then you get an NPE.
> I think a RFE is in or
Indeed, just found out about that. But it's not fool-proof, because if
your ASO implements SessionStoreOptimized then you get an NPE.
I think a RFE is in order, then...
--
Ing. Leonardo Quijano Vincenzi
DTQ Software
Web Application Design and Programming
http://www.dtqsoftware.com
[EMAIL PROTEC
I believe you can inject the
SessionScopeManager and tell it to store null
for the given aso... something like
getSessionScopeManager().store("myAso", null)
>From Leonardo Quijano Vincenzi <[EMAIL PROTECTED]>:
> I think the subject is fairly thorough:
>
> How do I dispose a session-scoped ASO wi
Jean-Francois,
I certainly did not mean to imply this is a bug or any deficiency of
hivetranse. I find hivetranse quite solid. :)
I believe that it wasn't primarily designed for a Tapestry application
or tailored exclusively for Hiberate. So for me, it is a question of how
should it (or can
Hi Andreas,
Actually, I just checked on the HiveMind Utilities web page and most
information is already there (I just updated it a little bit in my reply and
put a bit more details). As a matter of fact, the home page describes each
available module (hivetranse, hiveutils, hivelock...) in more det
I think the subject is fairly thorough:
How do I dispose a session-scoped ASO without destroying the session?
And can I do that without implementing my own session handling support
(which would be a possible solution)?
Basically, I'd like to destroy some objects so they are reinstantiated
late
Hi Jean-Francois,
thanks a lot for your long answer! What about putting all of the
information on the hivetranse homepage or in a hivetranse wiki?
I'm quite sure many other people will be highly interested in it...
Next week I will take a closer look at HiveUtils. ;)
Sincerly,
Andreas
On 13.
Question: Is it feasible to add prefix support to the page inject
specification?
Short answer: No. Too many prefixes do not make sense in this context.
And it'd be ugly.
Long answer: I really, really don't like the approach one has to take to
make this work. It is possible to add prefix supp
Would it work to first 'try' to assume it's an ognl expression, or
would that just puke since no method exists? Worse yet, what if the
method *does* exist but has nothing to do with the desired page?
That's a subtle bug that would throw some people against the wall for
a bit.
In the event the me
It seems honey-excel.jar isn't the only thing needed -
AFAICT conversation scope definition is missing...
Schulte Marcus wrote:
>after some time of silence honeycomb will be back soon:
> - Mark Shead is working on a cleaner, maven-2 based build, thanks a lot!
> - I'll dig out some useful comp
I upgraded to 4.0.1, but this did not solve the problem. =/
I guess I'm forced to use context assets for the time being.
-Filip
Filip S. Adamsen skrev:
Sorry, totally forgot to mention that. I'm on 4.0.0.
-Filip
Jesse Kuhnert skrev:
What version is this against?
On 4/10/06, Filip S. Adamse
Mike, you shouldnt mess with page instances at all.
Tapestry is responsible for getting them from the pool,
populating their (persistent) properties, giving them to you,
and then cleaning them up and giving them back to the pool.
The idea is that you persist (either in the session or the client) t
Well. It's a backwards-incompatible change, that's for sure - but it is
one that in my humble opinion needs to be made. (We seem to agree about
that.)
Now, if I were to fix this I'd go ahead and allow the object reference
to have a prefix for this particular service. I would add binding
funct
Can't you just compile your classes using the AspectJ (assuming you're using
AspectJ) compiler?
-Original Message-
From: Eduardo Valentim [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 13, 2006 1:59 PM
To: 'Tapestry users'
Subject: AOP on Tapestry Page Class
Hi All,
I need to use AOP
Hello All, I have 2 pages, page A and B. Page A is a page that allow user to
search, the result will be shown in a table with the link to the page B.
Page B will have a "Back" button to navigate back the previous page which is
page A (with the details that was entered previously). But I've encounte
Did you supply a primary key converter? If you don't use one Table will
create huge hidden variable values for each row, maybe the huge page size is
slowing render speed down...
- Original Message -
From: "spamsucks" <[EMAIL PROTECTED]>
To: "tapestry"
Sent: Thursday, April 13, 200
Hi All,
I need to use AOP to advice the Tapestry Pages classes with an Spring
ThrowsAdvice or with a Hivemind Interceptor to transform my business
validation exceptions in Tapestry validation exceptions to show in
Tapestry page.
I do not have idea of how can I apply my advice/interceptor on a
T
If I wrap my table component with a form, the time it takes to display a
page goes from 2 seconds to almost 30 seconds
Hopefully someone can point me to a way to get past this problem.
Thank you!
All I add is a Form component to cause performance issue.
The docs also say this (at least for 4.0, not sure for 3.x) with
regard to the column binding.
"The full description string may be prefixed by the * character, which
means that the table is to be rendered within a form, and the column
headers must submit the form if they are clickable (i.e. if the
Hi,
In the form, I have a text field with the table, I'd like to save the text
field value by submitting the form IF user click on the header column to do
the table sorting, the problem is it isnt working, am i missing something?
Anyone could help ... if my logic is totally wrong, could u provide
Yeah I had a feeling that was coming. By the way are you guys updating the
component reference documentation. Im getting a 403 error when trying to go
to any of those pages.
On 4/13/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
>
> http://jakarta.apache.org/tapestry/dependencies.html
>
> On 4/13/
http://jakarta.apache.org/tapestry/dependencies.html
On 4/13/06, Chris Chiappone <[EMAIL PROTECTED]> wrote:
>
> commons-fileupload-1.0.jar
>
> On 4/13/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> >
> > Which version of commons-fileupload are you using?
> >
> > On 4/13/06, Chris Chiappone <[EMAIL
commons-fileupload-1.0.jar
On 4/13/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
>
> Which version of commons-fileupload are you using?
>
> On 4/13/06, Chris Chiappone <[EMAIL PROTECTED]> wrote:
> >
> > I have verified that this is definatly a bug with 4.0.1. I rolled back
> to
> > 4.0 and my uplo
Which version of commons-fileupload are you using?
On 4/13/06, Chris Chiappone <[EMAIL PROTECTED]> wrote:
>
> I have verified that this is definatly a bug with 4.0.1. I rolled back to
> 4.0 and my upload component works as expected. Anyone have any idea on a
> fix for this???
>
> On 4/13/06, Chr
I have verified that this is definatly a bug with 4.0.1. I rolled back to
4.0 and my upload component works as expected. Anyone have any idea on a
fix for this???
On 4/13/06, Chris Chiappone <[EMAIL PROTECTED]> wrote:
>
> I've come across the following exception since I believe upgrading to
> 4.
I figured out what I was doing wrong. I had my methods on my squeezer and
custom persistence strategy demarcated wrong. They should have been marked
as "read-only" since they don't really do anything to change the state of
the objects. Now that I've turned that off, it seems to be working fine t
I've come across the following exception since I believe upgrading to 4.0.1.
The page has a basic upload component for documents. It looks like some
classloader issue.
org.apache.hivemind.ApplicationRuntimeException: Unable to construct
service tapestry.multipart.ServletMultipartDecoder: Could no
Andreas,
I try to summarize the various utilities you can find under the HiveUtils
module (this is not exhaustive, I just gather what I believe is interesting
for a web application):
- ObjectBuilder (+ related ObjectProvider and contributions): this is for me
an essential part of HiveUtils, it do
So, what do you suggest?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 13, 2006 10:59 AM
To: 'Tapestry users'
Subject: RE: tapestry-hibernate integration problem
You're right it's not a bug in the framework. I didn't mean to say this.
What I
thanks for your help...
this problem was in my own tree component. I wanted the page to open
when the user selected a tree node.I had using javascript to make this...
Now i'm using a tacos's tree... my problem is resolved :)
Thanks,
Rodnei Couto
Andreas Andreou escreveu:
i don't think ther
You're right it's not a bug in the framework. I didn't mean to say this.
What I meant to call "wrong" is, more precisely, the developers assumption
that declarative ta-demarcation frees him (as the "gui-guy") from thinking
about transactions, because the backend-guy would just declare what his
met
I have a problem with persistance.
My first html-page gets an parameter via the url. With this parameter i'm
setting a value, which is going to be persistant.
This is working for the first page, even after refreshing it (this is how it
should be :)). But when i link to the second page the persist
i don't think there's such a thing as 'real URL of a component'
Only 'real URL of a service'.
And since DirectService expects IDirect objects, I don't think there's
anything you
can do apart writing your own service.
And anyway, if indeed 'URL of a component' makes sense, what would
happen when
so
Marcus,
The problem you describe about a developer using spring/hibernate with
declarative ta demarcation is more a problem of training of the developer
rather than a bug in the framework: if developers just "assume" things about
a framework without even checking the doc (or building a prototype i
Mark,
As James suggested (for another project supporting Hibernate in HiveMind),
what you can do (also in hivetranse!) is to create a filter that could call
the hivetranse TransactionService to explicitely start/commit/rollback the
transaction, in this case you don't need to use the hivetranse
Tra
Hello Mark,
This "problem" is by design (for me it is not a bug, this is the way
transaction demarcation is supposed to work in hivetranse, changing it would
bring compatibility problems with existing applications, however, this could
probably be done through some extra setting, I will think about
I'm trying to retrieve the real URL of a component...then i put it in a
javascript
Andreas Andreou escreveu:
What exactly are you trying to do? Perhaps you don't need to use the
direct service...
Rodnei Couto wrote:
Hi Filip,
thanks for your help...
the method getPage().getComponent()
What exactly are you trying to do? Perhaps you don't need to use the
direct service...
Rodnei Couto wrote:
> Hi Filip,
>
> thanks for your help...
>
> the method getPage().getComponent() return a object IComponent. I
> can't cast this object to IDirect. This is the problem.
>
> []'s,
> Rodnei Cou
Hi Filip,
thanks for your help...
the method getPage().getComponent() return a object IComponent. I can't
cast this object to IDirect. This is the problem.
[]'s,
Rodnei Couto
Filip S. Adamsen escreveu:
Hi,
DirectLink, Form, and Go implement IDirect, so you can pass a
reference to a
I'd just call it a feature ;)
> -Original Message-
> From: James Carman [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 13, 2006 1:40 PM
> To: 'Tapestry users'
> Subject: RE: tapestry-hibernate integration problem
>
>
> You're right. I need to fix that. There was not supposed to
> b
Ok. Now I see it. Thanks for the pointer.
I read the code and understand my problem. I definitely think this
should be fixed. The question is how?
It seems that since everyone is already assuming that they need to
specify a literal string for the name, it would be fine to simply make
literal:
Hi,
I think your AjaxException class is missing an exception property?
-Filip
Rolf Schillinger skrev:
Rolf Schillinger schrieb:
Hello List!
Please see the attached exception. I cannot make heads nor tails of it
but I think it's caused by something inside the tapestry framework.
best regards
Hi,
Nitpicking here, sorry, but there's an important difference between
using message:key and ognl:messages.getMessage(key): The former is a
little faster as Tapestry knows that the result is invariant. In the
latter case, Tapestry goes through some checks to see if this is the
case. : )
-F
Hi,
This has happened to me before, hehe.
Did you remember to change the service extension to .svc in BOTH web.xml
(*.svc)
and hivemodule.xml (after="*"/>)?
-Filip
Apache skrev:
I have followed the instructions on the site for friendly urls
(http://jakarta.apache.org/tapestry/UsersGuide/f
Hi,
The problem here is that the "object" attribute is not resolved in the
InjectPageWorker class (have a look at
org.apache.tapestry.enhance.InjectPageWorker:66), so passing in anything
but a String will not yield a valid page name.
This should probably be fixed, although care must be taken
There was an issue with single quotes in validation messages (TAPESTRY-533) but
it's been fixed: there shouldn't be any more problem. It's just that single
quotes must be doubled for MessageFormat patterns (''{0}'' instead of '{0}')
It's quite common to have to use single quotes in validation me
Hi,
DirectLink, Form, and Go implement IDirect, so you can pass a reference
to a component of one of these types to the DirectServiceParameter
constructor:
IDirect component = getPage().getComponent("expand");
DirectServiceParameter parameter = new
DirectServiceParameter(component, param
Hi,
Move your Home.html up one level and everything will be just fine.
(Tapestry looks in your context root for your .html files by default.
This is the standard approach - and it works quite well. This allows for
easy serving of assets - for example, notice where logo.png is going in
this di
You're right. I need to fix that. There was not supposed to be any active
transaction while I was updating the properties (using the example
application). I assumed that since there was no transaction present that
the changes to the objects in the session wouldn't be persistent. But,
maybe ther
The PlatformTransactionManager (in my applications) is available as a
service, so you can demarcate your transactions yourself if you wish.
Really, you could come up with a tapestry filter which starts a transaction
and does a commit/rollback if you wanted (transaction-per-request).
-Original
Rolf Schillinger schrieb:
Hello List!
Please see the attached exception. I cannot make heads nor tails of it
but I think it's caused by something inside the tapestry framework.
best regards, Rolf Schillinger
I see, no attachments allowed then :)
Here goes:
INFO:Response: ]>
An exception has
Hello List!
Please see the attached exception. I cannot make heads nor tails of it
but I think it's caused by something inside the tapestry framework.
best regards, Rolf Schillinger
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Hi Jean-Fancois,
first, thanks for your answer and help! I will take a look at the
examples you mentioned to see if they can be useful for me ;)
| Could you give more details of what is of interest to you in HiveUtils, or
| of what kind of utility you are looking for?
Well, actually as I'm quite
The only way i see - as a noob - is, that inserting a key-message by an Insert.
Something like:
message
public String getKeyMessage()
{
String keyname = fact.getName(); // or whatever
return getMessages().getMessage(keyname);
/**
* this method gets the messages in your application.propertie
Valid point, will do.
> -Original Message-
> From: Konstantin Ignatyev [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 13, 2006 9:01 AM
> To: Tapestry users
> Subject: Re: Open Session in View - Tapestry
>
>
> +1
> Please add Ant build script and instructions to make your
> useful pro
+1
Please add Ant build script and instructions to make your useful project IDE
agnostic
Nick Faiz <[EMAIL PROTECTED]> wrote: At a glance Honeycomb seems to be relying
on developers having Eclipse.
We use IDEA here.
Nick
On 13/04/2006, at 4:37 PM, Schulte Marcus wrote:
> If you want transac
58 matches
Mail list logo