Oops! Didn't get that (Not used Basic Authentication since a long long time).
Http Basic auth is implemented at the container level.
http://docs.oracle.com/cd/E19798-01/821-1841/bncck/index.html
Once you are authenticated you can use the details (principal, roles) with the
annotation
Come on people - basic authentication is not that old... You can of course
you the standard servlet container managed authentication whether you use
form or basic authentication but it's not a requirement for basic. You can
also use tapestry-security exactly the same way as you otherwise would and
Hi,
Thanks for the tip, it is in the servlet level, it will be nice if we can
have a simply way to mark a certain route in tapestry5 with http basic
authentication, the use case is, an app might have a very rich javascript
client, and accessing pages with restful api, if those api can be
Now I face a trouble.
In a project ,I need to Implement Tapestry 5 Autocomplete Mixin which can
be mixed in an ordinary TextField component. so far. I couldn't find any
documents for this..
how could I use tapestry component in ordinary JSP page ?
thanks in advance.
Johnny
I'm using session listener to have a single point for destroying objects I
placed in the session and for logging the time the user was logged in for.
John
- Original Message -
From: Taha Siddiqi
To: Tapestry users
Sent: Wednesday, May 01, 2013 1:05 PM
Subject: Re:
What would that look like in code Lance?
Can the solution you invisage work around the need to locate the Tapestry
registry via the servlet context in the session listener?
John
- Original Message -
From: Lance Java
To: Tapestry users
Sent: Wednesday, May 01, 2013 12:38 PM
this works
auditDAO = registry.getService(AuditDAO.class);
but this does not
log = registry.getService(Logger.class);
[ERROR] TapestryModule.RequestExceptionHandler Processing of request failed with
uncaught exception: No service implements the interface org.slf4j.Logger.
public class HttpServletListenerHelperImpl implements
HttpServletListenerHelper {
private SomeDao someDao;
public SessionListenerHelperImpl(SomeDao someDao) {
doSomeFunkyInitializationWithDao(someDao);
You can't.
Tapestry components cannot be used outside Tapestry web-framework.
regards
Taha
On 02-May-2013, at 2:12 PM, Shuu Johnny johnnys...@gmail.com wrote:
Now I face a trouble.
In a project ,I need to Implement Tapestry 5 Autocomplete Mixin which can
be mixed in an ordinary TextField
Of course I'm seeing that my idea can't hook up the logger to the calling class
type which I dare say the Tapestry injection performs.
Is there another way? I don't want to wire the logger directly.
- Original Message -
From: John
To: Tapestry users
Sent: Thursday, May 02,
Hello,
I'm trying to debug some strange behaviour; wondering if anyone can offer any
advice! I've provided sample semi-pseudo code
below. The issue is that when putting the containing component's client id into
the parameters JSONObject by using ComponentResources.getContainer
in the
Do you realise that there is only 1 instance of the component and also 1
instance of the mixin? And that the same component/mixin is fired for all 5
iterations through the loop?
It's part of tapestry's static structure, dynamic behaviour. I think if
you make sure to initialize all fields in
Hi Lance,
I did know about 'static structure, dynamic behaviour' but now understand it
better in practice. :)
It was indeed the parameters field null check - this really helped illuminate
how things actually operate.
Thanks for the help!! Much appreciated!
Peter
- Original
Hi everyone,
I am using the AjaxFormLoop component in Tapestry 5.4 but the addrowlink is
not firing any events event though I followed the example on
http://jumpstart.doublenegative.com.au/jumpstart.
Is there a test case in the 5.4 version that I can consult to determine
what I have coded
14 matches
Mail list logo