How to define InitialValue for TextField? in T4 use @InitialValue in T5 how
to do?? for help.
--
得与失都是生活
Hi Jesse --
Thanks for your work on Tapestry. I have noticed an issue around memory
usage with our automated tests which extensively use hivemind. I was
wondering if anyone has investigated hivemind memory leaks. I am going to do
some further investigating as time permits after Tuesday. That being
Hi Josh,
I tried your second approach:
requestGlobals.getHTTPServletRequest().getSession().getServletContext().getRealPath("app")
it returns : /usr/local/apache-tomcat-5.5.23/webapps/my_app_context/app
but I checked the running program, the file is here
/usr/local/apache-tomcat-5.5.23/webapps/R
Hi Marcus,
I checked, it seams using java.io.tempdir.
Marcus-11 wrote:
>
> Angelo,
>
> Look at Tapestry-Upload source code.
> There should be an example.
>
> Marcus
>
>
--
View this message in context:
http://www.nabble.com/T5%3A-xml-file-location-tf4364651.html#a12445874
Sent from the
What is it that you want explained? The framework generates links
consistently by always calling onPassivate (if present) to generate context
for the page link unless you provide a context.
You've found a way to override that ... what else is there to explain?
If you want a slightly shorter synta
It _shouldn't_ change anything, but I'm wondering why Joel is seeing
different behaviour, and trying to find out if there is a problem.
I studied this problem a few months ago, looked at the source code (and the
Javassist generated source code) and I'm not happy with the current
implementation or
Have you thought about using a null context?
/Serge
Thiago H de Paula Figueiredo-2 wrote:
>
> Em Fri, 31 Aug 2007 21:20:00 -0300, Fidel Chavarria
> <[EMAIL PROTECTED]> escreveu:
>
>> If you need a link that points to the same page, create a Pagelink
>> pointing the same page.
>
> I need
Em Fri, 31 Aug 2007 21:20:00 -0300, Fidel Chavarria
<[EMAIL PROTECTED]> escreveu:
If you need a link that points to the same page, create a Pagelink
pointing the same page.
I need a link to the same page, but without the activation context. I'm
using an object edit page to both new object
It's work fine!
Many Thanks!
Stef
> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Sat, 1 Sep 2007 18:55:58 +0200
> To: users@tapestry.apache.org
> Subject: Re: [T4] Jetty + tapestry 4.1.2 archetype + UTF-8
>
> please try setting org.apache.tapestry.template-encoding to "UTF-8", es
NIck,
"When a single method is overloaded with different parameters, the order of
invocation is fewest parameters to most parameters." commented by Howard at
(https://www.blogger.com/comment.g?blogID=4110180&postID=7231241573208214842
)
So, reversing the order of methods don't should change anyth
Angelo,
Look at Tapestry-Upload source code.
There should be an example.
Marcus
Since, I assume, you are deploying your web application into a servlet
container you are not going to be able to use a relative path to get at the
file. Tapestry isn't doing the loading of the file so using any Tapestry
related path constructs is not going to work.
Your best bet is putting your fi
On 9/1/07, John <[EMAIL PROTECTED]> wrote:
>
> Thank you Robin,
> well of course I can return the index of the array and then find out the
> correct Object.
> Is this not so trivial and done in every Grid/Table/ For loop?
> I thought, this could be done automatically by T5 itself.
>
> Regards.
> Jo
On 9/1/07, John <[EMAIL PROTECTED]> wrote:
> Thank you Robin,
> well of course I can return the index of the array and then find out the
> correct Object.
> Is this not so trivial and done in every Grid/Table/ For loop?
> I thought, this could be done automatically by T5 itself.
It can, but as T5
please try setting org.apache.tapestry.template-encoding to "UTF-8", es
described in
http://tapestry.apache.org/tapestry4.1/usersguide/configuration.html
2007/9/1, Istvan Szucs <[EMAIL PROTECTED]>:
>
> Hi Folks!
>
> How can I setup the jetty to use it UTF-8 encoded html page?
>
> An exempale:
> 1.
Hi Folks!
How can I setup the jetty to use it UTF-8 encoded html page?
An exempale:
1. Create a new project, use tapestry 4.1.2 archetype:
mvn archetype:create -DarchetypeGroupId=org.apache.tapestry \
-DarchetypeArtifactId=tapestry-archetype \
-DarchetypeVersion=4.1.2-SNAPSHOT -DgroupId=org.examp
I would like to do some cleaning up when one of my
session ASO
is removed from a HttpSession.
One way is to use an implementation of
HttpSessionListener directly.
I wonder if there is an alternative way that is done
through Tapestry 5.
Thanks in advance for any assistance!
Shing
Home page
Hi Marcus,
This does not work neither, kind of strange.
Marcus-11 wrote:
>
> Hi Angelo,
>
> try FileReader("context:images/info.xml")
>
> Marcus
>
>
--
View this message in context:
http://www.nabble.com/T5%3A-xml-file-location-tf4364651.html#a12441264
Sent from the Tapestry - User mail
Thank you Robin,
well of course I can return the index of the array and then find out the
correct Object.
Is this not so trivial and done in every Grid/Table/ For loop?
I thought, this could be done automatically by T5 itself.
Regards.
John
- Original Message -
From: "Robin Helgelin"
with "images" under "youApp\src\main\webapp\"
Hi Angelo,
try FileReader("context:images/info.xml")
Marcus
On Fri, Aug 31, 2007 at 06:24:58PM +0300, Imants Firsts wrote:
> How do I correctly set up a BeanEditForm for editing a
> hibernate entity?
I don't think I'm even close to writing idiomatic Tapestry 5 (if such a
thing even exists), but here is the pattern I've been using:
EditMyBean.java
---
Hi,
I have this info.xml file that I need to open, first I put it under WEB-INF
and use : fr = new FileReader("info.xml"); got FileNotFoundException, I put
it under images directory as the template was able to get the pictures
there, then I use FileReader("images/info.xml"), same exception. where
The castor jar was a little over 1 Meg at last track. (There are different
Castor jars - that is for the XML only jar).
A mapping file is not required. There is a default behavior without any
mapping. I always use a mapping file because I like having control over my
XML.
> -Original Messa
Hi Guoguo,
XStream works well under T5, problem now is, it does not handle UTF-8, any
tips on this too? Thanks.
A.C.
蝈蝈龙 wrote:
>
> Indeed Castor is more portable than XStream. But XStream is stronger and
> more simpler.
> So you have to bear it's slightly bigger size.
> But I find all the dep
sorry, I have found it, here :
http://wiki.apache.org/tapestry/Tapestry5HowToCreateADynamicPDF
it use iText ... not jasper...
thanks
2007/8/26, Eko S.W. <[EMAIL PROTECTED]>:
>
> Hi All,
>
> firstly, I think it is the same as creating Char using Jasperreport, that
> is we must build our own Compon
26 matches
Mail list logo