inkers
On Wed, 2008-12-17 at 11:42 -0600, Keith Bottner wrote:
I am having a small problem with JSESSIONID cookie having its secure
property set to TRUE when you initially connect. We have a login page
that is displayed first and uses SSL. After login only certain parts
of the web site use SSL. Howe
I am having a small problem with JSESSIONID cookie having its secure
property set to TRUE when you initially connect. We have a login page
that is displayed first and uses SSL. After login only certain parts
of the web site use SSL. However, since initial connection to the web
server was wi
I believe you might be able to use an alternation of a solution I used
for getting https to work properly between my development and
production servers.
public static void contributeAlias(Configuration
configuration,
@Inject @Value("${"+SymbolConstants.PRODUCTION_MODE+"}" ) final
String
I needed to make sure that my secure pages were working so I have been
using the @Secure and then I just installed a self-signed certificate
into Tomcat. Then I had to make one change so that the ports would be
set properly by Tapestry, here it is.
public static void contributeAlias(Configu
What happens if you leave out domain and path, like in
cookies.writeCookieValue(Constants.COOKIE_NAME, value)
?
On Wed, Nov 5, 2008 at 10:12 PM, Keith Bottner <[EMAIL PROTECTED]>
wrote:
I am attempting to set a cookie for a user; however, it does not
seem to be
retained by the browser. I
Just what I needed.
Keith
On Nov 7, 2008, at 2:54 PM, Thiago H. de Paula Figueiredo wrote:
Em Fri, 07 Nov 2008 16:38:17 -0300, Keith Bottner
<[EMAIL PROTECTED]> escreveu:
Here is the Notification class.
Tapestry 5 uses redirect-after-post by default, so the request that
shows
Design Problem: To have a single page that can be passed various
notifications instead of having tens if not hundreds of separate
notification pages that just display successful completion, errors, etc.
Our Solution: Was to use a @InjectPage in those pages and use setters
on the page to set
I am attempting to set a cookie for a user; however, it does not seem
to be retained by the browser. I have tried all 3 major browsers.
Here is the relevant code:
@Inject
private Cookies cookies;
private void setCookies()
{
String value = "test";
cookies.writeCookieValue(Constants.COOKIE_
If I am using a standard anchor with the following href
http://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=320193&owner=include&count=40
">
${message:direct.text}
I get the following error when I attempt to access the page:
Failure parsing template : The reference to entity
tateContribution("session", creator));
}
-Original Message-
From: Keith Bottner [mailto:[EMAIL PROTECTED]
Sent: Monday, November 03, 2008 13:44
To: Tapestry users
Subject: Re: Accessing ApplicationStateManager from within a Filter
Jonathan,
You are correct. I am reall
How do I get a hold of ComponentInvocation that I can use with
LinkImpl from within a page's onSuccess method?
Anyone?
Keith
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
authResult = context.getAuthentication();
if (authResult == null) throw new RuntimeException("no
auth when trying to create UserState");
more lookups, and other stuff...
-Original Message-
From: Keith Bottner [mailto:[EMAIL PROTECTED]
Sent: Monday, Novemb
rent .16 snapshot, you can use @Inject on fields of MyFilter
in addition to injection through the constructor. This was added
because people got confused: in pages and components you use @Inject
on fields, but in service implementation, 5.0.15 requires that
dependencies be passed through the construc
Is it possible to retrieve ApplicationStateManager from within a Filter?
I tried using an @Inject and it always returns null.
I tried placing it in the constructor of the filter but when it is
accessed it is null.
Is there a recommend way of doing this or is it even advisable?
Thanks in adva
Paula Figueiredo wrote:
Em Tue, 07 Oct 2008 15:58:34 -0300, Keith Bottner
<[EMAIL PROTECTED]> escreveu:
I have used @Parameter before but never like this. I am unsure how
this would work.
When you set a field that is a parameter, the bound page property is
also set. A parameter in Tape
ork for me.
Kind regards,
Joachim
Keith Bottner wrote:
After upgrading to 5.0.15 (i.e. changing out the jars and modifying
the ioc to load Tomcat module components) I get the following error
when accessing any page that contains a form. Has anyone seen this?
org.apache.tapest
After upgrading to 5.0.15 (i.e. changing out the jars and modifying
the ioc to load Tomcat module components) I get the following error
when accessing any page that contains a form. Has anyone seen this?
org.apache.tapestry5.ioc.internal.util.TapestryException
Exception constructing service
I just upgraded from 5.0.14 to 5.0.15 and it has the same problem with
Tomcat that the previous version had.
It does NOT recognize component libraries. In 5.0.14 there was a
similar problem and I found a link that described how to fix it here:
http://www.nabble.com/Tapestry-5-deployed-on-To
component? Is
it just that it gets used in a number of places, or was there another
reason?
Jonathan
-Original Message-
From: Keith Bottner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 14:59
To: Tapestry users
Subject: Re: Treating a Component Like a Form Field
I have
in!
Keith
On Oct 7, 2008, at 2:01 PM, Thiago H. de Paula Figueiredo wrote:
Em Tue, 07 Oct 2008 15:48:23 -0300, Keith Bottner
<[EMAIL PROTECTED]> escreveu:
I have been looking for documentation that explains more detailed
information on how Services are implemented but I have not f
other use then the standard use supplying a
parameter in a component template?
Keith
On Oct 6, 2008, at 5:22 PM, Thiago H. de Paula Figueiredo wrote:
Em Mon, 06 Oct 2008 18:03:13 -0300, Keith Bottner
<[EMAIL PROTECTED]> escreveu:
I created a custom component for displaying a s
I have been looking for documentation that explains more detailed
information on how Services are implemented but I have not found any.
Does anybody know where some good documentation can be located?
Questions outstanding are:
Are Services singletons? (i.e. does everyone that uses a Service
I created a custom component for displaying a selection list of
countries. However, I have found that the only way for me to retrieve
what the selection is from the component is to declare a @Component to
that particular field and then request the value directly from the
component. Is there
http://tapestry.apache.org/tapestry5/guide/component-classes.html
move the CountryEncoder to something like com.shared.util instead.
2008/9/27 Keith Bottner <[EMAIL PROTECTED]>:
I am trying to use a bundle a select component for the specific
case of
displaying a list of countries and fr
code under component packages.
see http://tapestry.apache.org/tapestry5/guide/component-classes.html
move the CountryEncoder to something like com.shared.util instead.
2008/9/27 Keith Bottner <[EMAIL PROTECTED]>:
I am trying to use a bundle a select component for the specific
case of
displa
I am trying to use a bundle a select component for the specific case
of displaying a list of countries and from the all the documentation
that I have run across and I always get an exception when the page is
rendered. It says:
Component class com.shared.base.CountryEncoder may not be instan
I had this same problem. You were close. Try this.
@IncludeStylesheet({"context:css/page.css", "context:css/tapestry-
custom.css"})
It takes an array so you need to have the curly braces on the outside
of your comma delimited style sheets.
Keith
On Sep 25, 2008, at 9:34 AM, Leon Derks wro
,
Jason
Keith Bottner wrote:
I don't have one available to me at the moment. I thought I would try
to see if anyone else was having the problem to try to determine my
next direction.
Keith
On Sep 23, 2008, at 3:45 PM, Filip S. Adamsen wrote:
Ouch... well, I've got no idea what that c
.
Hope this helps,
Jason
Keith Bottner wrote:
I don't have one available to me at the moment. I thought I would try
to see if anyone else was having the problem to try to determine my
next direction.
Keith
On Sep 23, 2008, at 3:45 PM, Filip S. Adamsen wrote:
Ouch... well, I've got no
Have
you tried running the code on another system?
-Filip
On 2008-09-23 22:16, Keith Bottner wrote:
Don't know that it will help but here is the OS Report
Process: java [2673]
Path:/System/Library/Frameworks/JavaVM.framework/
Versions/1.5.0/Home/bin/java
Identifier:
tionaryServices
0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/
libobjc.A.dylib
0x - 0x1780 libSystem.B.dylib ??? (???) /usr/lib/
libSystem.B.dylib
On Sep 23, 2008, at 2:32 PM, Filip S. Adamsen wrote:
Oops, forgot about that... well, any information you have would be
useful. It'
weird. Do you have a stack trace?
-Filip
On 2008-09-23 20:00, Keith Bottner wrote:
Using Tapestry 5.0.14
Using Tomcat 6.0.13
Using Mac OS X 10.5.5, with JVM 1.5.0_13
I want to upload an image so I am using the UploadFile support that
comes with Tapestry 5; however, after the file has been selected
Using Tapestry 5.0.14
Using Tomcat 6.0.13
Using Mac OS X 10.5.5, with JVM 1.5.0_13
I want to upload an image so I am using the UploadFile support that
comes with Tapestry 5; however, after the file has been selected and
the form submitted, and after the onValidateForm event occurs a severe
33 matches
Mail list logo