RE: Displaying mulitpage results

2005-02-19 Thread Néstor Boscán
Hi Antony 1) Expose two more variables to access first page and last page ( like nextUrlVar). You can use the pages variable and get the first and last page elements to get the first page and the last page. But It may be interesting to put two aditional variables. 2) A way to specify the maximu

Re: Struts or SpringFramework

2005-02-19 Thread Dakota Jack
Yes! ///;-) On Sat, 19 Feb 2005 14:49:38 -0500, David G. Friedman <[EMAIL PROTECTED]> wrote: > Does it mean I'm going made if Jack starts making sense? :) > > Regards, > David > > -Original Message- > From: Dakota Jack [mailto:[EMAIL PROTECTED] > Sent: Saturday, February 19, 2005 2:14

Anyway to auto-trim String properties in DynaForms?

2005-02-19 Thread K.C. Baltz
It would be really nice if I could programmatically indicate that certain fields in a DynaForm should be automatically trimmed of whitespace. Is there a way to do this? Alternatively, is there a way to get the behavior of the "required" validation when using validwhen? "required" doesn't acc

RE: Tiles scope headache assistance needed.

2005-02-19 Thread Jason Long
quote.list.item is defiened as follows: ".table.holder" is a layout. I want to display my quote in this holder. The format for the quote is defined in list.item.jsp. Everything works except I cannot make quote available to the tile. "quote" is defined as follows "quoteForm

RE: Tiles scope headache assistance needed.

2005-02-19 Thread Jason Long
quote.list.item is defiened as follows: ".table.holder" is a layout. I want to display my quote in this holder. The format for the quote is defined in list.item.jsp. Everything works except I cannot make quote available to the tile. "quote" is defined as follows "quoteForm

RE: reality? CoR was Re: Struts or SpringFramework

2005-02-19 Thread David G. Friedman
Joe, Your comment on testing CoR (Struts v1.3 or struts-chains) interests me. How would that be done? Do you suggest JUnit, TestNG, or something else? sI looked a little at StrutsTestCase and something about it bothers me, but what I can't exactly identify. > public User getUser() { >return

RE: Struts or SpringFramework

2005-02-19 Thread David G. Friedman
Er... "mad", not "made". See, I got so excited about understanding someone that I forgot to check my syntax (spellcheck missed it, how evil!). Jokingly: Can StrutsTestCase be used to syntax my grammar before posting to the list? Regards, David -Original Message- From: David G. Friedman

RE: Struts or SpringFramework

2005-02-19 Thread David G. Friedman
Does it mean I'm going made if Jack starts making sense? :) Regards, David -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: Saturday, February 19, 2005 2:14 PM To: Struts Users Mailing List Subject: Re: Struts or SpringFramework Thanks, Vic. I would suggest that the

Re: Struts or SpringFramework

2005-02-19 Thread Dakota Jack
Thanks, Vic. I would suggest that they are not competitors for the same job under normal circumstances. IoC might be seen as for a plumbing strategy (architecture), e.g. Action, RequestProcessor, ActionForm, etc. as interfaces and CoR for implementation strategies (application). I personally wou

Re: reality? CoR was Re: Struts or SpringFramework

2005-02-19 Thread Dakota Jack
I probably should have intimated more strongly that SomeInterface could be Action. Helper could be Command/Chain, etc. On Sat, 19 Feb 2005 10:31:26 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote: > > On Fri, 18 Feb 2005 15:44:18 -0500, Rick Reumann > > I'm wondering if you > > could do something

RE: Displaying mulitpage results

2005-02-19 Thread Antony Joseph
Hi Nestor, Thanks for putting together the datagrid library. Please see if you can add these two features in a future release of the library: 1) Expose two more variables to access first page and last page ( like nextUrlVar). 2) A way to specify the maximum number of page links on the page. For

Re: reality? CoR was Re: Struts or SpringFramework

2005-02-19 Thread Dakota Jack
On Fri, 18 Feb 2005 15:44:18 -0500, Rick Reumann > I'm wondering if you > could do something like this in a Command... > > public boolean execute(Context context) throws Exception{ > > context.setAttribute("someList",someList); > ... > } > > and then from a JSP be able to somehow have

Re: reality? CoR was Re: Struts or SpringFramework

2005-02-19 Thread Joe Germuska
Obviously it's tough not to be too academic when you're not actually cutting code, but the general tack I like to take is to wrap those dependencies in classes of my own. So, in this case: someDispatchMethod(...) { (User)request.getSession().getAttribute("user"); you could instead have arranged

Re: Displaying mulitpage results

2005-02-19 Thread Antony Joseph
I don't think so. That's just a guess because I have not tried it. I use datagrid for display purposes only. For multi row input fields/buttons I use struts iterator tag. - Original Message - From: "Peter Neu" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Subject: Re: Displaying m

RE: Displaying mulitpage results

2005-02-19 Thread Néstor Boscán
Hi Antony You can't use JSP tags inside the columns. You could use HTML buttons and input fields with JSTL expressions. Regards, Néstor Boscán -Mensaje original- De: Peter Neu [mailto:[EMAIL PROTECTED] Enviado el: Sábado, 19 de Febrero de 2005 01:18 p.m. Para: Struts Users Mailing Lis

Re: reality? CoR was Re: Struts or SpringFramework

2005-02-19 Thread Rick Reumann
Joe Germuska wrote the following on 2/19/2005 11:56 AM: The biggest gain I would see out of it would be a further step towards reducing dependencies on the HTTP API, which, despite your skepticism ;-) I think is a worthy goal in itself. Oh trust me, I'm all for it reducing dependency on the HTTP

