Re: friday ha ha

2006-04-20 Thread Vinny
Yeah, hell yeah! On 4/20/06, Don Brown <[EMAIL PROTECTED]> wrote: > Well said Ted! I'll add that while my attentions have lately been mostly > towards getting WebWork 2 of the incubator and starting Struts Action 2, I > certainly am not abandoning Struts Action 1. While all the activity might >

Re: date picker (tried javawebparts but facing problem)

2006-04-20 Thread Frank W. Zammetti
Hi Vijay, Sorry, didn't see this earlier... From: *vijay r* <[EMAIL PROTECTED] > Date: Apr 20, 2006 3:21 PM Subject: date picker (tried javawebparts but facing problem) To: Struts Users Mailing List > Hello, I need to use a data picker

Reg: Storage of objects in the vector in the jsp and access them when the page is submitted dynamically

2006-04-20 Thread Shasirekha Engala
Hi I have some doubts regarding the storage of objects in a vector declared in the struts-config.xml. I am using DynaActionForms and the problem is, I have declared a vector named hiddedFieldVector in struts-config.xml as This vector has not been initialised any where. I

Re: Data-sources using struts:Tomcat's or NOT?

2006-04-20 Thread M.Liang Liu
Thanks a lot for every one's immediate remark.I may have got it. And I find that the struts-doc-1.2.9 is of use for beginners as me.

Re: Data-sources using struts:Tomcat's or NOT?

2006-04-20 Thread Dave Newton
M.Liang Liu wrote: > My question is that: Which one is better namely more effective?Which one is > deprecated? Or both are OK? > >From http://struts.apache.org/struts-doc-1.2.9/faqs/database.html: "NOTE: It is preferred that data connectivity be handled directly by the business classes, usual

Re: Data-sources using struts:Tomcat's or NOT?

2006-04-20 Thread Tamas Szabo
Hi, On 4/21/06, M.Liang Liu <[EMAIL PROTECTED]> wrote: > > I am a freshman to struts. > And now I got a problem to make my decision which data-source should I > choose. > > The point is as following: > I created a project via myeclipse using Tomcat 5.5.X as the web > server.Asa result,I can use

Re: Data-sources using struts:Tomcat's or NOT?

2006-04-20 Thread Dan Jas
I saw a comment earlier that the Struts data-source is deprecated and should not be used. - Original Message - From: "M.Liang Liu " <[EMAIL PROTECTED]> To: Sent: Thursday, April 20, 2006 9:45 PM Subject: Data-sources using struts:Tomcat's or NOT? I am a freshman to struts. And now

Data-sources using struts:Tomcat's or NOT?

2006-04-20 Thread M.Liang Liu
I am a freshman to struts. And now I got a problem to make my decision which data-source should I choose. The point is as following: I created a project via myeclipse using Tomcat 5.5.X as the web server.Asa result,I can use the Tomcat data-source related to JNDI: Step1.define the Resource

Multi-Application Support

2006-04-20 Thread Matthew Ryan
Hello all, I was wondering whether many people are using the Multi-Application Support in Struts and whether anyone knows of any examples on the web of implementing the Multi-Application Support? I'm not familiar with the Multi-Application Support and am curious whether this may be a means to org

Re: friday ha ha

2006-04-20 Thread Dave Newton
Jonathan Revusky wrote: > > [...] you are basically not going to have a constructive discussion. I believe I have just been physically wounded by irony. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

html:multibox validation using Struts Validator framework

2006-04-20 Thread Stanley, Hazel
Hi I am trying to do a client side validation for html: multibox tag. I need to check if all the boxes are checked, before submitting the request. I tried using the required rules in the validator-rules.xml. I see the JavaScript code in my jsp when I try to view source but I'm not getti

Re: [OT] Survey - how do others accomplish this...

2006-04-20 Thread Frank W. Zammetti
Keep in mind with a plug-in that it is not guaranteed to run only once... since the container is allowed to unload and reload a servlet at any time, the plug-in would fire any time that happens. This may or may not be a problem for your application, but it is something to be aware of either way.

Re: [OT] Survey - how do others accomplish this...

2006-04-20 Thread pantichd
I know you didn't. : ) Well, one good thing that came out my goof was that I found out about http://www.nabble.com. Thanks again Wendy! David "Wendy Smoak"

Re: [OT] Survey - how do others accomplish this...

2006-04-20 Thread Wendy Smoak
On 4/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Oh man, do I feel stupid now. I missed that one. SORRY! That wasn't my intent, I just started writing a response and partway through realized it sounded awfully familiar! There's too much traffic to expect anyone to read and remember eve

Re: [OT] Survey - how do others accomplish this...

2006-04-20 Thread Ted Husted
The MailReader 1.3 application handles this with a plugin. The plugin runs once when the application starts up and seeds application scope with a global reference to the DAO as well as "static" data for a drop-down. The Shale version does this with a listener. The Action2 version is using a listene

Re: [OT] Survey - how do others accomplish this...

2006-04-20 Thread pantichd
Oh man, do I feel stupid now. I missed that one. SORRY! Thanks Wendy David "Wendy Smoak" <[EMAIL PROTECTED]

