Hello!
We are in need of redirect from render phase.
Reasons are: we cannot fetch all required data in onActivate method of
page, because onActivate is called for page even for component events
inside page.
So we load data in setupRender. But there can be problems like data not
found, service unav
I reimplemented part of it to rreuse the deprecated api
import org.hibernate.cfg.AnnotationConfiguration;
public interface IHibernate4Configurer
{
/**
* Passed the configuration so as to make changes.
*/
void configure(AnnotationConfiguration configuration);
}
public void
Why don't you ask it on Hibernate mailing list?
http://hibernate.org/community/
This isn't related to Tapestry at all.
On Thu, Jan 16, 2014 at 9:21 AM, nhhockeyplayer nashua <
nhhockeypla...@hotmail.com> wrote:
> It seems there is frustration about hibernate ansd the deprecation of the
> addPa
It seems there is frustration about hibernate ansd the deprecation of the
addPackage method.
And no immediate documented solution to adding a blanket package to a
Configuration in order to iterate all the classes.
Does anyone know how to do this ?
I know this might be the wrong board. But the
Sorry to pollute the board...
It seems to be deprecated but there are no instructions as what to use in place
of the deprecated method ?
When I look at the class in eclipse... the method is not in the class.
Best regards
and thanks... KEN
From: nhhockeypla...@hotmail.com
To: users@tapestry.ap
Hi Folks,
I am using hibernate and tapestry.
Might anyone know what happened to the addPackage method ? Inside class
Configuration ?
I am searching thru the javadocs and cannot seem to find it.
4.3.0.Final
Best regards
and thanks... KEN
The outer function is a "hygenic wrapper" created by the CoffeeScript
compiler. Occasionally, it places a few things that should be local to the
individual file inside the function and before the define(). I haven't
checked yet whether the Google Closure compiler is smart enough to unwrap
these, wh
I don't have input on the question of additional scope, but thanks for
letting us know that the upgrade went pretty smoothly-- I'm eager to use
5.4 but I can't change right now.
On Mon, Jan 13, 2014 at 3:25 PM, Kristian Marinkovic <
kristian.marinko...@gmail.com> wrote:
> Hi all,
>
> why are tap
I think the whole thing is not Tapestry related - I guess it's some
misconfiguration in your load-balancer, Apache httpd or Tomcat.
The browser is redirected to a HTTP-protocol URL on a HTTPS port (e.g.
"http://demo-ccbo.gecko.aw.atos.net:443/";). So somewhere in your
config - i guess Tomcat servl
Try putting this in web.xml to force the container to redirect to https. I
have successfully used this couple of years ago but can't remember if I
even knew then about the tapestry approach.
Security
/*
CONFIDENTIAL
http://stackoverflow.com/questions/7790141/security-constraint-configur
I have checked the spelling, and it is fine.
We are using Tapestry 5.1.0.5 version. Does it work in Tapestry 5.1.0.5
version??
-Original Message-
From: dragan.sahpas...@gmail.com [mailto:dragan.sahpas...@gmail.com] On Behalf
Of Dragan Sahpaski
Sent: Wednesday, January 15, 2014 6:29 PM
Look for a spelling mistake or use the @Contribute annotation. I don't have
ANY extra configuration for forcing ssl.
@Contribute(MetaDataLocator.class)
public void contributeMetaDataLocator(MappedConfiguration
configuration)
{
configuration.add(MetaDataConstants.SECURE_PAGE, true);
}
Assuming t
Hi Dragan,
Thanks for your reply. I have done the same thing. Below is the code from my
appmodule.java file.
public void contributeMetaDataLocator(
MappedConfiguration configuration) {
configuration.add(MetaDataConstants.SECURE_PAGE, "true");
If you want to force https for ALL pages then the following is simpler then
manually putting @Secure on each page.
public void contributeMetaDataLocator(MappedConfiguration
configuration)
{
configuration.add(MetaDataConstants.SECURE_PAGE, true);
}
This is all very well documented here:
http://t
I have been working on a fork of the original CSRF protection module,
done in GSoC 2011 by Markus Jung. The original module did not fully
work without patching Tapestry itself and it was a bit too complicated
for our simple requirements. I took some code and ideas but ended up
in rewriting most of
What I suggest is to put @Secure annotation to your pages so that your
links to that pages started with https://
Also if you open these pages with HTTP Tapestry will do automatic redirect
to HTTPS
On Wed, Jan 15, 2014 at 4:02 PM, Athneria, Mahendra <
mahendra.athne...@atos.net> wrote:
> Hi Dmir
Hi Dmirty,
Thanks for your reply. I have already made the full application secure by
adding configuration.add(SymbolConstants.*SECURE_ENABLED*, "true") into
appmodule.java.
What you are suggesting is to make the one page secure.
Regards,
Mahendra
-Original Message-
From: Dmitry Gusev
Try putting @org.apache.tapestry5.annotations.Secure annotations on your
pages.
On Wed, Jan 15, 2014 at 3:02 PM, Athneria, Mahendra <
mahendra.athne...@atos.net> wrote:
> Hi,
>
>
>
> I am facing issue related to HTTPS in tapestry. My tomcat server is HTTPS
> enabled. When I try to access the lo
Hi,
I am facing issue related to HTTPS in tapestry. My tomcat server is HTTPS
enabled. When I try to access the login page of my tapestry application I got
below message.
"Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to a
Thanks++;
I kinda of had it working, but it was too much trouble to maintain which
classes were getting advised. Also I had the issue of talking to multiple
embedded Neo4J instances (something not many people do), and different
transactional advice is needed depending on where the attached Node ca
20 matches
Mail list logo