Tapestry 4 contrib table header issue

2010-05-11 Thread UABajwah
Hello, I am using tapestry 4 contrib table. I want to align its column header text to right. i define a css class but tapestry overrides it. i tried columnsClass attribute but it alings all the headers. Anyone knows the solution please help. Thanks, UABajwah -- View this message in context

tapestry 4 contrib table call getModel() multiple times

2009-11-09 Thread asianCoolz
public IBasicTableModel getModel() { return new IBasicTableModel() { public int getRowCount() { System.out.println(called many times); return getServiceLayer().countTotalCategoryRow(getKeyword()); } } when i tried this

tapestry4 contrib table making same multiple hibernate query

2009-11-08 Thread asianCoolz
May i know does anyone experience this in tapestry 4. I have a page that query for table row and count. but from hibernate log, it show repeating same query for multiple times. is this normal? Hibernate: select count(*) as y0_ from TESTTABLEONLY this_ where this_.CATEGO RYNAME like ? Hibernate:

[T4] Contrib Table Number Format

2008-10-10 Thread Mohammad Irfan
Hi, I'm using contrib table and I want to use number formating on some of the columns of the table's content. The tag is like this: table jwcid=[EMAIL PROTECTED]:Table class=table contribTable ssList id=ssList rowsClass=ognl:beans.rowsClass.next row=ognl:row source=ognl:topBroker columns

contrib table field alignment

2008-09-11 Thread michael lim
current i using code below to display table and all fields are displayed right alignment. tr jwcid=[EMAIL PROTECTED]:TableRows class=ognl:beans.evenOdd.next td align=right jwcid=@Contrib:TableValues / tdspan jwcid=checkbox//td

Re: contrib table field alignment

2008-09-11 Thread michael lim
for custom field in .page =DateValidFromColumn, how to display it in .html ,because i want to align to right td align=left span jwcid=@Insert value=ognl:components.rows.tableRow.itemNo / /td // this working fine

contrib table with

2008-02-17 Thread venturer
i have a custom column like below. but i cannot shoe the image tick.gif. on the browser, source show --img src private class ActiveOrNotColumnEvaluator implements ITableColumnEvaluator { public Object getColumnValue(ITableColumn objColumn, Object objRow) { User

How to get the ID of the Contrib Table in the Java Code?(Pls its Urgent).

2008-01-08 Thread swapnilpatil
I have one Tapestry Page which contains one Tapestry's Contrib Table(Data is generating dynamically in the table from DB). Now i want to get the ID of the table in the java code. I have referred the HTML Code(View -- Source of my IE Browser) here i am getting the id as TableElement . So my

Re: Tapestry Contrib Table to MS-Excel

2008-01-07 Thread Christian Köberl POI
swapnilpatil wrote: I have one tapestry page in which i am using Tapestry's Contrib Table which contains some data. Now i want to export this table/data to MS-Excel file using a button. The easy way to accomplish this is to simply send the HTML table and set the content type

Tapestry Contrib Table to MS-Excel

2008-01-06 Thread swapnilpatil
I have one tapestry page in which i am using Tapestry's Contrib Table which contains some data. Now i want to export this table/data to MS-Excel file using a button. How to do this pls help me by sending a code for the same. -- View this message in context: http://www.nabble.com/Tapestry

Re: T4 contrib table sorting

2007-05-01 Thread Andreas Andreou
using tapestry 4.0.1 included in Appfuse 1.9.4 why does the sorting on contrib table not working (ascending to descending or descending to ascending) when I click on title column too quick? When I click in title column for the first time, the table data sorted ascending.. When I click second time

T4 contrib table sorting

2007-04-30 Thread Yohan Yudanara
Hi.. I'm using tapestry 4.0.1 included in Appfuse 1.9.4 why does the sorting on contrib table not working (ascending to descending or descending to ascending) when I click on title column too quick? When I click in title column for the first time, the table data sorted ascending.. When I

Aligning columns in external table to a contrib table

2007-01-19 Thread Daniel Jue
Hi all, I have an issue with some table columns that I was hoping to solve without a lot of complex java. =) I have a contrib table with sortable columns. I also have a table that has one row of aggregate data (totals, averages, etc), that needs to line up with the corresponding columns

contrib table client persistence problem

2007-01-09 Thread Daniel Jue
Hi, I am trying to use client persistance for a couple different things on a page. The applications has user logins, like a store pattern (with user sessions). There is a form with some settings on the main screen, and a new window opens on form submit. The new window is a report that is

Re: Complex Bindings with Contrib Table

2006-10-19 Thread Dom Couldwell
of pieces of data keyed by Strings. For the Contrib table definition the definition was: component id=resultsTable type=Contrib:TableView binding name=source value=ognl:results/ binding name=columns value=ognl:tableColumns/ binding name=pageSize value=ognl:pageSize/ /component Where

Complex Bindings with Contrib Table

2006-10-18 Thread Daniel Jue
I have a POJO that has a Map object in it. Inside the map are a bunch of properties I'd like to display, which are strings and ints. What I am trying to get around is having to construct getters and setters for all the properties, but I still want to use the Contrib Table. (the quantity

Re: Contrib Table Summarize

2006-09-12 Thread andyhot
Caldas On 9/1/06, andyhot [EMAIL PROTECTED] wrote: cotrib:Table can't do anything by itself but I'd use the decorator pattern... public Collection getData() { return new SumDecorator( getRealData() ); } Mael Caldas wrote: Hi, I'm using the contrib Table component

Re: Contrib Table Summarize

2006-09-11 Thread Mael Caldas
Collection getData() { return new SumDecorator( getRealData() ); } Mael Caldas wrote: Hi, I'm using the contrib Table component, iterating over a Collection of Row Objects, and setting the collumns values with a String parameter. I want to get the last row of the table with a sum of all data on each

Contrib Table Summarize

2006-09-01 Thread Mael Caldas
Hi, I'm using the contrib Table component, iterating over a Collection of Row Objects, and setting the collumns values with a String parameter. I want to get the last row of the table with a sum of all data on each column. Does anybody know how to do this in a simple way? Thank's! Mael Caldas

Re: Contrib Table Weirdness...

2006-07-12 Thread Rui Pacheco
It seems to be a problem with your model. What are you giving to your table? On 7/12/06, James Carman [EMAIL PROTECTED] wrote: I am using a contrib table on one of my screens with no issues. On another screen, where I'm doing exactly the same thing, when I try to access a property of one

RE: Contrib Table Weirdness...

2006-07-12 Thread James Carman
Nevermind. I figured it out. Stupid mistake that I don't care to share (unless you really prod). -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 9:08 AM To: 'Tapestry users' Subject: RE: Contrib Table Weirdness... I am giving it a list

Re: Contrib Table Weirdness...

2006-07-12 Thread Rui Pacheco
:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 9:08 AM To: 'Tapestry users' Subject: RE: Contrib Table Weirdness... I am giving it a list of Supplier objects (the Supplier class does have a name property). -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Wednesday

RE: Contrib Table Weirdness...

2006-07-12 Thread James Carman
the detached criteria. -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 9:25 AM To: Tapestry users Subject: Re: Contrib Table Weirdness... :) I was actually thinking of something really simple. Its just that kind of mistake... On 7/12/06

Re: contrib table

2006-06-28 Thread Shing Hing Man
of a contrib table to say previous or next respectively. i have been trying to find a way to do this, but no luck. any thoughts. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

contrib table

2006-06-27 Thread Peter Dawn
guys, is there a way to change the and in the navigation bar of a contrib table to say previous or next respectively. i have been trying to find a way to do this, but no luck. any thoughts. - To unsubscribe, e-mail: [EMAIL