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
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
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?
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
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
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
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
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
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
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
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
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.
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.
>
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
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:
> 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
---
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.
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
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
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
20 matches
Mail list logo