I can get to the date this way:
String[] items = requestGlobals.getRequest().getParameters("items[]") ;
but that kind of defeats the purpose of the event handler and the
@RequestParameter annotation.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/RequestParameter-items
Hi!
I'm trying to use an event handler to process an Ajax request that sends an
array.
public void handler(@RequestParameter("items") List items)
// do something
It is a GET request and the query string is
items[]=one&items[]=two
Doesn't work :-(
If I do
public void handler(@RequestParamete
Hi Igor!
Yes, I read that. And rewriting incoming URLs works just fine.
But what about the other direction?
Let's say I have a page link in one of my *.tml
...
Do I have to add the context to each and every page link manually or is
there a way that I can do this using some transformer? I don'
Unfortunately I've been a bit out of the loop since version 5.2.x came out.
Hopefully someone can bring me up to speed on this. Instead of hacking
something together that may work I'd like to ask what the recommended
approach for this is.
In my application I would like to avoid using a session fo
Basically my situation is that run my Cucumber tests as part of the
integration test phase via Maven. Before they run Tomcat/Jetty get started
and the application deployed. Then the Cucumber tests run and later
Tomcat/Jetty get shut down.
Some of these Cucumber tests require a different configura
No. Not specific to the container.
I want the Tapestry application to reload it's services, components, pages
based on a change in a properties file.
Stephan
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Triggering-application-reload-tp3342751p3342764.html
Sent from t
For testing purposes I would like to trigger reloading the application
myself. What would be the best way to do that?
I know that I can register an UpdateListener and watch changes to other
files besides components, pages and services.
For testing I am using Cucumber. I would like to change the
Thanks. I checked Chenillekit's SVN but what's there is too new. At least I
found Sven Homburg's email and just wrote him. He may be able to help.
Stephan
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/t5components-Editor-where-did-it-go-tp3326052p3326101.html
Sent from
I should add that I'm aware of Chenillekit and the ck/Editor there.
If possible, I would like to use the old t5components source to get me
started.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/t5components-Editor-where-did-it-go-tp3326052p3326076.html
Sent from the Tap
Anyone knows where t5components/Editor went?
I have an old source code made with Tapestry 5.0.x where this component
library was used. The component is a wrapper for the FCKEditor. Before I
refactor I would like to try to use the code as is first.
Stephan
--
View this message in context:
http
Hi all!
I'm using Tapestry Hibernate in a sample project and am experiencing some
strange behavior. The first time the user of my webapp is trying to change
data or save it to the database, it fails telling me that the transaction
has not been started. After this first hickup all subsequent opera
Lutz Hühnken wrote:
>
> See
> http://old.nabble.com/T5-How-to-tell-T5-to-send-301-%28moved-permanently%29-ts18870223.html
>
Herzlichen Dank!
Stephan
-
--
http://www.caimito.net - Caimito One Team - Agile Collaboration and Planning
tool
http://www.stephan-schwab.com - Personal blog
http:
Event handlers in Tapestry, such as onActivate() may return a page object or
page name. That gets translated into a HTTP 302 redirect.
Now there are situations, e.g. in shopping applications, where one needs to
use 301 (moved permanently) redirects instead.
One can @Inject the Response object, s
Howard Lewis Ship wrote:
>
> Seems like a bug to me that if you turn ENCODE_LOCALE_INTO_PATH off,
> it doesn't then substitute some other approach (like a cookie from
> 5.0, or a query parameter).
>
I'm trying to add that other approach. So far I've added a link creation
listener via the LinkC
Niclas.Meier wrote:
>
> Have you considered using the:
>
> http://www.yourdomain.com/index.html";>
>
> Mechanism? Google had a nice post on their webmaster central blog
> (http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html).
>
> We had quite similar problems with T
Thiago H. de Paula Figueiredo wrote:
>
>> Do you think it is necessary and can be done to have intra-page links -
>> and probably those for component events as well - go to /url instead of
>> /en/url?
>
> You can disable the locale prefix by setting the
> SymbolConstants.ENCODE_LOCALE_INT
Thiago H. de Paula Figueiredo wrote:
>
>> According to SEO people that are involved in this project that behavior
>> creates an issue. They say search engines will detect duplicate content
>> and punish that. Their suggestion is:
>
> If all content is translated, would your pages still be con
The webapp I'm currently working on supports two languages and the user can
choose the preferred language from a menu. By default Tapestry shows pages
based on browser language settings. If the user selects a different
language, then URLs become prefixed with /en/ or /es/.
According to SEO people
Thanks for mentioning TestBase. I like the set() method to push values into
private fields.
You are certainly right about that @Parameter is about the interaction with
the container of the component and should be tested via an integration test.
Thanks again.
Stephan
-
--
http://www.caimit
Is there any recommended way of unit testing components that have @Parameter
annotations?
Of course I can add a setter to provide the parameter in my test but that
kind of defeats the purpose of @Parameter(required=true). I can call the
setter or not do it. If I don't call the setter, the test sh
In another thread I read that the HTTP session is simulated by PageTester. In
the other thread someone showed that you can get the ApplicationStateManager
and use @SessionState objects.
I'm writing a test that needs to set an attribute to the session so that
security code can access that attribut
Kalle Korhonen-2 wrote:
>
> Anything came out of this or any other jsecurity integration with T5? I
> see
> tapestry-sesame project hasn't gotten out of the starting block. I'm going
> to start using jsecurity but wouldn't mind using/borrowing code from
> others.
>
Unfortunately I got quite bu
Christian Edward Gruber-2 wrote:
>
> FYI, in general, you shouldn't be using the container in your tests,
> unless you're testing the wiring itself. You should be creating the
> component/service under test, and constructing it with fakes. This
> isn't absolute but there is a lot more ef
Never mind. Apparently it's too late and I don't see my own mistakes. Sorry
for wasting bandwidth.
-
--
http://www.caimito.net - Caimito One Team - Agile Collaboration and Planning
tool
http://www.stephan-schwab.com - Personal blog
http://code.google.com/p/tapestry-sesame - Authentication ext
Hi!
I have several JUnit tests that instantiate
org.apache.tapestry5.ioc.Registry via the RegistryBuilder before tests run.
Now I'm observing that services registered in one test are still available
in other tests although I did call registry.shutdown(). My test runner does
not fork a new JVM.
C
Sorry for not including the URL. Here it is:
http://code.google.com/p/tapestry-sesame/
Why does one always forget these things? ;-)
-
--
Caimito One Team - Agile Collaboration and Planning tool
http://www.caimito.net
http://www.stephan-schwab.com
--
View this message in context:
http://ww
to join, please
drop me a line.
Greetings,
Stephan Schwab
-
--
Caimito One Team - Agile Collaboration and Planning tool
http://www.caimito.net
http://www.stephan-schwab.com
--
View this message in context:
http://www.nabble.com/Security---Authentication-extension-for-Tapestry-5-tp19920327p199203
Hi,
what would be the best way to process a raw HTTP POST coming in from code
like this one:
http://developer.yahoo.com/java/samples/YahooWebServicePost.java
I guess it will be required to turn off some of the form processing logic T5
provides. Does that mean to go the route tapestry-upload has
Hi!
Tonight I upgraded a project, which uses heavily Spring beans, to Tapestry
5.0.6. Dutifully I updated the imports to the now one and only @Inject from
Tapestry IoC. But ... NPEs are now showing up all over the place, because
somehow the Spring beans don't get inject anymore.
Has something in
Christian Gorbach wrote:
>
> is it possible to implement a dispatcher/delegate page which is able to
> forward to another known page class if business logic decides to do so.
> It should be a pure server-side RequestDispatcher.forward and no redirect.
>
You can return a page from the onActiva
Unfortunately yesterday we had to switch back to JVM 1.5, as the same
symptoms have shown up again. Seems that there is still a problem and JVM
1.6. update 2 is not the solution.
--
View this message in context:
http://www.nabble.com/T5-on-JDK-1.6-or-newer-tf4324659.html#a12582298
Sent from the
I'll post
about it.
Stephan Schwab wrote:
>
> We moved our production app Savila from JDK 1.6 back to 1.5. That's now
> more than a week ago. Since we did no further hangs have shown up.
>
> Unfortunately I have not been able to investigate any further due to time
> con
her.
>
> Can you be more specific with the problem?
>
> Also, I think I've been to your blog... my good friend Josh Hicks sent
> me there one day when I was trying to decide if Tapestry a good choice
> for a UI framework. :-)
>
> -Original Message-
&
We've been experiencing strange behaviour of our now growing application
Savila and as well with another project we are working on. Both use Tapestry
5.0.5. Our development machines run with Mac OS X and we use JDK 1.5 that
comes with it. We deploy to Linux with Sun's JDK 1.6 and Tomcat 6.0.10.
Howard Lewis Ship wrote:
>
> I haven't tested myself under JDK 1.6. I suspect its Javassist that's
> having the problem. Not much we can do about that, except see if there's
> a
> newer version of it that can handle JDK 1.6 better.
>
That seems to be a problem with a certain combination of J
Hi,
do I miss something or is there no support in T5 for radio buttons yet? I've
search this mailing list, but could not find much about the topic and the T5
component catalog only shows a checkbox component.
Stephan
--
http://www.stephan-schwab.com
--
View this message in context:
http://ww
Joshua Jackson-3 wrote:
>
> I think creating Tapestry security module would be nice since Acegi is
> too tightly coupled with Spring.
>
Acegi is quite powerful, flexible and support a large number of user
databases. It would be a big effort to build something similar. You don't
have to use Spr
We use exactly that combination and it works perfectly well. I even have it
documented for a chapter of the book about Acegi I'm currently working on.
At least when I'm not too tired from my daytime work.
--
http://www.stephan-schwab.com
Massimo Lusetti wrote:
>
> On 4/30/07, Juan Maya <[EMAIL
Jan Vissers wrote:
>
> I think this informational page:
> http://tapestry.apache.org/tapestry5/dependencies.html
> is wrong, or not? There *are* dependencies...
This is the page for the parent project, which does not have dependencies.
The modules do and you can find their dependencies on thei
Howard Lewis Ship wrote:
>
> Which version do you use? I've head rumors that 0.0.10 is unstable,
> so I've been holding back at 0.0.9.
We use 0.0.10 of the M2Eclipse plugin since a few months. First we built it
from SVN and then switched to the released version. No problems so far. But
there w
Howard Lewis Ship wrote:
>
> How about cancel ?
>
> Why should it be necessary to do a form submission, just to discard
> all the data in the form?
>
> If you want, you can use CSS to dress up the link to look like a form
> submit button.
Right. Actually that's pretty smart and more in compl
Pablo Ruggia wrote:
>
> There was a discussion last week on the same topic. Howard said that the
> best way was to keep a flag like "cancelSelected" and turn it on on the
> "selected" event. Then in the form "submit" event look to it and do what
> it
> needs to do.
> I think that it is very inc
Howard Lewis Ship wrote:
>
> By putting the ASO class into the pages package, Tapestry created an
> enhanced version of the ASO class, as if it were a component. This
> enhanced class is in the class loader used for pages, components and
> mixins. The reference to the ASO in the page is a refer
Thiago H de Paula Figueiredo wrote:
>
> On Tue, 20 Mar 2007 18:24:52 -0300, Renat Zubairov
> <[EMAIL PROTECTED]> wrote:
>
>> Let me explain it from _my_ personal point of view.
>> 1. Investments in T4 are lost. Application will not be portable to T5.
>
> i can't figure out why investment in
Hi,
is anyone working on Acegi integration into Tapestry 5?
Stephan
--
Blog: http://www.stephan-schwab.com
--
View this message in context:
http://www.nabble.com/T5%3A-Acegi-support-integration-anyone--tf3358378.html#a9341261
Sent from the Tapestry - User mailing list archive at Nabble.com.
45 matches
Mail list logo