Hi donny, thanks. I will try this :)
On Wed, Jan 5, 2011 at 11:08 PM, Donny Nadolny wrote:
> You can contribute just the name of the file you want
> ("quartz.properties"),
> put it in the classpath, eg in src/main/resources, and then in the place
> where you need to use it, load it from the class
Hi howard and Kalle, Thanks a lot for the advice :) Yes i was also looking
at the PageTester, I think its very cool :) But the apps mainly consist of 2
page. A page with a link to start the process, and the page that will show
the result of the process. All of the work will be executed on the servi
On Tue, 04 Jan 2011 17:00:41 -0200, raulmt wrote:
Hi,
Hi!
String positions = request.getParameters("newPositions[]");
but it would be nice to have an event handler like
Object onUpdatePositions(@RequestParameter("newPositions[]") String[]
newPositions) {
//...
}
Am I missing somethi
On Wed, 05 Jan 2011 21:58:15 -0200, Paul Stanton
wrote:
1. Using the zone parameter to flag an event as XHR
To specify that you want to perform an XHR request (EventLink,
ActionLink, Form etc), you need to supply the zone parameter. The
existence of this parameter is a flag that te
I've been meaning to tap this out for a while.
on a recent project (T5.1), i found tapestry's XHR handling/zone
updating architecture lacking. I do hope there's a better way to achieve
what i needed to which is why i'm writing this. if there is not i think
there's a strong case to tidy the imp
thanks josh, i'll try it out.
On 4/01/2011 11:31 AM, Josh Canfield wrote:
Currently both annotations claim ownership of the field. This prevents
conflicts when managing read/write access. For instance, which annotation
should provide the value for the field if both a persisted value and a
parame
On 01/04/2011 05:14 PM, Thiago H. de Paula Figueiredo wrote:
On Tue, 04 Jan 2011 19:44:34 -0200, Rich M wrote:
Hi,
Hi!
The issue here being that in IE8 the ' characters got written out as
&'
This isn't a problem with Tapestry. IE doesn't handle HTML entities as
it should. In addition, u
On Wed, 05 Jan 2011 17:06:49 -0200, hese <1024h...@gmail.com> wrote:
oopss...just saw that ObjectLocator is an interface. Any inputs?
It's and interface and a Tapestry-IoC service, so you can inject it in the
object that wants to create the non-service objects you want.
--
Thiago H. de Pa
You can use constructor injection.
Make a constructor for the object, and have an argument for whichever
service you want, and tapestry will pass it in when it constructs the
object. It will automatically call the constructor with the most arguments.
This is all assuming that you're going to be cr
oopss...just saw that ObjectLocator is an interface. Any inputs?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/how-to-get-a-handle-to-a-service-from-a-POJO-class-tp3329328p3329343.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
Can I use object locator?
ObjectLocator objLoc = new ObjectLocator();
...objLoc.getService(myClass);
Is this correct?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/how-to-get-a-handle-to-a-service-from-a-POJO-class-tp3329328p3329334.html
Sent from the Tapestry - User
Hi,
In order to get a handle to a tapestry service we use @inject. Is there a
way to get a handle to a tapestry service from a POJO class, in which I
cannot use @Inject?
Thanks!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/how-to-get-a-handle-to-a-service-from-a-PO
... or HtmlUnit & Jetty, see below from a recent thread on Maven users list:
subject Re: Fail a build if the web application fails to load in Jetty
On Tue, Jan 4, 2011 at 11:10 AM, Nathan Wilhelmi wrote:
> Hi - HtmlUnit is a simpler solution for what we are trying to test right
> now. What I
... and this is why you either want to look at unit testing using mocks, or
at integration testing using Selenium. In the half-ground you end up with a
lot of complications since the code is designed to run inside a servlet
container and you don't have one.
PageTester exists to mock up the servle
On Wed, 05 Jan 2011 06:16:43 -0200, Ronald Luke
wrote:
Hello, guys,
Hi!
Now I'm looking at the wonderful T5 hotel-booking-demo(using tynamo's
tapestry-security) code. If a visitor is not logged in , when she goes
to the search page, she will be redirected to the signin page. Looking
a
You can contribute just the name of the file you want ("quartz.properties"),
put it in the classpath, eg in src/main/resources, and then in the place
where you need to use it, load it from the classloader as a resource:
InputStream in = getClass().getResourceAsStream("quartz.properties");
But inste
Igor Drobiazko,
I'm glad to know that you fixed the issue I filled. It was quick! Thank
you very much!
Atenciosamente,
Matheus Eduardo Machado Moreira
matheus@gmail.com
*Good cooking takes time. If you are made to wait, it is to serve you
better, and to please you.*
Menu do Restaur
Hi josh, thanks a lot. I follow your advice and tries to include all the
module that i could think of. This is the modified initRegistry method :
private void initRegistry() {
RegistryBuilder builder = new RegistryBuilder();
builder.add(TapestryModule.class);
builder.add(AppModule.class);
b
It doesn't look like you are including TapestryModule in your registry.
Since you're building the registry you're in charge kit adding all the
modules.
Optionally you could add @SubModule(TapestryModule.class) to your AppModule
to make the dependency explicit.
On Jan 5, 2011 4:25 AM, "abangkis" w
Hello, i have a tapestry app that consist of 1-2 pages, and lots of
services. The apps is used to crawl another website. The apps uses hibernate
module, quartz and some other contribution. Because of the nature of my
apps, i want to test the services class using TestNG. I've created a simple
test t
OK, figured it out. I didn't realise that TapIOC loads ANY modules that
it finds (in the classpath).
Removing the tapestry-spring.jar fixed the problem.
Is there a way to explicitly prevent TapIOC loading a module, so that I
can continue to have SpringModule on the classpath, but without it being
I've managed to get a little further with this by defining a service
builder method for ApplicationContext in:
com.howardlewisship.tapx.templating.services.TemplateModule
like this:
public static ApplicationContext build() {
TapestryApplicationContext tac = new TapestryApplicationCon
The configuration is in the AppModule
particularly
public static void
contributeFactoryDefaults(MappedConfiguration
configuration)
{
configuration.override(SecuritySymbols.LOGIN_URL, "/signin");
configuration.override(SecuritySymbols.SUCCESS_URL, "/search");
confi
Hello, guys,
I am having a very hard time trying to figure out how to use shiro in tapestry.
Now I'm looking at the wonderful T5 hotel-booking-demo(using tynamo's
tapestry-security) code. If a visitor is not logged in , when she goes to the
search page, she will be redirected to the signin pa
24 matches
Mail list logo