T5: Can I scan all services for a custom annotation?

2008-12-28 Thread Bill Holloway
I've got a module library with an annotation that I can attach to any T5 service. I need to scan all an application's T5 services to pick out the ones that have that annotation. What's the best way to accomplish this? Thanks, Bill

Re: Does the onActivate method can't return a Page?

2008-12-26 Thread Bill Holloway
My guess is that the page activation context isn't designed for this. There are a couple of workarounds. One would be to inject the Response service (org.apache.tapestry5.services.Response) into your page class and then use it to perform the redirection in your onActivate method: @Inject

Re: Does the onActivate method can't return a Page?

2008-12-26 Thread Bill Holloway
be a page instance,should I think the same as activate event? Thanks. Bill Holloway ??: My guess is that the page activation context isn't designed for this. There are a couple of workarounds. One would be to inject the Response service (org.apache.tapestry5.services.Response) into your

Re: Does the onActivate method can't return a Page?

2008-12-26 Thread Bill Holloway
,I'm using 5.0.18. Thanks. Bill Holloway ??: I set up just such a page, and have it working. It returns my index just fine. I'm using 5.0.18, JDK 1.5, Jetty 6.1.8. Bill On Fri, Dec 26, 2008 at 8:24 AM, d0ng agile.j...@gmail.com wrote: Thanks for your reply. But I find a comment

T5: Upgrade of t5-restful-webservices

2008-12-25 Thread Bill Holloway
Version 0.2.0 supports multiple RESTful web service methods per IoC service class by way of the @RestfulWebMethod annotation. The request-path arguments in the URL are also now translated using ValueEncoders. See http://code.google.com/p/t5-restful-webservices. The GettingStarted page should be

T5: RESTful web services module

2008-12-22 Thread Bill Holloway
Well, against my better judgment, I've posted the little jar I use to make T5 services serve RESTful web service requets. It does this by shooting a RequestFilter into the pipeline that you contribute your service classes to via the IoC. The code and some documentation are at

Re: Blog post about Tapestry 5

2008-12-19 Thread Bill Holloway
Thanks, Borut, for this! I especially appreciate the depth you went to in discussing the use of the component message catalog with forms and how you can factor regexp validation entirely into the catalog. This is going to help some colleagues of mine become believers. Bill On Fri, Dec 19, 2008

T5+Hibernate: Entity class id variables cannot have leading underscores

2008-11-16 Thread Bill Holloway
To use the simplified page activation context for a hibernate entity page (e.g., onActivate(Person p)...), it looks like the entity class' primary key id field's name must match VERBATIM the text that follows the word get in the getter (and set in the setter, probably). I.e., this won't work:

Re: hidden input field, TAPESTRY5

2008-10-12 Thread Bill Holloway
The tapestry5-components project on Google code features a Hidden field component. See: http://code.google.com/p/tapestry5-components/ Bill @ peoplepad On Sun, Oct 12, 2008 at 1:51 PM, Argo Vilberg [EMAIL PROTECTED] wrote: hello How to make hidden field in Tapestry5. input type=hidden

Re: T5: Page reuse patterns

2008-10-12 Thread Bill Holloway
Joel, I'd use application state objects to share state between them. This is a nicely decoupled solution. See http://tapestry.apache.org/tapestry5/guide/appstate.html Bill On Sun, Oct 12, 2008 at 12:48 PM, Joel Halbert [EMAIL PROTECTED] wrote: Hi, I'm not sure what the correct T5 pattern

T5: Cannot decorate services coming from tapestry-spring

2008-10-11 Thread Bill Holloway
I have defined a service decorator and used @Match(*Support). Services that I define in my appmodule with class names ending in Support get decorated just fine. However I have several services which end in Support that are coming in from spring via tapestry-spring. My decorator doesn't seem to

Re: t5: Hibernate resultset with pagination

