You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "A. Lotfi" <ma...@yahoo.com> on 2006/07/17 22:52:23 UTC

displaytag , how display from a vector of beans ?

 
  Hi,
  I put in a seesion in the action a vector of beans, in the jsp file when I use the displaytag to display  the content of the beans, I always get this message : Nothing found to display.
   
  could you please help,
  thank you

 		
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates starting at 1¢/min.

Re: How to put an image in a Posted by Michael Jouravlev <jm...@gmail.com>.
On 7/18/06, A. Lotfi <ma...@yahoo.com> wrote:
> How to put an image in a <html:submit .. > button
>   thank you

In 2006 you should use a regular submit button and render it whatever
you like using CSS.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


How to put an image in a Posted by "A. Lotfi" <ma...@yahoo.com>.
How to put an image in a <html:submit .. > button
  thank you

 		
---------------------------------
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail Beta.

Re: displaytag , how display from a vector of beans ?

Posted by vijay venkataraman <vi...@ltp.soft.net>.
If you are still having problems - Download the example source code or 
war file from
http://displaytag.sourceforge.net/m2repo/displaytag/displaytag-examples/1.1/. 
This should give you a clear idea.

Thanks,
Vijay Venkataraman

Michael Jouravlev wrote:

> http://displaytag.sourceforge.net/11/tut_basic.html
>
> On 7/18/06, A. Lotfi <ma...@yahoo.com> wrote:
>
>> In the Acion I fill a vector with dynaForm(s)
>>
>>   for(.....) {
>>    vecInboxMessages.addElement(dynaForm);
>>              ....
>>   }
>>         session.setAttribute("inboxList" , vecInboxMessages);
>>         saveToken(request);
>>         getSubheaderDetails();
>>         return mapping.findForward(forward);
>>
>>   Please show me how to use displaytag in the jsp file, thank you 
>> your help is appreciated.
>>
>>
>> George Papandreou <ge...@alcatel.com> wrote:
>>   Can you show your syntax?
>>
>> Here is an example:
>>
>> class="dataTable" >
>> headerClass="hidden" media="html" />
>>
>>
>>
>>
>>
>>
>> Where wsUsers is a form bean method that takes a Vector.
>>
>> Cheers,
>> /g
>>
>> -----Original Message-----
>> From: A. Lotfi [mailto:majidnakit@yahoo.com]
>> Sent: Monday, July 17, 2006 4:52 PM
>> To: Struts Users Mailing List
>> Subject: displaytag , how display from a vector of beans ?
>>
>>
>> Hi,
>> I put in a seesion in the action a vector of beans, in the jsp file 
>> when I
>> use the displaytag to display the content of the beans, I always get 
>> this
>> message : Nothing found to display.
>>
>> could you please help,
>> thank you
>>
>>
>> ---------------------------------
>> Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great 
>> rates
>> starting at 1¢/min.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>>
>> ---------------------------------
>> Groups are talking. We're listening. Check out the handy changes to 
>> Yahoo! Groups.
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>


------------------------------DISCLAIMER------------------------------
This message is for the named person's use only. It may contain 
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. 

If you receive this message in error, please immediately delete it and 
all copies of it from your system, destroy any hard copies of it and 
notify the sender. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the 
intended recipient. 

Lisle Technology Partners Pvt. Ltd. and any of its subsidiaries each 
reserve the right to monitor all e-mail communications through its 
networks. 

Any views expressed in this message are those of the 
individual sender, except where the message states otherwise and the 
sender is authorized to state them to be the views of any such entity.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: displaytag , how display from a vector of beans ?

Posted by Michael Jouravlev <jm...@gmail.com>.
http://displaytag.sourceforge.net/11/tut_basic.html

On 7/18/06, A. Lotfi <ma...@yahoo.com> wrote:
> In the Acion I fill a vector with dynaForm(s)
>
>   for(.....) {
>    vecInboxMessages.addElement(dynaForm);
>              ....
>   }
>         session.setAttribute("inboxList" , vecInboxMessages);
>         saveToken(request);
>         getSubheaderDetails();
>         return mapping.findForward(forward);
>
>   Please show me how to use displaytag in the jsp file, thank you your help is appreciated.
>
>
> George Papandreou <ge...@alcatel.com> wrote:
>   Can you show your syntax?
>
> Here is an example:
>
> class="dataTable" >
> headerClass="hidden" media="html" />
>
>
>
>
>
>
> Where wsUsers is a form bean method that takes a Vector.
>
> Cheers,
> /g
>
> -----Original Message-----
> From: A. Lotfi [mailto:majidnakit@yahoo.com]
> Sent: Monday, July 17, 2006 4:52 PM
> To: Struts Users Mailing List
> Subject: displaytag , how display from a vector of beans ?
>
>
> Hi,
> I put in a seesion in the action a vector of beans, in the jsp file when I
> use the displaytag to display the content of the beans, I always get this
> message : Nothing found to display.
>
> could you please help,
> thank you
>
>
> ---------------------------------
> Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates
> starting at 1¢/min.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
>
> ---------------------------------
> Groups are talking. We're listening. Check out the handy changes to Yahoo! Groups.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: displaytag , how display from a vector of beans ?

Posted by "A. Lotfi" <ma...@yahoo.com>.
In the Acion I fill a vector with dynaForm(s)
   
  for(.....) {
   vecInboxMessages.addElement(dynaForm);
             ....
  }     
        session.setAttribute("inboxList" , vecInboxMessages);
        saveToken(request);
        getSubheaderDetails();
        return mapping.findForward(forward);
   
  Please show me how to use displaytag in the jsp file, thank you your help is appreciated.
  

George Papandreou <ge...@alcatel.com> wrote:
  Can you show your syntax?

Here is an example:

class="dataTable" >
headerClass="hidden" media="html" />






Where wsUsers is a form bean method that takes a Vector.

Cheers,
/g 

-----Original Message-----
From: A. Lotfi [mailto:majidnakit@yahoo.com] 
Sent: Monday, July 17, 2006 4:52 PM
To: Struts Users Mailing List
Subject: displaytag , how display from a vector of beans ?


Hi,
I put in a seesion in the action a vector of beans, in the jsp file when I
use the displaytag to display the content of the beans, I always get this
message : Nothing found to display.

could you please help,
thank you


---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates
starting at 1¢/min.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



 		
---------------------------------
Groups are talking. We’re listening. Check out the handy changes to Yahoo! Groups. 

RE: displaytag , how display from a vector of beans ?

Posted by George Papandreou <ge...@alcatel.com>.
Can you show your syntax?

Here is an example:
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<display:table name="requestScope.WebServiceForm.wsUsers" id="wsUsers"
class="dataTable" >
 <display:column property="id" title="ID" class="hidden"
headerClass="hidden" media="html" />
  <display:column property="firstName"/>
  <display:column property="lastName"/>
  <display:column property="organization"/>
  <display:caption></display:caption>
</display:table>

Where wsUsers is a form bean method that takes a Vector.

Cheers,
/g 

-----Original Message-----
From: A. Lotfi [mailto:majidnakit@yahoo.com] 
Sent: Monday, July 17, 2006 4:52 PM
To: Struts Users Mailing List
Subject: displaytag , how display from a vector of beans ?

 
  Hi,
  I put in a seesion in the action a vector of beans, in the jsp file when I
use the displaytag to display  the content of the beans, I always get this
message : Nothing found to display.
   
  could you please help,
  thank you

 		
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates
starting at 1¢/min.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org