How to escape a comma in pattern

2005-12-07 Thread Shing Hing Man
I am using Tapestry 4.0-rc-1. In a DataPicker component, I have set up my custom format for the date. The date appears as something like 7 December 2005. Now I would like to have a comma between the month and year: d , causes the following error : Clas

Tapestry 3.03 Pagelink

2005-12-07 Thread Vincent
Hi all, Suppose there are two pages , Home.html and SecondPage.html In Home.html there will be an button which will invoke page SecondPage.html (just use Html script). I add some features in SecondPage.html , but find out it is not possible to run it , but as a matter of fact , if you just use S

Re: Dependency Injection of ASOs

2005-12-07 Thread Scott Russell
I see. I had assumed that a default implementation would have existed that behaved like hivemind.BuilderFactory, that allowed nested set-object elements. -Scott On Thu 8 December 2005 13:16, Howard Lewis Ship wrote: > What you do is create a custom factory service to create your ASO, and > you

Re: Dependency Injection of ASOs

2005-12-07 Thread Howard Lewis Ship
What you do is create a custom factory service to create your ASO, and you inject your dependencies into your custom factory, which can then pass them on to the ASO. On 12/7/05, Scott Russell <[EMAIL PROTECTED]> wrote: > I have an application state object, that I would like to have services set on

Re: Javascript file handling in Tapestry 3.0.3

2005-12-07 Thread Leon Pu
Hi all, could anybody give me a hint about the Javascript file handling in Tapestry? Thanks a lot. Best regards, Leon --- Leon Pu <[EMAIL PROTECTED]> wrote: > Hi all, > > it seems the javascript .js file has to be treated as xml in Tapestry > 3.0.3. > > But sine my .js file has been writen

Re: T 3.0.3 How do I get the original html tag name in component code

2005-12-07 Thread Geoff Longman
Oops This.. "Look at the jwc and class file for the Any component." Should read... "Look at the jwc and java file for the Any component." Geoff On 12/7/05, Geoff Longman <[EMAIL PROTECTED]> wrote: > Look at the jwc and class file for the Any component. Tapestry hooks > up the following paramete

Re: T 3.0.3 How do I get the original html tag name in component code

