Re: Fwd: Help

2009-05-25 Thread Murugesh
thanks i have successfully implemented this. thanks a lot for responsing. 2009/5/19 Paweł Wielgus poulw...@gmail.com Hi Murugesh, read about session in HTTP. Best greetings, Paweł Wielgus. 2009/5/19 Murugesh muruges...@gmail.com: Thanks for reply like googles gmail, if u try to

Re: Pagination

2009-05-25 Thread Lukasz Lenart
2009/5/25 Murugesh muruges...@gmail.com: can any one help me to achieve this? Could you show how did you try to use DisplayTag, some code example? Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail:

Re: Pagination

2009-05-25 Thread Murugesh
thanks Lukasz what i did is, added :displaytag-1.2.jar in the lib added :%@ taglib uri=http://displaytag.sf.net; prefix=display% in my JSP code snippet is display:table list=minDataList requestURI=calldata.action pagesize=10 display:column property=name/ display:column property=id/

Re: Pagination

2009-05-25 Thread Lukasz Lenart
2009/5/25 Murugesh muruges...@gmail.com:  display:table  list=minDataList requestURI=calldata.action pagesize=10  display:column property=name/  display:column property=id/ /display:table Could you also show action code? Regards -- Lukasz http://www.lenart.org.pl/

Re: Pagination

2009-05-25 Thread Chris Pratt
You might try: display:table list=${minDataList} requestURI=calldata.action pagesize=10 instead. (*Chris*) On Sun, May 24, 2009 at 11:56 PM, Murugesh muruges...@gmail.com wrote: thanks Lukasz what i did is, added :displaytag-1.2.jar in the lib added :%@ taglib

Re: Pagination