Re: Displaying mulitpage results

2005-02-19 Thread Peter Neu
Hello Antony, the datagrid-tags were exactly what I was looking for. The one question which I have is how can I use Struts tags inside the columns? I really need some buttons and input fields. cheers, Peter Antony Joseph schrieb: Check out the datagrid library at http://jakarta.apache.org/tagl

Re: [HELP] Understanding clearly about function of Nested Tags

2005-02-19 Thread Rick Reumann
Vamsee Kanakala wrote the following on 2/19/2005 1:04 AM: Now create a web page that has one form that will display all the companies (from a companies collection), and the departments underneath, and the employees in each department AND you can edit the name at any level... you can edit departm

Re: reality? CoR was Re: Struts or SpringFramework

2005-02-19 Thread Joe Germuska
At 11:49 PM -0500 2/18/05, Rick Reumann wrote: Joe Germuska wrote the following on 2/18/2005 5:37 PM: Well, I think you're blurring things here. When I talk about "http-free" components, I'm talking about your business logic, not your controllers (actions or commands). But for most developers, t

Re: Struts validator woes : maxLength minLength

2005-02-19 Thread Erik Weber
A little-publicized feature (ahem) of Struts 1.1 Validator is that arg1 has to be paired with minlength and arg2 has to be paired with maxlength, as I understand it (last I remember this was true). I don't know if this has been changed in more recent versions. You are pairing maxlength with arg

Re: Displaying mulitpage results

2005-02-19 Thread Antony Joseph
Check out the datagrid library at http://jakarta.apache.org/taglibs/sandbox/doc/datagrid-doc/intro.html If all you are looking for is pagination, sorting and ordering from the database this is a good fit. It does not have all the bells and whistles displaytag has, but is a simple and clean imp

Remote struts module interaction

2005-02-19 Thread Ryan julius
Hi, Our struts team have decided to separate the main java /Struts application (/APP1) into 3 independant modules, each deployed on its own host as follows: 1- (/webApp1, tomcat1, host1, port1) => http://host1:port1/webApp1 (Main entry point : /webApp1/MainMenu.do) 2- (/webApp2, tomcat2, host2, p

Re: Struts validator woes : maxLength minLength

2005-02-19 Thread Niall Pemberton
Try changing your 's to all lower case maxlength Niall - Original Message - From: "Shah, Akshay" <[EMAIL PROTECTED]> To: Sent: Saturday, February 19, 2005 12:07 PM Subject: Struts validator woes : maxLength minLength > Hii All, > > I am using Struts 1.1, DynaValidatorForm. > The requi

Struts validator woes : maxLength minLength

2005-02-19 Thread Shah, Akshay
Hii All, I am using Struts 1.1, DynaValidatorForm. The required validation is working fine. The minlength and maxlength validations are not working for me. ie, wutever be the case they always throw the error. and I am completely clueless as to why is this happening. Any thoughts Any thoughts? Re

Re: Displaying mulitpage results

2005-02-19 Thread Peter Neu
OK, your are right this is too much work. I tried to use the display tag in my application. But there is an error thrown: Failed to load or instantiate TagExtraInfo class: org.displaytag.tags.TableTagExtraInfo I used Tomcat 5.27 and the 1.2 display-tag. Did you encounter this problem as well? R

Re: Displaying mulitpage results

2005-02-19 Thread Bing Qiao
As far as I know, you may do the paging using . But then you need to build the traversing and sorting functions youself. Regards bq On Sat, 19 Feb 2005 11:51:13 +0100, Peter Neu <[EMAIL PROTECTED]> wrote: > Ok, I will check this out. This a non-struts-project right? > Is there also an option onl

Re: Displaying mulitpage results

2005-02-19 Thread Peter Neu
Ok, I will check this out. This a non-struts-project right? Is there also an option only using struts? Bing Qiao schrieb: hi Peter, Have you tried displaytag before? On Sat, 19 Feb 2005 11:11:27 +0100, Peter Neu <[EMAIL PROTECTED]> wrote: Hello everybody, in my struts application I used to display

Re: Displaying mulitpage results

2005-02-19 Thread Bing Qiao
hi Peter, Have you tried displaytag before? On Sat, 19 Feb 2005 11:11:27 +0100, Peter Neu <[EMAIL PROTECTED]> wrote: > Hello everybody, > > in my struts application I used to display a table of query results on > one page. Now the results are becoming way too much to display them on > one page.

Displaying mulitpage results

2005-02-19 Thread Peter Neu
Hello everybody, in my struts application I used to display a table of query results on one page. Now the results are becoming way too much to display them on one page. What is the best way to implement a mulitpage result view? The problem is I have multi-step workflow and I don't want to confuse