2008-09-01 Thread Bill Holloway
Hi Angelo, I achieve custom paging for anything that uses a tapestry loop (or anything that needs a list per page) starting with this abstract class: public abstract class PagingResults T { protected int _page; protected int _resultsPerPage; public PagingResults (int resultsPerPage)

T5: Block property evaluation issue

2008-09-01 Thread Bill Holloway
I have three domain classes. B and C both subclass A. A is abstract. B has some properties that C doesn't have and vice versa. I'm putting together a page to display all the properties. I've defined two different blocks for the different sets of properties. BlockB tries to render the

Re: T5.0.14: Form with zone not uploading file

2008-08-20 Thread Bill Holloway
the submission's complete. Bill On Wed, Aug 20, 2008 at 1:47 AM, Howard Lewis Ship [EMAIL PROTECTED] wrote: That's an interesting question: does XMLHttpRequest support file uploads? Need to do some research. On Tue, Aug 19, 2008 at 11:35 PM, Bill Holloway [EMAIL PROTECTED] wrote: I have a form

Re: T5.0.14: Parent before child clarification

2008-08-14 Thread Bill Holloway
method overrides work in ordinary Java, which is a good thing. On Fri, Jun 20, 2008 at 5:55 PM, Bill Holloway [EMAIL PROTECTED] wrote: The JIRA on this states that the overridden method will be invoked only by the parent class, not the subclass. So I have a page that inherits from a base page

Re: T5.0.14: Parent before child clarification

2008-08-14 Thread Bill Holloway
Actually, I found that I can do what I need to do in beforeRenderTemplate. Bill On Thu, Aug 14, 2008 at 6:42 PM, Bill Holloway [EMAIL PROTECTED] wrote: Back to this one again! I have two components. One inherits from Grid; the other, GridRows. My GridRows subclass has a setupRender

T5 Looking up large blocks via chain of command?

2008-07-21 Thread Bill Holloway
One of my domain data types (organization) will be endowed with a type label (an enum). Each different type will need to have, on the page that views the organization, a block that is dependent on that type. These blocks are large and quite complex, so I don't want to define those blocks in the

Re: Loop Component

2008-07-01 Thread Bill Holloway
Peter, make sure that the properties in your superclass are either annotated with @Property or have public getter and setter methods. Bill On Tue, Jul 1, 2008 at 11:43 AM, Peter Courcoux [EMAIL PROTECTED] wrote: Many thanks for your reply Sven. However, I think that I didn't explain the

T5: Parent before child clarification

2008-06-20 Thread Bill Holloway
The JIRA on this states that the overridden method will be invoked only by the parent class, not the subclass. So I have a page that inherits from a base page class. Both have setupRender() on them. I have no code in the parent class that actually invokes setupRender, but I hope it will be

Re: T5: Groovy help?

2008-06-11 Thread Bill Holloway
it. On Mon, Jun 9, 2008 at 11:10 AM, Bill Holloway [EMAIL PROTECTED] wrote: In IntelliJ, I quickstart-mavened a new Tapestry 5 project, added the Groovy facet, made sure I had the download (groovy 1.5.6), and wrote a simple Groovy homepage: Home.groovy: class Home { def getWelcome

Re: Redirects

2008-05-30 Thread Bill Holloway
I'm not sure you can do that from a lifecycle method, although you can return Components. bill On Fri, May 30, 2008 at 6:13 AM, Christian Gorbach [EMAIL PROTECTED] wrote: or more elegant:: http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html just return an java.net.URL

T5: A problem with generics in data classes

2008-05-25 Thread Bill Holloway
Hi, I'm illustrating an interesting issue with generic classes in our data model. Here is the very simple page class and template used: public class TestPageGenericProb { @Property private ListFoo _foos = new LinkedListFoo(); void setupRender () { Foo f1 = new Foo();

Smeets on the Couch

2008-05-21 Thread Bill Holloway
A brief psychoanalysis -- It is quite likely that, like most trolls, Rob Smeets is suffering from what is known as the abused child syndrome. This behavior arises from an insidious form of parental neglect of the subject as a young child, where the only attention the child receives from the

T5: Abstract onSuccess methods for forms in base page classes force double form submission

2008-05-15 Thread Bill Holloway
This is just FYI I guess, but I have a page class that inherits from an abstract base class. In the abstract base class I have an abstract onSuccess method to force myself to implement the onSuccess handlers in the derived page classes. When submitting the form, I actually get TWO form

Re: T5: setupRender (named by convention) not called correctly in hierarchical base classes

2008-05-12 Thread Bill Holloway
That would be a way to do it, but it's just as easy to put @SetupRender on A's setup render method. I usually rename it now to preRender() or something. All good. On Sat, May 10, 2008 at 5:54 AM, Harald Geritzer [EMAIL PROTECTED] wrote: Bill Holloway schrieb: I have two abstract component

T5: setupRender (named by convention) not called correctly in hierarchical base classes

2008-05-10 Thread Bill Holloway
I have two abstract component base classes A and B in the base package. B inherits from A. I have methods literally named setupRender in both. I notice that B's setupRender is called but not A's. *However*, if I rename A's setupRender() to some other name and annotate it with @SetupRender,

Re: T5 ASO Service

2008-05-08 Thread Bill Holloway
Max, What I do in my app is pass the relevant bits of ASO data into my service methods as arguments. You could pass the entire ASO, but you might risk having it go null on you if the ASO gets set to null somewhere. Bill On Thu, May 8, 2008 at 2:38 PM, maxthesecond [EMAIL PROTECTED] wrote:

Re: T5 ASO Service

2008-05-08 Thread Bill Holloway
Of course, you'll have the went-to-null trouble even passing the bits of data into your service as method args :) On Thu, May 8, 2008 at 2:38 PM, maxthesecond [EMAIL PROTECTED] wrote: How I'm suposed to get services inside an ASO? I placed my DAO objects in services I didn't need any sesion

Re: T5: Passing (looped) component blocks to layout for (looped) rendering

2008-05-02 Thread Bill Holloway
that all but the last block will be replaced because of the hardcoded block id. Because you're looping you need to let tapestry generate the ids, but then of course there's the question of how to get at them. Now how to fix it... chris Bill Holloway wrote: Hi All, I have a component Foo

T5: Passing (looped) component blocks to layout for (looped) rendering

2008-05-01 Thread Bill Holloway
Hi All, I have a component Foo in a loop on my TestPage. Foo has a block on it which Foo's template renders and which Foo's page class also picks up and adds to a list of blocks on the TestPage's surrounding Layout component. Layout loops over these blocks and renders them just before the /body

Re: T5 pagelink problem

2008-05-01 Thread Bill Holloway
It sounds like currentPhoto.id is returning the string images and classes rather than a Long. Might want to check the return type and value of the getId() method of your Photo class. I'd be tempted to put a debug breakpoint in getId() somewhere and watch the value being returned. On Thu, May 1,

Re: Creating components - best practices

2008-04-26 Thread Bill Holloway
I think I'd try to factor that out a little. Injecting a page into a component is a little surprising. If you need injected behaviors in a component, that sounds like the right place for a service. For your feedback data, if you persist it between requests, then I'd look at an application state

T5: Form in a loop with PropertyEditor and custom type editor

2008-04-21 Thread Bill Holloway
This is kind of a reprise of an earlier e-mail, but it's more narrowed down and easy to reproduce. I have a form in a loop (in a cell parameter basically). The form is very simple. It has a propertyeditor component which edits a custom data type. I have defined a custom component which inherits

T5: Capture a component body as a block?

2008-04-20 Thread Bill Holloway
In a couple of places I have t:myComponent t:parameter name=whatever Some interesting content. /t:parameter /t:myComponent My need is to to capture whatever the body of MyComponent is into a block. Is there a better way to accomplish this? -- Those who can make you believe

T5: Rendering a block via the DOM

2008-04-18 Thread Bill Holloway
I have a component that picks up a Block via componentResources.getBlockParameter(String). No problem. But I need to render this Block at the very bottom of the overall page, right before the /body. Any thoughts? -- Bill @ PeoplePad

Re: T5: Rendering a block via the DOM

2008-04-18 Thread Bill Holloway
); } } } }; configuration.add(bodyMover, bodyMover); } On Fri, Apr 18, 2008 at 3:15 PM, Bill Holloway [EMAIL PROTECTED] wrote: I have a component that picks up a Block via componentResources.getBlockParameter

