CECILE%20GENDRON816 http://essana.fr/w/64bernd%20lasch047 Sun, 2 Jun 2013
10:13:53
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Hi,
Thanks for pointing out that problem.
Should I set these ports to match my Jetty config, where should I set these
values? Have you got a code snippet pls?
John
- Original Message -
From: Alejandro Scandroli
To: Tapestry users
Sent: Friday, May 31, 2013 9:29 PM
Subject:
John, make sure you set both SymbolConstants.HOSTPORT and
SymbolConstants.HOSTPORT_SECURE.
There is a tiny issue with this if you don't do it, see my comments
here: https://issues.apache.org/jira/browse/TAP5-1973
Alejandro.
On Fri, May 31, 2013 at 10:20 PM, John wrote:
> Yes, I see that.
>
> I a
Yes, I see that.
I added the @Secure to some of my pages, they work fine now, but my pages
without @Secure write http://hostname:443 which is screwed up. We only use port
443 externally, in Jetty it's 8443.
I guess I need something like below to set the right ports, the server name is
fine tho
Sorry, looks like you've cited this page, but there's a code sample that
controls port numbers:
public static void
contributeServiceOverride(MappedConfiguration
configuration)
{
BaseURLSource source = new BaseURLSource()
{
public String getBaseURL(boolean secure)
Have you read this:
http://tapestry.apache.org/https.html
On Fri, May 31, 2013 at 11:50 PM, John wrote:
> hmm, ok so I just read this...
>
> Links to non-secure pages from a secure page will do the reverse: a
> complete URL with an "http" protocol will be used. In other words, Tapestry
> manage
hmm, ok so I just read this...
Links to non-secure pages from a secure page will do the reverse: a complete
URL with an "http" protocol will be used. In other words, Tapestry manages the
transition from insecure to secure and back again.
So tapestry is writing the http:// that for non-secure pa
My tapestry app doesn't work with SSL set up, the links have port 443 added but
start http://.
There must be some configuration missing?
John
It turned out to be because there were 2 persistence.xml files in the
deployment.
- Original Message -
From: Dmitry Gusev
To: Tapestry users
Sent: Friday, May 31, 2013 5:38 PM
Subject: Re: Tapetsry JPA locks up?
> Connection refused. Check that the hostname and port are co
> Connection refused. Check that the hostname and port are correct and that
the postmaster is accepting TCP/IP connections.
This is completely related to PostgreSQL configuration, you better ask at
their mailing lists.
You should tune your pg_hba.conf
On Fri, May 31, 2013 at 8:09 PM, John wrote
Hi,
We have an app that works fine on development and UAT systems, but deployed to
a Windows 2008 R2 Server the JPA layer just seems to block. I can even remove
or put junk in persistence.xml and that doesn't seem to throw anything.
It's all quite bizarre and mysterious? Can this be to do with
I see what you mean Denis, thank you.
On Fri, May 31, 2013 at 10:21 AM, Denis Stepanov
wrote:
> I have tried to push exactly same idea but wasn't successful.
>
> https://issues.apache.org/jira/browse/TAP5-1842
>
> Denis
>
> May 31, 2013 v 4:16 PM, Eli Doran :
>
> > There's already a @ServiceId
I have tried to push exactly same idea but wasn't successful.
https://issues.apache.org/jira/browse/TAP5-1842
Denis
May 31, 2013 v 4:16 PM, Eli Doran :
> There's already a @ServiceId annotation to specify the ID. This isn't a
> "service" exactly, it's close enough.
>
>
> On Fri, May 31, 2013
If you derive the id from the method name, this might break backwards
compatability. I'm guessing there are a lot of startup methods called
startup()
Perhaps a new annotation is required
@OrderedStartup(id="doEarly", constraints="before:*")
public static void doStuff() { … }
@OrderedStartup(id="doStuff")
public static void doStuff() { … }
@OrderedStartup(id="doMoreStuff", constraints="after:doStuff")
public static void doMoreStuff() { … }
On
There's already a @ServiceId annotation to specify the ID. This isn't a
"service" exactly, it's close enough.
On Fri, May 31, 2013 at 10:12 AM, Lance Java wrote:
> Perhaps a new annotation is required
>
> @OrderedStartup(id="doEarly", constraints="before:*")
> public static void doStuff() { … }
Yeah, like with builder methods which use the name after "build" as the
Service ID.
For example, to have the ID "SomeTask":
> @Startup("before:SomeOtherOne")
> public void startupSomeTask() { }
On Fri, May 31, 2013 at 9:50 AM, Lance Java wrote:
> I'm not sure this would work. OrderedConfigur
I'm not sure this would work. OrderedConfiguration requires that every
entry has a unique id and @Startup does not require an id. I guess you
could use ModuleClass.methodName for the default id but it's messy.
It looks to me that you are passing a string for
"google.maps.MapTypeId.TERRAIN" instead of the javascript constant.
Try new JSONLiteral("google.maps.MapTypeId.TERRAIN")
You can always post a JIRA asking for that.
On Thu, May 30, 2013 at 12:56 PM, Eli Doran wrote:
> I am not using Tapestry web framework (which means I'd have everything in
> my App's module, and its submodules, to keep it all together.) This means
> the "other startup methods" are in other modul
Great! :) I follow your steps, and it seems to me I am somehow lost. I have
written this small piece of code, just to see whether or not my Gmap3 takes
parameters, and it doesn't, which is a sign that I am not doing it right.
public JSONObject getParams() {
JSONObject json = new JSONObje
Always check first whether the data you passed to Grid is actually
non-empty. And, for the love of everything that is sacred, please think
more before you post, specially replying to yourself four or five times in
a mailing list. Otherwise, people will end up just ignoring your posts.
On Thu, May
If you use Tynamo Security + Apache Shiro then you can get current
authenticated subject via static context:
org.apache.shiro.SecurityUtils.getSubject()
http://tynamo.org/tapestry-security+guide
On Fri, May 31, 2013 at 5:00 PM, John wrote:
> Hi,
>
> Is there a way of obtaining the logged in
Hi,
Is there a way of obtaining the logged in username from the http session and
somehow getting that into JPA so I can log who is making changes inmy DAO layer?
I'm trying to integrate using the EclipseLink history classes but these are all
in the JPA layer.
regards,
John
gil%20allain382 http://fonio-bio.org/w/95mickael%20guilbert409 Sat, 1 Jun 2013
14:39:53
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Ken,
I am glad you figured it out. But next time can you please examine the
stacktrace more carefully? Let me show you what I mean:
at
org.apache.tapestry5.ioc.internal.util.ConstructorInvoker.invoke(ConstructorInvoker.java:48)
at
org.apache.tapestry5.ioc.internal.util.LoggingInvokab
Hi,
You just need to set the parameters params of this components. It is JSON
Object. It corresponds to the one provided by the jQuery widget.
For callback, ,i will recommend to use JavaScript closures. You can find
example in one other projet tapestry-jquery-jqgrid :
https://github.com/got5/tape
27 matches
Mail list logo