How to forward control to the jsp page from tapestry page.

2008-11-18 Thread Sonu bhavsar
I working in a project which consist of both jsp pages and tapestry pages. forwarding control to tapestry page from jsp page has no problem. But i failed to redirect control to jsp page from tapestry page Does anyone knows solution please help me. Thank you, Amol -- View this message in context:

Re: Tapestry 5.0.16 tapestry.script-at-top

2008-11-18 Thread Peter Stavrinides
bump! anybody? - Original Message - From: "Peter Stavrinides" <[EMAIL PROTECTED]> To: "Tapestry Mailing List" Sent: Monday, 17 November, 2008 10:56:53 AM GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Tapestry 5.0.16 tapestry.script-at-top Hi everyone, Firstly, congrats to the

T5: Zone + getClientId

2008-11-18 Thread Tuan
Hi all, I have some problems when dealing with the Zone component. - We don't use prop binding in t:id parameter. However I see that t:id parameter of the component is defined in source code like as other parameters. so how to code to get t:id (or any parameter field) is not used with "p

Re: [T5] Providing new Asset type (filesystem)

2008-11-18 Thread Thiago H. de Paula Figueiredo
Em Tue, 18 Nov 2008 21:27:52 -0300, aldana <[EMAIL PROTECTED]> escreveu: Thanks this worked. Am starting to like Tapestry way to build things (looking forwards to dig in deeper)... You're welcome! Tapestry (the web framework) and Tapestry-IoC (the IoC container) are very, very interesting.

[T5] reference/binding field value to @Path

2008-11-18 Thread aldana
Hi, is it possible to bind a field of a component to an Asset's path? public class AnyPage{ //this should be part of the @Path value private String imageName = "default.png" @Inject //would not work, is a symbol which is somewhat different to class member @Path("context:${imageName}") pr

Re: [T5] Providing new Asset type (filesystem)

2008-11-18 Thread aldana
Thanks this worked. Am starting to like Tapestry way to build things (looking forwards to dig in deeper)... Just one last question. I noticed that when building Resource implementations you pass in a path to Resource constructor and then another path to newResource(String), when creating the "rea

Re: [T5] form based j2ee authentication

2008-11-18 Thread Craig St. Jean
Michal, Yes, it is (and not too difficult). I was working on a tutorial for building applications using Glassfish with LDAP auth and Tapestry 4, but stopped when I switched to T5. The Glassfish and LDAP pages are still valid on http://home.earthlink.net/~valiantsoul/TapestryTutorial . >From ther

Re: Render Template as XML instead of HTML

2008-11-18 Thread Howard Lewis Ship
You likely have a Form component in your page, and it's generating JavaScript to handle client-side validation. Please search the list archive (at markmail.org), we were just discussing this issue. On Tue, Nov 18, 2008 at 2:40 PM, Mark W. Shead <[EMAIL PROTECTED]> wrote: > I tried that as well an

Re: Render Template as XML instead of HTML

2008-11-18 Thread Mark W. Shead
I tried that as well and got: The root element of the rendered document was , not . A root element of is needed when linking JavaScript and stylesheet resources. I'm not trying to render any javascript or stylesheets--at least not on purpose. In my .java file I have: @Meta("tapestry.re

Re: Tapestry 5.0.16 (Release Candidate) now available

2008-11-18 Thread Howard Lewis Ship
Then YES YOU SHOULD vote up this story at DZone: http://www.dzone.com/links/tapestry_5016_release_candidate_is_available_for.html On Tue, Nov 18, 2008 at 12:00 PM, Sven Homburg <[EMAIL PROTECTED]> wrote: > YES WE CAN ;-) > > 2008/11/18 Daniel Jue <[EMAIL PROTECTED]> > >> Thanks to everyone involv

Re: T5: Multiple File Upload

2008-11-18 Thread Henry
Michael Lake netvue.com> writes: > > > Filip - > > You are exactly right. The session id wasn't being passed - and shame on > me for not actually comparing the "t:formdata" values because they are > indeed the same even when using the normal > multiple times. > > Thank you and thanks to F

Re: [T5] Providing new Asset type (filesystem)

2008-11-18 Thread Thiago H. de Paula Figueiredo
Em Tue, 18 Nov 2008 18:19:24 -0300, aldana <[EMAIL PROTECTED]> escreveu: But I cannot find the last step to ad it to the viable AssetSource. By default it seems that AssetSourceImpl is active which only supports context and classpath style. So how do I ad my new Asset type to the AssetSource

[T5] Providing new Asset type (filesystem)

2008-11-18 Thread aldana
I read part http://tapestry.apache.org/tapestry5/guide/assets.html where a new creation of an asset type was mentioned. I created a new asset type which gets its stuff from file system (wonder why this is not supported out of the box?). So I did: -FileSystemResource extends AbstractResource -Asse

Re: Tapestry 5.0.16 (Release Candidate) now available

2008-11-18 Thread Sven Homburg
YES WE CAN ;-) 2008/11/18 Daniel Jue <[EMAIL PROTECTED]> > Thanks to everyone involved in getting T5 to this point-- > > To Howard, for having the courage to break with tradition and making T5 > radically different; > To all the participants on the Tapestry Users list who have helped others, > su

Tapestry 4 in SpringSource DM server (OSGi)