Re: T5: BeanForm, processSubmission, AppPropertyEditBlock help

2008-04-17 Thread Bill Holloway
On Wed, Apr 16, 2008 at 10:44 PM, Howard Lewis Ship [EMAIL PROTECTED] wrote: Do you still have a DateField inside your FlexDateField? Could you show the full template and the HTML output? I think we're not quite hooking up here. On Wed, Apr 16, 2008 at 7:16 PM, Bill Holloway [EMAIL

Re: T5: BeanForm, processSubmission, AppPropertyEditBlock help

2008-04-17 Thread Bill Holloway
/17/08, Bill Holloway [EMAIL PROTECTED] wrote: Ok, below are the flexdateeditor template and class. Below that is the use of FlexDateEditor in TestPage.tml. What is below works just fine -- however note the appending of a _0 to the element name in processSubmission. Tapestry appends

T5: BeanForm, processSubmission, AppPropertyEditBlock help

2008-04-16 Thread Bill Holloway
I've got a custom data type called FlexDate, and I've made a simple t:flexdateeditor component for it which (for now) just holds a date field. It will get more complex later. I put this editor into my AppPropertyEditBlocks.tml. Code is below. Then I have a data object with an instance var of

Re: T5: BeanForm, processSubmission, AppPropertyEditBlock help

