Apache Tapestry - News need to change title to Tapestry 5.0.17

2008-11-25 Thread Mohammad Shamsi
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

Re: [T5] - How to generate pages with absolute URIs?

2008-11-25 Thread Howard Lewis Ship
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

Re: [T5] LinkSumit no event captured

2008-11-25 Thread Howard Lewis Ship
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: > > > > Update > > > > In java: > > > > > > public void onUpdate() { > >actionType = SubmitAction.ADD;

[T5] LinkSumit no event captured

2008-11-25 Thread Henry Chen
Hi, I tried the following without any luck. In my .tml: Update In java: public void onUpdate() { actionType = SubmitAction.ADD; } Didn't work. Then I tried below: @OnEvent(value="addField") public void onUpdate() { actionType = SubmitAction.ADD; }

Re: Zone update steals input element focus in 5.0.17

2008-11-25 Thread Howard Lewis Ship
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 >

Zone update steals input element focus in 5.0.17

2008-11-25 Thread nerdlinger
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

[ANNOUNCE] Tapestry 5.0.17

2008-11-25 Thread Howard Lewis Ship
Tapestry 5.0.17 is now available for download. 5.0.17 is the second release candidate for Tapestry 5.0. It contains a change to URL generation (to avoid occasionally empty href's in links). It also adds localizations for Japanese and Greek, and some documentation fixes. It is expected that 5.0.1

Re: (newbie) Tapestry generated

2008-11-25 Thread Howard Lewis Ship
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 in a template will render a , but other than than those minor quibbles, it will work more in line with how SGML/HTML treats empty elements. On Tue, Nov 25,

[T4.0] Portlets and ActionResponse objects when rendering the page for the first time

2008-11-25 Thread Robert Zinger
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 a

RE: Authentication

2008-11-25 Thread Jonathan Barker
Normally, authentication providers are called in order (as in: OrderedConfiguration). 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: Re: Authentication >

Re: Path to files in WEB-INF?

2008-11-25 Thread Howard Lewis Ship
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

T5: t5components Tab Set on a onActivated Page

2008-11-25 Thread Charles Mason
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 curr

Re: [T5] - How to generate pages with absolute URIs?

2008-11-25 Thread Sven Homburg
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: >

Re: [T5] - How to generate pages with absolute URIs?

2008-11-25 Thread Ovidiu Hurducas
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 > > > > i.e. remove the leading / > > Toby > > 2008/11/25 Ovidiu Hurducas <[EMAIL PROTECTED]> > > > I've put > > configuration.add(SymbolCon

Re: [T5] - How to generate pages with absolute URIs?

2008-11-25 Thread Toby Hobson
ok try 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 > > Release RES Session > > and what is rendering: > > > shape="rect">Release RES Session > > > So on t

Re: [T5] - How to generate pages with absolute URIs?

2008-11-25 Thread Ovidiu Hurducas
I've put configuration.add(SymbolConstants.FORCE_ABSOLUTE_URIS, "true"); and I have tags like Release RES Session and what is rendering: Release RES Session So on the payment system they are rendering the html page exactly as above .. resulting in broken links and assets are not loading. O

Re: [T5] - How to generate pages with absolute URIs?

2008-11-25 Thread Ovidiu Hurducas
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 vo

Re: [T5] - How to generate pages with absolute URIs?

2008-11-25 Thread Toby Hobson
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 a

Re: [T5] - How to generate pages with absolute URIs?

2008-11-25 Thread Toby Hobson
In your AppModule.java you need to tell T5 to use absolute uris e.g. public static void contributeApplicationDefaults(MappedConfiguration configuration) { ... configuration.add(SymbolConstants.FORCE_ABSOLUTE_URIS, "true"); } Toby 2008/11/25 Ovidiu Hurducas <[EMAIL PROTECTED]> > Hi! > I

Re: (newbie) Tapestry generated

2008-11-25 Thread akira
HI, thanks for the reply, i voted for the bug to be fixed and i'm using the 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 4:12:41

[T5] - How to generate pages with absolute URIs?

2008-11-25 Thread Ovidiu Hurducas
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 templa

Re: Authentication

2008-11-25 Thread Borut Bolčina
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 UserDetailsWithUsernameAndPass

RE: Authentication

2008-11-25 Thread Jonathan Barker
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 > T

Re: (newbie) Tapestry generated

2008-11-25 Thread Nicolas Charles
You could override the MarkupWriterFactory to prevent the abreviation of the tag It should look like this public class XhtmlMarkupWriterFactoryImpl implements MarkupWriterFactory { private final String applicationCharset; private final MarkupModel xmlModel = new DefaultMarkupModel()

Re: Authentication

2008-11-25 Thread Borut Bolčina
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 'Re

Path to files in WEB-INF?

2008-11-25 Thread shymon
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 Tap

Re: [T4] Has anybody use Tapestry4 + HTTPS on apache tomcat with JK?

2008-11-25 Thread Peter Stavrinides
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 conf