2009-05-25 Thread Murugesh
public class PacketsAction extends ActionBase { public ManagePacketsAction() { public String call30Mdata() throws ServiceException { DataManager dm = new DataManager(); setMinDataList(dm.getMinsData(null, getall)) try { } private ListminInfoVO minDataList = null;

Re: Pagination

2009-05-25 Thread Lukasz Lenart
End the last thing, action's configuration. As I noticed you don't use execute() method and maybe your are missing call to method call30Mdata(). And also try Chris suggestion. Regards -- Lukasz http://www.lenart.org.pl/ - To

Re: Pagination

2009-05-25 Thread Murugesh
No Lukasz my struts.xml is action name=calldata class=com.PacketsAction method=call30Mdata result/WEB-INF/components/packet/showData.jsp/result /action i am getting list with s:iterator but not displaytag On Mon, May 25, 2009 at 12:53 PM, Lukasz Lenart

Re: Pagination

2009-05-25 Thread Lukasz Lenart
2009/5/25 Murugesh muruges...@gmail.com: i am getting list with s:iterator but not displaytag Did you try Chris suggestion? Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail:

Re: Pagination

2009-05-25 Thread Murugesh
Wow. it getting displayed. but if i click next page it got an error ie requset resource not available. is i missed anything? On Mon, May 25, 2009 at 1:17 PM, Lukasz Lenart lukasz.len...@googlemail.com wrote: 2009/5/25 Murugesh muruges...@gmail.com: i am getting list with s:iterator but not

Re: Pagination

2009-05-25 Thread Murugesh
i got fix for this. i missed request uri in displaytag. thanks for helping a lot. is their any way to modify the display? like the page no's and no of items coming on top , i need it to be bottom. so where i have to chnage this? On Mon, May 25, 2009 at 2:19 PM, Murugesh muruges...@gmail.com

Re: Pagination

2009-05-25 Thread Lukasz Lenart
2009/5/25 Murugesh muruges...@gmail.com: is their any way to modify the display? like the page no's and no of items coming on top , i need it to be bottom. so where i have to chnage this? Check DisplayTag documentation, for begining that [1] [1]

Keep Action Properties over multiple requests

2009-05-25 Thread Richard Sayre
I have an action that does some server side logic, based on that logic I want to present the user with a Yes/No message. If they click yes I want to save the data the user filled out before the Yes/No message. Is it possible to carry action properties over multiple requests? I found the

Re: Keep Action Properties over multiple requests

2009-05-25 Thread Nils-Helge Garli Hegvik
Yes, the ScopeInterceptor should be able to handle this case. Nils-H On Mon, May 25, 2009 at 1:02 PM, Richard Sayre richardsa...@gmail.com wrote: I have an action that does some server side logic, based on that logic I want to present the user with a Yes/No message.  If they click yes I want

Re: Pagination

2009-05-25 Thread Bhaarat Sharma
adding to this question... I've asked this before as well but not gotten a clearer answer. What if in the same example as this but when user clicks 'next' you want to go back and fetch the results again. Will that be possible with display tag. What I mean is that lets say that the list is

not able to populate the productID or the productName from the front end jsp.

2009-05-25 Thread Prashant Singh
Hi dear,   I have an issue.   I have been able to display the all the products on a jsp. Now I need to click on one product and execute the action class and and display all the suppliers supplying the product.   I have not been able to execute the action class as I am not able to populate the

Re: not able to populate the productID or the productName from the front end jsp.

2009-05-25 Thread Dave Newton
Prashant Singh wrote: I have been able to display the all the products on a jsp. Now I need to click on one product and execute the action class and and display all the suppliers supplying the product. I have not been able to execute the action class as I am not able to populate the productID

Re: I need to set s:property value in the action class

2009-05-25 Thread Jim Kiley
As a side note to Dave's point, opening a unique database connection within every execute() method of every action class is an extraordinary waste of your time, and will make debugging pretty painful. You'd be much better off writing a single service object to handle that stuff for you, and call

RE: Pagination

2009-05-25 Thread Martin Gainty
referencing the documentation lucas provided we can see the number of records/page are provided by displaytag.properties (version 1.1) sort.amount=50 (version 1.2) pagesize=50 ..concerning how to manipulate what you're reading all you have to do is replace the InputStream with one from DS

Re: [jira] Resolved: (WW-3139) Date validation - Ubuntu 9.04 - struts 2.0.14

2009-05-25 Thread Simone Buzzi
Someone know a solution for this problem? How must I set my environment? Per favore, considerate l'ambiente prima di stampare questa e-mail [ https://issues.apache.org/struts/browse/WW-3139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Musachy Barroso resolved

RE: RequiredString Validation doesn't work and AbstractValidationActionSupport is missing

2009-05-25 Thread Niklas Johansson
Hello, Ok, I will resend the information but I skip this hotmail account since it corrupts things. My new mail will come from nicss...@gmail.com. I close this now. Thank you! Regards, Niklas Date: Sun, 24 May 2009 17:30:26 -0400 From:

RequiredString Validation doesn't work and AbstractV alidationActionSupport is missing‏

2009-05-25 Thread Niklas Johansson
Hello, I am trying to create my first validation. I have two problems: First one: I want to use Requieredstring validator. The problem is that my application is not complaining if I do leave the input field empty. Here is my code: reqisterqa.jsp: %@ page language=java contentType=text/html;

Re: Pagination

2009-05-25 Thread Chris Pratt
Yup, it's possible, just read the DisplayTag documentation on external pagination. (*Chris*) On Mon, May 25, 2009 at 5:49 AM, Bhaarat Sharma bhaara...@gmail.com wrote: adding to this question... I've asked this before as well but not gotten a clearer answer. What if in the same example as

Re: RequiredString Validation doesn't work and AbstractValidationActionSupport is missing?

2009-05-25 Thread Dave Newton
Niklas Johansson wrote: I want to use Requieredstring validator. The problem is that my application is not complaining if I do leave the input field empty. Are you using the default interceptor stack? Can anyone tell me what is the problem? I don't see anything immediately obvious, but I'm