2008-04-16 Thread Bill Holloway
PM, Bill Holloway [EMAIL PROTECTED] wrote: I've got a custom data type called FlexDate, and I've made a simple t:flexdateeditor component for it which (for now) just holds a date field. It will get more complex later. I put this editor into my AppPropertyEditBlocks.tml. Code is below

Re: T5: BeanForm, processSubmission, AppPropertyEditBlock help

2008-04-16 Thread Bill Holloway
submission, a component whose client element has a name like datefield (or datefield_0, etc.). Presumable the DateField is tied to a property of the FlexDateEditor, and that property is tied eventually up to your bean. On Wed, Apr 16, 2008 at 3:42 PM, Bill Holloway [EMAIL PROTECTED] wrote

Re: T5: BeanForm, processSubmission, AppPropertyEditBlock help

2008-04-16 Thread Bill Holloway
to the, well something we haven't seen. Perhaps what you need is a callback for *after* the embedded DateField has done its part, and shoved a value into some property of the FlexDateField? On Wed, Apr 16, 2008 at 6:14 PM, Bill Holloway [EMAIL PROTECTED] wrote: I guess one way to look

Re: T5: BeanForm, processSubmission, AppPropertyEditBlock help

2008-04-16 Thread Bill Holloway
of the FlexDateField? On Wed, Apr 16, 2008 at 6:14 PM, Bill Holloway [EMAIL PROTECTED] wrote: I guess one way to look at it is that in AppPropertyEditBlocks.java, I can't have t:flexDateEditor name=prop:context.controlName ... / ! Bill On Wed, Apr 16, 2008 at 6:21 PM, Howard Lewis

Re: T5: exception type prefix during onException

2008-04-12 Thread Bill Holloway
static stripExceptionPrefix(String message) { return message.substring(message.indexOf(:)).trim(); } Stick that somewhere and just use that? -Filip On 2008-04-12 05:29, Bill Holloway wrote: In using onException, I send the resulting string to a conditionally-shown p

T5: exception type prefix during onException

2008-04-11 Thread Bill Holloway
In using onException, I send the resulting string to a conditionally-shown p on the page. I notice that every time it's displayed (after an exception), it is prefixed with a string describing the type of my exception. So if my message is database is unreachable, the message displayed on the

PropertyEditBlock for a multi-field object

2008-04-10 Thread Bill Holloway
I've got a custom type called RangeDate that consists of an enum (should be a select, client-side) and two java.util.Date fields. I'd like to contribute a property editor block for RangeDate to the bean block source. So far, all I've seen are examples involving simple one-field edit blocks. Is

Re: PropertyEditBlock for a multi-field object

