Pull request sent: https://github.com/jtdev/blogpost_files/pull/4
Kalle
On Mon, Jun 6, 2011 at 11:02 AM, Kalle Korhonen
wrote:
> Yes, I'll write the sample app. Started already but didn't have much
> time last week, this week looks better. It shouldn't take too long.
>
> Kalle
>
>
> On Mon, Jun
src="${asset:xyz.vbs}"
On Mon, Jun 6, 2011 at 6:55 PM, Paul Stanton wrote:
> linking to it how?
>
> ..
> ?
>
> On 7/06/2011 11:24 AM, Howard Lewis Ship wrote:
>>
>> You might have better luck packaging the script is a .vbs file, making
>> sure your MIME mappings are correct in web.xml, and linki
Thanks Laurent, yes, the temlate is good, I managed to import it in
eclipse, but it doesn't response when I type Hi,
>
> you're right, the file is broken.
> I have updated the wiki page.
> You can also get the proper version here :
> https://github.com/downloads/exanpe/tapestry-tldgen/NewTMLTempl
linking to it how?
.. ?
On 7/06/2011 11:24 AM, Howard Lewis Ship wrote:
You might have better luck packaging the script is a .vbs file, making
sure your MIME mappings are correct in web.xml, and linking to it,
rather than including it in-document.
On Mon, Jun 6, 2011 at 6:14 PM, Paul Stanto
> Is there a way to catch the exception when the String gets gets turned
> into a long so I can do something other than showing the user an
> exception page? Alternatively is there a way to over-ride onActivate
> so I can do something like:
I've used a link transformer to solve a similar problem.
I have an app that previously displayed a list of information at a URL
like this:
/author/first_last
Now I am switching it to use an ID:
/author/25/1
Where 25 is the person id and 1 is the page of the list to display.
I'm using something like:
Object onActivate(Person person, int page) {
}
W
You might have better luck packaging the script is a .vbs file, making
sure your MIME mappings are correct in web.xml, and linking to it,
rather than including it in-document.
On Mon, Jun 6, 2011 at 6:14 PM, Paul Stanton wrote:
> Hi All,
>
> I've been asked to 'sniff' users' windows username via
Hi All,
I've been asked to 'sniff' users' windows username via a vbscript
snippet and am having trouble getting this to work in the tapestry
(5.1.0.5) application.
It seems tapestry is trying to interpret the vbscript as javascript and
therefore failing.
The vbscript snippet (below) is emb
> Well what I thought was correct. When the admin user logs in, he can view
> one correct page. After this any navigation to an admin page will print
> false, i.e. he has not passed the admin test, meaning it has reverted to the
> previous user...
@Persist'ed fields are specific to the page you ar
Why not use TAPESTRY-SECURITY by Kalle :)
this is more advanced...
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Clearing-SessionState-tp4458525p4460330.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
I will try this one... Thanks :)
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-5-2-4-NPE-org-apache-tapestry5-runtime-ComponentEventException-tp4438497p4460300.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
On Mon, Jun 6, 2011 at 6:33 PM, Kalle Korhonen
wrote:
> You've spoken and we aim to please! In tapestry-security 0.4.0 we did
> away with the shiro.ini and allowed configuring security
> Tapestry-style with all-in-Java contributions. The release finally
> combines all features from separate Shiro
On 06/06/2011 01:58 PM, Thiago H. de Paula Figueiredo wrote:
On Mon, 06 Jun 2011 14:34:20 -0300, robnangle
wrote:
Eh I dont understand what you mean here. Am i not setting the user when
somebody logs in with a valid username and password?
I'm sorry, I overlooked the only place user is set.
Thiago H. de Paula Figueiredo wrote:
>
> I'm sorry, I overlooked the only place user is set. Having been using
> Tapestry since 5.0.5, almost four years ago, I'd say @SessionState works
> as it should. Your code uses too much side-effects for my taste. And I
> can't see the declarations of
Yes, I'll write the sample app. Started already but didn't have much
time last week, this week looks better. It shouldn't take too long.
Kalle
On Mon, Jun 6, 2011 at 10:44 AM, Igor Drobiazko
wrote:
> Hi Kalle,
>
> what is the status? Did you have a chance to provide an app to be covered by
> th
On Mon, 06 Jun 2011 14:34:20 -0300, robnangle wrote:
Eh I dont understand what you mean here. Am i not setting the user when
somebody logs in with a valid username and password?
I'm sorry, I overlooked the only place user is set. Having been using
Tapestry since 5.0.5, almost four years ago
Hi Kalle,
what is the status? Did you have a chance to provide an app to be covered by
the comparison. It would be nice to see how Tapestry performs.
On Tue, May 31, 2011 at 4:50 PM, Kalle Korhonen
wrote:
> No, but Tapestry's got to make it to these comparisons to stay as a
> contender. Has anyb
Thiago H. de Paula Figueiredo wrote:
>
> Have you noticed your page code doesn't set the user field anywhere? I
> guess you have a logic issue somewhere.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owne
Have you noticed your page code doesn't set the user field anywhere? I
guess you have a logic issue somewhere.
Your JDBC usage is far from recommended. You're opening a connection in
the constructor and reusing it. If you're using Tapestry 5.2+, you'll end
up having two requests using the s
Rich M wrote:
>
> On 06/06/2011 12:48 PM, robnangle wrote:
>> Rich M wrote:
> Fair enough, I was trying to hypothesize at what might be your problem
> based on the small subset of related code shown. But you're right, that
> result does not seem to fit with what I said.
>
> It would be more cl
On 06/06/2011 12:48 PM, robnangle wrote:
Rich M wrote:
Most likely your page is not loading and assigning the adminUser boolean
like you are expecting, and after your initial login, it's not calling
any of that code anymore and thus your privileges appear to regress to a
normal user, when really
Richard Hill-7 wrote:
>
> Rich's point is that pages are re-used: a fresh instance of a page is
> not instantiated for each request. So yes you'll have your transfer data
> rendering in the page, but that doesn't mean that data was
> collected/built/queried from db or whatever in response to the
On Mon, 06 Jun 2011 13:35:01 -0300, Rich M wrote:
Well does it have to be persisted? I call the adminUser() in every class
where it is necessary. The updatePoints() is the constructor so it will
be called when the page is loading?
Absolutely no.
You might want to refresh your knowledge of
Rich M wrote:
>
> Most likely your page is not loading and assigning the adminUser boolean
> like you are expecting, and after your initial login, it's not calling
> any of that code anymore and thus your privileges appear to regress to a
> normal user, when really you aren't calculating them
Rich's point is that pages are re-used: a fresh instance of a page is
not instantiated for each request. So yes you'll have your transfer data
rendering in the page, but that doesn't mean that data was
collected/built/queried from db or whatever in response to the current
request.
AFAIK construct
Rich M wrote:
>
> On 06/06/2011 12:20 PM, robnangle wrote:
>> Rich M wrote:
>>> On 06/06/2011 12:04 PM, robnangle wrote:
No didn't seem to make a difference im afraid. I cant think of anything
that
would revert the user back to the previous logged in user?
My updated code
On 06/06/2011 12:20 PM, robnangle wrote:
Rich M wrote:
On 06/06/2011 12:04 PM, robnangle wrote:
No didn't seem to make a difference im afraid. I cant think of anything
that
would revert the user back to the previous logged in user?
My updated code now looks like:
@SessionState(creat
You've spoken and we aim to please! In tapestry-security 0.4.0 we did
away with the shiro.ini and allowed configuring security
Tapestry-style with all-in-Java contributions. The release finally
combines all features from separate Shiro integrations (original
tapestry-security by Kalle Korhonen) and
Rich M wrote:
>
> On 06/06/2011 12:04 PM, robnangle wrote:
>> No didn't seem to make a difference im afraid. I cant think of anything
>> that
>> would revert the user back to the previous logged in user?
>>
>> My updated code now looks like:
>>
>> @SessionState(create=false)
>> @Pro
On 06/06/2011 12:04 PM, robnangle wrote:
No didn't seem to make a difference im afraid. I cant think of anything that
would revert the user back to the previous logged in user?
My updated code now looks like:
@SessionState(create=false)
@Property
private User user;
Richard Hill-7 wrote:
>
> Could there be a browser-caching issue here? If the URLs are the same,
> but with different views for logged-in and logged out, perhaps being
> cached?
>
>
>> > Thiago H. de Paula Figueiredo
>> > Independent Java, Apache Tapestry 5 and Hibernate consultant,
>> develope
Could there be a browser-caching issue here? If the URLs are the same,
but with different views for logged-in and logged out, perhaps being
cached?
On Mon, 2011-06-06 at 08:30 -0700, robnangle wrote:
> Thiago H. de Paula Figueiredo wrote:
> >
> > I'm sorry, but I need to ask: have you checked wh
Thiago H. de Paula Figueiredo wrote:
>
> I'm sorry, but I need to ask: have you checked what the actual user is
> when granting access or not to the admin page? Are you sure your
> authentication code is correct?
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 a
Hi,
The small snippets at https://github.com/argoyle/tapestry-breadcrumbs
should be all that is needed. I use it successfully at one of my sites
(it's a private site so unfortunately I can't use it as a demo-site).
In what way is it not working?
Have you tried debugging the application with brea
Hi,
I tried this, it is not working. Can you please post some examples.
-Original Message-
From: Joakim Olsson [mailto:joa...@unbound.se]
Sent: Monday, June 06, 2011 9:40 AM
To: Tapestry users
Subject: [ANN] New version of tapestry-breadcrumbs is released
Hi all,
I just released a ne
On Mon, 06 Jun 2011 10:18:20 -0300, robnangle wrote:
However it still does not seem to be working.
The problem is that it still does not seem to be clearing.
I have admin pages that only an admin user can view. The code behind
that is working as when i login at first it determines that it is
Sorry wrong link. This is the correct one
http://tapestry.1045711.n5.nabble.com/Tapestry-FileUploader-Integration-tp4268987p4269518.html
regards
Taha
On Mon, Jun 6, 2011 at 7:46 PM, Taha Hafeez wrote:
> For ajax you can try this
>
>
> http://tapestry.1045711.n5.nabble.com/Modalbox-Integration-
For ajax you can try this
http://tapestry.1045711.n5.nabble.com/Modalbox-Integration-Example-tp4248936p4369409.html
regards
Taha
On Mon, Jun 6, 2011 at 4:46 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Mon, 06 Jun 2011 05:55:44 -0300, ael wrote:
>
> SIGH...
>> This is
Hi all,
I just released a new version of my breadcrumb trail library
tapestry-breadcrumbs.
New in version 1.3 is:
- No longer a need for explicit configuration. The dispatcher is added
automatically by the library.
- New annotation BreadCrumbReset which can be placed on pages where
you want the c
Thiago H. de Paula Figueiredo wrote:
>
> On Mon, 06 Jun 2011 09:26:26 -0300, robnangle
> wrote:
>
>> Hi All,
>
> Hi!
>
>> I create have a @SessionState on my user but when I try logout it is not
>> fully clearing the session.
>>
>> @SessionState
>> private User user;
>
>
On Mon, 06 Jun 2011 09:26:26 -0300, robnangle wrote:
Hi All,
Hi!
I create have a @SessionState on my user but when I try logout it is not
fully clearing the session.
@SessionState
private User user;
Setting a @SessionState field to null will remove it from the session, but
just it. And
Essentially i want to destroy the session..
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Clearing-SessionState-tp4458525p4458598.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
I want to clear the session so that when another user logs in (say an admin
user) they are the current user in session. at the moment when i log out and
log back in as a different user (an admin user), the previous user is still
in session.
--
View this message in context:
http://tapestry.1045711
Whatever the solution is for making this simpler, it'd be nice if it came
with Tapestry by default.
--
View this message in context:
http://tapestry-users.832.n2.nabble.com/Simpler-Select-configuration-tp6421890p6444986.html
Sent from the Tapestry Users mailing list archive at Nabble.com.
-
Also if you just want to clear the User object use
ApplicationStateManager.set(User.class, null);
Sent from my iPhone
On Jun 6, 2011, at 5:56 PM, robnangle wrote:
> Hi All,
>
> I create have a @SessionState on my user but when I try logout it is not
> fully clearing the session.
>
> @Session
Use session.invalidate()
Sent from my iPhone
On Jun 6, 2011, at 5:56 PM, robnangle wrote:
> Hi All,
>
> I create have a @SessionState on my user but when I try logout it is not
> fully clearing the session.
>
> @SessionState
> private User user;
>
> onSubmitFromLogout(){
> user = null;
> ret
What do you mean exactly "not clearing the session" ?
Al you are doing below is setting the user to null, the session is not
being destroyed and nothing else in the session will be affected.
On Mon, 2011-06-06 at 05:26 -0700, robnangle wrote:
> Hi All,
>
> I create have a @SessionState on my
Hi All,
I create have a @SessionState on my user but when I try logout it is not
fully clearing the session.
@SessionState
private User user;
onSubmitFromLogout(){
user = null;
return index;
}
Is there a specific way to do it?
Cheers
--
View this message in context:
http://tapestry.1045711.n5
On Mon, 06 Jun 2011 05:55:44 -0300, ael wrote:
SIGH...
This is a limitation of Tapestry you cannot use AJAX in Uploading Files.
How SAD!!!
http://tapestry.1045711.n5.nabble.com/tapestry-upload-and-zones-td3425668.html
Why?
Repeating what I wrote in the thread you linked:
File uploading doesn
SIGH...
This is a limitation of Tapestry you cannot use AJAX in Uploading Files.
How SAD!!!
http://tapestry.1045711.n5.nabble.com/tapestry-upload-and-zones-td3425668.html
http://tapestry.1045711.n5.nabble.com/tapestry-upload-and-zones-td3425668.html
Why?
--
View this message in context:
http
Already found the problem.
I don't understand why file variable is null?
Any idea's?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-5-2-4-NPE-org-apache-tapestry5-runtime-ComponentEventException-tp4438497p4458015.html
Sent from the Tapestry - User mailing list archi
Hello,
in tapestry.js on the bottom there's a comment for the $T method:
/**
2183 * In the spirit of $(), $T() exists to access a hash of extra data
about an
2184 * element. In release 5.1 and prior, a hash attached to the element by
Tapestry
2185 * was returned. In 5.2, Prototype's storage objec
52 matches
Mail list logo