_ApplicationContext.xml:_
location="file:${catalina.home}/props/" cache-period="1234" />
_VideosModule.java:_
public static void contributeIgnoredPathsFilter(Configuration
configuration) {
configuration.add("/images/.*");
}
_Index.tml:_
_Index.java:_
@Inject
private HttpSer
Does your webapp have a context path? You may need to use
I have added the "/images" path to this contributeIgnoredPathsFilter,
however it does not works.
On 5/16/2013 8:24 PM, Lance Java wrote:
You will need to tell tapestry to ignore the "/images" path so that another
servlet (spring) can handle it.
http://tapestry.apache.org/configuration.html#Con
Hvala! :)
From: Boris Horvat
To: Tapestry users ; Andjela Djenic
Sent: Friday, May 17, 2013 12:06 AM
Subject: Re: Unknown entity and SessionFactory null
Srecno u projektu... Zanimljivo da se tapestry radi sada na fon-u ja sam ga
radio u 4toj
On Fri,
I suspect you can do this with the jQuery bind mixin. It binds jQuery
events to Tapestry event handlers
On Thu, May 16, 2013 at 7:47 AM, Lance Java wrote:
> I've not used the jquery datatable but have solved this problem with the
> grid here: http://tapestry-stitch.uklance.cloudbees.net/griddeco
Srecno u projektu... Zanimljivo da se tapestry radi sada na fon-u ja sam ga
radio u 4toj
On Fri, May 17, 2013 at 12:02 AM, Andjela Djenic wrote:
> It was wrong hibernate mapping. It works now without adding entities to
> hibernate.config.xml and without adding the contribution
> to Hibernate
It was wrong hibernate mapping. It works now without adding entities to
hibernate.config.xml and without adding the contribution to
HibernateEntityPackageManager class.
I know that tapestry-hibernate covers tapestry-core and
tapestry-hibernate-core, but for some reason my app won't work with t
On Thu, 16 May 2013 18:18:37 -0300, Boris Horvat
wrote:
This error looks to be generic to hibernate. Basically you have mapped
the objects wrong do the inheritance.
Definitely a pure Hibernate error (specifically mapping) completely
unrelated to Tapestry.
--
Thiago H. de Paula Figueire
This error looks to be generic to hibernate. Basically you have mapped the
objects wrong do the inheritance.
Since this is a student project can I assume that your code is not top
secret and that you have a repository for it (e.g. bitbucket)?
Take a look at
http://stackoverflow.com/questions/3615
Here's the link to console output http://justpaste.it/2n2r
Thanks,
Angela
From: Boris Horvat
To: Andjela Djenic
Cc: Tapestry users
Sent: Thursday, May 16, 2013 10:29 PM
Subject: Re: Unknown entity and SessionFactory null
What exception?
On Thu, May 16,
What exception?
On Thu, May 16, 2013 at 10:01 PM, Andjela Djenic wrote:
> I'm getting an exception when I do that way.
> I'm not satisfied with solution to add entities in config file, since it
> should be done automatically, by convention.
> It actually worked fine few days ago, and I don't kno
I'm getting an exception when I do that way.
I'm not satisfied with solution to add entities in config file, since it should
be done automatically, by convention.
It actually worked fine few days ago, and I don't know which changes could
disrupt that.
Thanks,
Angela
___
Thanks Robert, I will take a look.
Angela
From: Robert Lentz
To: Tapestry users
Sent: Thursday, May 16, 2013 9:40 PM
Subject: Re: Unknown entity and SessionFactory null
Angela,
have a look at
https://github.com/rlentz/tahi_jndi.
This is a very simple t
Angela,
have a look at
https://github.com/rlentz/tahi_jndi.
This is a very simple tapestry-hibernate-jndi-demo setup for using
hibernate in tapestry using tomcat or jetty.
The database/hibernate configuration is solely done via a jndi
environment without a hibernate.cfg.xml at all and automatica
Can you try adding in AppModule.java
@Contribute(HibernateEntityPackageManager.class)
public static void
addHibernateEntityPackageManager(Configuration configuration) {
configuration.add("rs.fon.master.onlinelibrary.entities");
}
(and remove the mapping tag from the xml).
Si
On Thu, 16 May 2013 15:55:39 -0300, Ken in Nashua
wrote:
So it sounds like...
I need to implement an auxillary property called
getDisplayableName/setDisplayableName in order for this to make it into
the options construct's.
for EVERY class I intend to populate into any select.
Just i
http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
com.mysql.jdbc.Driver
jdbc:mysql://localhost:3306/library
org.hibernate.dialect.MySQLDialect
root
books
update
true
true
org.hibernate.transaction.JDBCTr
Can you provide hibernate.cfg.xml now?
On Thu, May 16, 2013 at 9:28 PM, Andjela Djenic wrote:
> I added entity class in hibernate.cfg.xml and it works. I don't get why
> Tapestry won't automatically see my entities package.
>
> Thanks for the help folks!
>
> Angela
>
>
> ___
I added entity class in hibernate.cfg.xml and it works. I don't get why
Tapestry won't automatically see my entities package.
Thanks for the help folks!
Angela
From: Lenny Primak
To: Tapestry users
Sent: Thursday, May 16, 2013 9:14 PM
Subject: Re: Unknown e
Hi Ken,
The entities that I use are in the entities package. From Igor Drobiazko's
book: "...by convention, the entities sub-package of
the application's package is scanned for persistent classes. Any class
annotated with
@Entity, @Embeddable or @MappedSuperclass annotation is automatically
ad
I don't know about Hibernate, but JPA has an option to either scan for all the
entities,
or provide them in configuration. Perhaps there is the same thing for
Hibernate,
or it's turned off somewhere
On May 16, 2013, at 3:10 PM, Boris Horvat wrote:
> I would be more interested in seeing why
I would be more interested in seeing why doesn't this work out of the box.
I also dont provide entities in config.xml instead I let tapestry grab them
from my package...
On Thu, May 16, 2013 at 8:42 PM, Ken in Nashua wrote:
> Hi Angela,
>
> Looks liek you didnt specify any entities in your hibe
So it sounds like...
I need to implement an auxillary property called
getDisplayableName/setDisplayableName in order for this to make it into the
options construct's.
for EVERY class I intend to populate into any select.
toString is the default displayable for any object
i vote for that to b
Hi Angela,
Looks liek you didnt specify any entities in your hibernate cfg mapping file.
If you model an entity under your model/entity package, yes you need to tell
your AppModule.JAVA about that directory...
But you also need to tell hibernate about those entities.
We do this by specifying t
I already tried with that dependency, and it won't work for me.
Thanks for the hmac-passphrase.
Thanks,
Angela
Try replacing
org.apache.tapestry
tapestry-core
5.3.6
org.apache.tapestry
tapestry-hibernate-core
5.3.6
with
org.apache.tapestry
tapestry-hibernate
5.3.
All my entities are in myapp/entities package.
"By default, the package application-root-package.entities is scanned as
described above.
If you have additional packages containing entities, you must contribute them
to the tapestry.hibernate.HibernateEntityPackageManager service configuration.
Well I dont really see any entities defined in your config.
btw did you tell tapestry where to lock for the entities? You should
provide an a method in AppModule.java
@Contribute(HibernateEntityPackageManager.class)
public static void
addHibernateEntityPackageManager(Configuration configurati
I don't think neither I nor hantsy have any realistic action items that will
possibly be implemented,
simply because the maintainers have too much stake in the status quo.
There is nothing wrong with that. It is legitimate to protect your investment,
especially if you making a living off of it.
Here is my hibernate.cfg.xml file:
http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
com.mysql.jdbc.Driver
jdbc:mysql://localhost:3306/library
org.hibernate.dialect.MySQLDialect
root
books
update
true
true
That is correct.
On May 16, 2013, at 8:35 AM, Ben Titmarsh wrote:
> thanks Lenny. I tried using the 1.2.2 version of this library, but am
> getting the following error on statup. I assume this is because the
> Flowlogix library was built with Java 7?
>
> java.lang.UnsupportedClassVersionE
well its trying to configure from hibernate.cfg.xml
did you spell it out properly in the config file ?
You will need to tell tapestry to ignore the "/images" path so that another
servlet (spring) can handle it.
http://tapestry.apache.org/configuration.html#Configuration-ConfiguringIgnoredPaths
Hi,
I'm newbie in Tapestry and Hibernate and I cannot realize why Hibernate don't
see my entities. My entity classes have @Entity annotation and are in entities
package. Dependencies for hibernate-tapestry that I use:
org.apache.tapestry
tapestry-core
And I forgot another huge reason for not replacing Tapestry-IoC in
Tapestry: backward compatibility. Unfortunately, we just can't break
compatibility in such a large way. Many people still void Tapestry due to
its past history of completely non-backward compatible changes and the
Tapestry t
>Yeah, I don't know if that's doable now, but we could do some work on
>Tapestry-IoC so the Registry object could provide a method that returns a
>list of services, something which isn't done yet AFAIK.
Maybe this service could help us for that :
http://tapestry.apache.org/current/apidocs/org/apac
On Wed, May 15, 2013 at 10:23 PM, hantsy wrote:
> Tapestry should embrace the existed and mature specs, such JSR330, Bean
> Validation, Managed Bean, etc, Spring has supported them in 3.0 natively.
>
I don't really agree with this logic. It leaves no room for innovation.
Everyone would just us
On Thu, May 16, 2013 at 12:08 PM, Nourredine Khadri <
nourredine.kha...@atos.net> wrote:
> >I do believe that the same could be said for tapestry-cdi and by
> extension FlowLogix
> >Magnus, can you comment on this?
> I think that you have to rely on a specific container's implementation
> to exclu
I've not used the jquery datatable but have solved this problem with the
grid here: http://tapestry-stitch.uklance.cloudbees.net/griddecoratordemo
If it's not supported out of the box with datagrid, you could do something
similar (perhaps adding a "data-" attribute to each row).
It is not out of the box. But you can maybe create a mixin used with the
DataTable. Here a sample : http://datatables.net/forums/discussion/1838/x
2013/5/16 Tom Nys
> Hi there
>
> I'm using the datatables component from tapestry5-Jquery but I can't find
> a way to trigger a tapestry event when
Hi there
I'm using the datatables component from tapestry5-Jquery but I can't find a way
to trigger a tapestry event when clicked on a row.
Is there a plugin that will do this? or what should i do to get this to work?
Greets
Tom
Tapestry provides a random hex string default value for the application
version. I'm guessing that's what you're seeing. There must be some
circumstances under which tapestry can't find the override in your property
file.
thanks Lenny. I tried using the 1.2.2 version of this library, but am getting
the following error on statup. I assume this is because the Flowlogix library
was built with Java 7?
java.lang.UnsupportedClassVersionError:
com/flowlogix/web/services/ServicesModule : Unsupported major.minor vers
On Thu, 16 May 2013 07:08:09 -0300, Nourredine Khadri
wrote:
What about having Tapestry-IoC as a CDI portable extension which
registers
T-IoC services as CDI beans? This way, we can still have the best of two
worlds without Tapestry-IoC implementing CDI and with way less work.
Currently, C
Not a problem. My example was picking up org.apache.bval.jsr303.* (in OpenEJB)
instead of the hibernate validator. When I fixed the classpath the problem went
away. It doesn't fully explain the symptoms I described, but for now I'm happy.
On 16/05/2013, at 1:04 AM, Geoff Callender wrote:
> Nor
Hi All,
I am developing an application using Tapestry 5.3.1
I have tried to use MVC resources mapping to cache images, But it seems
doesn't works
Here my coding:
_Context xml configuration:_
mvc:resources mapping="/images/**"
location="file:${catalina.home}/props/" cache-period="1234" />
On 16/05/13 12:26, Lance Java wrote:
${project.version} is a reserved property in maven. I'm guessing maven is
using its own value instead of your filter. Check by inspecting
appversion.properties in your jar/war.
I removed the project.version=1.2.3 from my fil
${project.version} is a reserved property in maven. I'm guessing maven is
using its own value instead of your filter. Check by inspecting
appversion.properties in your jar/war.
>I do believe that the same could be said for tapestry-cdi and by extension
>FlowLogix
>Magnus, can you comment on this?
I think that you have to rely on a specific container's implementation
to exclude classes from scanning and avoid conficts between CDI and
Tapestry IOC. I can be wrong.
Also, I
Hi,
Using a maven filter file I set the symbol
tapestry.application-version and want to show it in a page:
AppModule.java
public static void
contributeSymbolSource(OrderedConfiguration
config) {
config.add("AppVersion", new
ClasspathR
Or you can use the one provided by the Tapestry jQuery project. I have
already customized the rendering by using this jQuery UI configuration :
http://jqueryui.com/autocomplete/#custom-data
Manu
2013/5/16 Lance Java
> You could extend the AutoComplete mixin and override
> generateResponseMarku
You could extend the AutoComplete mixin and override
generateResponseMarkup.
52 matches
Mail list logo