RE: DynaValidatorActionForm client-side validation

2004-04-08 Thread Kunal H. Parikh
I may be a little off here, but why are you using the DynaValidatorActionForm ? Try using the DynaValidatorForm and u should have client-side and server-side validation working. This is because, the DynaValidatorActionForm.getValidationKey returns the mapping PATH, whereas the DynaValidatorForm.g

How To Pass The Request Scope To Another Class?

2004-04-08 Thread Caroline Jen
My ListThread class extends Action. And in the ListThread class, I first retrieve some of the text fields; i.e., request.getParameter( ... ); Thereafter, I want to pass the request scope together with some parameters to another class for some further processing. This is what I do: public final c

Re: Module navigation

2004-04-08 Thread Marian Schedenig
On Thursday 08 April 2004 20:14, Jason Miller wrote: > I found a solution to this problem by defining the global forwards and > resources in a common configuration file, then using that common > configuration in each module (in addition to the module specific configs.) Excellent. This is EXACTLY w

Re: Module navigation

2004-04-08 Thread Marian Schedenig
On Thursday 08 April 2004 20:14, Bill Siggelkow wrote: > The "module" attribute is available on the html:link tag in Strut 1.2. I see. I couldn't find any version information in the taglib doc. > One thing you could try would be using the "href" attribute with a > relative URL. > > Goto User Foo

Slightly OT: Preventing of buffer flush with tiles:insert

2004-04-08 Thread Shahak.Nagiel
I'm trying to use a custom tag to gzip (compress) pages (filter won't work because I'm in a servlet 2.3 environment). On straightforward JSP's, it works fine. But in "layout" JSP's which employ the tag, I get IOExceptions and the container complains "Illegal to flush within a custom tag," po

DynaBeans with struts faces [Was Right Back in My Struts Face]

2004-04-08 Thread Joe Hertz
James- Thank you. I had already grabbed faces-console, but many of those links actually had (more) current examples. Still there's nothing explicit that would make one realize f:view replaced f:use_faces, but I figured it out. Is there anything special I need to do to use a struts-config define

about and "response already committed" exception

2004-04-08 Thread Mu Mike
Hi,all I m using a in my jsp file(myjsp.jsp), the file contains also a form, when I submit the form, the action will actually foward back to this jsp---the included content in the will have been changed thus display new content, the fact is , it throws response already committed exception c

Re: Tiles basics

2004-04-08 Thread Craig McClanahan
Mathew, Manoj wrote: where can i find the down load of Tile binaries? I spend soem time in www.apache.org but couldn't figure it out..? There's no separate download needed ... it's bundled with Struts. Thank-you, Manoj Mathew Craig ---

Re: Custom ActionForward subclass in web.xml

