Hi...
I don't have configuration for a bean, if it's necessary please do you have
any example?
The data are the result of SELECT JOIN to 3 tables in database, so how I
construct a bean??
Now, In my JSP I try to do this:
List results = ....;
request.setAttribute("tabEnv", results);
<display:table name="tabEnv">
<c:forEach var="x" items="${results}">
<display:column title="Id">
${x}
</display:column>
</c:forEach>
</display:table>
But, return this error:
According to the TLD or the director attribute of the file tag, the
attribute items does not accept expressions
"Según el TLD o la directiva attribute del archivo tag, el atributo
items no acepta expresiones"
Thanks for your help
2007/10/29, Savoy, Melinda <[EMAIL PROTECTED]>:
>
> Sandra,
>
> What is in the JSP? Do you have configuration setup so that your JSP
> code is reading this bean?
>
> ------------------------------
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Sandra Mejía
> J.
> *Sent:* Monday, October 29, 2007 11:29 AM
> *To:* displaytag-user@lists.sourceforge.net
> *Subject:* [displaytag-user] List whit displaytag
>
> Hi all
>
> I have a function like this:
>
> public List findAllResults()
> {
> List results = f1.findAllResults(); //Return data for a database
> return results;
> }
>
> I need to print the data in a table with displaytag in JSP.
>
> Please help me...
>
> --
> Atentamente,
> Sandy
>
> The information contained in this message and any attachments is intended
> only for the use of the individual or entity to which it is addressed, and
> may contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from
> disclosure under applicable law. If you are not the intended recipient, you
> are prohibited from copying, distributing, or using the information. Please
> contact the sender immediately by return e-mail and delete the original
> message from your system.
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
--
Que Diosito te Bendiga
Atentamente,
Sandy
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user