On a side note, mod_jk is built on the the JServe Protocol (AJP), which is now
supported natively in Apache... I recommend using the latest version of Apache
(2.2 onward) because it has a native AJP connector, which is also supported
directly in Tomcat Jetty, so configuration is literally
I have a file placed in WEB-INF folder - file which I want to be deployed
with application.
I also want to load that file in page code. How can I obtain path to that
file?
--
View this message in context:
http://www.nabble.com/Path-to-files-in-WEB-INF--tp20679893p20679893.html
Sent from the
Hi,
only now have I returned to this task. I get http error 500:
Exception constructing service 'RememberMeServices': Error invoking
service builder method
nu.localhost.tapestry5.springsecurity.services.SecurityModule.build(UserDetailsService,
String) (at SecurityModule.java:303) (for service
You could override the MarkupWriterFactory to prevent the abreviation of
the b/ tag
It should look like this
public class XhtmlMarkupWriterFactoryImpl implements MarkupWriterFactory {
private final String applicationCharset;
private final MarkupModel xmlModel = new
It's ugly, but you could build one of the two UserDetailServices in the
contributeProviderManager method, so only one UserDetailsService is visible
to the RememberMe service.
-Original Message-
From: Borut Bolčina [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2008 07:29
To:
Hi,
this uglyness looks like this now (I am including three more methods):
/* USERNAME, PASSWORD */
public static UserDetailsService
buildUserDetailsWithUsernameAndPasswordService(@Inject PasswordEncoder
encoder, @Inject SaltSource salt) {
return new
Hi!
I have a T5 webapp that has to provide a template page for a payment system,
a page that contains assets like images, css, js files in the layout
component. The template page is just a plain T5 page with a placeholder like
$inject_here$.
The payment system (another website) is taking the
HI, thanks for the reply, i voted for the bug to be fixed and i'm
using the span/ temporarily and i'm going to try Nicolas override
method (didn't test on IE yet).
On Nov 25, 2008, at 11:33 PM, [EMAIL PROTECTED]
wrote:
From: Peter Stavrinides [EMAIL PROTECTED]
Date: November 25, 2008
In your AppModule.java you need to tell T5 to use absolute uris e.g.
public static void contributeApplicationDefaults(MappedConfigurationString,
String configuration)
{
...
configuration.add(SymbolConstants.FORCE_ABSOLUTE_URIS, true);
}
Toby
2008/11/25 Ovidiu Hurducas [EMAIL PROTECTED]
That's a little strange .. can you send an example of the urls T5 is
generating?
2008/11/25 Ovidiu Hurducas [EMAIL PROTECTED]
Thanks, I already tried that. However this seems to be ignored and all the
assets are inserted with relative URIs.
Any other options?
On Tue, Nov 25, 2008 at 6:10
Thanks, I already tried that. However this seems to be ignored and all the
assets are inserted with relative URIs.
Any other options?
On Tue, Nov 25, 2008 at 6:10 PM, Toby Hobson [EMAIL PROTECTED]wrote:
In your AppModule.java you need to tell T5 to use absolute uris e.g.
public static void
I've put
configuration.add(SymbolConstants.FORCE_ABSOLUTE_URIS, true);
and I have tags like
img src=${asset:context:/images/logo_flat.gif} /
a t:type=actionlink t:id=releaseResSessionRelease RES Session/a
and what is rendering:
img src=/images/logo_flat.gif/
a
ok try
img src=${asset:context:images/logo_flat.gif} /
i.e. remove the leading /
Toby
2008/11/25 Ovidiu Hurducas [EMAIL PROTECTED]
I've put
configuration.add(SymbolConstants.FORCE_ABSOLUTE_URIS, true);
and I have tags like
img src=${asset:context:/images/logo_flat.gif} /
a
no effect: the tag was rendered exactly the same.
Thanks anyway!
-- Ovidiu
On Tue, Nov 25, 2008 at 6:45 PM, Toby Hobson [EMAIL PROTECTED]wrote:
ok try
img src=${asset:context:images/logo_flat.gif} /
i.e. remove the leading /
Toby
2008/11/25 Ovidiu Hurducas [EMAIL PROTECTED]
I've put
its sounds like that you want the complete url, incl. the protocol, server,
port etc ?
2008/11/25 Ovidiu Hurducas [EMAIL PROTECTED]
no effect: the tag was rendered exactly the same.
Thanks anyway!
-- Ovidiu
On Tue, Nov 25, 2008 at 6:45 PM, Toby Hobson [EMAIL PROTECTED]
wrote:
ok try
Hi all,
I am having a few problems with the TabSet component from the
T5Components collection. For those that don't know its a fairly simple
CSS Tab set which uses Java Script to show and hide various Div tags
to give the effect of dynamic tabs. It uses Ajax to silently inform
Tapestry of the
Well, inside a component you can inject the file as an Asset:
@Inject @Path(context:WEB-INF/myfile.xml)
private Asset myFile;
From the asset you can get the Resource and from that, an input stream or URL.
You can also inject (into a component or service) the Context.
On Tue, Nov 25, 2008 at
Normally, authentication providers are called in order (as in:
OrderedConfigurationAuthenticationProvider). I've never tried using
OpenID, though.
-Original Message-
From: Borut Bolčina [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2008 10:32
To: Tapestry users
Subject:
Hello,
I am using Tapestry 4.0.2 and Vignette Portal with JSR-168 implementation.
I am trying to generate a link that will automatically Maximize the
Portlet window when clicked while switching to a new tapestry page.
I injected ActionResponse into the target page and implemented
beginRender
I'm thinking that the current fix is broken, and the right solution
may be that for HTML markup, always use EndTagStyle.REQUIRE. That
means a br/ in a template will render a br/br, but other than
than those minor quibbles, it will work more in line with how
SGML/HTML treats empty elements.
On
I just upgraded from 5.0.13 to 5.0.17 and fixed all of my issues ;) except
for this one. This is my first tapestry app (and first post) so hopefully I
can explain this sufficiently...
I've got a form within a zone which is working fine. There are action links
within this form which are tied to
The containing Form's autofocus parameter should be bound to false.
On Tue, Nov 25, 2008 at 1:51 PM, nerdlinger [EMAIL PROTECTED] wrote:
I just upgraded from 5.0.13 to 5.0.17 and fixed all of my issues ;) except
for this one. This is my first tapestry app (and first post) so hopefully I
can
Hi,
I tried the following without any luck.
In my .tml:
t:linksubmit t:event=update class=saveUpdate/t:linksubmit
In java:
public void onUpdate() {
actionType = SubmitAction.ADD;
}
Didn't work. Then I tried below:
@OnEvent(value=addField)
public void
That should work; what release are you on?
On Tue, Nov 25, 2008 at 3:52 PM, Henry Chen [EMAIL PROTECTED] wrote:
Hi,
I tried the following without any luck.
In my .tml:
t:linksubmit t:event=update class=saveUpdate/t:linksubmit
In java:
public void onUpdate() {
I think there's an outstanding issue about that, something I should
bang out for 5.1.
On Tue, Nov 25, 2008 at 9:09 AM, Sven Homburg [EMAIL PROTECTED] wrote:
its sounds like that you want the complete url, incl. the protocol, server,
port etc ?
2008/11/25 Ovidiu Hurducas [EMAIL PROTECTED]
no
Hi,
in Apache Tapestry - News the title for new Release Candidate news is
still Tapestry 5.0.16 it need to change to Tapestry 5.0.17
--
sincerely yours
M. H. Shamsi
26 matches
Mail list logo