2004-04-08 Thread Kumar M
Deprecated in 1.1 Not sure if there is a replacement mechanism other than adding "className" to each forward element. [EMAIL PROTECTED] wrote: Deprecated in 1.2 or in 1.1? Is there a replacement mechanism? -Original Message- From: Kumar M [mailto:[EMAIL PROTECTED] Sent: Thursday, Apri

RE: Custom ActionForward subclass in web.xml

2004-04-08 Thread Paul, R. Chip
Deprecated in 1.2 or in 1.1? Is there a replacement mechanism? -Original Message- From: Kumar M [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 4:45 PM To: Struts Users Mailing List Subject: Re: Custom ActionForward subclass in web.xml You could use the "forward" param for Ac

Re: Custom ActionForward subclass in web.xml

2004-04-08 Thread Kumar M
You could use the "forward" param for ActionServlet: forward com.this.is.my.CustomActionForward But, I think this is deprecated. [EMAIL PROTECTED] wrote: I ready how to do this once, and I can't seem to find the doc/article/email I read it in. I want to

Custom ActionForward subclass in web.xml

2004-04-08 Thread Paul, R. Chip
I ready how to do this once, and I can't seem to find the doc/article/email I read it in. I want to make my subclass of ActionForward the default used by the entire application, so I don't have to do: Every time I want to use it. I know there's something you can put in web.xml that tells strut

[DisplayTag]How to avoid 'context switching' when sorting columns

2004-04-08 Thread Frank Schaare
Hi, i´ve got a sortable table with an actionbar generatet by decorator. The decorator returns dynamic links like this: return "doIt". Though, an action in http://{myContext}/doSomething.do?id=x is called. This worked fine for me, until i tried to sort some colunms. Now, the jsp calls itself rek

RE: Question about logic:iterator, continue

2004-04-08 Thread Richard Yee
Panchasheel, Invert your logic. Instead of: > > continue;-- > > Use > > Regards, Richard --- "Gandle, Panchasheel" <[EMAIL PROTECTED]> wrote: > What I meant was, > for (Iterator iter = > xx.iterator();iter.has

Re: Tiles basics

2004-04-08 Thread Mario St-Gelais
Mathew, Manoj wrote: where can i find the down load of Tile binaries? I spend soem time in www.apache.org but couldn't figure it out..? Thank-you, Manoj Mathew -Original Message- From: yoge [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 9:27 AM To: Struts Users Mailing List

RE: Question about logic:iterator, continue

2004-04-08 Thread Gandle, Panchasheel
What I meant was, for (Iterator iter = xx.iterator();iter.hasNext();) { if (condition 1) continue; } How do I implement this with logic:iterate, especially the continue part continue;-- Thanks Panchasheel -Orig

RE: Tiles basics

2004-04-08 Thread Mathew, Manoj
where can i find the down load of Tile binaries? I spend soem time in www.apache.org but couldn't figure it out..? Thank-you, Manoj Mathew -Original Message- From: yoge [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 9:27 AM To: Struts Users Mailing List Subject: Re: Tiles b

RE: DynaValidatorActionForm client-side validation

2004-04-08 Thread Saul Q Yuan
Hmmm, I don't seem to have that problem. Did you specify method="validateYourActionForm" in addition to: formName="/yourActionPath" in your -Original Message- > From: Adam Hardy [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 08, 2004 3:02 PM > To: Struts Users Mailing List > Subject: R

Re: Action Class - No of instances

2004-04-08 Thread Craig McClanahan
Senthivel U S wrote: Greetings, Thanks Mr Craig and Mr Niall. Yes we are having sub application modules and we are having one common action Class for some action mappings (design based on struts-scaffold - Refer: Struts In Action).I have to check it whether it is for module or for application. A

Re: DynaValidatorActionForm client-side validation

2004-04-08 Thread Adam Hardy
Hmmm, good question. I had this problem, but never managed to solve it. I thought I was doing something wrong but I couldn't work it out. Eventually I changed to DynaValidatorForm, which wasn't a big problem because there were only 2 or 3 forms where I wanted to use the same DynaForm but differ

Re: Module navigation

2004-04-08 Thread Bill Siggelkow
The "module" attribute is available on the html:link tag in Strut 1.2. One thing you could try would be using the "href" attribute with a relative URL. Goto User Foo As you said, you could also use the SwitchAction. Marian Schedenig wrote: In our Struts-/Tile-based web application, we have tro

Re: Module navigation

2004-04-08 Thread Jason Miller
I was faced with something similar in my last project - while the app was split into multiple modules (13, to be exact,) there were several things that I needed to be truly global, like various forwards, and certain resource bundles. I found a solution to this problem by defining the global for

RE: 'Can't insert page' Error - But it's a tile!

2004-04-08 Thread Mathew, Manoj
thanks agian ..I am more clear now. -Original Message- From: Avinash Gangadharan [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 12:06 PM To: 'Struts Users Mailing List' Subject: RE: 'Can't insert page' Error - But it's a tile! Manoj, Requires a .jsp, it is the same a

RE: 'Can't insert page' Error - But it's a tile!

2004-04-08 Thread Avinash Gangadharan
Manoj, Requires a .jsp, it is the same as template. But here it is the name of a definition that was created. Therefore tiles looks for a jsp with the name "tiles.content.common.downloadHeader" Which is not there. For definitions therefore you have This link clarify your confusion : htt

RE: 'Can't insert page' Error - But it's a tile!

2004-04-08 Thread Takhar, Sandeep
definition will come from the config file for sure. Not sure about page? sandeep -Original Message- From: Mathew, Manoj [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 12:54 PM To: Struts Users Mailing List Subject: RE: 'Can't insert page' Error - But it's a tile! Avinash t

RE: 'Can't insert page' Error - But it's a tile!

2004-04-08 Thread Mathew, Manoj
Avinash thanks for the reply and i am lloking in to those examples. but still what is the difference between and Thank-you, Manoj Mathew GIS-Systems (515-362-0539) -Original Message- From: Avinash Gangadharan [mailto:[

RE: 'Can't insert page' Error - But it's a tile!

2004-04-08 Thread Avinash Gangadharan
Manoj, Mark created a tiles-definition and created his jsp using that definition. The definition in turn has all references to the jsp --- Mark had: --I have a tile defined as: -- -- To learn more about definitions you can look at the sample applications that come with tiles or go to

monkeys-bunches-bananas design issue - not Friday

2004-04-08 Thread Adam Hardy
I've got a design issue re nested beans and DTOs from EJB, the classical (if that's not stretching it) monkeys-bunches-bananas situation. I was wondering how people solve the issue of putting the nested beans together from the data in the database. I am creating my DTOs from a CMP-EJB layer usi

RE: Application Context Variables

2004-04-08 Thread Marco Mistroni
Hi, I'd go 4 plugins My 2 cents Regards marco -Original Message- From: Kumar M [mailto:[EMAIL PROTECTED] Sent: 08 April 2004 15:45 To: Struts Users Mailing List Subject: Re: Application Context Variables Or you can write a servlet that will load all these variables an

Re: struts-faces

2004-04-08 Thread snpe
Hello Matthias, I don't try my project - i try struts-faces2.war after compile (I add jsf-*.jar i WEB_INF.lib and JSF tlds in WEB-INF;there is struts-faces.jar) Application struts-faces2 don't work correct I will try my project with JSF Thanks On Thursday 08 April 2004 07:34 am, Matthias Wessend

RE: 'Can't insert page' Error - But it's a tile!

2004-04-08 Thread Mathew, Manoj
I am new to Tiles , ignore me if my doubt doesn't make any chage How the difference matters between your code and this or the one from Mark .. ==> Isn't the value of attribute "page" should be .jsp file ==>Isn't the value of attribute "value" should be .jsp file Thank-you, Manoj Mathew

RE: Application Context Variables

2004-04-08 Thread MARU, SOHIL (SBCSI)
Thanks guys, thats a bunch of ideas I can go with. This mailing list rocks!! -Original Message- From: Kumar M [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 9:45 AM To: Struts Users Mailing List Subject: Re: Application Context Variables Or you can write a servlet that will l

RE: Application Context Variables

2004-04-08 Thread Lowery, Mat
A listener that listens for the contextInitialized event would probably work. You would write a class that implements ServletContextListener and then register the listener in web.xml like so: com.whatever.MyListener -Original Message- From: Takhar, San

Re: Application Context Variables

2004-04-08 Thread Kumar M
Or you can write a servlet that will load all these variables and store them on the application scope. Configure for this servlet in web.xml so that it is the first to get loaded. [EMAIL PROTECTED] wrote: Personally I prefer using a ServletContextListener myself. Mark -Original Message--

Re: Problem with Formbean validate method forwarding to input pag e

2004-04-08 Thread Kumar M
That would be the validate parm in the ActionMapping. [EMAIL PROTECTED] wrote: Turns out that the "validate" param in the web.xml for the action servlet does not do what I thought - which is turn off form validation. As a matter of fact, I cannot find any good info on exactly WHAT that param does

RE: Problem with Formbean validate method forwarding to input pag e

2004-04-08 Thread Todd Bryant
Turns out that the "validate" param in the web.xml for the action servlet does not do what I thought - which is turn off form validation. As a matter of fact, I cannot find any good info on exactly WHAT that param does in the web.xml. Go figure. Does anyone know how to turn the default form valida

RE: Problem with Formbean validate method forwarding to input pag e

2004-04-08 Thread Todd Bryant
Excellent idea Ray. I just need to set the validate param in the web.xml for the action servlet to false. Then I am good. Thanks Ray, sometimes you just can't see the simple solutions when they are right in front of you. -Original Message- From: Ray Madigan [mailto:[EMAIL PROTECTED] S

Re: "No bean specified" error

2004-04-08 Thread Susan Bradeen
"Prasad, Kamakshya" <[EMAIL PROTECTED]> wrote on 04/07/2004 09:24:54 PM: > Hi, > > I have this line in my jsp > > >property="courseDetailsArray" indexId="ctr"> > > > Maybe try changing your "name" attribute? Should the above line be: Susan Bradeen >

Re: [OT-rant] Right Back in My Struts Face

2004-04-08 Thread James Holmes
Joe, My guess is that you are trying to make a pre-1.0 example work with the 1.0 Final release of JSF. In most scenarios, that will not work because there have been significant changes to JSF throughout its release cycle. I would suggest trying out another example application instead of the one

RE: DynaAction or Map Backed Form?

2004-04-08 Thread Amin Lalji
I've been able to "hack" it using logic:iterate:  : " value=""> Problem is, I lose my counter, and the ability to use validation . there has got to be a better way! Thank, /A -Original Message- From: Ray Madigan [mailto:[EMAIL PROTECTED] Sent: Wednesday, April

[OT-rant] Right Back in My Struts Face

2004-04-08 Thread Joe Hertz
I picked up JSF today, never having touched JSF in the first place. So far, struts faces seems fine, but as far as the JSF1.0 Reference goes, I am...well..it's easier to show you. My experience went something like this. Jasper can't find the tag. Hmmm. This is kind of a critical thing, so I

RE: Need advice on design decisions and architecture issues.

2004-04-08 Thread Takhar, Sandeep
Anyone know if the lazy dynabean mentioned works on lists or not? I can't imagine how it would. Same with nested beans. I guess I might have to take a look and see what happens. sandeep -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004

RE: Application Context Variables

2004-04-08 Thread Takhar, Sandeep
If you have filters this might be an option. sandeep -Original Message- From: MARU, SOHIL (SBCSI) [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 6:52 PM To: Struts Users Mailing List Subject: Application Context Variables Hello, I need to instantiate some objects and sto

RES: [work] Re: tomcat 5 with struts and tiles

2004-04-08 Thread Paulo Alvim
Hi Everyone! I'd like to thank you all for the help and let you know about the solution... I spent the last days trying to figure out why my Struts 1.1/Tiles+Tomcat 4.1.24 app (exactly the same app!) didn't perform in Tomcat 5.0.19 as expected. I suspected of Tiles, JSTL, Struts, Tomcat itself, e

Help: logic:iterate arraylist order of values in table

2004-04-08 Thread kamakshya mishra
Hi I am using an arraylist in a form bean to populate a table. But when I submit the form and same screen appears again, the order of the value in the table changes, and it keeps on happening after every submit. Could anyone please help me

DynaValidatorActionForm client-side validation

2004-04-08 Thread Igor Antonacci
Hi All, I'm working on DynaValidatorActionForm client-side validation but I've some problems about. Everything is working but, as DynaValidatorActionForm maps validation rules with Action path attribute, Struts generates a client side validation method name with a "/" character. It is because Act

Re: validation.xml

2004-04-08 Thread Adam Hardy
What you have to do is make the collection available to the JSP. How you do that best depends on what sort of data is in the collection, in terms of how often the data will change. If the data is going to change on every request, then you should get it on every request, i.e. make you input attr