2008-04-10 Thread Bill Holloway
it :-) Peter Beshai On Thu, Apr 10, 2008 at 4:29 PM, Bill Holloway [EMAIL PROTECTED] wrote: I've got a custom type called RangeDate that consists of an enum (should be a select, client-side) and two java.util.Date fields. I'd like to contribute a property editor block for RangeDate to the bean

T5: BeanEditForm validation for properties on objects outside tapestry

2008-04-04 Thread Bill Holloway
Like Kevin Menard who submitted JIRA 1932 on this, I'm working on data objects coming from our app's business layer. We may need to support several front end or web service technologies with our domain objects, so we don't want them to know about Tapestry. I want (badly) to be able to use

T5: customize sort icon in grid?

2008-04-01 Thread Bill Holloway
Has anybody had any luck or can anybody advise me on how to override the icon image in the Grid component? -- Bill @ PeoplePad

Re: T5: customize sort icon in grid?

2008-04-01 Thread Bill Holloway
Beshai On Tue, Apr 1, 2008 at 3:58 PM, Bill Holloway [EMAIL PROTECTED] wrote: Has anybody had any luck or can anybody advise me on how to override the icon image in the Grid component? -- Bill @ PeoplePad -- Bill @ PeoplePad

Zone div lingering

2008-03-27 Thread Bill Holloway
I have a page which used to have a zone component in use. I have now removed the zone component in favor of another approach. However, when I hit that page, I get a Javascript error in tapestry.js (the following from Firebug): $(zoneDiv) has no properties -- Bill @ PeoplePad

Re: Zone div lingering

2008-03-27 Thread Bill Holloway
:09 PM, Howard Lewis Ship [EMAIL PROTECTED] wrote: I suspect you still have a TriggerFragment mixin on a link and it's trying to initialize that relationship. On Thu, Mar 27, 2008 at 12:07 PM, Bill Holloway [EMAIL PROTECTED] wrote: I have a page which used to have a zone component in use

Re: Zone div lingering

2008-03-27 Thread Bill Holloway
On Thu, Mar 27, 2008 at 2:09 PM, Howard Lewis Ship [EMAIL PROTECTED] wrote: I suspect you still have a TriggerFragment mixin on a link and it's trying to initialize that relationship. On Thu, Mar 27, 2008 at 12:07 PM, Bill Holloway [EMAIL PROTECTED] wrote: I have a page which used to have a zone

Re: Page activation context question

2008-03-23 Thread Bill Holloway
Your onActivate method can also take varargs, as in void onActivate (String... args) { _firstObj = restoreFirstObj(args[0]); if (args[1] != null) _secondObj = restoreSecondObj(args[1]); ... } String[] onPassivate () { ListString args = new ArrayListString(); args.add

T5: Categorized sorting in grid

2008-03-20 Thread Bill Holloway
We want to use a grid with categorized items like this: first row in grid: column 1: Category name column 2: empty column 3: empty second row in grid: column 1: empty column 2: Item 1, name column 3: Item 1, some property that extends Comparable third row in grid:

Re: T5: Page w/ activation context needs property set

2008-03-19 Thread Bill Holloway
and it worked fine for me. On Wed, Mar 19, 2008 at 12:51 AM, Bill Holloway [EMAIL PROTECTED] wrote: I have an actionlink method to redirect to a page that has an activation context but that also needs to have a settable property set on it before I send the browser there. I don't want to pump

Re: Class and template auto-reloading in IntelliJ

2008-03-18 Thread Bill Holloway
. On Mon, Mar 17, 2008 at 8:45 PM, Bill Holloway [EMAIL PROTECTED] wrote: I hate to keep this thread going, but here goes: IntelliJ 7.0.2, latest jetty plugin build (as of 17-March 2008), Tap 5.0.11. I've got a basic Jetty run config defined. when I run it, it immediately disconnects

T5: Passing a component to layout

2008-03-18 Thread Bill Holloway
Sidebars in our application will change from page to page. Normally, I'd just pass them from the page to the layout as a block defined in the page. However, some sidebars will have forms whose events I'd like to trap within the sidebar. Blocks can't do that of course. So I want my sidebar to

T5: Page w/ activation context needs property set

2008-03-18 Thread Bill Holloway
I have an actionlink method to redirect to a page that has an activation context but that also needs to have a settable property set on it before I send the browser there. I don't want to pump the property into application state. I would like to be able to use _componentResources.createPageLink

Re: Class and template auto-reloading in IntelliJ

2008-03-17 Thread Bill Holloway
), possible with Ant, and, well, no idea if IntelliJ can do this. Hope you figure it out somehow. -Filip On 2008-03-11 22:32, Bill Holloway wrote: Thanks for the info, but I'm still stuck. Even if I delete IntelliJ's Tomcat server run configuration in favor of just seting my

