You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jonny Wray <jo...@yahoo.com> on 2004/04/14 03:35:08 UTC
Table problem
HI,
I have an extended version of Table that I use that I've just
discovered a problem with and I'm stumped on where it's going wrong.
The component is configurable via an xml file to allow the definition
of table columns and which columns contain links. The resultant
ITableColumnModel is lazy initialized and stored in the Global object.
My table gets the column model via:
public ITableColumnModel getTableColumnModel(){
Global global = (Global)getPage().getGlobal();
return global.getTableColumnModel(getTableSpecificationFilename());
}
where getTableSpecificationFilename() is the abstract method for a
component parameter.
My problem occurs when I press sort on a particular column and while
the sort is happening I press another sort link. I then get a null
pointer exception on tableColumnModel as well as a
WARN [org.apache.tapestry.engine.AbstractEngine] - Exception during
post-request cleanup.
ClientAbortException: java.net.SocketException: Connection reset by
peer: socket write error
in my console.
Any ideas what might be wrong here or how to go about fixing it?
Jonny
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: [Suggestion]Programmable CSS file.
Posted by Programozás <pr...@hotmail.com>.
You could use the style HTML attribute in this case.
The HTML source would be larger but you have absolute freedom for defining
the styles of your component instances.
And the style can be specified in the HTML template, so you can still
cooperate with designers.
Norbi
----- Original Message -----
From: "Alex Kwan" <er...@hotmail.com>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Wednesday, April 14, 2004 8:10 AM
Subject: [Suggestion]Programmable CSS file.
> Hi, All dear Tapestry developers
> When doing some page authoring in some project, we found the static
CSS
> file is too limit for the dynamic tapestry application. For example, if I
> had a page which has two table using the same table component, I want to
two
> table has different style. but the style of table can only be specified
by
> the CSS class name. so the stylesheet of the second table will overwrite
the
> first one.
> If we can support dynamic css file just like the script specification,
> we can solve this problem gracefully.
> Have you ever meet this situtation?
>
> Alex
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
[Suggestion]Programmable CSS file.
Posted by Alex Kwan <er...@hotmail.com>.
Hi, All dear Tapestry developers
When doing some page authoring in some project, we found the static CSS
file is too limit for the dynamic tapestry application. For example, if I
had a page which has two table using the same table component, I want to two
table has different style. but the style of table can only be specified by
the CSS class name. so the stylesheet of the second table will overwrite the
first one.
If we can support dynamic css file just like the script specification,
we can solve this problem gracefully.
Have you ever meet this situtation?
Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org