Howard Lewis Ship schrieb:
The reality is that right now I'm sitting in an office at Formos and
every single person in the building is deriving their living directly
from Tapestry and the effort I've put into it over the last seven
years. And that's just the company I work for; Over the last few
A big hello and thanks to Rob!
Reading this post it came to my mind through Rob's playing the devils
advocate here he is really improving this user-list's community.
And there are one personal experience and one common though to share
with you.
1. Personal experience with Wicket
Long befor
In using onException, I send the resulting string to a conditionally-shown
on the page. I notice that every time it's displayed (after an
exception), it is prefixed with a string describing the type of my
exception. So if my message is "database is unreachable", the message
displayed on the pag
Hi,
I have a layout component where all other pages based, now I'd like to put a
small form in that layout component, actually it is a 'quick lookup' option
so that all the pages will have quick lookup, but I am a little hesitant as
I suspect a form will always create a session, so even user is n
Great post Onno! +1
Like Jan, I also find Rob pretty amusing. You never know, maybe one day his
messages about the version incompatibilities will help someone who has somehow
managed to miss the statements on the Tapestry site, however unlikely that
might be.
> > Take for example Kent Tong, th
Rob,
You're here! I was getting concerned when you didn't reply to my question on
another thread. I feared that some tragedy had befallen you. It would be
impolite of you to simply disregard a simple question.
So, back to the fundamental and simple question...
Given that you have no intention
We are using Tapestry 4.0 for over a year. Since, we were not able to
find a reliable (called on every request) and consistent (Information
from HttpServletRequest is available through RequestCycle at the time of
call) way to initialize and cleanup the pages to achieve behavior quoted
from the Use
> Take for example Kent Tong, the former Tapestry commiter. He has now even
> written a book on
> Wicket.
..and he has written yet another one on JSF after that. So clearly he must
not like Wicket very much :o)
Seriously though: I have used Tapestry 3 on several projects. I've used
Tapestry 4 o
Somehow I tuned out your CDATA discussion, sorry.
Jim wrote:
What about:
?
Haven't touched T5 yet, but this is working for me in T4:
This has the bonus of making (most of) the section syntax-highlighted.
Jim
Josh Canfield wrote:
Neither approach really solves the problem all the way.
What about:
?
Haven't touched T5 yet, but this is working for me in T4:
This has the bonus of making (most of) the section syntax-highlighted.
Jim
Josh Canfield wrote:
Neither approach really solves the problem all the way. They both
require that the commented out section is valid code.
only one word: cool
2008/4/11, Howard Lewis Ship <[EMAIL PROTECTED]>:
>
> My father in law is a brilliant marketer; he has this incredible
> ability to pick up the jargon and terminology of whatever he's working
> with. I remember picking him up from the airport once and he's
> chatting about Tap
Neither approach really solves the problem all the way. They both
require that the commented out section is valid code.
Won't parse.
It would be convenient to be able to mark a component as containing
CDATA so that the template parser would leave it alone.
for instance, if the above were equi
Would it be possible and within Tapestry's vision to give users the
ability to annotate actual tags to designate them as
server-side? In the spirit of being able to hand a Tapestry template to
a web designer using Dreamweaver, the syntax-highlighting would be
value-added.
Otherwise, there'd
You can "simulate" a comment directive as a component:
public class Comment
{
boolean setupRender() { return false; }
}
This is a no-op component, it skips directly from the SetupRender
phase to the CleanupRender phase, rendering nothing. This is even
less work than .
On Fri, Apr 11, 2008
My father in law is a brilliant marketer; he has this incredible
ability to pick up the jargon and terminology of whatever he's working
with. I remember picking him up from the airport once and he's
chatting about Tapestry and Spring and all that ... and he really
doesn't know what it all is (nor
Good to know that it works, but I would think thats a little dangerous...
If its not commented, I always assume its live code. There should be a way
to comment properly.
I can do it in the jsps I stare at all day long... I'd think it reasonable
T5 does real comments.
*I haven't tested any of thi
Howard,
Do like I do - just laugh at his remarks. At first I thought it was
annoying, now I think they're actually quite funny. Not that they have any
technical merit.
-J.
> Yawn.
>
> On Fri, Apr 11, 2008 at 7:33 AM, Rob Smeets <[EMAIL PROTECTED]> wrote:
>> And especially, Howard himself recentl
That's perfect, thanks Josh.
Josh Canfield wrote:
How about just doing whatever the equivalent to is in T4?
On Fri, Apr 11, 2008 at 11:31 AM, Jim <[EMAIL PROTECTED]> wrote:
Is there a way to do server-side commenting, ala <%-- --> in JSPs? i.e. to
comment sections that you (temporarily) d
How about just doing whatever the equivalent to is in T4?
On Fri, Apr 11, 2008 at 11:31 AM, Jim <[EMAIL PROTECTED]> wrote:
> Is there a way to do server-side commenting, ala <%-- --> in JSPs? i.e. to
> comment sections that you (temporarily) don't wish to be dynamically
> processed server-side?
I think you can disable proxying with Location and LocationMatch.
But, I can't access the config at the moment to confirm.
--
Kevin
On Apr 11, 2008, at 6:39 AM, Michael Gerzabek wrote:
Kevin,
the difference with that is that you pass every request to the
servlet container. My config serv
:) If you don't have unused parameters warnings turned on in your IDE,
now would be the time!
On Fri, Apr 11, 2008 at 9:41 AM, Andy Huhn <[EMAIL PROTECTED]> wrote:
>
> Oh, brother. If that's it, take my keyboard away from me. :o)
>
> I'll check as soon as I get on tonight. If that's it, sorry
Ah, id with no t: is just a parameter like any other. Try this mixin:
import org.apache.tapestry.MarkupWriter;
import org.apache.tapestry.annotations.Parameter;
public class Title {
@Parameter(defaultPrefix="literal")
private String _id;
void beginRender(MarkupWriter writer)
Is there a way to do server-side commenting, ala <%-- --> in JSPs? i.e.
to comment sections that you (temporarily) don't wish to be dynamically
processed server-side?
Adding only precludes client-side processing, of course, and if
I try to surround a template section (which contains Tapestry
Hey Stephane,
> I think that i did not explain very well the problem i encounter ... so i
> will try to explain it better (so hard in a foreign language ...)
I understood the problem, sorry if my answer didn't give you what you needed :)
> In this case, it will just be an inconvenient but if the
Martin Kersten wrote:
I start to like him. What a nice smile this little post put on my face.
I like him. He is like the guy who let the sun stay a bit higher if you
know what I mean. :-)
You lucky !!!
I, on the opposite, just hope someone would 'accidentally' pass over him
on a 16-wheeler.
Yawn.
On Fri, Apr 11, 2008 at 7:33 AM, Rob Smeets <[EMAIL PROTECTED]> wrote:
> And especially, Howard himself recently participates in the answering of
> questions. Thanks to the stiff competition out there in the webframework
> space that has triggered this. His ego went too high and I'm glad h
Just to close the thread, I see that there's an existing bug for this
problem:
https://issues.apache.org/jira/browse/TAPESTRY-2234
-Original Message-
From: JWiegman [mailto:[EMAIL PROTECTED]
Sent: Friday, April 11, 2008 1:17 PM
To: users@tapestry.apache.org
Subject: Re: JSONObject probl
On 4/11/08, Marcelo Lotif <[EMAIL PROTECTED]> wrote:
> There are two nice articles by Chris Lewis regarding this, and i think it's
> the best approach out there. Maybe you should give a try:
>
> http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher
> http://wiki.apache.org/tapestry/Tap
Julian,
Did you ever find a fix for this? I'm running into the same issue...
Thanks,
Joel
Julian Wood wrote:
>
> I was just extending Autocomplete, and I wanted to add a callback to
> the config, so I override the config:
>
> protected void configure(JSONObject config)
> {
> c
Don't you love it when you post a question and find out the answer 2
minutes after ? :o)
Just realized that the submit component throws a "selected" event to the
page. All i have to do is provide a listener method for this event for
each submit component.
Hugo Palma wrote:
> Hi,
>
> i recently
Don't you love it when you post a question and find out the answer 2
minutes after ? :o)
Just realized that the submit component throws a "selected" event to the
page. All i have to do is provide a listener method for this event for
each submit component.
Hugo Palma wrote:
> Hi,
>
> i recently ca
Hi,
Take a look at
http://www.nabble.com/T5%3ALogin-and-session-to12276631.html#a12276933
sample here , I used that approach, it works, but eventually I use the
approach in the wiki, dispatcher approach, I'd suggest you go with
dispatcher.
Angelo
daniel alonso-3 wrote:
>
> First of all, than
Hi,
i recently came across this problem. I have a form with different
buttons, all of them should submit the form but each one has to be
handled in a different way.
The only solution i could think of was to add a hidden field to the form
that is filled using javascript by the onclick event of eac
Oh, brother. If that's it, take my keyboard away from me. :o)
I'll check as soon as I get on tonight. If that's it, sorry for troubling
the list.
Andy
On Fri, 11 Apr 2008 11:20:43 -0400, "Peter Beshai" <[EMAIL PROTECTED]>
wrote:
> Unless there's a typo in your post:
>
> public void setAgeRa
Great, thanks Filip and Howard! :-) I hadn't ever thought of contributing a
DataTypeAnalyzer before the default one.
On Thu, Apr 10, 2008 at 8:42 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> Or contribute your own DataTypeAnalyzer ahead of the
> DefaultDataTypeAnalyzer that specifically rec
Unless there's a typo in your post:
public void setAgeRangeSrvd( AgeRange ageRangeeSrvd )
{ this.ageRangeSrvd = ageRangeSrvd; }
The parameter's name is 'ageRangeeSrvd' not ageRangeSrvd, so you're not
setting it.
e.g. You're doing:
private String _name;
public void setName(String
I start to like him. What a nice smile this little post put on my facec.
I like him. He is like the guy who let the sun stay a bit higher if you
know what I mean. :-)
-Ursprüngliche Nachricht-
Von: Rob Smeets [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 11. April 2008 16:34
An: Tapest
Hi Chris,
This may not be the proper way of doing things, but I needed to get the
client Id of one of my components, so I did this:
@Inject
private PageRenderSupport _pageRenderSupport;
private String _clientId;
void beginRender()
{
_clientId = _pageRenderSupport.allocateClientId(_resources
And especially, Howard himself recently participates in the answering of
questions. Thanks to the stiff competition out there in the webframework
space that has triggered this. His ego went too high and I'm glad he is
finally humbling himself. It's rather unfortunate he got awaken only after
Tapest
Hi Stephane,
No, you are not wrong. A common technique is to put session checking
in a common class which all other pages extend. Session checking can
be achieved by checking for the existence of an Application State
Object that you have set up earlier when something significant
happene
That's odd.
What does your page class/template look like?
-Filip
On 2008-04-11 10:15, Andy Huhn wrote:
Hello,
I have what I thought was a fairly straightforward piece of code, but I
can't seem to get it working.
I have an enum defined as:
public enum AgeRange {
K6, M
Hello,
I have what I thought was a fairly straightforward piece of code, but I
can't seem to get it working.
I have an enum defined as:
public enum AgeRange {
K6, MiddleSchool, HighSchool, K12, MiddleHighSchool
}
I reference this enum in one of my POJOs:
yes in 5.0.9 version it is working and it looks like it should, I've change
version
On Fri, Apr 11, 2008 at 4:27 PM, Marcelo Lotif <[EMAIL PROTECTED]> wrote:
> I'm using 5.0.9 in production due to lack of some features in the new
> calendar...
> Is working very fine for me in both browsers (FF2 &
On Fri, Apr 11, 2008 at 2:48 PM, Michael Gerzabek
<[EMAIL PROTECTED]> wrote:
> Yes, and it's easy. You click the Run > Open Run Dialog then select your
> Jetty App and select the checkbox Enable NCSA logging in the dialog.
>
> There I found that the last rewrite rule had to be changed to
>
>
> #
Michael Gerzabek schrieb:
Is there a way to configure access logging like tomcat has for Jetty?
Yes, and it's easy. You click the Run > Open Run Dialog then select your
Jetty App and select the checkbox Enable NCSA logging in the dialog.
There I found that the last rewrite rule had to be chan
I'm using 5.0.9 in production due to lack of some features in the new
calendar...
Is working very fine for me in both browsers (FF2 & IE7)
2008/4/11, Natia Gdzelishvili <[EMAIL PROTECTED]>:
>
> In firefox it was working.
> In T5.0.11 it was fixed calendar was display in IE, but it looked simple
>
There are two nice articles by Chris Lewis regarding this, and i think it's
the best approach out there. Maybe you should give a try:
http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher
http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher2
=)
2008/4/11, daniel alonso <[EMA
Kevin,
the difference with that is that you pass every request to the servlet
container. My config serves static files, like css, pictures etc.
straight with httpd and let the fancy stuff do by the servlet container.
Thanks anyway!
Michael
Kevin Menard schrieb:
I've always used something ak
I've always used something akin to:
ProxyRequests Off
ProxyPass / http://host.servprise.office/
ProxyPassReverse /
I think this would be cleaner for you than using rewrite rules to your
servlet container. Then again, I've never used a rewrite rule to proxy, so
I may just
As of Apache HTTPd 2.2, AJP is implemented as a mod_proxy provider. It's a
much cleaner configuration than either mod_jk or mod_jk2.
--
Kevin
On 4/11/08 5:01 AM, "Robin Helgelin" <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 11, 2008 at 10:49 AM, Michael Gerzabek
> <[EMAIL PROTECTED]> wrote:
>> Hi,
Mhm,
Robin Helgelin schrieb:
ProxyPassReverse / http://localhost:/
I assume your application is running on context root?
Yes it is.
Also, does tomcat logging show any difference between requests coming
from mod_proxy and requests coming directly to tomcat?
I use Jetty 5.1.12 wit
On Fri, Apr 11, 2008 at 11:57 AM, Michael Gerzabek
<[EMAIL PROTECTED]> wrote:
> I use mod_proxy successfully since 8 years. In the old days I had troubles
> over troubles with mod_jk and since I learned how to use mod_proxy and
> mod_rewrite I did never re-evaluate mod_jk.
Ok!
> Ok, here my conf
I think that i did not explain very well the problem i encounter ... so
i will try to explain it better (so hard in a foreign language ...)
Suppose i have a page A which call a page B after initializing a
property of B :
[Page A]
@InjectPage
private B b;
@OnEvent (value="action")
Object got
I use mod_proxy successfully since 8 years. In the old days I had
troubles over troubles with mod_jk and since I learned how to use
mod_proxy and mod_rewrite I did never re-evaluate mod_jk.
Ok, here my conf (it's local, not on the internet). This configuration
is inspired by an old thread (200
In firefox it was working.
In T5.0.11 it was fixed calendar was display in IE, but it looked simple (i
mean skin)
I hope in new version bugs will be fixed
On Wed, Apr 9, 2008 at 5:13 PM, MoritzGilsdorf <[EMAIL PROTECTED]>
wrote:
>
> I once had the problem of executing javascript code from inside
I'll try it
On Fri, Apr 11, 2008 at 1:38 AM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote:
> This has been fixed in 5.0.12 where you can now add the @Inject annotation
> to the constructor that Tapestry should use for auto-instantiating your
> object.
>
> -Filip
>
>
> On 2008-04-07 11:09, Natia Gdz
On Fri, Apr 11, 2008 at 10:49 AM, Michael Gerzabek
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to install T5 behind a httpd with mod_proxy and mod_rewrite. While
> the configuration on http is straight forward, T5 seems to behave different
> when it get's queried by httpd.
Would you mind posting
Hi Mike
How are you openning your sessions?
OSIV Filter perhaps? If yes, does the filter pattern match your 404 url?
--
Alejandro Scandroli - http://weblog.amneris.es/
Amneris: We build process-driven web applications.
http://www.amneris.es
On Thu, Apr 10, 2008 at 5:42 PM, Mike Leonardo <[EMAI
Hi,
I want to install T5 behind a httpd with mod_proxy and mod_rewrite.
While the configuration on http is straight forward, T5 seems to behave
different when it get's queried by httpd.
Jetty direct URL: http://localhost:/contact
This works fine and as supposed. The contact page get's hos
First of all, thanks for all the support given through this mailing list.
I'm a newbie in this framework and after reading a couple of book and the
wiki, I have a question concerning about this:
I want to control the access to pages by user's role. I've checked the
tapestry example about how to au
60 matches
Mail list logo