Class and template auto-reloading in IntelliJ

2008-03-11 Thread Bill Holloway
Anyone have auto reloading going in IntelliJ for component classes and templates? I loved this about Eclipse+JettyLauncher. No restart! In IntelliJ, I have tomcat going under the builtin server run configuration for an exploded directory (../out). I've tried Make, and that does seem to update

Re: Class and template auto-reloading in IntelliJ

2008-03-11 Thread Bill Holloway
IntelliJ to build a war-file on Make, so try that and see if it helps. -Filip On 2008-03-11 18:26, Bill Holloway wrote: Anyone have auto reloading going in IntelliJ for component classes and templates? I loved this about Eclipse+JettyLauncher. No restart! In IntelliJ, I have

Re: Comma-delimited looper

2008-03-09 Thread Bill Holloway
Right, I can do t:loop... t:if ... ,/t:ift:body / /t:loop bill On Fri, Mar 7, 2008 at 7:38 PM, Filip S. Adamsen [EMAIL PROTECTED] wrote: And? Whatever content you put after the t:if/ will still be rendered - and properly comma-delimited. :) -Filip Bill Holloway skrev: Well

Re: Comma-delimited looper

2008-03-07 Thread Bill Holloway
t:if test=var:index, /t:if t:pagelink page=Details context=currThing.id${currThing.name}/t:pagelink /t:loop On the first iteration of the loop index will be 0 which evaluates to false. Any other iteration will output the comma. -Filip Bill Holloway skrev: I need

Comma-delimited looper

2008-03-06 Thread Bill Holloway
I need to comma-delimit components in a loop that will be t:pagelinks. I.e., t:loop source=things value=currThing t:pagelink page=Details context=currThing.id${currThing.name}/t:pagelink, /t:loop The above, of course, produces a trailing comma. I know that some CSS tricks can turn a ul

T5: Need HTTP Forward

2008-03-04 Thread Bill Holloway
I need an http forward like this: http://example.org/mypage/a/b -- http://example.org/mypage/a The last two path elements are activation context items. I'm chopping off /b to shorten the URL to a form that is desirable for bookmarking. I could persist the /b as a persistent page property, but

Re: beaneditform - java.lang.RuntimeException: No service implements the interface org.apache.tapestry.internal.InternalComponentResources.

2008-03-04 Thread Bill Holloway
I believe that the internal APIs in T5 are off limits. Injecting ComponentResources, an interface, doesn't do what you want? Bill h On Tue, Mar 4, 2008 at 11:29 AM, jack Nuzbit [EMAIL PROTECTED] wrote: Hi All, I'm trying to use the beaneditform component but i'm getting the following

Re: T5: Quick fadeout of invalid value notice

2008-02-23 Thread Bill Holloway
16, 2008 5:45 PM, Bill Holloway [EMAIL PROTECTED] wrote: It'd be great to be able to configure that. contrib app defaults to the rescue! bill On Feb 15, 2008 6:24 PM, Howard Lewis Ship [EMAIL PROTECTED] wrote: Sorry, no. I can look into putting the delay into a property

Re: T5: Quick fadeout of invalid value notice

2008-02-16 Thread Bill Holloway
, Bill Holloway [EMAIL PROTECTED] wrote: When using client-side validation in a form field in T5, I notice that the red-on-black pop-up notice indicating an invalid field fades out awfully fast after I tab away from it. Is there a configuration point where I can lengthen the time

