no problem, everybody runs in the same problem, I had the exact same
problem as you and thanks to "Enjoying Web development with Tapestry" by
Kent Tong, a must for a tapestry developer, I figured it out.
http://www.agileskills2.org/EWDT/
Jean-Eric Cuendet wrote:
Exactly!
I understand one st
Hi,
I'm not sure if this should be OGNL forum question, or something that
can be addressed by Tapestry. Seems like OGNL requires methods be
public. Anybody knows of a workaround to use protected scope methods
for OGNL calls?
Regards, Adam
-
FormSubmit and table source are 2 different things. Form Submit is
necessary when you click the paging links, to save data on the web
session while the page is refreshed. If you don't want Tapestry to hit
your database on a page link click, you should actually move the DB hit
*out* of the form
I recently posted another question but i fear that i was not specific
enough. Forgive the apparent repost.
I am using Tapestry 4 with the TableView component to implement paging in my
application
I have it configured like this:
I was expec
Mike we do delegate our database access code to a hivemind service but that
is on the server. I want the results to be cached on the cliient. Been
thinking about it having a concrete method on my page may not be a threading
problems methods are thread safe right? I just can't have concrete class
> I really appreciate using OGNL expressions but as at many places
> in computer science: Comfort is expensive..
You're right :-) Good luck.
Adam
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
Hi Adam,
On 25. Mär 2006 - 11:37:40, Adam Zimowski wrote:
| FYI, OGNL is one of the biggest bottlencecks in Tapestry. I'm learning
| about it from performance testing my own app, but I could not say it
| better than what Patrick explained a while back on this list. His post
| was regarding Tap 3.0
Hi Andreas,
FYI, OGNL is one of the biggest bottlencecks in Tapestry. I'm learning
about it from performance testing my own app, but I could not say it
better than what Patrick explained a while back on this list. His post
was regarding Tap 3.0.3, but from my Tap4 tests, the OGNL performance
is st
On 25. Mär 2006 - 12:21:57, Mike Snare wrote:
| Yes, it means that tableRow is null.
|
| Where is title being used? it only makes sense to access the table
| row during iteration over the source collection. If it's not being
| used in a Block for the table I'm not sure you can do this.
Well, th
Yes, it means that tableRow is null.
Where is title being used? it only makes sense to access the table
row during iteration over the source collection. If it's not being
used in a Block for the table I'm not sure you can do this.
-Mike
On 3/25/06, Andreas Bulling <[EMAIL PROTECTED]> wrote:
>
Hi all,
another small (and probably for all experts around also are very simple)
question concerning OGNL. I want to do the following:
title="ognl:getMessage('page-title') +
components.recordList.tableRow.person.formalName"
but I get the error message
---
source is null for getProperty(null, "p
If you use a hivemind service to access the database and cache the
results then it will be thread safe if you use the singleton service
model (the default).
In general, pages and components should delegate business logic like
this to services, so it would be a good idea to do it that way anyway.
On 25. Mär 2006 - 16:42:43, Raphaël Jean wrote:
| I see this same behavior with our application. Apparently nothing to worry
about.
That sound goot - thanks! :)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
I see this same behavior with our application. Apparently nothing to worry
about.
Raphael Jean
EntropySoft
> -Original Message-
> From: Andreas Bulling [mailto:[EMAIL PROTECTED] On Behalf Of
> Andreas Bulling
> Sent: samedi 25 mars 2006 14:14
> To: Tapestry users
> Subject: Re: JSESSIONI
On 25. Mär 2006 - 15:12:01, [EMAIL PROTECTED] wrote:
| BaseComponents can have html templates.
| But you can also override their
| renderComponent(IMarkupWriter writer, IRequestCycle cycle) and:
| - output your own stuff in writer,
| - call super.renderComponent(IMarkupWriter writer, IRequestCycle
What a coincidence. I battered my head against this yesterday.
The array will be what makes up you path to the link. It' s so generic it
makes me scream, but when I understood that the only things the the link
helps me with is to construct something I could write myself, I wrote it
myself instead.
I'm not sure you're on the right track there.
Instead, check out DirectLink and ExternalLink components:
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/DirectLink.html
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/ExternalLink.html
also
http://jakarta.apache.org
On 25. Mär 2006 - 13:09:59, Martin Strand wrote:
| I don't know for sure, but I think this is what's going on:
| When the session is first created, a cookie is set and JSESSIONID is
| appended to all links. If your browser doesn't send back the cookie, the
| JSESSIONID will continue being appen
>From Andreas Bulling <[EMAIL PROTECTED]>:
> Hi all,
> and here is another short question:
> As I didn't get to know how to "mix" a BaseComponent derived
> component with a AbstractComponent derived one (using a
> component html template _and_ output some html code with
> IMarkupWriter) I decided
No answer...
Could anybody point me to some doc? Explainations?
Thanks a lot.
-jec
Jean-Eric Cuendet wrote:
Hi,
Could someone help me on the second parameter of this method?
getLink(boolean post, Object[] params);
What should I give as params in my case:
I Want a URL on MyPage passing 2 extra
Exactly!
I understand one step more in Tapestry now!
Thanks a lot.
-jec
Raul Raja Martinez wrote:
Are you using instance variables such as?:
private String text;
public String getText() {
return this.text;
}
public void setText(String text) {
this.txt = text;
}
The approach above should n
I don't know for sure, but I think this is what's going on:
When the session is first created, a cookie is set and JSESSIONID is
appended to all links. If your browser doesn't send back the cookie, the
JSESSIONID will continue being appended to all links. If your browser
accepts the cookie a
Hi all,
and here is another short question:
As I didn't get to know how to "mix" a BaseComponent derived
component with a AbstractComponent derived one (using a
component html template _and_ output some html code with
IMarkupWriter) I decided to switch to AbstractComponent completely.
I was able
Hi all,
just a short question - I will see if the answer will also be that short,
as I have no clue what's going wrong here I don't know... :(
After logging in into my plattform (built with Tapestry) a JSESSIONID
is appended to all links to the different subpages. But:
As I can see a cookie is al
24 matches
Mail list logo