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
your abstract pages or component, their
value will be reused across pages which is not a good thing and it can
also compromise security.
Jean-Eric Cuendet wrote:
That's no directive of the .page file, these are meta-tags within the
section of the html. Usually Safari makes the
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 parameters: uid=34455 and
status=success
URL should be something like
http://server:port/servlet/MyPage.
That's no directive of the .page file, these are meta-tags within the
section of the html. Usually Safari makes the most problems with
no-caching tags. The following works for me on Safari, IE and Firefox.
Thanks a lot. I
Are you sure it's not your browser? Check the cache settings there.
You may also want to use the no-cache directive in your pages to
prevent other browsers from caching results.
Sounds like a good idea. At least for the very dynamic pages...
What is the directive to put in my .page file?
Tha
Forgot to say that my app is on a hosted tomcat so the directive
org.apache.tapestry.disable-caching=true
is not an option of put in Tomcat startup scripts...
Except if I can put it somewhere in my Tapestry config files.
-jec
Jean-Eric Cuendet wrote:
Hi,
In my Tapestry app, some pages are
Hi,
In my Tapestry app, some pages are not re-rendered each time I load
them. I think that's some Tapestry magic caching for perf, but in my
case, the data shown is updated by a SOAP service and so the page must
be re-rendered each time it's called.
How to tell Tapestry to discard a page and fo
Any idea? I can't find a method...
This is for logging prupose. I have a Component B extends A
In A, I would like to log in which commponent I am, and that should log B.
Thanks for help
-jec
-
To unsubscribe, e-mail: [EMAIL PROTE
request.setParameter("RawData") but then how to let the request have
access to the InputStream? The data in it is already consumed by the
MyFiler class... I could create a ByteArrayInputStream but then how to
wire it to the Request object? There is no setInputStream() ...
Thanks for help.
-jec
Jean-Er
Yup, you can't, this is how webapps work in general, sorry. But you can
create a filter to get what you want, read on.
The problem is that if it's a POST request, someone (webapp container,
request object) has already digested the whole body of the request and
convert it into properties of
pServletRequest request;
public void setHttpServletRequest(HttpServletRequest request) {
this.request = request;
}
Hivemind will autowire the request to your service so that you can use
it like if you were dealing with a Servlet.
best regards.
Raul Raja.
Jean-Eric Cuendet wrote:
Hi,
I have a t
Hi,
I have a j2me (Mobile phone) application that connects to my Tapestry
site to send data. It uses POST on a Tapestry Service. The mobile phone
change to Transfer-Encoding:chunked alone if there is a lot of data (we
can't change that).
The problem is that Tapestry don't get the POST data righ
Hi,
I have a tapestry service but would like to access the raw data from the
POST http request. Is that possible?
If I do
getRequest().getInputStream() then inputStream.available() returns 0 ...
I tried reset() on IS but it throw an exception saying it's not supported...
Thanks for any info.
-je
no more served but redirected to my
application...
My question: how do I redirect /servlet/images to my images PATH whic
/servlet goes to my servlet?
Thanks a lot for tips and help.
-jec
--
Best regards / Salutations.
Jean-Eric Cuendet
Senior developer / Technical support
Riskpro Technologi
Hi,
I have a list of PDF that a user can generate by clicking on a link. I
have a Tapestry Service that generate the pdf according to a cycle
parameter which tells which one to generate.
Like this:
Cycle 1
Cycle 2
Cycle 3
I can create a with a @For component but how do I construct the
link
Hi,
I have a service which is called externally via POST (to send data) or
GET (to retrieve data).
How do I know in Tapestry if I'm called with GET or POST method?
Thanks
-jec
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
Hi,
My Tapestry servlet is available at /servlet/app like a basic Tapestry
app. But the problem is that if I go to /servlet/, then I see the
directory structure there. Which is bad.
I then setup a servlet-mapping for / to my servlet so /servlet/ goes to
my servlet. But then, /servlet/images is
You need a custom engine service for doing so. You can inject
HttpServletRequest in there.
You can later use your service url to be the page that receives the post
I can give you some code to get you started if you need it
Thanks for the answer. I'll be glad if you could send me some code, y
iard wrote:
@InjectObject("infrastructure:request")
public abstract WebRequest getRequest();
getRequest().getSession()
http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/web/WebRequest.html
- Original Message ----- From: "Jean-Eric Cuendet"
Hi,
I need to get the session state from a Typestry service (from the
servoce() method)
Is there a way to do it? I'm unable to find any...
Thanks a lot
-jec
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Hi,
Is there a way to get the servlet directory from within Tapestry?
I need to know where it is to read images that I need to generate a PDF.
It's on my local machine /opt/tomcat/webapps/sympto/images but that
could/would be different when in production.
Thanks
-jec
Hi,
I have a service implementing a IEngineService declared in hivemind. I
would like to access my SessionData object from this Service.
Is it possible? ow?
Thanks
-jec
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi,
I would like to display a List with a @For component. Is it possible to
reverse iterate on it?
Going from index size()-1 to 0?
Thanks
-jec
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
It certainly works, I have three applications running tapestry on my web site
(blog, famtree and akcmoney) all of which don't use them (I occassionally
Nothing related but what is akcmoney?
A personal Finance manager on the web?
Thanks to clarify.
-jec
---
Raul Raja Martinez wrote:
You need a custom engine service for doing so. You can inject
HttpServletRequest in there.
OK, thanks.
You can later use your service url to be the page that receives the post
I can give you some code to get you started if you need it
With great pleasure.
-jec
Hi,
I need a page in my Tapestry application to handle data that a remote
client could send me. I'll use an HTTP POST method.
How can I handle that in my application?
Thanks for any pointer.
-jec
--
JeSC - Software et Consulting
Jean-Eric Cuendet
1168 Villars-sous-Yens
Web :
Hi,
I would like to create a Service with:
But set-contribution is not supported for services...
How should I do that?
Thanks a lot
-jec
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
Hi,
Until now I used Tomcat with a direct checkout of my Tapestry app (in
/home/myapp) with the file TOMCAT/conf/Catalina/localhost/myapp.xml
pointing to /home/app
I'd like to create a war now for easy deployement. So I'll no more have
the TOMCAT/conf/Catalina/localhost/myapp.xml file since all
The website I wish to display will essentially be quite small, perhaps
10 or so pages so rather small really. I would not expect the database
usage to be above 1GB for the foreseeable future, but the data that the
clients enter would be very important (they will be paying for a
So IMO, you
What you want to do is very similar to a the redirect-after-post form
submission pattern.
The string used with @InjectObject is broken into two parts; the
prefix and the value.
The prefix identifies how the value is parsed and interpreted.
The "service:" prefix is built-in to HiveMind, and re
Yah, but then you're time slicing a fragment of a box, often with
restrictions on what you can do with it e.g. you get the 1.4.2 JVM because
that's what the server has on it, you get the standard package list and
can't install more, etc.
A virtual server may well work for a lot
Well, a lot of services will just flat out lease you a box, then
it's up to you to use whatever you want on them. Usually for $100 per month
or so, you can get a box with a static IP address and an internet
connection. You can, of course, pay a lot more if you require, say hot
hourly bac
I have the same problem, here in Switzerland.
You must find a provider that accepts j2ee applications. I have 2
options here: (with www.swisscenter.ch)
- Dedicated Virtual server where I can do what I want: install
Apache+Tomcat+Tapestry+...
- j2ee hosting: you provide a war file and it is dep
Hi,
I have a Border Component and I would like to check 2 things in it:
- That I'm logged in or not
- That the Locale is French
If these conditions are not OK, then I would like to redirect to the
Home page. I did that by throwing a PageRedirectException in
renderComponent() but that doesn't
Take a look at the PageService.getLink() method implementation...
Thanks, that could help. Could you please explain how to Inject this
Object into my page?
Something like:
@InjectObject("service:")
public abstract PageService getPageService();
What should be what_to_put ?
And need I to
roject in the commons called httpclient that should
do the trick. A little tricky to set up the first time, but works pretty
well.
Jean-Eric Cuendet wrote:
Hi,
I'm implementing a payment solution with Tapestry. I have a page on
which a user can choose some articles and then call a well c
Hi,
I'm implementing a payment solution with Tapestry. I have a page on
which a user can choose some articles and then call a well crafted URL
to make the payment by credit card (www.saferpay.com). I need to give
Saferpay 3 URLs:
- 1 if the transaction is OK
- 1 if the transaction is NOK
-
37 matches
Mail list logo