check out the excludeParams option in the <display:table> property.
It should be able to exclude those parameters from being used in link
generation.
Regards,
Bradley B
On Tue, 1 Feb 2005 08:35:26 -0800 (PST), Shyam A <[EMAIL PROTECTED]> wrote:
>
> Thanks a lot Rick and Matt. I created the
> log4j.properties file and the error message
> disappeared.
> I'm still looking for a solution to the sorting issue.
>
> Thanks,
> Shyam
>
> --- Rick Herrick <[EMAIL PROTECTED]> wrote:
>
> > To elaborate just a little bit, take the following
> > text and put it in a
> > file called log4j.properties:
> >
> > log4j.rootLogger=DEBUG, console
> >
> log4j.appender.console.layout=org.apache.log4j.PatternLayout
> >
> log4j.appender.console.layout.ConversionPattern=%d{ISO8601}
> > [%5.5t] %-5p
> > %c{2} - %m%n
> >
> log4j.appender.console=org.apache.log4j.ConsoleAppender
> >
> > Put that in a ROOT directory on your classpath (i.e.
> > not in a package, so
> > in the WEB-INF/classes directory of your web app (or
> > in the root directory
> > of your own class hierarchy so that it gets deployed
> > during the build
> > process). Change the DEBUG in the first line to
> > INFO, WARN, ERROR, and
> > FATAL to reduce the number of output messages (and
> > improve performance).
> >
> > Later you can expand the properties file to provide
> > forked logging for
> > various packages (e.g. you probably really only want
> > DEBUG level
> > information for your own packages, not the Struts or
> > Apache or displaytag
> > packages) to different files (or consoles or sockets
> > and so on), but this
> > will give you basic console logging.
> >
> > Matt Hughes said:
> > > Well as to your second issue, it appears you don't
> > have a valid
> > > log4j.properties file in your classpath.
> > >
> > >
> > > On Mon, 31 Jan 2005 14:30:03 -0800 (PST), Shyam A
> > <[EMAIL PROTECTED]>
> > > wrote:
> > >> Hi,
> > >>
> > >> I'm a newbie to displaytag. I'm using it in a
> > Java web
> > >> application with Struts. I have a couple of
> > issues:
> > >>
> > >> 1. I use displaytag to display a table on a web
> > page,
> > >> after a user logs into my application. I use a
> > table
> > >> with sortable columns. The problem is when I
> > click on
> > >> a sortable column, I see the login details, i.e,
> > >> "userid" and "password" displayed on my browser's
> > (IE
> > >> 6.0) status bar. I refresh my web-page
> > automatically
> > >> every 30 secs, and this problem doesn't happen
> > once
> > >> the page is refreshed.
> > >>
> > >> Could somebody tell me how to resolve this issue?
> > >>
> > >> The code snippet I use in my JSP is given below:
> > >>
> > >>
> >
> -----------------------------------------------------
> > >> <display:table name="sessionScope.jobList"
> > >> defaultsort="2" defaultorder="descending"
> > >> requestURI="/viewJobs.do" align="center"
> > width="100%">
> > >> <display:column
> > property="jobName" title="Job Name"
> > >> sortable="true" />
> > >> <display:column
> > property="oneUpNo" title=" OneUp# "
> > >> sortable="true" />
> > >> <display:column
> > property="startDate" title="Start
> > >> Date" sortable="true"/>
> > >> <display:column
> > property="endDate" title="End Date"
> > >> sortable="true"/>
> > >> <display:column property="cycles"
> > title="Cycles"/>
> > >> <display:column property="reads"
> > title="Reads"/>
> > >> <display:column
> > href="/jms/viewJobs.do?method=get"
> > >> paramId="jobName"
> > paramProperty="jobName">
> > >> Reports
> > >> </display:column>
> > >> </display:table>
> > >>
> > >>
> > ---------------------------------------------------
> > >>
> > >> 2. A second unrelated issue:
> > >> When my application server starts up, I see the
> > >> following error message:
> > >>
> > >> "log4j:WARN No appenders could be found for
> > logger
> > >> (org.apache.struts.util.Proper
> > >> tyMessageResources).
> > >> log4j:WARN Please initialize the log4j system
> > >> properly.
> > >> "
> > >> I have log4j-1.2.8.jar file in my WEB-INF/lib
> > >> directory.
> > >>
> > >> Could somebody tell me what I'm doing wrong?
> > >>
> > >> Any help/pointers would be greatly appreciated.
> > >>
> > >> Thanks,
> > >> Shyam
> > >>
> > >> __________________________________
> > >> Do you Yahoo!?
> > >> Yahoo! Mail - You care about security. So do we.
> > >> http://promotions.yahoo.com/new_mail
> > >>
> > >>
> >
> -------------------------------------------------------
> > >> This SF.Net email is sponsored by: IntelliVIEW --
> > Interactive Reporting
> > >> Tool for open source databases. Create
> > drag-&-drop reports. Save time
> > >> by over 75%! Publish reports on the web. Export
> > to DOC, XLS, RTF, etc.
> > >> Download a FREE copy at
> > http://www.intelliview.com/go/osdn_nl
> > >> _______________________________________________
> > >> displaytag-user mailing list
> > >> [email protected]
> > >>
> >
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
> > >>
> > >
> > >
> > >
> >
> -------------------------------------------------------
> > > This SF.Net email is sponsored by: IntelliVIEW --
> > Interactive Reporting
> > > Tool for open source databases. Create drag-&-drop
> > reports. Save time
> > > by over 75%! Publish reports on the web. Export to
> > DOC, XLS, RTF, etc.
> > > Download a FREE copy at
> > http://www.intelliview.com/go/osdn_nl
> > > _______________________________________________
> > > displaytag-user mailing list
> > > [email protected]
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
> > >
> >
> >
> > --
> > Rick Herrick
> > [EMAIL PROTECTED]
> >
> > Proud member of the reality-based community
> >
> > Never try to discourage thinking for you are sure to
> > succeed.--Bertrand
> > Russell
> >
> >
> >
> -------------------------------------------------------
> > This SF.Net email is sponsored by: IntelliVIEW --
> > Interactive Reporting
> > Tool for open source databases. Create drag-&-drop
> > reports. Save time
> > by over 75%! Publish reports on the web. Export to
> > DOC, XLS, RTF, etc.
> > Download a FREE copy at
> > http://www.intelliview.com/go/osdn_nl
> > _______________________________________________
> > displaytag-user mailing list
> > [email protected]
> >
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
> >
>
> __________________________________
> Do you Yahoo!?
> Read only the mail you want - Yahoo! Mail SpamGuard.
> http://promotions.yahoo.com/new_mail
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> displaytag-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user