Hi,
Any one know where to find hello world tutorial for tapestry 4.1 for
tomcat 6.0 or jetty 6.1? I mean for developing not deployment. I can
not find one in internet. I know Java well but not servlet container
and something like that.
The jumpstart project is interesting.
http://files.doubleneg
in the AppModule.java,my code:
/*
* utf-8 encoding
*
*/
public HttpServletRequestFilter buildEncodingFilter(final Log log){
return new HttpServletRequestFilter(){
public boolean service( HttpServletRequest request,
HttpS
Sorry for the long interval on this discussion--needed time to try to
understand this problem a bit more. I am wondering if Jesse or anyone
else can shed a little more light on the empty ajax response problem I
am having, which is a showstopper for my app.
Using the example below () did not w
Hi all,
We recently stumbled with the following problem regarding a For component.
We have a tamplate more less like this:
Value:
The collections has a number elements say three:
public void
a mistake made : component templates are stored under
main/resources/your/package/name/components
Best documentation you can find on tapestry 5 website.
Cheers ,
Alex
On 4/13/07, Alexandru Dragomir <[EMAIL PROTECTED]> wrote:
Was going to answer ;)
By convention :
- page templates are store
Was going to answer ;)
By convention :
- page templates are stored under WEB-INF or under
main/resources/your/package/name/pages
- componente templates are stored under
main/webapp/resources/your/package/name/components
- page java files are stored under /main/java/your/package/name/pages
-
Not all of them are going to be well behaved web spiders. Exploit
scanners tend to hit specific URL suffixes to feed in their exploit code
(looking for vulnerable phpbb, phpnuke, etc), and they don't respond to
robots.txt ;)
It clogs up traditional Apache error logs as well.
I would suggest
In case anyone else is looking for it I found it...
http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/
test/java/org/apache/tapestry/integration/app1/pages/BlockDemo.java
-Original Message-
From: Bruce Petro [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 12, 2007 5
I hope it will be possible to turn this off for some sessions. The case I am
concerned about is my phone browser -- which asks the user to confirm every
client-side redirect.
While I understand the reasons for page-redirects by default -- I do need to
not make our phone users life miserable.
-Pa
So this is happening for you to?
If this is the normal behavior for the search engines then I guess we can
filter the results, but we only want to do this if this is the normal
thing... otherwise wants to fix it the 'right' way..
Thanks again,
Jacob
--
View this message in context:
http://www.n
I'm not as sure about all of the methods for preventing search engine
spidering on certain parts of your app but I have built lots of application
/ etc monitoring software in the past and you almost always want these kinds
of alerts to go through some kind of intelligent filter that prevents 60
em
Hi,
we have a similar problem... we are hosting approximately 300 websites that
is using our tapestry application to which all the content are red from the
database and build up on the fly. We also gets a lot of 'ghost' exceptions
when search engine spiders and robots try to access our application
not my phone ... (yet) it can't handle for example the date or time dropdown
picker in tapestry. dojo in general seems not phone browser friendly yet
but looking at what the dojo people are saying -- as soon as better
emulators become available this will change.
one of our key markets is mobi
Oh, yes it's technically possible but I don't think it's something I'd ever
add into tapestry core - maybe someone could do it as an add on.
I do of course use the lexical parsing / obfuscation abilities provided by
mozilla rhino via dojo on some of the core content already:
http://dojotoolkit.o
I often have to add @SuppressWarnings("unused") to the field which
defines the component as well.
On 4/13/07, Robert Zeigler <[EMAIL PROTECTED]> wrote:
Right. Annotations on properties will only be processed if the
properties are private.
In fact, for components, unless you're going to access t
I added a Filter, and it did succeed.
public void doFilter(ServletRequest arg0, ServletResponse arg1,
FilterChain arg2) throws IOException, ServletException {
// TODO Auto-generated method stub
arg1.setCharacterEncoding("UTF-8");
arg1.setContentType("text/html; cha
On 4/13/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
I think Patrick is right, phone browser concerns are becoming more and more
important as those platforms continue to evolve and get wider usage. I'm
always disappointed when I got to a site with no real mobile support on my
blackberry pearl.
On 4/13/07, Andreas Pardeike <[EMAIL PROTECTED]> wrote:
Forgive me if the following is wrong, but isn't it possible to have
something like an edit context as in WebObjects that will not accept
a second request with the same edit context ID?
If one would keep track of requests to the server with
On 4/13/07, kranga <[EMAIL PROTECTED]> wrote:
1) Log analysis: Your page hit statistics and other log based audit and
troubleshooting activity need to take this into account.
All requests fall in to logs, anyway logs are configurable server
entities and are by no means related to application s
Right. Annotations on properties will only be processed if the
properties are private.
In fact, for components, unless you're going to access the component
externally, you don't need a getter.
On Apr 13, 2007, at 4/135:50 AM , Kristian Marinkovic wrote:
hi all,
sorry for my previous pos
I think Patrick is right, phone browser concerns are becoming more and more
important as those platforms continue to evolve and get wider usage. I'm
always disappointed when I got to a site with no real mobile support on my
blackberry pearl.
On 4/13/07, Massimo Lusetti <[EMAIL PROTECTED]> wrote:
On 4/13/07, Patrick Moore <[EMAIL PROTECTED]> wrote:
well at least one reason is that phone browsers ask the user to
confirm each and every client-side redirect
Phone browsers, well, typical target for web applications.
--
Massimo
http://meridio.blogspot.com
-
The question is the UTF-8 couldn't work!
putting a UTF-8 char in the Start.html will result in a exception.
the "Start.html" is ISO-8859-1 charset default, can I change that? and How?
2007/4/13, Kevin Lau <[EMAIL PROTECTED]>:
Well, your question now is not about whether the T5 support Chinese,
that's a nice and clean approach for simple services,
less code...
but builder methods should have access to auto-wiring also,
...
Davor Hrg
On 4/13/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
Yep, I'm in the middle of changes where you'll be able to specify a
class as a service and T5 Io
On Fri, 13 Apr 2007 08:03:55 -0300, Andreas Pardeike <[EMAIL PROTECTED]> wrote:
Forgive me if the following is wrong, but isn't it possible to have
something like an edit context as in WebObjects that will not accept
a second request with the same edit context ID?
I think tapestry-flash
(htt
Forgive me if the following is wrong, but isn't it possible to have
something like an edit context as in WebObjects that will not accept
a second request with the same edit context ID?
If one would keep track of requests to the server with a sequence id,
it would be possible to process any reques
hi all,
sorry for my previous post of course it works!!
my failure was that i had the Loop as public property
without a getter method... if you do so you get an Error
message in your log you should read :)
g,
kris
Kristian Marinkovic <[EMAIL PROTECTED]>
13.04.2007 12:09
Bitte antworten
Well, your question now is not about whether the T5 support Chinese, it's
about how to use i18n. You don't even know why you put the "charset=GBK"
into the template or what's the difference between UTF-8 and GBK.
My suggestion is, forget about the Chinese first, use UTF8 to get the i18n
work, the
hi,
could someone help me to apply a T5 Loop with the
@Component annotation? The following code does
not work all the necessary getter/setter methods are
in place (modification of T5 tutorial).
... or maybe the Loop is not meant to be used this way :)
g,
kris
${index}
@Componen
doesn't work right,
Exception message:
Failure parsing template context:WEB-INF/Start.html: The element type
"meta" must be terminated by the matching end-tag "".
so I put "" after the " "
Start.html include "The current time is: ${currentTime}.时间 "
时间 means time!
Exception message:
Failure pa
hi diego,
the EventListener is transfering the id of the surrounding div
because the event does not reference the checkbox directly.
it could be that the user clicked on a label element with a for
attribute... technically the label element would trigger the event
and not the checkbox thus referenc
is for xml file, not for the html
file.
For the html file, you need to specify the charset by such staff
You really need to learn about the basic before purposeless test...
On 4/13/07, xu yiwei <[EMAIL PROTECTED]> wrote:
I wtite "" at the first line of
Start.html.
"现在时间是: ${currentTime}." s
Reasons I can think of:
1) Log analysis: Your page hit statistics and other log based audit and
troubleshooting activity need to take this into account.
2) Extra unwanted delay and traffic in rendering pages.
Storing page state in the session in general is a bad idea. When you have
multiple b
Hi all,
Some of compponents I use insert html code that I would like to remove
just before sending it to the client.
the code that i'd like to remove is in the header. it is a script declaration:
do you have any idea how to do that ?
Thank you so much.
D.
--
I wtite "" at the first line of
Start.html.
"现在时间是: ${currentTime}." same as "The current time is:
${currentTime}. "
Something's wrong!
The exception message:
Failure parsing template context:WEB-INF/Start.html: Invalid byte 2 of
2-byte UTF-8 sequence.
"?: ${currentTime}."
It couldn't read "
Hmm no joy, using
ognl-2.7-20070407.221735-20.jar
tapestry-annotations-4.1.2-20070408.202604-38.jar
tapestry-contrib-4.1.2-20070408.202604-41.jar
tapestry-framework-4.1.2-20070408.202604-44.jar
On Thu, 2007-04-12 at 09:22 -0400, Jesse Kuhnert wrote:
> Yes that's probably a good idea, though I d
Hello,
I want to use event bubbling to find out what checkbox is click with an
Ajax call.
To do this I attach the EventListener to a div surrounding the checkboxes.
This works in firefox, the id of the checkbox is returned. But in IE the id
of the surrounding div is returned.
Is there a way to
Jesse,
thanks for the reply. GZip compression is certainly also interesting, we will
have a look into that.
But sorry, this was a misunderstanding. I did not mean gzip compression, I
meant the kind of thing some ajax frameworks do with js:
- put all the code in a single line
- rename all local
38 matches
Mail list logo