glad to see this one is fixed,
Thanks,
Jan
On Thu, Dec 15, 2011 at 11:35 AM, Igor Drobiazko [via Tapestry]
ml-node+s1045711n507709...@n5.nabble.com wrote:
Fixed in trunk and 5.3 branch.
On Thu, Dec 15, 2011 at 12:54 AM, Thiago H. de Paula Figueiredo
[hidden email]
Hi,
How can I test my services using TestNG?
I use PageTester to start tapestry and call getService to get my service
instance.
This works when I run in a main function.
But I write some test class use TestNG, when I call mvn test in shell.
I get the following Exceptions.
No
One of new features in 5.3 is:
Application Folder
Tapestry can now be configured to execute inside a folder, which can be
useful when running Tapestry inside a web application that contains other
servlets or filters, as a way to prevent conflicts.
don't really understand, some explanations ?
Just to add some more fire :) ,and think it's a nice idea.
Found this , in here( grails 2.0.0 release )
http://grails.org/doc/latest/guide/gettingStarted.html#requirements
jQuery Replaces Prototype
The Protoype Javascript library has been removed from Grails core and
now new Grails
Hi All,
The most important consideration in this debate imho is backwards
compatibility. Some companies have tens of thousands of lines of Tapestry code,
so are heavily invested. Whilst removing prototype is probably a good idea,
Tapestry must maintain legacy support for prototype, at least
javascript abstraction layer +1,
I guess it also sounds like the way of making things right, which is what
tapestry rings a bell for me...
cheers
Nicolás.-
The message No PersistenceProvider implementation available in the runtime
environment. means that no JPA implementor like EclipseLink is not
available on the classpath.
On Fri, Dec 16, 2011 at 10:50 AM, Bo Gao eli...@gmail.com wrote:
Hi,
How can I test my services using TestNG?
I use
Or t5-pub-sub should do a copy-on-write, rather than copying it for
each iteration. I miss Clojure collections!
On Thu, Dec 15, 2011 at 3:37 AM, Jochen Berger foober...@googlemail.com wrote:
Hi again,
I think I was wrong with the term race condition. After some investigation
I found out what
I had some clients who wanted to run their T4 app side-by-side with
their T5 app. The application folder means that all URLs can be
prefixed with /t5 (or whatever you like). It's a minor thing that
gets into a lot of little places.
On Fri, Dec 16, 2011 at 2:50 AM, angelochen
I'm not for anything breaking backward compatibility and I'm not
interesting in Tapestry 6, version 5 is fine by me. I've been using
Tapestry since 3.0 and I've got some Tapestry 4 code and some 5.2
Prototype code now. I'm also running 5.3 with the Tapestry5-jQuery
library.
But
IMHO another
On Fri, 16 Dec 2011 16:01:31 -0200, Barry Books trs...@gmail.com wrote:
But
IMHO another abstraction layer is a really bad idea. There is a ton of
documentation on Prototype and jQuery but none on the Tapestry
Javascript abstraction layer.
I think the abstraction layer is for Tapestry itself
Hi I have probably some small problem but I can not figure it out. According
to documentation it should work but it is not.
I have defined some servervice using
public static void bind(ServiceBinder binder) {
binder.bind(StudioService.class, StudioServiceHibernate.class);
On Fri, 16 Dec 2011 17:08:43 -0200, bhorvat horvat.z.bo...@gmail.com
wrote:
Hi
Hi!
This line dataGenerator.generate(); throws a NullPointerException
Full stack trace please.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and
On that line I have studioService.save(tempStudio);
DummyDataGenerator generated the dummy code for the database and it doing so
using the service that are defined in the bind method. Is it possible that
the services are are not defined?
When I put in the bind method
On Fri, 16 Dec 2011 18:15:29 -0200, bhorvat horvat.z.bo...@gmail.com
wrote:
On that line I have studioService.save(tempStudio);
So the problem is there. ;) Make sure studioService isn't null. Please
post the full class here.
DummyDataGenerator generated the dummy code for the database
The service is just a hibernate service that saves data to the database.
public class StudioServiceHibernate implements StudioService {
private final Session session;
public StudioServiceHibernate(Session session) {
this.session = session;
}
public Studio save(Studio
I solved or at very least I am aware how to bypass the problem. It seems
that the services can not be injected into the DummyDataGenerator if I
create it using the build method but if I create it in the bind it can
inject the service.
The only problem is that I have about 20 service so can you
I am trying to access the symbol properties that are defined when starting
the application using maven like so
configuration
systemProperties
systemProperty
namehibernate.configuration/name
valuedbt.cfg.xml/value
This is my third question and the final one I promise :)
I know that I can add more hibernate configuration to the application like
this
public void
contributeHibernateSessionSource(OrderedConfigurationHibernateConfigurer
conf) {
conf.add(Default, new HibernateConfigurer() {
If you set HibernateConstants.DEFAULT_CONFIGURATION to true(which it is by
default), then org.hibernate.cfg.Configuration#configure() is called, which
tries to look for hibernate.xml in the classpath. If it is not able to find
the file, this exception is thrown.
If you set this Symbol to
I don't think if can differentiate between a standard property
Are you sure it is picking up your configuration.
This might help
http://stackoverflow.com/questions/3231797/specify-system-property-to-maven-project
regards
Taha
On Dec 17, 2011, at 3:41 AM, bhorvat wrote:
I am trying to access
Instead of
public static DataGenerator buildDataGenerator() {
return new DummyDataGenerator();
}
try
public static DataGenerator buildDataGenerator(ObjectLocator locator) {
return locator.autobuild(DummyDataGenerator.class);
}
When you use new DummyDataGenerator(), @Inject won't
Perfect, worked like a charm.
Thanks a million.
Cheers
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Creating-custom-service-using-build-failed-tp5081119p5081860.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Now it is working fine, maybe I have misspelled the property before.
I am using it like this as a parameter of the method (maybe that is the
point), before I have used it as a property of the class
@Value(${hibernate.configuration}) final String configFile
Anyway thanks for help
--
View this
Hm...That is pretty much what I thought. However it is acting a bit
differently.
I did set the property to full. But the system logged (whens starting up)
was showing that the duplicate config file Default exists and that it will
be ignored. Also for some reason on some occasions it would go
I think the problem is the naming. Default already exists so you should name
it something else, otherwise it will use the one loaded first and so sometimes
you will see it working correctly(as your configuration is being used) and
sometimes it wont (when it uses the DefaultConfigurer from
I wrote this following code to restrict the user from accessing certain
pages. Problem is it isn't working correctly.
configuration.add(factory.createChain(/index).add(factory.authc()).build());
I wrote this code so that only authorized user view the page, But in my
program everyone can view.
so from idea cmd-9 did nothing for me (neither did the use of the menu option
of cmd-9. Again running with parameters for prod mode set to false.
Kalle, could you recommend the magic incarnation for tweaking jetty:run plugin
to fix the path so that it will look at the resource tree rather than
28 matches
Mail list logo