Hi,

Can I have a column in the displaytag table which will show the row
count?

I mean a serial number for each row which will ultimately indicate the
number of rows.

 It is urgent...

Thanks in advance,

Shilpa

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Saturday, July 08, 2006 12:34 AM
To: displaytag-user@lists.sourceforge.net
Subject: displaytag-user Digest, Vol 3, Issue 11

Send displaytag-user mailing list submissions to
        displaytag-user@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/displaytag-user
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of displaytag-user digest..."


Today's Topics:

   1. Re: [displaytag - Help] Database Table (Bunty India)
   2. [displaytag - Help] RE: Jsp 2.0 (SourceForge.net)
   3. Re: [displaytag - Help] Database Table (Rick Herrick)


----------------------------------------------------------------------

Message: 1
Date: Fri, 7 Jul 2006 12:20:02 +0530
From: "Bunty India" <[EMAIL PROTECTED]>
Subject: Re: [displaytag-user] [displaytag - Help] Database Table
To: displaytag-user@lists.sourceforge.net
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="utf-8"

i tried this but not working

On 7/6/06, Rick Herrick <[EMAIL PROTECTED]> wrote:
>
> BuntyIndia wrote:
> > Thanks Rick for your Reply....
> >
> > i tried what u written in the post but still it is printing Nothing
> found
> > to
> > display.
> >
> > What i do now?
>
> Actually I think it's even simpler than what I said earlier.  You're
> storing your list like this:
>
> request.setAttribute("rows2", rows1);
>
> Now, there's no need to have different names for them, since the
attribute
> name is just a string key in a map and doesn't pertain at all to the
> object namespace.  But that doesn't really matter, since you could
name
> your attribute Fred if you want:
>
> request.setAttribute("HiImFred", rows1);
>
> But then in your <display:table> tag, you specified the name attribute
as
> the OBJECT name, not the attribute name:
>
> <display:table name="rows1">
>
> displaytag tries to retrieve the list from the attribute store of the
> request scope, meaning it does:
>
> request.getAttribute("rows1");
>
> But of course there IS no rows1 there.  It doesn't matter what the
object
> name is, what matters is what you stored the attribute as:
>
> <display:table name="HiImFred">
>
> Or:
>
> <display:table name="rows2">
>
> Try that and I'll think you'll get what you need.
>
> You still need to clean up your database code, but I think you'll get
to
> that later.
>
> --
> Rick Herrick
> [EMAIL PROTECTED]
>
> I haven't got time for inner peace.
>
> "No reasonable definition of reality could be expected to permit
> this."--Albert Einstein, Boris Podolsky and Nathan Rosen in 1935
>
>
> Using Tomcat but need to do more? Need to support web services,
security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>



-- 
=======================
Knowledge Is Power Share It
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://sourceforge.net/mailarchive/forum.php?forum=displaytag-user/attac
hments/20060707/5c678bb3/attachment.html 

------------------------------

Message: 2
Date: Fri, 07 Jul 2006 05:00:06 -0700
From: "SourceForge.net" <[EMAIL PROTECTED]>
Subject: [displaytag-user] [displaytag - Help] RE: Jsp 2.0
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="ISO-8859-1"


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3811369
By: boske3

Ah i see !
Question for you?
Did you include in your project all .jar files?If you not
You must include next jar files in your project:
commons-beanutils-1.7.0.jar
commons-collections-3.1.jar
commons-lang-2.1.jar
commons-logging-1.0.4.jar
displaytag-1.1.jar
dsiplaytag-export-poi-1.1.jar
itext-1.3.jar
jstl-1.1.2.jar
log4j-1.2.12.jar
poi-2.5.1.jar
standard-1.0.6.jar

when you import those files in project delete code 

org.apache.commons.beanutils.*


and you need this code for using dislpay tags:

.... 
<[EMAIL PROTECTED] uri="http://displaytag.sf.net"; prefix="display"%>
...

Think it will work now



______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=249318



------------------------------

Message: 3
Date: Fri, 7 Jul 2006 06:26:18 -0700
From: "Rick Herrick" <[EMAIL PROTECTED]>
Subject: Re: [displaytag-user] [displaytag - Help] Database Table
To: <displaytag-user@lists.sourceforge.net>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

I don't know then.  Get a debugger and try to figure it out by stepping
through.

 

Rick Herrick

[EMAIL PROTECTED]

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Bunty
India
Sent: Thursday, July 06, 2006 11:50 PM
To: displaytag-user@lists.sourceforge.net
Subject: Re: [displaytag-user] [displaytag - Help] Database Table

 

i tried this but not working

On 7/6/06, Rick Herrick <[EMAIL PROTECTED]> wrote: 

BuntyIndia wrote:
> Thanks Rick for your Reply....
>
> i tried what u written in the post but still it is printing Nothing
found 
> to
> display.
>
> What i do now?

Actually I think it's even simpler than what I said earlier.  You're
storing your list like this:

request.setAttribute("rows2", rows1); 

Now, there's no need to have different names for them, since the
attribute
name is just a string key in a map and doesn't pertain at all to the
object namespace.  But that doesn't really matter, since you could name 
your attribute Fred if you want:

request.setAttribute("HiImFred", rows1);

But then in your <display:table> tag, you specified the name attribute
as
the OBJECT name, not the attribute name: 

<display:table name="rows1">

displaytag tries to retrieve the list from the attribute store of the
request scope, meaning it does:

request.getAttribute("rows1");

But of course there IS no rows1 there.  It doesn't matter what the
object 
name is, what matters is what you stored the attribute as:

<display:table name="HiImFred">

Or:

<display:table name="rows2">

Try that and I'll think you'll get what you need. 

You still need to clean up your database code, but I think you'll get to
that later.

--
Rick Herrick
[EMAIL PROTECTED]

I haven't got time for inner peace. 

"No reasonable definition of reality could be expected to permit
this."--Albert Einstein, Boris Podolsky and Nathan Rosen in 1935


Using Tomcat but need to do more? Need to support web services,
security? 
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk
<http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=12164
2>
&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user




-- 
=======================
Knowledge Is Power Share It 

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://sourceforge.net/mailarchive/forum.php?forum=displaytag-user/attac
hments/20060707/e407ad35/attachment.html 

------------------------------

Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


------------------------------

_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user


End of displaytag-user Digest, Vol 3, Issue 11
**********************************************




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to