On Thu, Nov 11, 2010 at 2:25 PM, Paul Stanton wrote:
> Interesting. You can see the need for the behaviour but not the need to
> expose/implement it cleanly via the API.
No, that's the wrong conclusion. Subscribe to the shiro dev list, we
recently had extensive discussion on this but in the meant
Hi Kalle,
Interesting. You can see the need for the behaviour but not the need to
expose/implement it cleanly via the API.
For mine, I don't see why
'HashedCredentialsMatcher.hashProvidedCredentials' and 'getCredentials'
are protected, this makes it impossible to expose the hashing
functio
When I use Tapestry with tapestry-spring the context is automatically created
in 'the background' at startup. But I need to access Spring's
AbstractApplicationContext - how would I do that?
Cheers :)
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Accessing-Spring-context
Fixed: https://issues.apache.org/jira/browse/TAP5-1345
On Tue, Nov 9, 2010 at 10:36 PM, Moritz Gmelin wrote:
> Hi,
>
> I have just done the upgrade of out application to T5.2.2. We have so far
> had a system to redirect a user to a localized start page depending on his
> locale settings. So far
I initially had a constructor that accepted a session. That worked fine.
Then, I took out the constructor and simply injected the session. That is
working fine as well.
Now, I am injecting my delegate as service into my page. The DAO is injected to
my delegate. Then, the session is injected in
Hmm.. if you use username as the salt, you already have stored the
salt. For my own custom and application-specifc CredentialsMatcher
implementations, I'm not too purist about these things: sometimes I've
done it by just adding a static encode operation as part of the
CredentialsMatcher, e.g.:
Whoops, i meant:
> Yep... that's why some people think jsf is nice
___
Everton Agner Ramos
2010/11/11 Everton Agner
> > The Dark Side of the Force, as me and my friends call it. :P
>
> I like C# specifically... but I don't trade java for it. Specially because
> most of the
> The Dark Side of the Force, as me and my friends call it. :P
I like C# specifically... but I don't trade java for it. Specially because
most of the things i like about C# will exist in java soon. I like knowing
all the sides of the force :P
> That's true. I think Tapestry doesn't need tooling,
Great, thanks. FFR, this is how I have implemented:
.java:
@Inject
private PageRenderLinkSource plrs;
public Link getLink() {
Link link = plrs.createPageRenderLink(MyPage.class);
link.addParameter("q", "test");
return link;
}
.tml:
my page link
Seems to work :)
-Original Mess
On Thu, 11 Nov 2010 13:14:29 -0200, Everton Agner
wrote:
Yeah, and that's the huge step i mentioned after that! After Tap, I saw
some things about JSF but i find it too boring and overcomplicated in
some basics to work with...
That's my impression with JSF too . . .
And recently i'm wo
On Thu, 11 Nov 2010 13:14:29 -0200, Everton Agner
wrote:
Yeah, and that's the huge step i mentioned after that! After Tap, I saw
some things about JSF but i find it too boring and overcomplicated in
some basics to work with... And recently i'm working on a .net
architecture with
asp.net
> Struts is request-oriented, Tapestry, JSF and Wicket is component and
event-oriented, so you had to
> learn not just another framework, but a completely different approach to
Web applications.
Yeah, and that's the huge step i mentioned after that! After Tap, I saw some
things about JSF but i fin
On Thu, 11 Nov 2010 13:11:11 -0200, Tim Koop wrote:
I'm trying to populate the values for a form based on the context
parameter passed in. I'm getting the context with onActivate(String
id), but where do I set the form values? Usually I do it in
pageAttached, but pageAttached gets called
I'm trying to populate the values for a form based on the context
parameter passed in. I'm getting the context with onActivate(String
id), but where do I set the form values? Usually I do it in
pageAttached, but pageAttached gets called before onActivate. Do I
initialize my form variables in
wow! A wealth of information. Thank you all!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/a-simple-t-if-question-tp3259452p3260417.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
On Thu, 11 Nov 2010 12:55:51 -0200, Richard Hill
wrote:
One thing that would be great is a way to create an internal link with
request parameters. Your example shows how to do via a POST, I'd like to
implement a GET link instead. Something like
mypage
but instead of activation context, reques
On Thu, 11 Nov 2010 10:38:04 -0200, Everton Agner
wrote:
Tapestry can be a little hard to understand and to use it effectively in
the beginning. Before meeting Tap, the only framework I really used was
Struts 1.x, so i guess i took a huge step, and i just loved it.
Struts is request-orie
One thing that would be great is a way to create an internal link with
request parameters. Your example shows how to do via a POST, I'd like to
implement a GET link instead. Something like
mypage
but instead of activation context, request parameters.
Any idea how to do this?
-Original M
Does works?
___
Everton Agner Ramos
2010/11/10 hese <1024h...@gmail.com>
>
> Thanks for all your replies!
>
> Fernando, I like your solution. I was thinking on similar lines...but not
> as a component, but a function that would return the "<#=" tags which i
> could 'outpu
A tip... I don't know if the code for your checking is heavyweight, but
sometimes it's recommended to check in the onActivate() if the request is a
XRH or not... because component events triggers it too. You can do so by
@Inject'ing Request (org.apache.tapestry5.services) and calling isXHR()
method
> @Inject is for pages. Make your DAO a Tapestry service and inject the
> session to it via its constructor.
>
> Kalle
I guess not... Since the DAO is a service, you can either @Inject fields,
pass thru construtuctor call or build them.
___
Everton Agner Ramos
2010/11/10 Ana
Tapestry can be a little hard to understand and to use it effectively in the
beginning. Before meeting Tap, the only framework I really used was Struts
1.x, so i guess i took a huge step, and i just loved it. But i needed to
read the whole "Tapestry 5: Building Web Applications" book to understand
On Thu, 11 Nov 2010 09:58:42 -0200, Christian Riedel
wrote:
public String getReportTitle()
:-)
Yep, programming my e-mail client (Opera's M@) hasn't Java type checking .
. . :D
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
a
On Thu, 11 Nov 2010 08:05:27 -0200, françois facon
wrote:
If you are not afraid by the weather of Lille (North of France) :( ,
perhaps I can make you a proposal. :)
because I'm looking for a salary software engineers to work on Tapestry
full time.
I think I wasn't clear: I was talking a
> public String getReportTitle()
:-)
Am 11.11.2010 um 12:52 schrieb Thiago H. de Paula Figueiredo:
> On Thu, 11 Nov 2010 08:15:33 -0200, Richard Hill
> wrote:
>
>> In T5, 5.1 you can do something like this. In .tml:
>>
>> ${reportTitle}
>> ...
>>
>>No report to display
>>
>>
>> I
Excellent tips Thiago, cheers.
-Original Message-
From: Thiago H. de Paula Figueiredo
Reply-to: "Tapestry users"
To: Tapestry users
Subject: Re: a simple question
Date: Thu, 11 Nov 2010 09:52:01 -0200
On Thu, 11 Nov 2010 08:15:33 -0200, Richard Hill
wrote:
> In T5, 5.1 you can
On Thu, 11 Nov 2010 08:15:33 -0200, Richard Hill
wrote:
In T5, 5.1 you can do something like this. In .tml:
${reportTitle}
...
No report to display
I believe the "else" syntax may have changed in T5.2.
There are now two syntaxes for passing values to parameters that are
bl
Hi Chuck,
Tapestry5-jQuery Project Fully replace Prototype and Scriptaculous with
jQuery.
So Actually there is no Prototype at all for this project.
About http://docs.jquery.com/Using_jQuery_with_Other_Libraries
for your information this project use jQuery plugin approach.
which allows you to us
Hi Geoff,
Thank you again for Jumpstart. It help so much.
my 2 rupies.
for the page PassingDataBetweenPages1, I was about to suggest to replace
the form use to access page2 (Activation Context) by a pagelink. But I
realise that,
PassingDataBetweenPages1 is just the perfect exemple when naviga
In T5, 5.1 you can do something like this. In .tml:
${reportTitle}
...
No report to display
and in .java:
public boolean isShowTitle() {
return reportId > 0;
}
I believe the "else" syntax may have changed in T5.2.
R.
-Original Message-
From: hese <1024h..
Kalle,
I think you misunderstood my question. I don't have a problem with using
the username as the salt, the salt has to be stored parallel to the user
entity somewhere anyway.
I would like to know how to get access to the CredentialsMatcher and
have it generate the hashed password for me N
2010/11/6 Thiago H. de Paula Figueiredo
> On Sat, 06 Nov 2010 16:44:22 -0200, Muhammad Mohsen
> wrote:
>
>
> If anyone wants to pay me to work on Tapestry full time, please tell me. :)
> ;)
>
If you are not afraid by the weather of Lille (North of France) :( ,
perhaps I can make you a proposa
Use Zone & Blocks
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Question-about-mixins-tp3255155p3259969.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: u
I assume that you are maintaining the condorTapestryLib/PeriodicUpdate
mixin. You could add a html element to the body of the zone as long as
you want the zone to be updated. Pass the id of that element as a
parameter to the mixin and let the mixin check if the element exists
before calling the
34 matches
Mail list logo