T5: Quick fadeout of invalid value notice

2008-02-15 Thread Bill Holloway
When using client-side validation in a form field in T5, I notice that the red-on-black pop-up notice indicating an invalid field fades out awfully fast after I tab away from it. Is there a configuration point where I can lengthen the time? Bill

Re: Ivy dependency problem for Selenium

2008-02-08 Thread Bill Holloway
are not in the public repositories, and ivy may very well not be looking at all the dependencies declared in the tapestry POM. -- Kevin On 2/7/08 8:18 PM, in article [EMAIL PROTECTED], Bill Holloway [EMAIL PROTECTED] wrote: So I have ivy.xml written as ivy-module version=2.0 info

Property expression language into a Map or Properties

2008-02-08 Thread Bill Holloway
Hi, We've got very complex domain classes whose types will vary page to page. We're thinking about putting all the page display data into Maps or Properties for display. However a property expression like value=personMap.get('name') doesn't work in the T5 templating language, neither does

Re: Property expression language into a Map or Properties

2008-02-08 Thread Bill Holloway
, Bill Holloway [EMAIL PROTECTED]: Hi, We've got very complex domain classes whose types will vary page to page. We're thinking about putting all the page display data into Maps or Properties for display. However a property expression like value=personMap.get('name') doesn't work

Ivy dependency problem for Selenium

2008-02-07 Thread Bill Holloway
So I have ivy.xml written as ivy-module version=2.0 info organisation=apache module=hello-ivy/ dependencies dependency org=org.apache.tapestry name=tapestry-core rev=5.0.9/ /dependencies /ivy-module and run the corresponding ant target with ivy:retrieve / in it. Everything is

T5: Autocomplete not working in form in block in zone

2008-01-17 Thread Bill Holloway
Before entering a JIRA, wanted to hit the list. Didn't see this in search. I put an autocomplete textfield in a form and put that in a block which I then inject into a zone component with an actionlink. The autocomplete so configured does not complete. Doesn't even issue the XHR call.

Re: T5: Autocomplete not working in form in block in zone

2008-01-17 Thread Bill Holloway
:13 PM, Bill Holloway [EMAIL PROTECTED] wrote: Before entering a JIRA, wanted to hit the list. Didn't see this in search. I put an autocomplete textfield in a form and put that in a block which I then inject into a zone component with an actionlink. The autocomplete so configured does

T5-Intellij: 5.0.7 in pom.xml

2007-12-28 Thread Bill Holloway
I changed the tapestry-release-version in my pom.xml to 5.0.7 in the pom.xml that was generated by the quickstart maven call when 5.0.6 was the latest. The Libraries tree branch in my Idea project view is still showing 5.0.6 tapestry libs, even after an IDE restart. Thoughts? Bill -- As I

UNSUBSCRIBE

2007-12-14 Thread Bill Holloway
UNSUBSCRIBE - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Help with forgetPage method

2007-10-31 Thread Bill Holloway
lalap, Using the back/forward button on the browser invokes the browser's internal caching mechanism and is largely beyond the scope of the server (tapestry) to control. It is when the browser is *redirected* back to that page or when the contents of that page are streamed back to the browser

Re: T5: property value in external javascript file

2007-10-28 Thread Bill Holloway
One possible issue is that you've used parentheses in the expression. Curly braces are the syntax. Try ${theLink}. Bill H. On 10/27/07, Angelo Chen [EMAIL PROTECTED] wrote: Hi, How to get properties value in an external javascript file? example: I have this: var link = $(theLink); it

New maven create archetype issues

2007-10-28 Thread Bill Holloway
There are some warnings thrown at the end of the new maven create archetype run, given by Howard in the tapestryjava blog entry titled Big improvement to quickstart archetype. I'm on an Intel Core Duo iMac with Maven version 2.0.7: [WARNING]

Re: New maven create archetype issues

2007-10-28 Thread Bill Holloway
():boolean method that SL4J expects. On 10/28/07, Bill Holloway [EMAIL PROTECTED] wrote: There are some warnings thrown at the end of the new maven create archetype run, given by Howard in the tapestryjava blog entry titled Big improvement to quickstart archetype. I'm on an Intel Core Duo iMac