Re: [OT] Survey - how do others accomplish this...

2006-04-20 Thread Wendy Smoak
On 4/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I thought a cleaner way would be to have a servlet that starts when the > webapp starts. The servlet would look up the values in some database (or > properties file(s)) and place the values in the app context. Initially, we > thought about

[OT] Survey - how do others accomplish this...

2006-04-20 Thread pantichd
Hello, I'm looking for an elegant and simple solution to something that I'm sure others have dealt with already. Don't want to reinvent the wheel so I thought might help to hear from others on how they're handling it. We have many webapps that need access to some common (mostly static) data for d

Re: Calling an action from another action

2006-04-20 Thread Rick Reumann
On 4/20/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 4/20/06, Rick Reumann <[EMAIL PROTECTED]> wrote: > > So again, really think about whether you need to go from one action to > > another. > > Lastly, if you do need to it (which from the above I doubt you need > > to), I wouldn't do it i

[shale] JSF AJAX components using Shale

2006-04-20 Thread Richard Wallace
Hey everyone, I hope you don't mind the cross post, but I just wanted to point this out to everyone. https://blueprints.dev.java.net/ajaxcomponents.html The AJAX components use Dojo for the client-side and build on Shale-remoting for the server-side. I had a similar idea and was even work

RE: [ANN] JAVAWUG BOF XVII / Friday 28th April 2006 @ 19:00 / Ora cle City of London

2006-04-20 Thread Pilgrim, Peter
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Peter Pilgrim ==== > > Dear All > > The JAVAWUG (Java Web User Group) has rescheduled the BOF > XVIII (Number > 17) from Thursday 20th April to now Friday 20th April 2006.

Re: Calling an action from another action

2006-04-20 Thread Michael Jouravlev
On 4/20/06, Rick Reumann <[EMAIL PROTECTED]> wrote: > So again, really think about whether you need to go from one action to > another. > Lastly, if you do need to it (which from the above I doubt you need > to), I wouldn't do it in the Action class but simply still return as > usual but have your

Re: friday ha ha

2006-04-20 Thread Don Brown
Well said Ted! I'll add that while my attentions have lately been mostly towards getting WebWork 2 of the incubator and starting Struts Action 2, I certainly am not abandoning Struts Action 1. While all the activity might not be apparent on this list, we've been hard at work migrating to a new Ma

Re: Calling an action from another action

2006-04-20 Thread Rick Reumann
On 4/20/06, Meenakshi Singh <[EMAIL PROTECTED]> wrote: > Please help me. > > I am using this code in one of my action classes(dispatch actions) > > if(returnvalue==1) //return value is the value returned by the dao method > after inserting the record into the database. > { > ActionForward fwd=new

Re: Dynamic menu

2006-04-20 Thread Fabio Luiz
I have already used struts menu, but now i need to use tiles menu, because my application use it, and i can´t change. thanks... - Original Message - From: "Ted Husted" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, April 19, 2006 7:01 PM Subject: Re: Dynamic menu

Re: Dynamic menu

2006-04-20 Thread Fabio Luiz
I have already used struts menu, but now i need to use tiles menu, because my application use it, and i can´t change. thanks... - Original Message - From: "Ted Husted" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, April 19, 2006 7:01 PM Subject: Re: Dynamic menu

Re: Class that "listens" is app "alive"

2006-04-20 Thread Wendy Smoak
On 4/20/06, Stanislav <[EMAIL PROTECTED]> wrote: > I have class that implements HttpSessionBindingListener and that class > "listens" all session in app. > My question is: is there any way to listen app? I have some thing to do if > app is being redeployed? > How can i do that? You can use a Se

Re: Class that "listens" is app "alive"

2006-04-20 Thread David Delbecq
Either use the init/destroy methods of a servlet filter Either create a servlet with a load-on-startup value Note: you will only know the webapp is being stopped / started, you will get no information about whether it is a redeploy or a simple tomcat shutdown/start Stanislav a écrit : >Hi! > >I

Class that "listens" is app "alive"

2006-04-20 Thread Stanislav
Hi! I have class that implements HttpSessionBindingListener and that class "listens" all session in app. My question is: is there any way to listen app? I have some thing to do if app is being redeployed? How can i do that? Tnx, Stanislav ---

Re: friday ha ha

2006-04-20 Thread Ted Husted
On 4/19/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > Second, all the comitters have answered your questions very nicely Yes, we have. Here's a handy summary for future reference: The Apache Struts project continues to move that the same pace we always have. We generally run 18 months to 24

RE: Books on JSF

2006-04-20 Thread CONNER, BRENDAN \(SBCSI\)
I Like Core JSF as well, along with the O'Reilly book JavaServer Faces by Hans Bergsten (which I feel does a better job going over certain concepts). Both books describe working with JSF and Tiles, which I found useful. (For more information about working with JSF and Tiles, e.g., using a single t

RE: Books on JSF