2005-12-07 Thread Geoff Longman
Look at the jwc and class file for the Any component. Tapestry hooks up the following parameter with the value of the tag name in the template... The tag used to add this component in a template. Looking at BaseComponentTemplateLoader.addTemplateBindings(IComponent c

Dependency Injection of ASOs

2005-12-07 Thread Scott Russell
I have an application state object, that I would like to have services set on whenever one is created (ie. standard dependecy injection, not annotation injection or anything like that) I tried this in my hivemodule.xml: But I am getting an exception whe

Re: Build problems

2005-12-07 Thread andyhot
>From Drew McAuliffe <[EMAIL PROTECTED]>: > I've been running into a number of problems with building tapestry (RC1). > The biggest problem I have is that the build structure is completely > interdependent on HiveMind. While I can understand a need to have access to > HiveMind, I don't see why I

Re: Build problems

2005-12-07 Thread Drew McAuliffe
A lot of the test compilation targets have "1.5" build directly into the xml files instead of reading it from a props file. Also, a great deal of the tests are completely 1.5 dependent, using varargs, autoboxing, and annotations, so there's no way to compile them on 1.4. Also, there's no way to run

Re: Build problems

2005-12-07 Thread Drew McAuliffe
Thanks for the quick response. I'll check out JIRA when I come up for air. The other issues that lead me to constantly rebuild have already had issues created, I believe. I've been able to get the patch code from the mailing lists in one case and dealt with it myself in the other. I'll double-check

Re: Build problems

2005-12-07 Thread Leonardo Quijano Vincenzi
Drew McAuliffe wrote: Maybe this is just a hole in the documentation? I hope so because for each new release, I'm forced to rebuild both hivemind and tapestry due to 2 errors that have been mentioned on the list frequently in the past but never actually addressed (jndi lookup problems with oc4j a

Re: Build problems

2005-12-07 Thread Howard Lewis Ship
Tapestry is dependent on the *build scripts* used by HiveMind. I wrote them out of frustration with maven 1.0, but I'm looking into Maven 2 for HiveMind (1.2) and Tapestry (4.1). Those are problems you've identified; the framework and contrib code is supposed to be compatible with JDK 1.3. I'll l

Build problems

2005-12-07 Thread Drew McAuliffe
I've been running into a number of problems with building tapestry (RC1). The biggest problem I have is that the build structure is completely interdependent on HiveMind. While I can understand a need to have access to HiveMind, I don't see why I should need the source of HiveMind, and it's build s

T 3.0.3 How do I get the original html tag name in component code

2005-12-07 Thread Harvey, David
I'm using tapestry 3.0.3. I've been a struts/jsp developer for 4+ years but I've only been using tapestry for a week or so. I have written a half dozen custom components and so far, I really like tapestry. I cannot figure out how to search the archives at http://mail-archives.apache.org/mo

Re: inline page links

2005-12-07 Thread Jason Suplizio
Where should the inline link reference (i.e. #sectionName) be appended to a Tapestry URL in order for inline links to work? If I implement my own BaseTagWriter my inline link reference (i.e. #sectionName) http://localhost/tap_comps/app?component=guidLink&page=dir1/SearchPage&service=direct&sessio

RE: How to include a fragment of HTML ?

2005-12-07 Thread Patrick Casey
I thought he wanted to load arbitary fragments on an as needed basis? If not then, yah, your approach is infinitely simpler, but if he already has a library of fragments then he could just @Insert them via the loader approach. --- Pat > -Original Message- > From: Alan Cha

Re: How to include a fragment of HTML ?

2005-12-07 Thread Alan Chandler
On Wednesday 07 Dec 2005 23:16, Patrick Casey wrote: > If you don't want to do it via Tassel, just write a static method > that loads it e.g. Why go to all that trouble. Surely a simple "footer" component that has the HTML that you want in your footer, and a jwc file http://jakarta.apach

RE: How to include a fragment of HTML ?

2005-12-07 Thread Patrick Casey
If you don't want to do it via Tassel, just write a static method that loads it e.g. Public static String load(String asset) { File f = new File(asset); FileInputStream fs = new FileInputStream(f); ByteArrayOu

RE: How to include a fragment of HTML ?

2005-12-07 Thread Mark Stang
There is a tassel or tacos component called "include" -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wed 12/7/2005 4:06 PM To: tapestry-user@jakarta.apache.org Subject: How to include a fragment of HTML ? Hello, All pages generated by my webapp have the same

How to include a fragment of HTML ?

2005-12-07 Thread bogien
Hello, All pages generated by my webapp have the same footer. How to put the footer into a separate file and include it in all the pages? It was pretty basic and easy task in PHP or using Apache SSI includes, but I don't really understand how to do this in Tapestry... Thanks for any help! --

page-service-encoder for external service no longer working

2005-12-07 Thread Paul Cantrell
Having been away from my Tapestry project for a while, I just upgraded from 4.0b6 to 4.0rc1. Something that worked before is now broken. I map the extension "html" to pages using the external service, as follows: service="external" /> When I bring up my app's home page,

tapestry 3 - order error messages

2005-12-07 Thread Carlos.Fernandez
I have a page with a mix of ValidField and non-ValidField form components (PropertySelection etc). The ValidField components are validated declaratively by assigning IValidators in the page specification. The other components are validated programmatically in action listener methods. When a vali

contrib:Table columns and labels

2005-12-07 Thread Dan Adams
Is there a way to bind a column to one thing and then specify the key for looking up the label as something else? -- Dan Adams Software Engineer Interactive Factory - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Re: inline page links

2005-12-07 Thread Jason Suplizio
Thanks Joe! How did that hose any of the other components/services (i.e. DirectLink, etc..). Jason On 12/7/05, Joe Trewin < [EMAIL PROTECTED]> wrote: > > I too had this problem - I understand why Tapestry does this, as URLs > may be generated by services that contain subpaths, which would then >

Javascript file handling in Tapestry 3.0.3

2005-12-07 Thread Leon Pu
Hi all, it seems the javascript .js file has to be treated as xml in Tapestry 3.0.3. But sine my .js file has been writen into xml and all javascript functions are inside

[ANNOUNCE] Tapestry 4.0-rc-1

2005-12-07 Thread Howard Lewis Ship
The first release candidate for Tapestry 4.0 is now available. Tapestry is a component based web application framework that provides lots of functionality with minimal Java coding, and creates an environment that supports high levels of reuse. This release fixes a number of minor bugs and a major

Re: java.lang.NoClassDefFoundError: com/apple/eawt/Application

2005-12-07 Thread Eric Schneider
Hi, Sorry about the noise. It was totally user error. I had a rogue import statement on one of my framework classes (didn't bark compile time because I was building on OSX). Thanks, Eric On 12/7/05, Eric Schneider <[EMAIL PROTECTED]> wrote: > Hi, > > I'm attempting to deploy a Tapestry applic

RE: Re: Removing elements from configurations

2005-12-07 Thread Jeff Lubetkin
We just don't use it, but it turns out that simply having it available causes performance bottlenecks under load (see HIVEMIND-162). Removing pieces that I don't use because they have performance impacts strikes me as one of the big benefits of a configurable infrastructure like Hivemind/Tapestry

Re: Tapestry exception using LDAP

2005-12-07 Thread Kent Tong
Porcs-Makkay Ákos gmail.com> writes: > I'm trying to use LDAP with my tapestry application, but I get an error: > > Exception invoking listener method onLogin of component Login: Failure invoking listener method > 'public java.lang.String com.ttdev.myapplication.Login.onLogin()' on > $Login_222

Re: Removing elements from configurations

2005-12-07 Thread Kent Tong
Jeff Lubetkin zillow.com> writes: > I’d like to remove the “client” related > persistence strategies from the PersistenceStrategy configuration point. Why do that? > The only way I’ve figured out how to do this is to effectively recreate a > bunch of the tapestry configuration so that I can co

RE: Basic 4.0 upgrade question

2005-12-07 Thread Frank Russo
Here's what's confusing to me. I know you are right about the inject element. I think that goes in the component/page specification. As far as the hivemodule.xml, I'm very confused by the documentation. There is nothing in the docs showing a full example. I'm going to look at the examples that come

java.lang.NoClassDefFoundError: com/apple/eawt/Application

2005-12-07 Thread Eric Schneider
Hi, I'm attempting to deploy a Tapestry application (beta 11) on a machine that already contains other Tapestry applications with identical jar configurations. These other applications work flawlessly, but for reasons unknown this app throws a NoClassDefFoundError looking for com/apple/eawt/Appli

Re: TableComponent and Friendly URLs

2005-12-07 Thread Kent Tong
Earnshaw, Wayne fanniemae.com> writes: > We have implemented J2EE security that restricts access to only friendly > URLs. > The TableComponent generates links that are based on unfriendly URLs > e.g. > > /PhoneBook/?component=table.tablePages.linkPage&page=Home&servic > e=direct&sp=AHome%2Ctabl

Re: Customizing the border example

2005-12-07 Thread Kent Tong
gcormier tapestryforums.com> writes: > Basically, all my links on the left are in a list with elements and the > non-selected ones have a certain class, while the current selection has a > different style, and obviously, no link to click on. Try: Then define a getLinkClass() in y

Components charset encoding

2005-12-07 Thread jec
Hi, My i18n components badly appears on my pages. The pages themselves are OK (in UTF-8 and showing accented chars OK) but the components are not. Is there something special to tell tapestry that the components html files are in UTF-8? Thanks a lot. -jec -- Jean-Eric Cuendet Riskpro Technologies

Re: Tapestry not creating component accessors on enhancing?

2005-12-07 Thread Phil Ulrich
That'll do 'er. Thanks. On 12/7/05, Bryan Lewis <[EMAIL PROTECTED]> wrote: > This is something different... it looks like the first problem has been > solved. > > Check your pageBeginRender() code. The method must be defined in your > page if the page implements PageRenderListener, and vice versa

Re: Tapestry not creating component accessors on enhancing?

2005-12-07 Thread Bryan Lewis
This is something different... it looks like the first problem has been solved. Check your pageBeginRender() code. The method must be defined in your page if the page implements PageRenderListener, and vice versa. Check that the method signature is correct. Phil Ulrich wrote: > I tried both of

Re: Tapestry not creating component accessors on enhancing?

2005-12-07 Thread Phil Ulrich
I tried both of these (first in, then auto). Now I'm getting this instead: java.lang.AbstractMethodError company.package.Component$Enhance_9.pageBeginRender(Lorg/apache/tapestry/event/PageEvent;)V On 12/7/05, Bryan Lewis <[EMAIL PROTECTED]> wrote: > Try adding direction="in" or direction="aut

Re: Tapestry not creating component accessors on enhancing?

2005-12-07 Thread Bryan Lewis
Try adding direction="in" or direction="auto" to the declaration. According to the book on page 222: direction Specifies how, if at all, you want to connect the parameter binding to a property; defaults to custom, which means no connected parameter property. Phil Ulrich wrote: > The

RE: Basic 4.0 upgrade question

2005-12-07 Thread Frank Russo
I looked in the examples and found the following: @InjectState("visit") public abstract Visit getVisit(); @InjectStateFlag("visit") public abstract boolean getVisitExists(); This is fine for Java 1.5, but I'm still using 1.4... Frank Russo Senior Developer FX Alliance, LLC

Re: Basic 4.0 upgrade question

2005-12-07 Thread karthik G
I'm a beginner. But I thought I s'd make an attempt to answer this question. So I'm sorry if this is not what you are looking for. Are'nt session objects stored in META-INF/hivemodule.xml in tapestry4 and then injected into the page using element when using JDK < 1.5 ? --- hivemodule.xml --

Re: Basic 4.0 upgrade question

2005-12-07 Thread Ron Piterman
this is the preferred way. in tapestry 4.0 the visit object itself is deprecated in favour of a flexible configuration of different session/context state objects, instead of the single visit/??? (forgot how it used to be called in 3.) Look at the user guide in application state for details. Che

John Jankowski is out of the office.

2005-12-07 Thread jjankowski
I will be out of the office starting 12/07/2005 and will not return until 12/14/2005. I will respond to your message when I return. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tapestry not creating component accessors on enhancing?

2005-12-07 Thread Phil Ulrich
The preamble: Tap 3.0.3. The quote: Page 237, "Tapestry in Action," Chapter 6, 'Creating Reusable Components': "The enhanced subclass generated at runtime by Tapestry includes the necessary fields, a get method, and a set method." The problem: Tapestry is exhibiting exactly the opposite behavior.

Basic 4.0 upgrade question

2005-12-07 Thread Frank Russo
This may be a basic question, but it's not clear to me from the documentation. Since the getVisit() method is deprecated in IPage in 4.0, what is the preferred way of getting access to the Visit object? Frank Russo Senior Developer FX Alliance, LLC

Re: cached property

2005-12-07 Thread Yunfeng Hou
Yes, good idea. But I am still using java 1.4, and have no idea to enable annotation. Actually I think cachable methods should be a solid method rather than an abstract one. Yunfeng Hou --- "Dmitry I. Zubarovsky" <[EMAIL PROTECTED]> wrote: > Hello Yunfeng! > > Do not you think its also make

RE: Extreme lots of logging

2005-12-07 Thread Frank Russo
Not sure if this is exactly your problem, but I've seen this in the past with other open source products. It comes from a conflict in log4j (if you're not using log4j, then this is not your problem/solution.) In your log4j.properties, you've probably set the log level to INFO or DEBUG, etc. You'll

Antwort: Removing elements from configurations [Virus checked]

2005-12-07 Thread Michael . Frericks
Hi Jeff, the way you did it allows another developer to contribute the 'client' strategy to your new configuration-point. You may override the service tapestry.persist. PropertyPersistenceStrategySource by adding an implementation to one of your hivemodules: Used by other services to loca

Extreme lots of logging

2005-12-07 Thread Lennart Benoot
Hi all, Yesterday, all of a sudden, my Tapestry application started to produce extremely lots of logging. This slows down the system significantly. The stack is Tapestry / Tomcat / Eclipse. I don't now exactly where the problem should be searched but it seams like tapestry classes are generat

Deleting itme from ListEdit without checkbox

2005-12-07 Thread Taavi Sildeberg
Hi, Is possible to delete item form ListEdit component source whithout using a checkbox? I have a tabel where the end of a each row is a image. I'd like to click on that image, and current row will be removed from the table, but I am stuck whith this problem, is this even possible :) Than

Re: [very OT] tools for migrating database

2005-12-07 Thread Barry Books
Here's what I do. I run a cron job every night that takes the current production backup, builds a new dev database, then runs a directory of sql that updates the schema (or data). At first people complained they lost schema changes but pretty soon they learned to create a file, run it then copy it

RE: inline page links

2005-12-07 Thread Joe Trewin
I too had this problem - I understand why Tapestry does this, as URLs may be generated by services that contain subpaths, which would then break relative links to assets. However, I'm not convinced that this is the correct solution ... To fix it for my application I implemented my own BaseTagWrite

injecting spring object into engineservice

2005-12-07 Thread Nicholoz Koka Kiknadze
Hi, I have my database access configured using Spring and I inject relevant spring:objects into Tapestry pages. Now I have also a custom EngineService which I succeeded to instantiate using hivemind.xml quite blindly - looking at/copying from examples. The problem is that I need spring object to be

RE: [very OT] tools for migrating database

2005-12-07 Thread vatroslav2000
Maybe you can try Kettle: http://www.kettle.be/ m2f Sent from www.TapestryForums.com Read this topic online here: <> http://www.tapestryforums.com/viewtopic.php?p=11533#11533 m2f