T4: Servlet mapping problem

2007-10-05 Thread Bill Holloway
I haven't seen a lot of coverage on this recently. We have configured friendly urls for services with the usual .svc extension. In our web.xml, we map /home to the tapestry servlet rather than /app. The service links look fine (e.g., http://host/restart.svc) but winds up redirected to

Dr. Seuss for the day, too far out of date

2007-09-25 Thread Bill Holloway
Will you work with JSP? They mess up my MVC. I will not work with JSP. We'll put them in an IDE. I don't want them in an IDE. They screw up the MVC. I will not work with JSP. We'll put them down inside some struts. You'll never see them, In the guts. You cannot hide them in the guts! They're

Re: Who Use Tapestry

2007-09-11 Thread Bill Holloway
Carlos, Here in Austin at Avenue A - Razorfish (aa-rf.com), now owned by Microsoft, we're having good success with Tapestry in an enterprise business-to-business site for a major telecom client. I'll post to Tapestry success stories when we're in production and I can mention names :) Bill in

Re: T4: Does forgetPage force finishLoad call?

2007-08-21 Thread Bill Holloway
After some research, the answer is no. On 8/19/07, Bill Holloway [EMAIL PROTECTED] wrote: I use finishLoad() to set up some persistent properties on a page from some ASOs. I need to be able to dump all the persistent properties on that page (forgetPage), update the ASOs, and then be confident

T4: Does forgetPage force finishLoad call?

2007-08-19 Thread Bill Holloway
I use finishLoad() to set up some persistent properties on a page from some ASOs. I need to be able to dump all the persistent properties on that page (forgetPage), update the ASOs, and then be confident that finishLoad() will be called on the next visit to the page to re-setup my persistent

T4: Instance method dangers

2007-08-16 Thread Bill Holloway
I want to cache a rountrip to a database in an instance method of a page class like this: public FlowDataPageContent getFlowDataPageContent() { if (_pageContent == null) { _pageContent = getContentService().getFlowDataPageContent(/* some data in an ASO

Re: T4: Instance method dangers

2007-08-16 Thread Bill Holloway
the caching out to something more generic like your database or object caching strategies such as is used in things like hibernate. Some properties - such as those passed in as parameters to components - are sometimes cached by tapestry during render already as well. On 8/16/07, Bill Holloway

T4: Client urls for listeners?

2007-08-09 Thread Bill Holloway
In a component class, I need to be able to generate a client URL to put into a JSON object that links to a server-side listener method. Didn't see this in the wiki or first search in mailing list. Ideas? Bill

T5: Javascript abstraction musing

2007-07-29 Thread Bill Holloway
It seems tapestry.js works this way, so I'm sure someone has thought of this... I wonder if a prototype interface in javascript could be a path to plugging in whatever javascript library you want, at least at some level of functionality. Such as: var Tapestry = { xhrSend: function (/*

Re: T4 XHR under JDK 1.4.2

2007-07-28 Thread Bill Holloway
): http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/xtile.html It may be a little more work than EventListener but it's definitely doable! Ben On 7/27/07, Bill Holloway [EMAIL PROTECTED] wrote: I've been forced into a project wanting to use xmlHttpRequest calls

Putting a component body with property expansions in the head

2007-07-26 Thread Bill Holloway
Hi, I need to put some javascript in the head that has dynamic content (JSON strings). That javascript also needs to be put in the head only from certain pages, not all of them. I can do this for *static* javascript assets via (for example) void beginRender (MarkupWriter writer) {

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, Nick Westgate [EMAIL PROTECTED] wrote: Probably

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

2007-07-25 Thread Bill Holloway
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] wrote: Probably the best way would be a new method

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

2007-07-24 Thread Bill Holloway
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 technique? bill

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? Page

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 form t:type=beaneditform object=foo / I see the validation error red Xs 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

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 divs and imgs not visible. On 7/12/07, Bill Holloway [EMAIL

  1   2   >