2006-04-20 Thread bsimonin
Buy both. The Core JSF book covers the HTMLDataTable and the DataTable Model much better than the JSF in Action book. But the Core JSF book is missing a great section on combining Struts with JSF. If you are looking for a book where you can quickly find a paragraph on how to do something qui

RE: Books on JSF

2006-04-20 Thread Dick Starr
I have both "JSF in Action" and "Core JSF". If you are buying only one book I would recommend "JSF in Action". However, I do find both books helpful. Dick -Original Message- From: Chris Loschen [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 9:26 PM To: user@struts.apache.org

Re: friday ha ha

2006-04-20 Thread Jonathan Revusky
Alexandre Poitras wrote: On 4/19/06, Dave Newton <[EMAIL PROTECTED]> wrote: Jonathan Revusky wrote: > Maybe a big big big EGO :) Sure, I have an ego that's bigger than the Grand Canyon. I also have a mole on my left buttock. But what does this have to do with anything though? Again, d

Re: How to splite the the sturts application into modules

2006-04-20 Thread Ted Husted
On 4/20/06, Vimal Varghese <[EMAIL PROTECTED]> wrote: > Can someone suggest a site for struts modulisation, with a small example. The "Examples" application that is bundled with the Struts 1.2.9 distribution uses modules. Orginally, each module was a separate example application. When modules came

Re: Books on JSF

2006-04-20 Thread Ted Husted
If you already have a background in Struts and/or Swing, then consider "Mastering JavaServer Faces" by Bill Dundey, et al. It spends some time comparing the three, to help the reader gain a sense of perspective. * http://opensource.atlassian.com/confluence/oss/display/BOOKS/Books+about+MyFaces H

Re: javascript in mozilla

2006-04-20 Thread Adam Hardy
So my guess was close - you are talking about validation? Chaitanya Parkhi on 20/04/06 10:45, wrote: hi adam,everyrhing is ther in my project but still the same code works in IE but not in firefox. On 4/19/06, Adam Hardy <[EMAIL PROTECTED]> wrote: Chaitanya Parkhi on 19/04/06 05:59, wrote: hi

Re: friday ha ha

2006-04-20 Thread Jonathan Revusky
Niall Pemberton wrote: On 4/18/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote: I would venture to guess, just as an outside observer, that if the author of Strecks is not given commit access to Struts itself, then he may run into limitations in the Struts codebase and end up making modification

Re: friday ha ha

2006-04-20 Thread Phil Zoio
Niall Pemberton wrote: On 4/18/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote: I would venture to guess, just as an outside observer, that if the author of Strecks is not given commit access to Struts itself, then he may run into limitations in the Struts codebase and end up making modific

Re: javascript in mozilla

2006-04-20 Thread Chaitanya Parkhi
hi adam,everyrhing is ther in my project but still the same code works in IE but not in firefox. On 4/19/06, Adam Hardy <[EMAIL PROTECTED]> wrote: > > Chaitanya Parkhi on 19/04/06 05:59, wrote: > > hi guys,i m facing a problem tha javascript is not working in mozilla > > firefox 1.0 ,i came to kn

RE: setValue() and test-framework

2006-04-20 Thread Ian.Priest
Yup - that fixed it. I added the following to my test's setUp() method: vb = facesContext.getApplication().createValueBinding("#{dialog}"); vb.setValue(facesContext, new HashMap()); Thanks for the help, Cheers, Ian. -Original Message- From: [EMAIL PROTECT

Re: [Inner Javascript issue]

2006-04-20 Thread Deva Pitchai(NatureSoft)
hi it worked.. it seems some path problem was there thanks for you help --Deva Moreno Herranz, Jose Luis wrote: Hi Deva. I think you must include both js files in your jsp De: Deva Pitchai(NatureSoft) [mailto:[EMAIL PROTECTED] Enviado el: jue 20/04/2006 9

Re: friday ha ha

2006-04-20 Thread Zoran Avtarovski
Thanks Niall, It only took a week but you've just said is the answer I was hoping to hear. This sounds really positive. I agree with Phil and others that Strecks should be an extension to struts. But, I take heart in hearing you and Ted supporting it's existence and actively encouraging Phil to su

RE: [Inner Javascript issue]

2006-04-20 Thread Moreno Herranz, Jose Luis
Hi Deva. I think you must include both js files in your jsp De: Deva Pitchai(NatureSoft) [mailto:[EMAIL PROTECTED] Enviado el: jue 20/04/2006 9:11 Para: Struts Users Mailing List Asunto: [Inner Javascript issue] hi all anybody know how to call a js file in

date picker (tried javawebparts but facing problem)

2006-04-20 Thread vijay r
Hello, I need to use a data picker. I tried javawebparts but I am getting the problem of class version incompatibility for class 'CalendarTag'. I am using WAS 5.0 which is based on JDK 1.3. Is there a version of javawebparts for JDK 1.3 which I can use. Or is there any other free date picker avai

[Inner Javascript issue]

2006-04-20 Thread Deva Pitchai(NatureSoft)
hi all anybody know how to call a js file in a js file like this main.js: document.write(" <\/script>");

second.js:
funciton alertMe() {
   alert("hi");
}


mainjsp.jsp: