RE: Retrieving table column names

2006-08-30 Thread Jasper Huzen
I don't understand your exact problem but I think you have: user_name | user_password | some_value --- FOO | FOO | FOO --- FOO2 | FOO2| FOO2 And you want Username | Pass

Re: catch custom exception generated in tapestry app in filter?

2006-08-30 Thread andyhot
Hmmm... I thought exceptions on Exception page were thrown unchanged, but that's not true... they're also wrapped in an ApplicationRuntimeException. So, if you want some of your exceptions to be thrown out of the Tap servlet and caught by a filter, you'd have to use a custom org.apache.tapestry.er

Multilingual drop down menu content

2006-08-30 Thread Peter Dawn
guys, how can i make the content of drop down menu's multi-lingual. the content is in properties files and my drop down is populated using a foreach and option. any ideas. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: Retrieving table column names

2006-08-30 Thread Peter Dawn
so should i change the current implementation. or can i edit it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Retrieving table column names

2006-08-30 Thread Nick Westgate
Hi Peter. You're looking for the PropertySelection component and IPropertySelectionModel: http://tapestry.apache.org/tapestry3/doc/ComponentReference/PropertySelection.html Cheers, Nick. Peter Dawn wrote: guys, i am running into this problem within my web app. please help me. i am using tap3

Re: Retrieving table column names

2006-08-30 Thread Peter Dawn
why cant i just put all the output into a array or a list. and then just manually do a replace on each term. i think this might work. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Retrieving table column names

2006-08-30 Thread Peter Dawn
and can this output to a drop down menu. i am not using a table within my html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Retrieving table column names

2006-08-30 Thread Peter Dawn
i also looked at the source code for the generated page. the option tag looks like this. user_username so essentially, the information sent back is the index of the column and not the actual column name. i thought it would be like this, user_username

Re: Retrieving table column names

2006-08-30 Thread Peter Dawn
didnt work. this thing would work if i had a contribtable and i could specify the table header names in the corresponding properties file but unfortunately not here. i am still working on it though. - To unsubscribe, e-mail: [EM

Re: Retrieving table column names

2006-08-30 Thread Karthik N
Why don't you consider using @PropertySelection and implement the IPropertySelectionModel which will wire up to your table columns. On 8/31/06, Peter Dawn <[EMAIL PROTECTED]> wrote: guys, i am running into this problem within my web app. please help me. i am using tap3. now i am retrieving co

Re: Retrieving table column names

2006-08-30 Thread Peter Dawn
so i dont need to do anything within my java or html file. just within my properties file, i need to associate each column name with a corresponding text. and it would display the text but the underlying functionality would still be the same. i remember doing something like this for the foreach l

Re: Retrieving table column names

2006-08-30 Thread Mind Bridge
Hi, In the .properties file of your page (or component) you can add: user_username=Username ... and the table headers will automatically become the human-readable strings that you have defined there. In addition, there can be several .properties files that depend on the locale in the standard

Tapernate: session per conversation support ?

2006-08-30 Thread Karthik N
Hello All, We're really eager to adopt Tapernate for our Tap + Spring + Hibernate application. I have a few questions, that would help me understand Tapernate better: 1) any idea when the session-per-conversation support may be wired in? I remember seeing a thread where James had mentioned tha

Re: Is there a way to pregenerate Component/Page classes?

2006-08-30 Thread Bryan Lewis
You're asking to preload all the pages in the app, to check for syntax errors in the html and page specs. Things the compiler doesn't catch, that normally you wouldn't discover until you visit the page. I used to do that. It's not supported directly by Tapestry, but in Tapestry3 it wasn't to

RE: Populating Tapestry ASO after successful Acegi Auth

2006-08-30 Thread Jonathan Barker
Hi, I should preface this by saying that the project where I used Acegi had a strong Spring presence, and tapestry-acegi wasn't available either. I use a BaseProtectedPage that includes the pagevalidate() code and then extend it for most of my application. It's basically the strategy given in En

Retrieving table column names

2006-08-30 Thread Peter Dawn
guys, i am running into this problem within my web app. please help me. i am using tap3. now i am retrieving column name information from my tables and displaying to the user in drop down menus. i retrieve the data using List columns = new ArrayList(); int columnSize = columns.; while (rsColumns

Re: Is there a way to pregenerate Component/Page classes?

2006-08-30 Thread Patrick Moore
1. So that I know that there are no problems with any component or page. Otherwise how do I know a customer isn't going to find a problem on the production site? 2. So that no user experiences any delay after a server restart. 3. So that in a cluster the bytecode generation is only done once. 4.

Re: Redirecting problem

2006-08-30 Thread Jesse Kuhnert
It's a java problem. Java gets more than a little confused when you have multi homed machines. I don't remember the details but you can override this in some way...Maybe by fixing your /etc/hostnames or passing in a -D<> option to the jvm using some special configuration directive java.net knows

Re: TapIDEA future, post "Time to move on"

2006-08-30 Thread Mind Bridge
Howard sugested Geoff as a Tapestry committer entirely based on his work on Spindle. In addition Geoff specifically asked you NOT to hijack his name for your vendetta. Do the facts matter to you at all? Secondly, I presume you have written code that adds the T4 features to T3, while keeping it ab

Exception not being caught by engine

2006-08-30 Thread Vinicius Carvalho
Hello there (my other email [EMAIL PROTECTED] is under maintenance for over 3 days now...). I've built a chat system using Tapestry and Spring (thanks to all the help I've got here), and now I'm just giving it the final touch. I'm not being able to capture an exception on my service, I'll try to e

Re: TapIDEA future, post "Time to move on"

2006-08-30 Thread Pedro Viegas
Well, after months of Tap4 programming eagerly waiting for Spindle for Tap4, and looking over my shoulder for TapIDEA that seemed closer and made me consider trying IntelliJ... all comes down! Nothing I can say regarding how important IDE support is that has not been said before. Kranga really sa

Re: Unable to locate resource library?

2006-08-30 Thread hv @ Fashion Content
I usually got that with Tap3 after adding components to my library. I assume you haven't changed the tapestry contrib, so all I can suggest is to restart your Servlet container. "Jasper Huzen" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] I'm trying to build a test project wit

Re: Is there a way to pregenerate Component/Page classes?

2006-08-30 Thread hv @ Fashion Content
Uh, what?? You sure you are are referring to Tapestry? Why would you want generate a class file? "Patrick Moore" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] > Is there a way to have Tapestry walk the component/page packages and > generate > the .class files? > > I would li

Re: @EventListener question

2006-08-30 Thread Pedro Viegas
Point taken! No less appreciation though! :-D Thanks all the same Jesse! And keep the spirits up on the Tap 4.1 road ahead... we're all salivating with the released new features! ;-) Keep 'em coming, and the stability of this Alpha makes very Betas I know more than a little embarrassed! Regards,

Re: TapIDEA future, post "Time to move on"

2006-08-30 Thread Francis Amanfo
Henrik, Stop dreaming. If what you're saying is valid then we should have got Spindle for Tap 4 now. The fact of the matter is Howard just didn't listen to Geoff. With Howard's current opinion on tools, I don't think he would make a tool drive his fanatic and radical design decisions. My .02 cen

Re: TapIDEA future, post "Time to move on"

2006-08-30 Thread Francis Amanfo
Thanks Kranga for hiting the nail on the head. I however want to complete your list of other exciting frameworks by citing GWT which is also a very compelling framework. Regards, F On 8/30/06, kranga <[EMAIL PROTECTED]> wrote: While one can disagree about the actual productivity increase offer

Is there a way to pregenerate Component/Page classes?

2006-08-30 Thread Patrick Moore
Is there a way to have Tapestry walk the component/page packages and generate the .class files? I would like to do this to make sure that in production there are no errors at the basic component/page definition level. Otherwise it seems like I am force to have a script that walks every page/compo

Redirecting problem

2006-08-30 Thread Pablo Ruggia
Hi !! I've configured tomcat through an apache server, using ajp workers. The thing is that if I do getPageService().getLink(false, getPageName()) and return it in my listener (redirect after post) i get redirected to the internal address of the server, not the internet domain. Is this a tomca

Re: The right way to look up a service?

2006-08-30 Thread hv @ Fashion Content
You seem to ask conflicting questions. I don't see why you would need to look up a service from an asset. Asset is a value holding object, so you would want to keep it as independent as possible. In terms of how to look up a service, you would use HiveMind configuration when the object isn't a p

Tassel Data List

2006-08-30 Thread Waimun Yeow
Hi, Does anyone know how the Data List (Tassel component) works? I downloaded the component but found no documentation/demo/example. The link to the website does not appear to be legitimately tapestry. Can someone suggest what is a good approach of doing pagination in Tap 3? Thanks, waim

RE: Tapestry 4.0.2 and Tapernate problem

2006-08-30 Thread Xiaoshu Wang
Does anyone has a clue about this? It seems that once the server idles for a while, it will bump into this problem and kills the application. From what I can understand, my guess is that this is probably a spring bugs. (I have upgrade spring to 1.2.8 but with no success). But, tapernate uses s

Obtaining Messages for different Locale

2006-08-30 Thread Greg.L.Cormier
I have a Tapestry 4 page that generates some reports in 2 languages, English or French. The page itself can be view in English/French like a regular bilingual application. However regardless of which language you're using to surf the application, this page will generate 2 reports, one in each l

Re: tapestry ajax IE image caching and headers...

2006-08-30 Thread hv @ Fashion Content
On the topic of Cache-Control:, I think it would be nice to be able to make the data model provide the basis for time-to-live. I'm thinking @Table model etc. Henrik "Jesse Kuhnert" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] > Or you could just tell me what you need and I c

Re: TapIDEA future, post "Time to move on"

2006-08-30 Thread Jesse Kuhnert
Even better would be to have the plugins in question supported by a real bonafied eclipse project..One of the side effects of our loose association with dojo is that we have access to a lot more inside people in various projects...Including eclipse. On 8/30/06, hv @ Fashion Content <[EMAIL PROTEC

Re: TapIDEA future, post "Time to move on"

2006-08-30 Thread hv @ Fashion Content
I think the best thing is building on WST and Tap5, while Tap5 is developed. The amount of special tooling needed for Tap5 should be limited. Judging form Geoff's posts the main problem with Spindle for Tap4 is the large number of possible ways to configure an application. One of the goals for Tap

Re: Tap 4.1

2006-08-30 Thread Jesse Kuhnert
No idea. Tapestry doesn't mark releases as final anymore until after they have been released. Ie the release you use at any given point in time could magically turn into "final" if we vote it that way. I'd say there's at least another good 3-4 months of very active development left in 4.1.X befor

Re: Populating Tapestry ASO after successful Acegi Auth

2006-08-30 Thread Massimo Lusetti
On 8/30/06, James Carman <[EMAIL PROTECTED]> wrote: Well, hopefully we can move all of this stuff into a Tapestry Commons subproject of the TLP. Then we won't have these issues. Indeed that would be comfortable :) -- Massimo http://meridio.blogspot.com ---

Tap 4.1

2006-08-30 Thread Ernst Thielmann
Does anybody knows when the final release of Tapestry 4.1 will be out? thanks ernst - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: TapIDEA future, post "Time to move on"

2006-08-30 Thread kranga
While one can disagree about the actual productivity increase offered by an IDE plugin, you can't deny that it is a major plus for new adoptions. That said, I think Tapestry is in a unique situation with the incompatibility between T3, 4 and 5. We've developed some large applications using T3 an

RE: Populating Tapestry ASO after successful Acegi Auth

2006-08-30 Thread James Carman
Well, hopefully we can move all of this stuff into a Tapestry Commons subproject of the TLP. Then we won't have these issues. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 11:17 AM To: users@tapestry.apache.org Subject: RE: Populati

RE: Populating Tapestry ASO after successful Acegi Auth

2006-08-30 Thread Jason.Yankus
James: I can't get access to the svn repo. Can you send the jars? Thanks, -jason -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 10:41 AM To: 'Tapestry users' Subject: RE: Populating Tapestry ASO after successful Acegi Auth You can use

RE: Populating Tapestry ASO after successful Acegi Auth

2006-08-30 Thread James Carman
You can use the tapestry-acegi module found at [EMAIL PROTECTED] (if you can get the stupid anonymous login to work). If you can't let me know and I can send you the jar files directly. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006

RE: Populating Tapestry ASO after successful Acegi Auth

2006-08-30 Thread Thomas.Vaughan
Hi John, Just curious. . . would that code need to be inserted in *every* page's pageValidate() method considering that a user can bookmark or type in any secured URL? Acegi will intercept the request, throw up the Login page and then redirect to the requested page (which in this example would

RE: Populating Tapestry ASO after successful Acegi Auth

2006-08-30 Thread Jonathan Barker
I can't say it's a best practice, but it should be a reasonable strategy. In your pageValidate() method, if your ASO is not set Authentication auth = SecurityContext.getContext().getAuthentication(); If auth is not null

Re: Tapestry + Eclipse validation messages

2006-08-30 Thread hv @ Fashion Content
As I recall the problem refers to the order of the tags in your .page file. Easiest fix would be to put the tags in the right order. <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] > I'm using Eclipse 3.2 + WST to develop my T4 projects. > > During the build it tries to validate

Re: JWC anoyance: Creating component based on existing ones

2006-08-30 Thread hv @ Fashion Content
I think it's important to consider the direction Tap is heading, ie annotations tied to the class. It would be a bad idea to introduce concepts that sits badly with the annotations in the name of flexibility you can live without. So forcing a tight relationship between the extended jwc & class s

Re: JWC anoyance: Creating component based on existing ones

2006-08-30 Thread hv @ Fashion Content
I love annotations, but I think inheritance is an issue with them as well, even if in a different way. For components I generally have a one-to-one relationship between class and component, but for pages I would like to retain the ability to share the class somehow. I suspect there are a couple

Populating Tapestry ASO after successful Acegi Auth

2006-08-30 Thread Jason.Yankus
Greetings: I'm using Tapestry 4 and Acegi 1.0.1. I have acegi set up to perform authentication using the AuthenticationProcessingFilter. I have a requirement to place the domain object the Acegi UserDetails object is based upon into a Tapestry ASO for use during the user session. =20 My questio

Exception in Exception.html

2006-08-30 Thread Varun Mehta
Unable to instantiate component framework:Exception/$Shell: String index out of range: -1 [classpath:/org/apache/tapestry/pages/Exception.html, line 17] I'm able to run an application without the shell, but when my application throws an exception, it gives this page, cos in the framework /org/a

Re: Loading Javascript from external asset

2006-08-30 Thread Bastian Voigt
andyhot schrieb: i would add the normal html

[solved] RE: Unable to locate resource library?

2006-08-30 Thread Jasper Huzen
I fixed my problem. I changed the library path to and now it is working. -Original Message- From: Jasper Huzen Sent: woensdag 30 augustus 2006 8:52 To: users@tapestry.apache.org Subject: Unable to locate resource library? I'm trying to build a test project with Tapestry. I