Re: T5: Redirecting to out-of-tapestry page

2007-07-25 Thread Bill Holloway
ed on the wiki's Acegi tutorial? http://wiki.apache.org/tapestry/Tapestry5LinkingToNonTapestryURIs On 7/24/07, Bill Holloway <[EMAIL PROTECTED]> wrote: > Got it going with my own implementation of Link. > > bill > > On 7/23/07, Nick Westgate <[EMAIL PROTECTED]> wro

Re: T5: Redirecting to out-of-tapestry page

2007-07-25 Thread Bill Holloway
Well, I'm not sure that's warranted. bill On 7/24/07, Nick Westgate <[EMAIL PROTECTED]> wrote: Don't forget to log a JIRA issue. ;-) Cheers, Nick. Bill Holloway wrote: > Got it going with my own implementation of Link. > > bill > > On 7/23/07, Nic

Re: T5: Redirecting to out-of-tapestry page

2007-07-24 Thread Bill Holloway
a new LinkImpl() with what you need. Cheers, Nick. Bill Holloway wrote: > Apologies if this has already been asked, but I need to redirect from a > page's onActivate() to a page on another site altogether. What's the best

T5: Redirecting to out-of-tapestry page

2007-07-23 Thread Bill Holloway
Apologies if this has already been asked, but I need to redirect from a page's onActivate() to a page on another site altogether. What's the best technique? bill

Re: [T5] Passing Pages into Components

2007-07-18 Thread Bill Holloway
Howard, maybe you should hide the internal interfaces by making them package-private or something. Then mark internal classes "final" like Spring does! Bill On 7/18/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: So you missed the great big warning signs about not using internal classes? Pa

Re: AJAX : DOJO vs JQuery

2007-07-14 Thread Bill Holloway
Ditto. I'm working on a fairly major site in T4.1.2 and jquery is the only library the presentation layer developers want to use. I would LOVE to see JQuery be the library for T5. Actually, how about an abstraction library in T5 so that we could plug in any javascript library we like for Tapest

Re: T5: Premature validation errors in beaneditform

2007-07-12 Thread Bill Holloway
I think it was some Eclipse weirdness. I started over w/ a fresh call to the archtype and had no problems. bill On 7/12/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: What browser are you using? Tapestry relies on CSS to make some s and s not visible. On 7/12/07, Bill Holloway &

T5: Premature validation errors in beaneditform

2007-07-12 Thread Bill Holloway
I have a very simple bean object with two simple string properties. When I do I see the validation error red "X"s after the property input fields and a notice "You must correct the following errors before you may continue." above the set of fields. The error text is not in the characteristic

T5: Is the 5.0.5 release considered "beta" still?

2007-07-11 Thread Bill Holloway
...project-planning minds at my place of employment wish to know...

Re: t5 :: onSucess() doesn't work for forms

2007-07-11 Thread Bill Holloway
Two possible issues: One, "onSucess()" is misspelled, if that's a direct copy. It should be onSuccess(). Second, try onSuccessFromRegistrationForm(). Bill On 7/11/07, Eugene Lozovan <[EMAIL PROTECTED]> wrote: Hello, Evan. Could you please add more details? "the onSucess() event handler fo

T5: Generic page classes with beaneditform

