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

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 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 this but when

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/htm

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: newton.d...

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 WW-3

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: I need to set 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 t

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 or

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 pr

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 being

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 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 to save the data the

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 ScopeInt

Re: Pagination

2009-05-25 Thread Lukasz Lenart
2009/5/25 Murugesh : > 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] http://displaytag.sourceforge.net/1.2/configuration.html Rega

Re: Pagination

2009-05-25 Thread Murugesh
i got fix for this. i missed request uri in tag. 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 wrote: > Wow. it getting displa

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 wrote: > 2009/5/25 Murugesh : > > i am getting list with but not displaytag > > Did you try Chris suggestion? > > > Regards

Re: Pagination

2009-05-25 Thread Lukasz Lenart
2009/5/25 Murugesh : > i am getting list with but not displaytag Did you try Chris suggestion? Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands,

Re: Pagination

2009-05-25 Thread Murugesh
No Lukasz my struts.xml is /WEB-INF/components/packet/showData.jsp i am getting list with but not displaytag On Mon, May 25, 2009 at 12:53 PM, Lukasz Lenart < lukasz.len...@googlemail.com> wrote: > End the last thing, action's configuration. As I noticed you don't use > e

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 un

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 List minDataList = null; public L

Re: Pagination

2009-05-25 Thread Chris Pratt
You might try: instead. (*Chris*) On Sun, May 24, 2009 at 11:56 PM, Murugesh wrote: > 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 > pagesize="10" > > >

Re: Pagination

2009-05-25 Thread Lukasz Lenart
2009/5/25 Murugesh : >   pagesize="10" > >   >   > Could you also show action code? Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: use