PROTECTED]
Reply-To: displaytag-user@lists.sourceforge.net
To: displaytag-user@lists.sourceforge.net
Subject: Re: [displaytag-user] Column Decorator for Date
Date: Thu, 10 Nov 2005 08:09:55 -0800 (PST)
fea jabi said:
I am having a column which is displaying Dates in the below format.
Mon Oct 10
JSTL is the Java Standard Tag Library - and it's specifically designed
for JSP. If you're not using JSTL - you should really look into it.
It's a really nice library.
Matt
On 11/10/05, fea jabi [EMAIL PROTECTED] wrote:
Thank you for your response.
I am using JSP. I am not not sure of this JSTL
/2003/10/07/jstl1.html
Matt
On 11/10/05, fea jabi [EMAIL PROTECTED] wrote:
Any good book I can refer to?
I am new to webdevelopement.
Thanks.
From: Matt Raible [EMAIL PROTECTED]
Reply-To: displaytag-user@lists.sourceforge.net
To: displaytag-user@lists.sourceforge.net
Subject: Re
Using sorting for the table columns in the display table. Also, using
paging.
But sorting is done only for the page not the entire list that's in table.
How can sorting be done for the entire list in table?
Thanks.
_
Is your PC
Using sorting of columns. When Clicked on the header of columns for soriting
width of couple of columns seams to be changing .
How to keep the column width fixed?
Thanks.
_
Dont just search. Find. Check out the new MSN Search!
can anyone help me with this? Is it possible to do this using displaytag?
Thanks.
From: fea jabi [EMAIL PROTECTED]
Reply-To: displaytag-user@lists.sourceforge.net
To: displaytag-user@lists.sourceforge.net
Subject: [displaytag-user] table
Date: Tue, 29 Nov 2005 13:55:16 -0500
Have 2 columns
not using resource bundles, then rowTitle
would just contain the display value and you could use the c:out tag or
%=rowTitle%.
fea jabi [EMAIL PROTECTED] wrote: I am new to web development. Not aware
of JSTL. I am using JSP.
can u tell me what these
class=rowTitle is?
all the row items
Have a table as below -- will be using displaytag for this. How to display
the data column. I may have to modify Action and form. But not sure how.
Hrs
Loans 3
deposit5
For this I created a DynaValidatorForm with
loans, deposits as it's form properties.
key=${rowTitle}/
/display:column
...data columns...
/display:table
title.empty.html resolves to nbsp;
-Jorge
fea jabi [EMAIL PROTECTED] wrote: can anyone help me with this? Is it
possible to do this using displaytag?
Thanks.
From: fea jabi
Reply-To: displaytag
for a display column gave the titleKey.
But it does not find the value for that.
Do I have to set any property for doing this?
Thanks.
_
On the road to retirement? Check out MSN Life Events for advice on how to
get there!
it?
as we do for JSTL fmt? as fmt:bundle.
From: Rick Herrick [EMAIL PROTECTED]
Reply-To: displaytag-user@lists.sourceforge.net
To: displaytag-user@lists.sourceforge.net
Subject: Re: [displaytag-user] resource bundle
Date: Mon, 5 Dec 2005 13:11:59 -0800 (PST)
fea jabi said:
for a display column
display:column titleKey=lbl.hrs
Not getting any value for this. I do have and entry for this in the Resource
bundle.
Using Struts, JSTL in my application.
For Resourse Bundle using Struts Message Resources file.
Thanks.
_
/i18n.html
On 12/6/05, fea jabi [EMAIL PROTECTED] wrote:
thanks foryour response.
yes, I am using struts and used Message Resources file in it. But, with
display:column it's not working when I set the titlekey to a key in the
Resourse Bundle.
Do I have to set any property for display tag
Thank you all. got it by giving
locale.provider=org.displaytag.localization.I18nStrutsAdapter
Thanks.
From: fea jabi [EMAIL PROTECTED]
Reply-To: displaytag-user@lists.sourceforge.net
To: displaytag-user@lists.sourceforge.net
Subject: Re: [displaytag-user] resource bundle
Date: Wed, 07 Dec
Thanks. got it how to do.
From: fea jabi [EMAIL PROTECTED]
Reply-To: displaytag-user@lists.sourceforge.net
To: displaytag-user@lists.sourceforge.net
Subject: [displaytag-user] titleKey
Date: Wed, 07 Dec 2005 11:04:57 -0500
display:column titleKey=lbl.hrs
Not getting any value for this. I do
Can we use Struts tags within displaytag?
In a column want to place a input field.
would like to know if I can use the struts html:text for doing this? so that
I can use the property attribute in it and also when the form is submitted
form will have the values entered by the user.
Is there
trying to create
Hrs
Loans 2
Deposits 3
Total5
Using struts, displaytag, JSTL to do the same.
Using the below code. The second column is getting the textfields with
values in them but displays ??? before and after the textfield (question
marks)
can we use the displaytag like the nested tag in struts?
Thanks.
_
Dont just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
i.e when there is a formbean within a formbean. How can we use the
displaytag?
Thanks.
From: fea jabi [EMAIL PROTECTED]
Reply-To: displaytag-user@lists.sourceforge.net
To: displaytag-user@lists.sourceforge.net
Subject: [displaytag-user] displaytag and nestedtag
Date: Tue, 20 Dec 2005 12:42
display:table name=parts requestURI=PrepareCustAction.do
class=single-line-table defaultsort=4 defaultorder=descending
pagesize=6
Just by giving pagesize attribute I was able to get the page no's.
By clicking on the page no. links I was able to go to that page.
I am also using struts. I like
Have an object Accounts. Which is having attributes accountNum,
accountTypeetc.
In PrepareSummaryAction
ArrayList accounts = new ArrayList();
Account account1 = new Account();
acocunt1.setAccountNum(123);
account1.setAccountType(checking);
..
accounts.add(account1);
Have an object Account which has couple of attributes in it.
using displaytag to show all the accounts.
display:table name=accountscoll requestURI=PrepareSummaryAction.do
display:column property=accountNumber /
display:column property=accountType
display:column
For all the tables in the JSP, I am using displaytag.
For each row in the table I created an Object.
I am creating instances of this Object and making a List which is getting
displayed in the JSP.
I was told that instead of creating Object and creating instances, one can
directly use the
display:table name=intList id=row requestURI=intFacility.do
display:column titleKey=accounttype
html:select name=intForm property=accounttypeselected
html:options collection=accountTypeList property=value
labelProperty=label/
/html:select
/display:column
using displaytag 1.0
how to add a row to a display table?
thanks.
_
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Have my titleKey as
display:column titleKey=custtype
it displays fine.
But now would like to modify this to have
CustomerType(*)
which will be
titleKey=custtype+openparentheses+asterisk+closeparentheses
from my resource bundle
When gave this it just displays the text as above itself. Not
can we use displaytag with JSF and still be able to sort? I have implemented
using struts but was curious about using it with JSF.
Is displaytag 1.1 still under developement?
Thanks.
_
Dont just search. Find. Check out the new
I have two tables, table1 and table2
table1 size should be 100%, there are other properties too
table2 size should be 30%
I have set all the properties I need using css file. Everything works great
for the tables.
I know we can do this using displaytag.properties file. but not sure how to
can someone help me with this please?
From: fea jabi [EMAIL PROTECTED]
Reply-To: displaytag-user@lists.sourceforge.net
To: displaytag-user@lists.sourceforge.net
Subject: [displaytag-user] displaytag css
Date: Mon, 06 Mar 2006 10:33:10 -0500
I have two tables, table1 and table2
table1 size
I created an obj whose attributes represent the row obj of a display table.
RowObj
type
navigate
total
display:table name=${data} id=rows requestURI=PrepareEntry.do
!-- Type --
display:column property=type titleKey=lbl.type
href=${rows.navigate}.do/
!-- Total --
Is it possible to have the first item in the list of items that are
displayed in the displaytag be the header.
i.e
Have an obj with attributes
Employee --- Obj
name
gender
the displaytag is the list of employee obj's with name and gender columns.
if
Tom , Male
Clara , Female
Smith, Male
with this kind of
headers. If you want details on that, i will be more
than happy to share my work.
regards
Praveen
--- fea jabi [EMAIL PROTECTED] wrote:
may not be displaytag stuff.
have a column header under which again I'll have 3
columns.
Have to make one the column header as below. how to
do
which we can have this
kind of headers in our exported reports, and i am
currently working on excel export with this kind of
headers. If you want details on that, i will be more
than happy to share my work.
regards
Praveen
--- fea jabi [EMAIL PROTECTED] wrote:
may not be displaytag stuff.
have
have this
kind of headers in our exported reports, and i am
currently working on excel export with this kind of
headers. If you want details on that, i will be more
than happy to share my work.
regards
Praveen
--- fea jabi [EMAIL PROTECTED] wrote:
may not be displaytag stuff.
have a column
Have an Object Customer
Name
Address
isEligibleCustomer -- boolean
In the Prepare action
Created list of these Customer objects.
and this customer list is set to request.
want to check the checkbox according to the value of the Object
isEligibleCustomer of Customer object.
not sure how to
need help with this please. Thanks.
From: fea jabi [EMAIL PROTECTED]
Reply-To: displaytag-user@lists.sourceforge.net
To: displaytag-user@lists.sourceforge.net
Subject: [displaytag-user] html:checkbox in displaytag
Date: Fri, 05 May 2006 10:39:34 -0400
Have an Object Customer
Name
Address
display:table name=Accounts id=loanAccts requestURI=PrepareAction.do
pagesize=6
Just make sure you set the requestURI and pagesize in display:table tag.
Take a look at FAQ at displaytag website.
From: Miquel Angel Bada Zuazo [EMAIL PROTECTED]
Reply-To:
In a jsp page have 3 displaytag tables which all have to be exported.
Is it possible to export the whole page which has 3 displayatags?
Thanks.
_
On the road to retirement? Check out MSN Life Events for advice on how to
get
I am using displaytag 1.0
In future if the JDK changes. does it effect the application that we are
developing right now? Probably this holds good for all the opensource s/w
that's been used. just want to clarify the same.
Thanks.
we were using JSTL 1.1
display:table name=${Form.map.runs} id=runs
requestURI=PrepareAction.do class=single-table defaultsort=7
defaultorder=descending pagesize=6
display:column
.
/display:column
..
.
/display:table
until now
Have an object Custs
which is having attribute modDate of type Date.
In prepare action.
DateFormat dateFormat = new SimpleDateFormat(MM/dd/yy);
Custs cust1 = new Custs();
cust1.setModDate=dateFormat.parse(7/1/05);
Custs cust2 = new Custs();
cust2.setModDate(dateFormat.parse(10/10/05));
Custs
using servlet 2.3 and JTL 1.0.
From: fea jabi [EMAIL PROTECTED]
Reply-To: displaytag-user@lists.sourceforge.net
To: displaytag-user@lists.sourceforge.net
Subject: [displaytag-user] sorting issue
Date: Wed, 28 Jun 2006 11:13:19 -0400
Have an object Custs
which is having attribute modDate
. Thus 10 comes before 07, 06, 01, etc. If
you change your format to -MM-dd then it will sort as expected.
Richard
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of fea
jabi
Sent: Wednesday, June 28, 2006 10:56 AM
To: displaytag-user
Using displaytag 1.0 version.
Have a Total row at the end of table.
need to get the total of column values and display it in the last row.
Ofcourse this can be done on by adding values. But would like to know if
there is a way display tag does this for me.
Thanks.
This might not be exactly displaytag question. But hoping to get help.
have a display tag table
in one of the columns have html:text. not all rows have the html:text in
this column.(html:text struts tag)
need to validate the user entered values in the html:text using
validator.xml (of
Thanks, Rick for your response. I'll give it a try. Thanks again.
From: Rick Herrick [EMAIL PROTECTED]
Reply-To: displaytag-user@lists.sourceforge.net
To: displaytag-user@lists.sourceforge.net
Subject: Re: [displaytag-user] Design question
Date: Thu, 6 Jul 2006 08:06:18 -0700 (PDT)
fea jabi
can struts nested tag be used with the displaytag??
if so how?? is there an example of how this can be done?
Thanks.
_
Express yourself instantly with MSN Messenger! Download today - it's FREE!
more specifically nested:nest tag. can this be used??
From: fea jabi [EMAIL PROTECTED]
Reply-To: displaytag-user@lists.sourceforge.net
To: displaytag-user@lists.sourceforge.net
Subject: [displaytag-user] struts nested tag with displaytag?
Date: Wed, 12 Jul 2006 10:59:12 -0400
can struts nested
-user@lists.sourceforge.net
Subject: Re: [displaytag-user] Design question
Date: Thu, 6 Jul 2006 08:06:18 -0700 (PDT)
fea jabi wrote:
This might not be exactly displaytag question. But hoping to get help.
have a display tag table
in one of the columns have html:text. not all rows have
How to make the page banner have only
Prev and next but have them as Previous and Next links only with out
brackets.
no first and last either in them.
How to do this? I looked at configuration but not sure how to do this?
I would appreciate if someone can help me with this.
Thanks.
have an ArrayList as an attribute in struts formbean.
form-property name=custList type=java.util.ArrayList/
Using display tag to show this custList in the jsp.
Few columns are editable in the display:table
When the jsp is submitted, the edited values in the display table are not
updated to
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of fea
jabi
Sent: Wednesday, October 25, 2006 6:51 PM
To: displaytag-user@lists.sourceforge.net
Subject: [displaytag-user] sort not working for Date
have an obj Customer
Customer has attributes
name - String
createDate - Date
In my struts prepare action
,date,dd-MM-}
sortable=true/
display:column property=money format={0,number,0,000.00} $
sortable=true/
/display:table
Ricardo.
On 10/26/06, fea jabi [EMAIL PROTECTED] wrote:
thanks for your reply. But can you be more specific in what needs to be
changed. maybe an example will help.
Thanks
17:26:40 +0100
Rick Herrick wrote:
Ed Webb wrote:
fea jabi wrote:
Thanks for your responses. I appreciate that.
I used the JSTL to format the date. Will it work using that? Do I have
to
use decorator itself?
Use the Decorator instead
I was actually going to suggest
[EMAIL PROTECTED]
Reply-To: displaytag-user@lists.sourceforge.net
To: displaytag-user@lists.sourceforge.net
Subject: Re: [displaytag-user] sort not working for Date
Date: Thu, 26 Oct 2006 09:43:47 -0700 (PDT)
Ed Webb wrote:
Rick Herrick wrote:
Ed Webb wrote:
fea jabi wrote:
Thanks
Thanks a lot Rick. that worked by giving the sortProperty.
From: Rick Herrick [EMAIL PROTECTED]
Reply-To: displaytag-user@lists.sourceforge.net
To: displaytag-user@lists.sourceforge.net
Subject: Re: [displaytag-user] sort not working for Date
Date: Thu, 26 Oct 2006 10:10:56 -0700 (PDT)
fea jabi
fmt:message key=lbl.upd bundle=${bundle} var=nameVal/
display:column titleKey=lbl.name sortable=true
href=PrepareAction.do?mode=pageScope.nameVal headerClass=sortable
sortProperty=name
In href want to pass the parameter nameVal. Not sure how to do this. tried
the above and is not working.
display:table name=sessionScope.Form1.customers id=custs
requestURI=home.do class=single-line-table defaultsort=8
defaultorder=descending pagesize=6
display:column titleKey=lbl.name sortable=true href=cust.do
sortProperty=name
c:if test=${custs.name != null}
c:out
:[EMAIL PROTECTED] On Behalf Of fea
jabi
Sent: Friday, December 08, 2006 9:24 AM
To: displaytag-user@lists.sourceforge.net
Subject: [displaytag-user] put value to session
display:table name=sessionScope.Form1.customers id=custs
requestURI=home.do class=single-line-table defaultsort=8
defaultorder
59 matches
Mail list logo