2007-06-25 Thread Bill Holloway
I have a Widget base entity extended by several concrete product entities. I have public class EditWidgetPage { ... @Persist public Long _someWidgetId; public T _someWidget; // normal setters / getters void onActivate (long id) { _someWidgetId = id; _someWidget = _dao.get (id);

Re: T5 tapestry-spring: have to interface all HibernateDaoSupport methods

2007-06-25 Thread Bill Holloway
I.e., public class FooDaoImpl extends HibernateTemplate implements FooDao // which extends HibernateOperations { // some custom Foo dao methods. } Perfecto and parsimonious. bill On 6/25/07, Massimo Lusetti <[EMAIL PROTECTED]> wrote: On 6/26/07, Bill Holloway <[EMAIL

Re: T5 tapestry-spring: have to interface all HibernateDaoSupport methods

2007-06-25 Thread Bill Holloway
Thank you Massimo! That got it all solved. bill On 6/25/07, Massimo Lusetti <[EMAIL PROTECTED]> wrote: On 6/26/07, Bill Holloway <[EMAIL PROTECTED]> wrote: > I have the following DAO pattern: > > public class FooDaoImpl > extends HibernateDaoSupport >

T5 tapestry-spring: have to interface all HibernateDaoSupport methods

2007-06-25 Thread Bill Holloway
I have the following DAO pattern: public class FooDaoImpl extends HibernateDaoSupport implements FooDao { // some custom Foo dao methods. } However, tapestry-ioc spring bean injection injects via interface. So, none of the HibernateDaoSupport or HibernateTemplate methods like s

Re: T5 Creating new hibernate persistent entity via beaneditform

2007-06-22 Thread Bill Holloway
Problem seems to be solved by the following calls in onSuccess... _creditCardDAO.saveOrUpdate(_creditCardBean); _creditCardBean.setOwner(_state.getLoggedInPerson()); _creditCardDAO.merge(_creditCardBean); The call to merge being the magic incantation. bill On 6/22/07, Bill Holloway <[EM

T5 Creating new hibernate persistent entity via beaneditform

2007-06-22 Thread Bill Holloway
Here's another tap-hibernate issue. I have a page to create a new CreditCardInfo to then store into hibernate. The CreditCardInfo is many-to-one with Person. I have a page w/ a non-persistent property _creditCardInfo. The beaneditform creates/shows its blank creditCardInfo just fine. Form han

Re: T5 Trouble editing component parameter with beaneditform

2007-06-22 Thread Bill Holloway
be to store object ids and re-acquire objects on each new request. On 6/22/07, Bill Holloway <[EMAIL PROTECTED]> wrote: > That's what I'm thinking: The session opened for the action request > is still open when the render request comes and opens its session. > Thus, my pers

Re: T5 Trouble editing component parameter with beaneditform

2007-06-22 Thread Bill Holloway
g this one. My hibernate is now in fully non-managed mode. I.e., I explicitly open and close the sessions on every request in my DAOs. Bill On 6/22/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: Could this be related to the split between the action request and the render request? On 6

Re: T5 Trouble editing component parameter with beaneditform

2007-06-22 Thread Bill Holloway
wait wait...this is a hibernate error. i wanna go back to tapestry-hibernate, but then i get "Illegal attempt to assoc. collection w/ 2 open sessions". G. On 6/22/07, Bill Holloway <[EMAIL PROTECTED]> wrote: Hmmm. Well, now the error is different. Here's my

Re: T5 Trouble editing component parameter with beaneditform

2007-06-21 Thread Bill Holloway
! > > > > > > > > > > > > On 6/21/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > > > > Interesting! I thought the bug was fixed. It's supposed to be > > > > > working its way up the class hierarchy until it

Re: T5 Trouble editing component parameter with beaneditform

2007-06-21 Thread Bill Holloway
his is a known bug in 5.0.4 that should be fixed in the 5.0.5-SNAPSHOT. It relates to some classloader issues caused by the mix of Tapestry, Javassist, Hibernate, and CGLIB. On 6/21/07, Bill Holloway <[EMAIL PROTECTED]> wrote: > I have a component that needs to edit an object passed in a

Re: T5 Trouble editing component parameter with beaneditform

2007-06-21 Thread Bill Holloway
On 6/21/07, Bill Holloway <[EMAIL PROTECTED]> wrote: > I have a component that needs to edit an object passed in as a > parameter. Right now, the component does so by calling beaneditform > on that parameter object. In this configuration I get the error > below. Interesting

T5 Trouble editing component parameter with beaneditform

2007-06-21 Thread Bill Holloway
I have a component that needs to edit an object passed in as a parameter. Right now, the component does so by calling beaneditform on that parameter object. In this configuration I get the error below. Interestingly if I set a breakpoint just before return in the get method for the object passe

Re: T5 hibernate: Illegal attempt to assoc. collection w/ 2 open sessions.

2007-06-20 Thread Bill Holloway
(); } Works just fine. On 6/19/07, Bill Holloway <[EMAIL PROTECTED]> wrote: I have a Person entity (hibernate mapped) that can own multiple "items". I'm using a bean edit form on the variable _item in the following: during setRender, I do _item = new Item(); _item.setOwner(person);

T5 hibernate: Illegal attempt to assoc. collection w/ 2 open sessions.

2007-06-19 Thread Bill Holloway
I have a Person entity (hibernate mapped) that can own multiple "items". I'm using a bean edit form on the variable _item in the following: during setRender, I do _item = new Item(); _item.setOwner(person); In my save method, I have onSubmit () { _dao.saveOrUpdate (_item); } I then get the

Re: T5 Component library trouble

2007-06-19 Thread Bill Holloway
Thanks, Serge! On 6/19/07, SergeEby <[EMAIL PROTECTED]> wrote: Hi, Try and read the Component Elements section in this document: http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html /Serge texomaleo wrote: > > In a jar in a separate Eclipse probject I have > > package us

T5 Component library trouble

2007-06-19 Thread Bill Holloway
In a jar in a separate Eclipse probject I have package us.antera.t5.lib; import org.apache.tapestry.ioc.Configuration; import org.apache.tapestry.services.LibraryMapping; public class LibModule { public static void contributeComponentClassResolver (Configuration configuration) {

Re: T5: Ajaxify Page with built in Scriptaculous

2007-06-14 Thread Bill Holloway
onMyAction() returns a textstream to the handleResponse javascript method on the client. That's a handwritten method. Not sure how you're getting the whole HTML of your page. On 6/14/07, Jun Tsai <[EMAIL PROTECTED]> wrote: 2007/6/14, Joshua Jackson <[EMAIL PROTECTED]>: > > Hi Bill > > Thanks a

T5 I guess the Any component is gone.

2007-06-13 Thread Bill Holloway
...not complaining (expansions to the rescue), just checking. After a recent code launch of maven, all my t:type="any"s broke. Bill -- "The future is here. It's just not evenly distributed yet." -- Traditional - To unsub

Re: T5: Ajaxify Page with built in Scriptaculous

2007-06-13 Thread Bill Holloway
Joshua, here's a very simple example: Template: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> function handleResponse (xhrResponse) { alert (xhrResponse.responseText); } function asyncCall () { new Ajax.Req

Re: T5 Grid Component for composite entities

2007-06-07 Thread Bill Holloway
On workaround would be to write synthetic accessor methods in the User class for the Address properties you would like to see; e.g., pubic String getStreetAddress () { return this.address.getStreetAddress(); } On 6/7/07, Daniel Jue <[EMAIL PROTECTED]> wrote: Hi, I'm not sure if this kind of f

Re: T5: PrintWriter weirdness

2007-05-23 Thread Bill Holloway
Yuppers. That's working! Bill On 5/23/07, Bill Holloway <[EMAIL PROTECTED]> wrote: I was getting html tags encoded as entities. I.e., "" would come back as "<p>". I hadn't thought of passing the html mime type! I'll try it and report back. Bi

Re: T5: PrintWriter weirdness

2007-05-23 Thread Bill Holloway
? I'm sending back html fine with: return TextStreamResponse("text/html", html.toString()); Cheers, Nick. Bill Holloway wrote: > Well, the value being written out contains markup that I want passed > through with no changes. writer,print() and TextStreamResponse both > e

Re: T5: PrintWriter weirdness

2007-05-23 Thread Bill Holloway
d add the following to the page class to include the > required javascript > > > > @Inject > > private PageRenderSupport pageRender; > > @Inject > > @Path("${tapestry.scriptaculous}/prototype.js") > > private Asset prototype; > >

Re: T5: PrintWriter weirdness

2007-05-22 Thread Bill Holloway
Actually, the exception goes away on the client side only (No stack trace dumped to the web page) if I use writer.close(). writer.flush() dumps the trace to both the console and the web page. Bill On 5/22/07, Bill Holloway <[EMAIL PROTECTED]> wrote: I'm using an in-place-e

T5: PrintWriter weirdness

2007-05-22 Thread Bill Holloway
I'm using an in-place-editor under script.aculo.us to edit some text printed to the browser. In my page class I have public String getActionURL () { Link inPlaceLink = _resources.createActionLink ("inPlaceEditorSubmit", false, (Object[]) null); return inPl

Re: [T5.0.5 SNAPSHOT] tapestry-component-report available?

2007-05-22 Thread Bill Holloway
Yeah, I'm even getting "URL not found on server" when I look for http://people.apache.org/~hlship/tapestry-repository/ Bill On 5/22/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: I ran across this with some clients this morning. The project POM is broken and has been uploading shapshots to t

Re: Is onActivate a robust place for authentication?

2007-05-20 Thread Bill Holloway
a base class) is how I've envisioned authentication. However, I want to open up a kind of pipeline between the Dispatcher and the PageLinkHandler that can be injected, so that you can do this kind of operation across the entire application. On 5/17/07, Bill Holloway <[EMAIL PROTECTED]&g

Re: Is onActivate a robust place for authentication?

2007-05-20 Thread Bill Holloway
estry/event/PageValidateListener.html it's thought just for this kind of things afaik. On 5/18/07, Eric Chatellier <[EMAIL PROTECTED]> wrote: > > 2007/5/18, Bill Holloway <[EMAIL PROTECTED]>: > > I'm not sure yet how to integrate ACEGI, but I can look at an ASO in > &g

Re: T5 Templating and alternate css files based on current page

2007-05-17 Thread Bill Holloway
c/css/publisher/skin.css") private Asset skin2CSS; public Asset getSkinCSS() { if (skin.equalsIgnoreCase(SKIN_PUBLISHER)) return skin2CSS; return skin1CSS; } public String getSkin() { return skin; } } Bill Holloway wrote: > If "skin" i

Re: T5 Templating and alternate css files based on current page

2007-05-17 Thread Bill Holloway
If "skin" is a component property that's properly evaluated for you, you can return the evaluated path as a page property to an Any component in the template for the : In TheComponent.java private String _skin // perhaps a parameter or resolved in onActivate? public String getStylesheetPath ()

Is onActivate a robust place for authentication?

2007-05-17 Thread Bill Holloway
I'm not sure yet how to integrate ACEGI, but I can look at an ASO in onActivate for a page. Is returning a page name from onActivate() a robust solution for basic user authentication? Bill -- "The future is here. It's just not evenly distributed yet." -- Traditional -

Re: 5.0.5-SNAPSHOTS

2007-05-16 Thread Bill Holloway
t more infrastructure to allow other combinations, such as injecting based on combinations of field type and other annotatoins (here Asset for the type, @Path as the annotation). On 5/16/07, Bill Holloway <[EMAIL PROTECTED]> wrote: > > gurg! All my @Injects("...") just broke!

Re: 5.0.5-SNAPSHOTS

2007-05-16 Thread Bill Holloway
gurg! All my @Injects("...") just broke! Guess I need to use @Path with it? On 5/16/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: I've been making a number of important T5 bug fixes; I've just uploaded the latest snapshots to http://people.apache.org/~hlship/tapestry-repository/ Feedback

Re: T5: New Validators and server side validation

2007-05-16 Thread Bill Holloway
Add a script include to your border/page (to load your validation function) and change the render method to use MyProject.Field.email and you are good to go cheers. -- Ben Sommerville > -Original Message- > From: Bill Holloway [mailto:[EMAIL PROTECTED] > Sent: Wed

Re: T5 Repeated injections

2007-05-16 Thread Bill Holloway
Thanks, Marcus, I'm using Maven and would like to keep the file under src/main/resources/com/.../components to simplify the injection. Bill On 5/16/07, Marcus <[EMAIL PROTECTED]> wrote: Hi Bill, If this css file name never change, perhaps this help: in Layout.html: with mystyles.css

Re: T5 Repeated injections

2007-05-16 Thread Bill Holloway
Well, I just finished building and inserting the "" component into the five page templates, and it was pretty dang easy. Nevermind. On 5/16/07, Bill Holloway <[EMAIL PROTECTED]> wrote: I have several tapestry pages that all receive an injection of the exact same asset for use

T5 Repeated injections

2007-05-16 Thread Bill Holloway
I have several tapestry pages that all receive an injection of the exact same asset for use on the HTML page as a stylesheet link href: @Inject ("menu.css") private Asset _menuCss public Asset getMenuCss () { return _menuCss; } I would love to be able to encapsulate this bit of code, ideally

Re: T5: New Validators and server side validation

2007-05-15 Thread Bill Holloway
In implementing an e-mail validator myself, one thing I notice in all this is a Javascript error that reads Error: Tapestry.Field.email is not a function... I did some digging and found in org/apache/tapestry/tapestry.js the building up of the Tapestry object has in it a section involving "Colle

T5 TimingFilter -- missing the obvious?

2007-05-14 Thread Bill Holloway
I'm combing through my logs to see the INFO level logging of the TimingFilter output as specified in the AppModule that gets created by the maven2 archetype, and I can't find it. Anyone else seeing this problem? Bill -- "The future is here. It's just not evenly distributed yet." -- Tradit

Re: T5 - JDBC path

2007-05-10 Thread Bill Holloway
I put my outside jars in /src/main/resources. I believe WEB-INF/lib should work as well. Then in Eclipse I also configure them info the build-time path. Bill On 5/7/07, Marcus <[EMAIL PROTECTED]> wrote: Hi, Using T5 and Jetty, where should I put my JDBC jar? With T4 and Tomcat I just put on

Re: JavaFX

2007-05-10 Thread Bill Holloway
Oh, wait a minute...here's a possible purpose: You HAVE to use NetBeans to develop it! (At least for now). On 5/9/07, Konstantin Ignatyev <[EMAIL PROTECTED]> wrote: Yeah, JavaFX looks really weird and purposeless. --- Bill Holloway <[EMAIL PROTECTED]> wrote: > I'

Re: JavaFX

2007-05-09 Thread Bill Holloway
here's a related article. http://beust.com/weblog/archives/000446.html On 5/8/07, Bill Holloway <[EMAIL PROTECTED]> wrote: > > See the article, > http://www.internetnews.com/dev-news/article.php/3676226. Slashdotted > too. Interesting stuff. > > Bill > > -- >

JavaFX

2007-05-08 Thread Bill Holloway
See the article, http://www.internetnews.com/dev-news/article.php/3676226. Slashdotted too. Interesting stuff. Bill -- "The future is here. It's just not evenly distributed yet." -- Traditional - To unsubscribe, e-mail:

Re: T5: SelectModel - a real world example

2007-05-07 Thread Bill Holloway
uff exposed as public APIs. I would rather err on the side of over-zealousness for T5. You can take internals public, but not the other way around, and once something is public, it also is (or should be) final. On 5/7/07, Bill Holloway <[EMAIL PROTECTED]> wrote: > > I've written

Re: T5: SelectModel - a real world example

2007-05-07 Thread Bill Holloway
I've written similar code -- while remembering that OptionModelImpl is an "internal" class that Howard, in the documentation, has admonished us not to use. Community, what's the better solution? Bill On 5/7/07, Joel Wiegman <[EMAIL PROTECTED]> wrote: Eureka! Finally got it all working. What

T5: Continuations?

2007-05-07 Thread Bill Holloway
Any thoughts to having support for continuations in Tapestry 5? My guess is Howard could do more simply and elegantly than Spring Webflow. Bill -- "The future is here. It's just not evenly distributed yet." -- Traditional --

Re: Tapestry 5 Mixins Remoting JSON

2007-05-02 Thread Bill Holloway
Also, what do you do with yourUrl once you have it? In addition, the JSONRpcClient constructor expects to be talking to a servlet. T5 is a ServletFilter. Bill On 5/2/07, bjornharvold <[EMAIL PROTECTED]> wrote: That's great but is this asynchronous? Alexandru Dragomir wrote: > > Yes , y

Re: Tapestry 5 + Acegi

2007-05-01 Thread Bill Holloway
Stephan, Is there a little snippet of code you can post giving the sense of how to integrate Tap. 5 and Acegi? Do you put the security.xml in the app resources and then get the shared components as IoC services? Bill On 5/1/07, Stephan Schwab <[EMAIL PROTECTED]> wrote: Joshua Jackson-3 wrot

Re: T5 Tapestry IoC services as webservices?

2007-04-25 Thread Bill Holloway
Restfully, I would think. T5 can return almost anything to the browser from a URL, even streams. On 4/24/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: It makes some kind of sense as an add-on. SOAP or REST? (I'd choose REST, right off the bat). It gets uglier from there! On 4/

T5 Tapestry IoC services as webservices?

2007-04-24 Thread Bill Holloway
Are there any plans for tools to export T5 IoC services as webservices? bill -- "The future is here. It's just not evenly distributed yet." -- Traditional - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: Does tapestry5 don't support jdk1.4

2007-04-17 Thread Bill Holloway
Tapestry 5 makes use of generics and annotations to facilitate development. bill On 4/17/07, D&J Gredler <[EMAIL PROTECTED]> wrote: Nope, one of the results being that configuration can be done in Java code, as opposed to XML. Two big thumbs up from me ;-) On 4/17/07, li li <[EMAIL PROTECTED

T5 block rendering

2007-04-16 Thread Bill Holloway
I know that Foo! will work (and so will If...etc.). Am I just imagining or did I see somewhat a component? Bill -- "The future is here. It's just not evenly distributed yet." -- Traditional - To unsubscribe, e-ma

T5 Choose One, was Re: "Choose One" option for Selects

2007-04-15 Thread Bill Holloway
are padded with   to give it a nice layout. On 4/14/07, Bill Holloway <[EMAIL PROTECTED]> wrote: > > In my domain model, I have the ubiquitous "Person" class and lists of > these objs. to display in elements. I have written a > ValueEncoder and SelectModel for the

"Choose One" option for Selects

2007-04-14 Thread Bill Holloway
In my domain model, I have the ubiquitous "Person" class and lists of these objs. to display in elements. I have written a ValueEncoder and SelectModel for the class, and that works fine. I'd also like to have an elegant way to add a "Choose One" option in the list (at the top). Ideas? Thanks

Consultant in Wash DC area?

2007-04-14 Thread Bill Holloway
I'm looking for a solid enterprise web application engineer in the DC area to advise a client on next steps. I'd like to find somebody who's been around the block with several technologies and has a solid history of enterprise development. This is a (potentially) one- or two-shot meeting to asse

Re: T5 IoC remote module def'n problem.

2007-04-08 Thread Bill Holloway
es or lib when using Jetty launcher, because the Jetty process inherits the Eclipse project's build path already. On 4/4/07, Bill Holloway <[EMAIL PROTECTED]> wrote: > In a separate Eclipse project from my T5 project, I write a service > called MyService > > Interface: &g

Re: T5 Upload component?

2007-04-08 Thread Bill Holloway
Yep, quite cool. Here's a "style" component: public class Style { @Parameter (required = true) private Asset _stylesheet; void beginRender (MarkupWriter writer) { Document doc = writer.getDocument(); Element head =

T5 IoC remote module def'n problem.

2007-04-04 Thread Bill Holloway
In a separate Eclipse project from my T5 project, I write a service called MyService Interface: package org.example.mylib; public interface MyService { public String doSomething (); } Impl: package org.example.mylib; public class MyServiceImpl implements MyService {

Re: T5 Hibernate long conversations (session-per-conversation)

2007-04-03 Thread Bill Holloway
etc. The tiny bit of work I've done on tapestry-hibernate (for T5) doesn't support this concept, but it can grow to encompass it. On 4/3/07, Bill Holloway <[EMAIL PROTECTED]> wrote: > Has anyone implemented session-per-conversation (my preferred way to > handle optimistic loc

T5 Hibernate long conversations (session-per-conversation)

2007-04-03 Thread Bill Holloway
Has anyone implemented session-per-conversation (my preferred way to handle optimistic locking) in T5? Right now, tapestry-hibernate implements session-per-request. I'm thinking an application state object is a good place to start here with methods like startConversation() and endConversation()

Re: T5 CSS

2007-03-29 Thread Bill Holloway
I'm not sure about shutting off the default.css, but the "C" in "CSS" means cascading, which means you can override the styles set in default.css. For a particular page, put your CSS files in src/main/resources/org/example/myapp/pages/mystyles.css, where org/example/myapp is your project package

Re: t:layout

2007-03-28 Thread Bill Holloway
pname} when application-wide message catalogs are implemented. Hope this helps :-) On 3/28/07, Bill Holloway <[EMAIL PROTECTED]> wrote: > > Howdy, > > I'm using tapestry-hibernate with hibernate/annotations. I know that > tapestry-hibernate for T5 is very new, so this i

T5 Hibernate and t:layout

2007-03-28 Thread Bill Holloway
Howdy, I'm using tapestry-hibernate with hibernate/annotations. I know that tapestry-hibernate for T5 is very new, so this is mainly just a heads-up: I get an error trying to call the session.load (class, serializable) method. My entity class is called "org.gp.contactweb.entities.Person". It

Re: [adv] tapestry work?

2007-01-09 Thread Bill Holloway
Know of any really cool Tapestry jobs out there, Jesse? On 1/8/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Things have quieted down some for me lately, so if anyone has any Tapestry related work that they thought could use a little boost with I'm currently "available". -- Jesse Kuhnert Tapestr

Redirecting page in Tapestry 5

2007-01-05 Thread Bill Holloway
Anybody have any sample code redirecting the browser after an @OnEvent method? Haven't gotten this to work. Typical error: Event 'submit' from org.example.tapestry5.pages.EditPerson:myForm received an event handler method return value of ListPeople from org.example.tapestry5.pages.EditPerson.my

Re: First pass at a Tapestry 5 Image Component

2006-12-09 Thread Bill Holloway
"alt", _description ); } @AfterRender void afterRender (MarkupWriter writer) { writer.end(); } On 12/9/06, Bill Holloway <[EMAIL PROTECTED]> wrote: I needed one, so I took a shot at it. Flame awa

First pass at a Tapestry 5 Image Component

2006-12-09 Thread Bill Holloway
I needed one, so I took a shot at it. Flame away! :) Package declaration deliberately left out: import java.io.IOException; import org.apache.tapestry.Asset; import org.apache.tapestry.MarkupWriter; import org.apache.tapestry.annotations.BeginRender; import org.apache.tapestry.annotations.Compo

Tapestry 5 Maven Stuff

2006-12-04 Thread Bill Holloway
Can anyone give me a pointer about setting up the maven2 repositories in my eclipse project for Tapestry 5? I can't seem to get the repository definition into the right place in order to see the tapestry-core and tapestry-ioc entries in Eclipse's "Add Dependency" dialog. Thanks, Bill -- "Budge

Re: using Tapestry to send mails

2006-12-02 Thread Bill Holloway
I've used JavaMail (http://java.sun.com/products/javamail) successfully in a few projects. One thought is to inject the javax.mail.Session object into an application state object for easier access via Tapestry. Cheers, Bill On 11/26/06, Cyrille37 <[EMAIL PROTECTED]> wrote: Hello all, I still

Re: Hivemind and Spring application context...

2006-11-23 Thread Bill Holloway
I'm not sure that in your context-param in web.xml that "globbing" is supported -- namely putting the "*" wildcard character in applicationContext*.xml. You can include other spring bean context fields from applicationContext.xml. I'd try that as a first approach. Cheers, Bill On 11/23/06, Cyr

Re: tapestry.form.focusField problems

2006-11-23 Thread Bill Holloway
doh! That works. On 11/23/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Set focus="false" on your Dialog form. On 11/23/06, Bill Holloway <[EMAIL PROTECTED]> wrote: > Interesting clarification: I have two forms on the page, but one is > an @Dialog form at the top o

Re: tapestry.form.focusField problems

2006-11-23 Thread Bill Holloway
ation form that's shown is made *before* that form is registered with dojo. Oooops! I hate to have to dump the popup dialog form for the login -- but I need that focusField! Bill On 11/23/06, Bill Holloway <[EMAIL PROTECTED]> wrote: I've tried using both jwcid="@Form" a

tapestry.form.focusField problems

2006-11-23 Thread Bill Holloway
I've tried using both jwcid="@Form" and using beanform, and in FireFox on xubuntu I do not see any form field focus working. I the page source I do see the call to tapestry.form.focusField in dojo's AddOnLoad function. There are no errors reported in the javascript console of firefox, but no fie

Re: Release schedule of the Tapestry 4.1

2006-11-21 Thread Bill Holloway
I'm using 4.1.1 snapshot and am basically happy -- at least for development. I think Jesse knows already about all the bugs I've seen. Bill On 11/20/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: I've covered most of it in the 4.1 roadmap wiki page, but the general things that still need resolut

Re: Developing rich GUI apps The Tapestry way

2006-11-21 Thread Bill Holloway
I've done both and tend toward straight Swing using, of course, gridbag layout with either Eclipse or Netbeans. The new "Matisse" layout manager from Netbeans is pretty nice -- almost drag and drop. Swing is OK, once you get used to the layout manager stuff. UI user events tie off nicely to back

Do I nead a page spec to use BeanForm message catalogs?

2006-11-21 Thread Bill Holloway
Seems like it. If I remove the page specification from my WEB-INF, the beanform spits out the the ugly message catalog default properties displays like [EMAIL]. Thanks, Bill -- "Budgets are moral documents." -- Ann Richards -

Re: Do I nead a page spec to use BeanForm message catalogs?

2006-11-21 Thread Bill Holloway
ill use message catalogs (both [page-name].properties and [application-name].properties). I'd do a quick span jwcid="@Insert" value="message:email" outside the BeanForm (but on the same page) just to verify that whatever behavior you're seeing is not BeanForm-rela

Re: tapestry.form.cancel not working

2006-11-21 Thread Bill Holloway
leForm') to make it get treated as a string. On 11/19/06, Bill Holloway <[EMAIL PROTECTED]> wrote: > > I have a very simple setup to reproduce a bug here. Summary: > invoking tapestry.form.cancel from the onclick handler of a form's > button (any button) gives javascr

tapestry.form.cancel not working

2006-11-19 Thread Bill Holloway
I have a very simple setup to reproduce a bug here. Summary: invoking tapestry.form.cancel from the onclick handler of a form's button (any button) gives javascript error in FireFox that the form's id is not defined; e.g., "sampleForm is not defined". Here's my template: Show Dialog

Tacos Woes

2006-11-16 Thread Bill Holloway
I've got 20061101 snapshot of tapestry 4.1.1 and tacos 4.0.1. After having to comment out *everything* in Tacos' tapestry.markup.MarkupFilters configuration point to get tapestry to launch without duplicate hivemodule s, I'm using a Dialog with a form. Very simple. But on loading the page from

Re: OGNL Notation for accessing List Element

2006-11-10 Thread Bill Holloway
Use parentheses rather than square brackets: ognl:getName('titi') OR (if that doesn't do it), ognl:page.getName('titi') Cheers, Bill On 11/8/06, Micha Roon <[EMAIL PROTECTED]> wrote: I have one page (Home.html) with its Class (Home.java) and in the class I have the two methods public Stri

Re: Tapestry-Hibernate

2006-11-04 Thread Bill Holloway
ully useful, though I'm not sure how feasible it is to implement. On 11/4/06, Bill Holloway <[EMAIL PROTECTED]> wrote: > For the lazy loading, what about writing a custom servlet filter as > recommended in the hibernate docs, one that handles the session for > you? Let it sit

Re: Tapestry-Hibernate

2006-11-04 Thread Bill Holloway
webapp from within your wizard)? If so, how do the potentially orphaned conversations get cleaned up?This is what causes me to loose sleep at night (yes, I need a life). :-) On 11/3/06, Bill Holloway <[EMAIL PROTECTED]> wrote: > I've seen recently some criticism of Tapestry i

Re: Tapestry-Hibernate

2006-11-04 Thread Bill Holloway
rphaned conversations get cleaned up?This is what causes me to loose sleep at night (yes, I need a life). :-) On 11/3/06, Bill Holloway <[EMAIL PROTECTED]> wrote: > I've seen recently some criticism of Tapestry in terms of using > Hibernate. Problems with lazy loading. I kn

