...just out of interest. Am I correct in thinking that form parameters for a
Tapestry form upload are not stored in the usual HttpServletRequest
parameters?
The reason I ask is that I was originally accessing the HttpServletRequest
object, to try and get to the form parameter I was looking for. Fr
Nice. I was thinking I could only inject a request into a page class. So I
can inject the request anywhere in the application? Great. Thanks.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Accessing-tapestry-request-params-outwith-a-page-tp5718291p5718293.html
Sent from
Hi. I have a utility class that I call from within my application. Is it
possible to access the current request and requests parameters from within
my utility class so I can access form parameter values that were uploaded in
the current request?
--
View this message in context:
http://tapestry
Thanks. I wasn't able to use the following annotation and method...
@Contribute(ServiceOverride.class)
public static void
setupApplicationServiceOverrides(MappedConfiguration
configuration)
{
configuration.addInstance(SomeServiceType.class,
SomeServiceTypeOverrideImpl.class);
}
I have a
Yes. Is there a way to set the listener from within Tapestry?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Adding-a-progress-listener-to-UploadedFile-tp5718197p5718199.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Hi there. I would like to add a progress listener to UploadedFile to track
progress up the file being uploaded. I know that it's possible to do this
with apache commons file upload. Is there an easy way to do it with the T5
UploadedFile class?
Cheers,
Dave.
--
View this message in context:
h
brilliant! it actually works with outputraw, which means i don't have to
supply the format... and it's always going to be a string that I set, so
should be fine.
Thanks.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Setting-element-value-from-an-attribute-tp5715597p57
Could I extend that a little and create a component that does the following?
[hidden email]
Then tapestry could replace the dispayed value with thee specified
'property'?
I wonder if a comonent like that exists, or how I would write one if it
doesn't?
Thanks...
--
View this message in
Hi. When creating dynamic content in a TML template file I normally do
something like this:
${user.email}
So when running the template in my tapestry app, I get a header with the
logged in user's email address.
But, when viewing the template outside of tapestry, as a normal file,
obviously I ge
This looks perfect! Tapestry is outstandingly good.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Adding-a-dynamic-sub-directory-to-URL-tp5714532p5714537.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
Thanks. Will take a look.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Adding-a-dynamic-sub-directory-to-URL-tp5714532p5714535.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
T
Superbe! It looks like I can just use a URL rewriter filter to rewrite my
URLs and pass the club name in as a request param.
http://urlrewritefilter.googlecode.com/svn/trunk/src/doc/manual/4.0/index.html
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Adding-a-dynamic-s
Hi folks. I am writing a web app to be used by a number of clubs. Each club
can register and create a gallery page and a contact page. Both pages will
then be public.
I each clubs pages to be viewable from the following urls:
http://localhost//gallery
http://localhost//contact
When someone brow
Thank you s much!. That's exactly what I've been looking for. Should have
read more closely.
Cheers,
David.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Using-layouts-partial-page-templates-tp4806800p4806882.html
Sent from the Tapestry - User mailing list archive
Hi. the trouble is when I try to escape everything around the main content..
eg. if the About.tml looks a bit like this...
about text
I want it to have all the body/head tags in the TML file as above, so it can
easily be viewed outiside of tapestry.
But, i want tapestry to use Layout.tm
Hi there. I'm looking to create a Layout.tml template file to hold the
header/footer/navigation elements of my page, and then create the content
within separate files such as Index.tml, About.tml
Obviously, at the moment, when viewing these files outside of Tapestry, they
just show a snippet of ht
Hi guys. Is it possible to access the imaes that are used by validation
bubbles? I wanted to make the less round and change the colour. any ideas?
Thanks.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Changing-the-look-of-the-validation-bubbles-tp4730327p4730327.html
Se
Brilliant! Thanks
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Select-component-Can-i-just-pass-it-a-list-of-values-tp4674906p4675175.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
Yesss!. Tapestry seems to take care of it if I just create a loop. So I can
loop through each person, create a form for each, and have one Form
component with one set of field props in the page class that each generated
HTML for can submit too. Brilliant.
--
View this message in context:
http:/
Hi. Is there any way I can create a select field and get is just to use the
options listed in the html?
The values I have are never going to change and Im happy with the list in
the TML.
Eg... I have...
Employee Type:
Any
Permanent
Temp
Hi there. I have a page on which I want to have a number of forms, one for
each person. The forms will have forename, surname, etc... the usual fields.
However, I wont know how many person forms I want on the page until runtime.
At the moment it seems that I need to have a @Component on my page cl
Hi there. When using localization to display different template files based
on the locale, it seems to ad the locale to the URL. Is that normal
behaviour?
Eg. I have 2 homepage files... Home_en.tml and Home_fr.tml.
If I set the locale to French, and go to the homepage, if goes to URL
/fr/Home rat
Hi. I just gave that a go, using localization to serve a different TML
template. Started by adding following lines to AppModule:
public static void contributeApplicationDefaults(
MappedConfiguration configuration) {
configuration.add("tapestry.supported-local
Sounds great. I'll take that approach in that case. Thanks for your help.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Can-you-dynamically-select-which-page-template-to-return-tp4505668p4508195.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Thanks Thiago. Yeah I see what you mean also. Ideally the HTML should be the
content, and be completely separate from styling (that's CSS's job). This is
exactly how it should be done as you say, but I'm also keen to reuse
existing HTML templates without having to re-factor too much (some changes
w
Thanks Lewis. I can see what you mean. It does sound like I'm trying to do
something action-oriented/Struts-like. I'm a big fan of the way Tapestry
doesn't force you to think in this way and is more intuitive. The reason I
ask actually, is more to do with wanting to re-skin pages based on a user.
I
s Ship [via Tapestry]
wrote:
From: Howard Lewis Ship [via Tapestry]
Subject: Re: Can you dynamically select which page template to return?
To: "dkeenan"
Date: Monday, June 20, 2011, 7:49 PM
On Mon, Jun 20, 2011 at 2:26 AM, dkeenan <[hidden email]> wrote:
> Not sur
Ah. Maybe this is what I need to dynamically use a different template for a
page...
http://tapestry.apache.org/localization.html
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Can-you-dynamically-select-which-page-template-to-return-tp4505668p4505678.html
Sent from the
Not sure if that makes any sense but here goes... For each page in Tapestry,
I know that I need to specify a page class, and a corresponding TML templage
file for that page.
I was wondering if I can have more than one possible TML file for a page...
and programatically decide which one to use?
Ho
29 matches
Mail list logo