do u want jaas ?
if so:
in ur code:
getRequest().isUserInRole('somerole');
Ciao,
kiuma
On 7/17/07, Damien Uern <[EMAIL PROTECTED]> wrote:
Chris Lewis wrote:
> Hello all,
>
> I am seeking information/code samples on how to implement user access
> control in Tapestry (4.1.2). Specifically, res
not the best solution.
if you need to support other language, what to do next?
the best way is set all kinds source encode by utf-8
On 7/16/07, sun58224 <[EMAIL PROTECTED]> wrote:
采用message文件代替已经解决输入输出汉字问题,谢谢小司!
-
To uns
Access validation should be done in onActivate():
http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html
Cheers,
Nick.
dtrebbien wrote:
I have two pages: ListRepositories and ViewRepository. ListRepositories is
supposed to give ViewRepository an id number by calling ViewReposito
Chris Lewis wrote:
> Hello all,
>
> I am seeking information/code samples on how to implement user access
> control in Tapestry (4.1.2). Specifically, restricting pages to
> authenticated users. I assume that all restricted pages would have to
> make a call to an authentication system, checking if
Hello all,
I am seeking information/code samples on how to implement user access
control in Tapestry (4.1.2). Specifically, restricting pages to
authenticated users. I assume that all restricted pages would have to
make a call to an authentication system, checking if the user is logged
in and
...or you can call after the ajax response
dojo.html.insertCssText(cssStr, doc)
On 7/17/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote:
Ahh ok,
then use: var box = dojo.html.getContentBox(HTMLElement)
use the box values box.width and box.height to perform an ajax call
through a tapestry ser
Ahh ok,
then use: var box = dojo.html.getContentBox(HTMLElement)
use the box values box.width and box.height to perform an ajax call through
a tapestry service (better to do on page finish load so that you'll perform
a single call, and do it in json). When you receive the message back, then
you
I have two pages: ListRepositories and ViewRepository. ListRepositories is
supposed to give ViewRepository an id number by calling ViewRepository's
init() method. ViewRepository tracks whether it has been inited via a
boolean value. The problem is, I want to redirect back to ListRepositories
if a
I think that it is fine to call additions to Configurations "contributions",
but then instead of the add() method of Configuration being called "add",
shouldn't it be called "contribute"? This way the code reads as
"contributing to" Configurations.
In terms of Java code conventions
Howard Lewis
Thanks kiuma
The problem is not the sessionid... but I will retain that solution for
future.
The problem is background image being declared at css level. It is purely a
"suggested" declaration...
Therefore, no geometry mgt functionality is available... future css releases
said it migh
Hello,
i got the following stituation at hand for which i search for a workable
solution.
The construct in the html-template looks like the following:
[...]
[...]
Each of the row components generates it's unique set of ids for it's
subcompon
Hi ken,
from jfly (you already know ;-P)
http://tapestry-jfly.svn.sourceforge.net/viewvc/tapestry-jfly/trunk/JFlyWebCommons/src/main/java/org/jfly/webcommons/filters/DisableUrlSessionFilter.java?view=markup
http://tapestry-jfly.svn.sourceforge.net/viewvc/tapestry-jfly/trunk/JFlyWebCommons/src/main
Well it seems apparent that I need to calibrate this with some client side
javascript.
I added this... to my component jwc file
But I am unsure what to put here...
http://jakarta.apache.org/tapestry/dtd/Script_4_0.dtd";>
All I want to do is find the header and stretch it to what it's bo
Here is the latest markup generated.
Best WEB Application on the planet!
href="/styles/tapestryskin/theme.css"/>
div#header img {
position: absolute;
border: 1px solid #cecece;
width: 98
Whats even worse is that the jsessionid appears on intermittent kinds of
links.
hee hee
Best regards
Ken in nashua
Original Message Follows
From: "Ken nashua" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], users@tapestry.apache.org
Subject: RE: css overrides (ie6, ie7,firefox) ?
Date: Mo
I took the jsessionid issue out of the equation and the resize/stretch
problem persists.
Across ALL browsers. I have spent much time trying different css attributes
to flush it out.
Best regards
Ken in nashua
Original Message Follows
From: "Ken nashua" <[EMAIL PROTECTED]>
To: [EMAI
Folks, I appreciate the reply but the css overrides are being applied. There
are many of them. Images are rendering, text, etc...
The problem is the image is not scaling to the full width opf the box when I
specify percentages up to 98%.
The tapestry code is appending the session on buildURL(
It definitely wasn't intentional... there was some reason why we had to
override the EngineServiceLink and the _stateful parameter was missed
during an upgrade, which caused the jsessionid to get tacked on when it
wrote out assets...
-Original Message-
From: Andrea Chiumenti [mailto:[EMAIL
Thank you for your explanations,
I am not sure to understand correctly, when you speak about the path of
least resistance about page activation/passivation, you speak of it as an
alternate simpler solution than the dispatcher based solution?
If yes, I don't see how simpler it is. The way I under
really not a good idea appending jsessionid to a href link!
On 7/16/07, Anna Vo <[EMAIL PROTECTED]> wrote:
Just a thought...
Have you checked to make sure that the browser is pulling in the css file
correctly? We've had issues in the past when the session id was appended to
the path causing is
Just a thought...
Have you checked to make sure that the browser is pulling in the css file
correctly? We've had issues in the past when the session id was appended to the
path causing issues with it finding the css file. So it's possible it may not
be overriding at all...
-Original Me
Hi everyone,
I am trying to build up a T5 navigation component. The general idea is:
- it should figure out the navigational tree based on the pages
available around
- Showing a page in the navigational component should be a matter
of tagging a component with an annotation (@Navigable, or
Tapestry 4.1.2 compatible tacos version isn't released yet.
You can use tacos 4.1.0-SNAPSHOT if you wish.
http://tacos.sourceforge.net/tacos4.1/tacos-core/quick-start/downloading.html
On 7/16/07, mjmills <[EMAIL PROTECTED]> wrote:
Hi,
i am updating from 4.0.3 to 4.1.2 and am getting errors
采用message文件代替已经解决输入输出汉字问题,谢谢小司!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It's alpha, so such changes are still acceptible.
However, you are passed a Configuration, to which you make Contributions.
So it's "contribute TO MasterObjectProvider's Configuration".
On 7/13/07, dtrebbien <[EMAIL PROTECTED]> wrote:
I have been creating a small Tapestry 5 application in ord
Hi,
i am updating from 4.0.3 to 4.1.2 and am getting errors where I have lost
Tacos from the library, the error is as follows:
Could not parse specification null.
location: context:/WEB-INF/components/csa/DetailAJAXLink.jwc, line 19,
column 88
14
15
16 The detail compon
I tried these on Shell
doctype="" renderContentType="false"
still no solution.
Do I need to supplement a script to resize this dynamically/manually?
Can someone offer a snippet?
Best regards
Ken in nashua
Original Message Follows
From: "Ken nashua" <[EMAIL PROTECTED]>
Reply-To: Tac
hi,
it took me some hours to figure out, why i could not get the tree component to
work properly. the component did not update the tree on any action.
i looked over some examples (i think the example provided with old
tacos-version is way overloaded) and finally got a copy of andhots example
w
I'm terribly sorry this was already asked by Doug Hauge.
Actually, I could not really get the point in the answer from Steven.
Do I need to specify some additional meta tags? Plus an informal
parameter to the form component?
Doug, is it working for you now?
On Mon, 2007-07-16 at 15:11 +0200, San
Hi,
We are using T5.0.5.
According to the infos found in this list we managed to use UTF8
encoding in our pages. But since we added the first Upload component to
the form the submitted values are scrambled again.
Is it a known bug?
Do you know a workaround?
Thanx in advance
Sandor Irlanda
--
On 7/11/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
Side note: and that's why we need T5 IoC and not Guice or Spring.
Those don't have a concept similar to Tapestry's service configuration
/ contribution system.
Actually i really don't understand why they have not such a feature...
--
Ma
I also am contemplating the move as well, what I can't do again is
invest as much time and effort as I did in Tapestry 4, and then have to
do it again sometime soon... I hope that Howard is true to his word and
that future upgrades to T5 will be backward compatible and not involve a
radical re
I had similar issues in 4.0.2, I now use 4.1.1 and this works correctly
for me:
final ILink pageLink = getPageService().getLink(false, "whateverPage");
throw new RedirectException(pageLink.getURL());
But I Don't know if this will work in 4.0.2, I never tried.
Mahmut Izci wrote:
Hi all,
33 matches
Mail list logo