Tapestry-Hibernate

2006-11-03 Thread Bill Holloway
I've seen recently some criticism of Tapestry in terms of using Hibernate. Problems with lazy loading. I know Tapernate is out there, but the docs are pretty thin. I'm using the threadLocal version of the much-documented HibernateUtil in a DAO layer. Going well. What will Tapernate actually d

Re: help on using Block and RenderBlock...

2006-11-03 Thread Bill Holloway
Tapestry in Action (book) talks about JSP integration. I'm sure there are other docs that do as well. I don't remember anything about RenderBlock there, but you're embedding some JSP. Bill On 11/3/06, Edgar Yip <[EMAIL PROTECTED]> wrote: Hi All, Our company is evaluating Tapestry 4.0 and I

Re: Suppressing id attribute in @Any

2006-11-03 Thread Bill Holloway
: .className {} or *.className {} or span.className {} or .someOtherContainer .className {} ? On 11/3/06, Bill Holloway <[EMAIL PROTECTED]> wrote: > > " I am trying to prevent exactly what you want as much as I possibly > can. :)" Grr. :) > > Well, I think the

Re: Suppressing id attribute in @Any

2006-11-03 Thread Bill Holloway
actors of importance like javascript vs CSS id selectors that are technically not correct I have to go with option 1. So, it's "by design". Use class="your class name" instead. On 11/3/06, Bill Holloway <[EMAIL PROTECTED]> wrote: > > I have an @Any tag inside a

Suppressing id attribute in @Any

2006-11-03 Thread Bill Holloway
I have an @Any tag inside a @For loop. I notice that the @Any tags that are emitted have an automatically-generated id attribute. Those are blowing my CSS implementations -- unless I can ignore them in css somehow. Is there a way to suppress the emission of those id attributes to the browser?

<    1   2   3   >