Re: Pagination problem with struts2,Please Please help me.
Are you sure there is data on that list? try this on your page s:property value=employeeList.size() / musachy On Mon, May 26, 2008 at 12:53 AM, Varun Deep [EMAIL PROTECTED] wrote: Request to All I am using pagination with display tag in struts2. Following is the code I included in my jsp file. I also include all the jar file. And tld files. In the respective folders 1.try %@ taglib uri=http://displaytag.sf.net; prefix=display % The EmployeeList is coming from the Action file. s:set name=listofEmployee value=EmployeeList scope=request/ display:table name= listofEmployee pagesize=4 class=simple id=row display:column property=name / /display:table I also include all the jar file. And tld files. In the respective folders. And using them as necessary. I also try to perform the following code: 2. try Web.xml jsp-config taglib taglib-urihttp://displaytag.sf.net/taglib-uri taglib-locationdisplaytag.tld/taglib-location /taglib /jsp-config employee. Jsp %@ taglib uri=/WEB-INF/displaytag.tld prefix=display % s:set name=listofEmployee value=EmployeeList scope=request/ display:table name= listofEmployee pagesize=4 class=simple id=row display:column property=name / /display:table I also include all the jar file. And tld files. In the respective folders. And using them as necessary. - 3. try Web.xml jsp-config taglib taglib-uri/WEB-INF/displaytag.tld/taglib-uri taglib-locationdisplaytag.tld/taglib-location /taglib /jsp-config employee. Jsp %@ taglib uri=/WEB-INF/displaytag.tld prefix=display % s:set name=listofEmployee value=EmployeeList scope=request/ display:table name= listofEmployee pagesize=4 class=simple id=row display:column property=name / /display:table I also include all the jar file. And tld files. In the respective folders. And using them as necessary. - 4. try Web.xml jsp-config taglib taglib-urihttp://displaytag.sf.net/taglib-uri taglib-locationdisplaytag.tld/taglib-location /taglib /jsp-config employee. Jsp %@ taglib uri= http://displaytag.sf.net; prefix=display % s:set name=listofEmployee value=EmployeeList scope=request/ display:table name= listofEmployee pagesize=4 class=simple id=row display:column property=name / /display:table I also include all the jar file. And tld files. In the respective folders. And using them as necessary. -- Problem. But it shows nothing, not even any error message. Please Please help me. And suggest me how I have to move Thanks in advance Varun -- Hey you! Would you help me to carry the stone? Pink Floyd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Pagination problem with struts2,Please Please help me.
Yes, s:property value=employeeList.size() / giving value 8 for this. -Original Message- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: Sunday, May 25, 2008 10:07 PM To: Struts Users Mailing List Subject: Re: Pagination problem with struts2,Please Please help me. Are you sure there is data on that list? try this on your page s:property value=employeeList.size() / musachy On Mon, May 26, 2008 at 12:53 AM, Varun Deep [EMAIL PROTECTED] wrote: Request to All I am using pagination with display tag in struts2. Following is the code I included in my jsp file. I also include all the jar file. And tld files. In the respective folders 1.try %@ taglib uri=http://displaytag.sf.net; prefix=display % The EmployeeList is coming from the Action file. s:set name=listofEmployee value=EmployeeList scope=request/ display:table name= listofEmployee pagesize=4 class=simple id=row display:column property=name / /display:table I also include all the jar file. And tld files. In the respective folders. And using them as necessary. I also try to perform the following code: 2. try Web.xml jsp-config taglib taglib-urihttp://displaytag.sf.net/taglib-uri taglib-locationdisplaytag.tld/taglib-location /taglib /jsp-config employee. Jsp %@ taglib uri=/WEB-INF/displaytag.tld prefix=display % s:set name=listofEmployee value=EmployeeList scope=request/ display:table name= listofEmployee pagesize=4 class=simple id=row display:column property=name / /display:table I also include all the jar file. And tld files. In the respective folders. And using them as necessary. - 3. try Web.xml jsp-config taglib taglib-uri/WEB-INF/displaytag.tld/taglib-uri taglib-locationdisplaytag.tld/taglib-location /taglib /jsp-config employee. Jsp %@ taglib uri=/WEB-INF/displaytag.tld prefix=display % s:set name=listofEmployee value=EmployeeList scope=request/ display:table name= listofEmployee pagesize=4 class=simple id=row display:column property=name / /display:table I also include all the jar file. And tld files. In the respective folders. And using them as necessary. - 4. try Web.xml jsp-config taglib taglib-urihttp://displaytag.sf.net/taglib-uri taglib-locationdisplaytag.tld/taglib-location /taglib /jsp-config employee. Jsp %@ taglib uri= http://displaytag.sf.net; prefix=display % s:set name=listofEmployee value=EmployeeList scope=request/ display:table name= listofEmployee pagesize=4 class=simple id=row display:column property=name / /display:table I also include all the jar file. And tld files. In the respective folders. And using them as necessary. -- Problem. But it shows nothing, not even any error message. Please Please help me. And suggest me how I have to move Thanks in advance Varun -- Hey you! Would you help me to carry the stone? Pink Floyd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Yes RE: Pagination problem with struts2,Please Please help me.
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, May 25, 2008 10:17 PM To: 'Struts Users Mailing List' Subject: RE: Pagination problem with struts2,Please Please help me. Yes, s:property value=employeeList.size() / giving value 8 for this. -Original Message- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: Sunday, May 25, 2008 10:07 PM To: Struts Users Mailing List Subject: Re: Pagination problem with struts2,Please Please help me. Are you sure there is data on that list? try this on your page s:property value=employeeList.size() / musachy On Mon, May 26, 2008 at 12:53 AM, Varun Deep [EMAIL PROTECTED] wrote: Request to All I am using pagination with display tag in struts2. Following is the code I included in my jsp file. I also include all the jar file. And tld files. In the respective folders 1.try %@ taglib uri=http://displaytag.sf.net; prefix=display % The EmployeeList is coming from the Action file. s:set name=listofEmployee value=EmployeeList scope=request/ display:table name= listofEmployee pagesize=4 class=simple id=row display:column property=name / /display:table I also include all the jar file. And tld files. In the respective folders. And using them as necessary. I also try to perform the following code: 2. try Web.xml jsp-config taglib taglib-urihttp://displaytag.sf.net/taglib-uri taglib-locationdisplaytag.tld/taglib-location /taglib /jsp-config employee. Jsp %@ taglib uri=/WEB-INF/displaytag.tld prefix=display % s:set name=listofEmployee value=EmployeeList scope=request/ display:table name= listofEmployee pagesize=4 class=simple id=row display:column property=name / /display:table I also include all the jar file. And tld files. In the respective folders. And using them as necessary. - 3. try Web.xml jsp-config taglib taglib-uri/WEB-INF/displaytag.tld/taglib-uri taglib-locationdisplaytag.tld/taglib-location /taglib /jsp-config employee. Jsp %@ taglib uri=/WEB-INF/displaytag.tld prefix=display % s:set name=listofEmployee value=EmployeeList scope=request/ display:table name= listofEmployee pagesize=4 class=simple id=row display:column property=name / /display:table I also include all the jar file. And tld files. In the respective folders. And using them as necessary. - 4. try Web.xml jsp-config taglib taglib-urihttp://displaytag.sf.net/taglib-uri taglib-locationdisplaytag.tld/taglib-location /taglib /jsp-config employee. Jsp %@ taglib uri= http://displaytag.sf.net; prefix=display % s:set name=listofEmployee value=EmployeeList scope=request/ display:table name= listofEmployee pagesize=4 class=simple id=row display:column property=name / /display:table I also include all the jar file. And tld files. In the respective folders. And using them as necessary. -- Problem. But it shows nothing, not even any error message. Please Please help me. And suggest me how I have to move Thanks in advance Varun -- Hey you! Would you help me to carry the stone? Pink Floyd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Pagination problem with struts2,Please Please help me.
One of my samples: %@ taglib prefix=s uri=/struts-tags% %@ taglib prefix=display uri=http://displaytag.sf.net% %@ page language=java contentType=text/html; charset=ISO-8859-1 pageEncoding=ISO-8859-1% %@ taglib prefix=f uri=http://java.sun.com/jsf/core; % %@ taglib prefix=h uri=http://java.sun.com/jsf/html; % !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; html head meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1 titleInsert title here/title script type=text/javascript src=js/all.js/script link rel=stylesheet href=css/displaytag.css type=text/css / /head body f:view h:form id=empForms h:panelGrid id=empPanelGrid binding=#{empPanelGrid} /h:panelGrid input type=button value=Submit onclick=submitJsf()/ h:inputHidden id=method value=#{action.method}/ h:inputHidden id=id value=#{id}/ /h:form /f:view s:form action=add.action name=empForm id=empForm s:textfield id=employeeId label=Employee Id (Numeric) maxlength=5 required=true name=employeeId / s:textfield id=firstName label=Firstname required=true name=firstName / s:textfield id=lastName label=Lastname required=true name=lastName / s:submit value=submit/s:submit s:hidden name=method id=method value=add/s:hidden s:hidden name=id id=id/s:hidden /s:form display:table name=employeeList requestURI=index.action decorator=org.jubabes.util.DisplayDecorator display:column property=employeeId title=Employee Id / display:column property=employeeName title=NAME / display:column property=employeeEdit / display:column property=employeeDelete / /display:table /body /html Method in action class: public String index(){ employeeList = this.employeeDAO.findAll(); return SUCCESS; } 2008/5/26 Musachy Barroso [EMAIL PROTECTED]: Are you sure there is data on that list? try this on your page s:property value=employeeList.size() / musachy On Mon, May 26, 2008 at 12:53 AM, Varun Deep [EMAIL PROTECTED] wrote: Request to All I am using pagination with display tag in struts2. Following is the code I included in my jsp file. I also include all the jar file. And tld files. In the respective folders 1.try %@ taglib uri=http://displaytag.sf.net; prefix=display % The EmployeeList is coming from the Action file. s:set name=listofEmployee value=EmployeeList scope=request/ display:table name= listofEmployee pagesize=4 class=simple id=row display:column property=name / /display:table I also include all the jar file. And tld files. In the respective folders. And using them as necessary. I also try to perform the following code: 2. try Web.xml jsp-config taglib taglib-urihttp://displaytag.sf.net/taglib-uri taglib-locationdisplaytag.tld/taglib-location /taglib /jsp-config employee. Jsp %@ taglib uri=/WEB-INF/displaytag.tld prefix=display % s:set name=listofEmployee value=EmployeeList scope=request/ display:table name= listofEmployee pagesize=4 class=simple id=row display:column property=name / /display:table I also include all the jar file. And tld files. In the respective folders. And using them as necessary. - 3. try Web.xml jsp-config taglib taglib-uri/WEB-INF/displaytag.tld/taglib-uri taglib-locationdisplaytag.tld/taglib-location /taglib /jsp-config employee. Jsp %@ taglib uri=/WEB-INF/displaytag.tld prefix=display % s:set name=listofEmployee value=EmployeeList scope=request/ display:table name= listofEmployee pagesize=4 class=simple id=row display:column property=name / /display:table I also include all the jar file. And tld files. In the respective folders. And using them as necessary. - 4. try Web.xml jsp-config taglib taglib-urihttp://displaytag.sf.net/taglib-uri taglib-locationdisplaytag.tld/taglib-location /taglib /jsp-config employee. Jsp %@ taglib uri= http://displaytag.sf.net; prefix=display % s:set name=listofEmployee value=EmployeeList scope=request/ display:table name= listofEmployee pagesize=4 class=simple id=row display:column property=name / /display:table I also include all the jar file. And tld files. In the respective