2008-11-18 Thread Kieran Nichol
I'm trying to write a web bundle for SpringSource DM server using tapestry 4, but seem to be having a lot of classloader issues with OSGi. I have found some bundles in springsource's bundle repository for tapestry 4.1.5, as well as hivemind 1.1.1 and hivemind-lib 1.1.1, but I when I run out of th

Re: Tapestry 5.0.16 (Release Candidate) now available

2008-11-18 Thread Daniel Jue
Thanks to everyone involved in getting T5 to this point-- To Howard, for having the courage to break with tradition and making T5 radically different; To all the participants on the Tapestry Users list who have helped others, submitted and fix bugs in JIRA. And to all the 3rd party libraries and f

Re: T5 5.0.15 possible bug with forms with context on secure pages?

2008-11-18 Thread Howard Lewis Ship
5.0.16 does not have the same problem with null/blank values and should handle this better. Still, this sounds like a potential problem, because the page will not have been activated, so it's hard to expect it to passivate itself. On Tue, Nov 18, 2008 at 8:20 AM, Russell Brown <[EMAIL PROTECTED]>

Re: Render Template as XML instead of HTML

2008-11-18 Thread Howard Lewis Ship
is intended for components that need to render more than one "root" element. Try: - http://www.netledger.com/xml/dtd/smb_4_11.dtd";> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> ...snip... On Tue, Nov 18, 2008 at 7:59 AM, Mark W. Shead <[EMAIL PROTECTED]> wrote: > I have a

Tapestry 5.0.16 (Release Candidate) now available

2008-11-18 Thread Howard Lewis Ship
The latest release of Tapestry, Tapestry 5.0.16 (Release Candidate), is now available. Tapestry 5.0.16 is the release candidate; we encourage users to download this version. In about a month, the Tapestry PMC will run a vote to grant it release status, barring any blocker bugs (critical bugs with

Re: unique ids for a select boxes

2008-11-18 Thread Steven Woolley
On Mon, Nov 17, 2008 at 10:24 AM, Peter Stavrinides < [EMAIL PROTECTED]> wrote: > This should be as straightforward as this: > > blankOption="NEVER" value="selectedPlaylist"/> > > //gets the object on the client > var selectList = document.getElementById("addSelect"); > I ran into this same pr

T5 5.0.15 possible bug with forms with context on secure pages?

2008-11-18 Thread Russell Brown
Hi Again, Is this a bug or is it me? I have a page with the @Secure annotation. I put a t:form with a context on the tml for the page. Problem 1: The action url is http://myhost:myport/MyPage.MyForm/MyContext. Which leads to problem 2. The RequestSecurityManagerImpl method checkForInsecure

Render Template as XML instead of HTML

2008-11-18 Thread Mark W. Shead
I have a page that needs to render as xml. I see that there was a patch applied to do this, but I can't seem to bring in the tapestry name space in order to get loop components, etc. to work. Does anyone have an example showing how this should work? https://issues.apache.org/jira/browse/TAPESTRY

Re: unique ids for a select boxes

2008-11-18 Thread Paul Rayner
-- Paul Rayner ~ 07739143763 ~ [EMAIL PROTECTED] Sent using BlackBerry® -Original Message- From: "Chris Hannam" <[EMAIL PROTECTED]> Date: Mon, 17 Nov 2008 16:29:10 To: Tapestry users Subject: Re: unique ids for a select boxes Thanks for the help, but I still cant see the problem. I

T5 5.0.14 change format Datefield

2008-11-18 Thread peibel
Hi, I have two problem with component DateField: 1-In the tml file I write in the DateField tag " t:format="%d/%m/%y" " but the format in the page remains mm/dd/ 2-I was change dateField.js file in the tapestry library to change the format, but now the format in the page goes well, but in th

[T5] using BigDecimal as values in TextField

2008-11-18 Thread Andy Pahne
What do I have to do in order to use BigDecimal values as the values of TextField components? I don't get it... Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5 5.0.16 @Paramerter and @Property on same field

2008-11-18 Thread farmand
> Hi, > >[...] > The odd thing is that now we are getting an exception. Does @Parameter > transform a field into a final field now? I don't see any reference to > same in the release notes. [..] I think that a @parameter field is read-only from the component point of view, it's read/write only for

[T5] form based j2ee authentication

2008-11-18 Thread Michal Hlavac
hello, it is possible to use form based authentication with tapestry login template? I tryied j2ee security with tapestry 5 and basic auth and it works: web.xml Protected Area /secured/* LW_USER BASIC

Strange behaviour with Application State Object

2008-11-18 Thread Argo Vilberg
hi, If i create Application State Object wich include another java class as property public class User { private int id; private String firstname; private String lastname; private String password; private String idcode; private String contact; // im, etc. private Stri

T5 5.0.16 @Paramerter and @Property on same field

2008-11-18 Thread Russell Brown
Hi, With the change in 5.0.16 that means it fails fast if you have both @Property and getter and setter for a field we have removed quite a few @Property annotations as we realize some fields were silently ignoring the existing getters and setters (which sometimes have a tiny bit of logic in).

Re: T5 selectable grid

2008-11-18 Thread kristjankelt
Thiago H. de Paula Figueiredo wrote: > > > A simple way to do it to use Grid's add parameter to add a column and a > to define that column content and then wrapping the Grid > inside a Form. > > Yes, this is the simple way but does not resolve the problem I have. What I really need, is