No valid namespaces found. Maybe the project is not a Tapestry project?

2005-10-05 Thread Phil Ulrich
I've been working for a while now on a Tapestry project using Spindle and Eclipse (latest versions of each). About a week or two ago I altered web.xml to attempt to add support for DWR[1]. Eclipse began reporting several spurious errors. After discovering DWR wasn't useful for what I was doing, I t

Re: No valid namespaces found. Maybe the project is not a Tapestry project?

2005-10-05 Thread Phil Ulrich
in an invalid order. > Can you show us that file? > > Phil Ulrich wrote: > > >I've been working for a while now on a Tapestry project using Spindle > >and Eclipse (latest versions of each). About a week or two ago I > >altered web.xml to attempt to add support for

Passing parameters to a component

2005-10-12 Thread Phil Ulrich
And if I DO add them, I get this error: ApplicationRuntimeException - Unable to define class package.name.Class$Enhance_19: package/name/Class$Enhance_19 (Repetitive field name/signature) I'm at a loss for what to do. Anyone?

Parameters not set before pageBeginRender?

2005-10-18 Thread Phil Ulrich
Disclaimer: I'm using Tap 3.0.3. It's possible this is fixed in Tap4 but I don't have the authority to make that upgrade in my work environment, so 3 it is. Anyway, on to the question. I have a component into which I am passing two parameters, source and columns. (Yes, it wraps a Table.) The param

Forcing a component to re-render itself

2005-10-24 Thread Phil Ulrich
Is there any way to force a single component to re-render itself? Right now I have a DirectLink that, when clicked, changes the source binding of a Table component. (Well, actually, it changes the contents of the object that the source is bound to.) However, I've tried a number of different methods

Re: Is it possible to save an html template outside the application ?

2005-10-27 Thread Phil Ulrich
he ideas behind separating presentation from the logic behind it is so that a designer could work on the HTML code, which may not be your specialty (I know it's not mine). --Phil Ulrich On 10/27/05, Didier Frund <[EMAIL PROTECTED]> wrote: > Hi Dario, > > That would be greet to use th

Weird multiple-submit problem

2005-10-31 Thread Phil Ulrich
Before I get started: Tapestry 3.0.3. Upgrading to 4 is not an option. With that out of the way... Alright, we have a rather... unique setup for an app we're building here. Basically, each page is wrapped in a single Form component, which points to a listener called submitListener. On the page, th

Re: Weird multiple-submit problem

2005-10-31 Thread Phil Ulrich
And I didn't finish this message. What I was going to add before I hit enter was that this method... only works in Opera. In Firefox or IE, the listener is ALWAYS null. In Opera, this works as expected. Any ideas? On 10/31/05, Phil Ulrich <[EMAIL PROTECTED]> wrote: > Before

Weird multiple-Submit problem

2005-11-03 Thread Phil Ulrich
Before I get started: Tapestry 3.0.3. Upgrading to 4 is not an option. With that out of the way... Alright, we have a rather... unique setup for an app we're building here. Basically, each page is wrapped in a single Form component, which points to a listener called submitListener. On the page, th

Re: Weird multiple-Submit problem

2005-11-03 Thread Phil Ulrich
Yes, I'm doing posts. On further investigation, the forms work fine in any browser if I physically click the Submit button. Pressing enter while in a form field still only works in Opera. On 11/3/05, Andreas Andreou <[EMAIL PROTECTED]> wrote: > you're doing posts, right? &g

Re: setting vars on page load

2005-11-10 Thread Phil Ulrich
We use the method Rob Zeigler mentioned almost exclusively here at work. Works like a charm. (IIRC this is also in Ship's Tapestry book, but I may be off about that.) Phil On 11/10/05, Ron Piterman <[EMAIL PROTECTED]> wrote: > What about page attache listener? > > > ציטוט Patrick Kelly: > > I hav

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.

Re: Tapestry not creating component accessors on enhancing?

2005-12-07 Thread Phil Ulrich
t;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. >

Re: Tapestry not creating component accessors on enhancing?

2005-12-07 Thread Phil Ulrich
ts PageRenderListener, and vice versa. Check > that the method signature is correct. > > > Phil Ulrich wrote: > > I tried both of these (first in, then auto). Now I'm getting this instead: > > > > java.lang.AbstractMethodError > > company.package.Com

Re: contrib:table What am I doing wrong?

2005-08-25 Thread Phil Ulrich
Frank, Check the definition of what the columns binding should be. "The table columns to be displayed. The parameter must be an array, a list, or an Iterator of ITableColumn objects, an ITableColumnModel, or a String describing the columns (see documentation)." In your case, I would try this:

Re: contrib:table What am I doing wrong?

2005-08-25 Thread Phil Ulrich
> This is working now. > Next I need to find out how to display x records per page with paging. There is an attribute you can set on the table component, called 'pageSize,' that controls the number of elements shown per page. Pagination should happen automatically. --Phil ---

Re: contrib:table What am I doing wrong?

2005-08-25 Thread Phil Ulrich
Well, if you've set up the column to display DirectLink components, then you can set the id as a parameter on the DirectLink. I highly recommend deploying the TapestryTables example of this website: https://tapestrywebcomponentexamples.dev.java.net/. Take a look at how the table examples are done.

Re: contrib:table What am I doing wrong?

2005-08-25 Thread Phil Ulrich
To give you an example from my own work, taken almost directly from the tutorial I linked in my last email: -- HTML file -- (In your case, you'd use TitleColu

Re: Organizing components

2005-09-01 Thread Phil Ulrich
I ran into this on a recent project with a large number of components. What I did was: 1. Move the component into a subdirectory. 2. Update (yourapp).application so that it knows where to find the module. In my case this was as simple as: 3. I could then refer to the component using . I am usi

Multiple tables in a page (Tap 3.0.3)

2005-09-02 Thread Phil Ulrich
I have a number of different objects that serve as models in my app. Each of them has a variety of different elements but there are two elements each has in common: name (getName()/setName()) and ID (getID()/setID()). On a single page of my app, there need to be multiple Table elements (from the c