struts submit tag

2006-03-20 Thread raghava reddy
Hi all I am using a html:form in that i want to keep my own login image if i use html:submit it is keeping ordinary submit button please help me -- View this message in context: http://www.nabble.com/struts-submit-tag-t1315939.html#a3508103 Sent from the Struts - User forum at Nabble.com.

validwhen - Example not works properly

2006-03-20 Thread starki78
Can someone give me a hint how to improve this example: I want to use this in that way assuring that one date is later than another: valid (*this* >DateFrom) - To unsubscribe, e

Re: Validator Comparing 2 Date Fields

2006-03-20 Thread Jari Fredriksson
starki78 wrote: Hi, I've a short question. Is it possible to compare two fields which contain date-values. I would like to check if a start-date is older than an end-date. This should be a common problem. How to implement this? Thanks a lot Starky Convert the values to Java Dates and make th

Re: has struts reached the saturation

2006-03-20 Thread Frank W. Zammetti
Jonathan Revusky wrote: Well, have you considered the positional issues I raised in the earlier post? The order in which people vote is quite important. Offhand, here is an idea: You know, I meant to address that and I completely forgot :) I think you do raise a valid issue. I'm not really

RE: Developing and running Struts on Tomcat without an Internet Connection

2006-03-20 Thread Sunil_Sahu
Gurpreet, I have faced same problem and got the solution too. Actually I have taken struts-config.xml file from my old project and DOCTYPE in struts-config.xml was having old URL of apache given as bold in following doctype. http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";> While

Re: has struts reached the saturation

2006-03-20 Thread Alexandre Poitras
Anyway, Dakota I don't see the point to continue this argument since I honestly think you haven't really give a try to JSF or looked deeply into its design. You have shown more then one time your ignorance about it. Yes, it is a fallacy, but I am justifying an opinion here and not a fact ;). I am

Re: has struts reached the saturation

2006-03-20 Thread Dakota Jack
You said it came from Struts. Jeesch` On 3/20/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > > > > These distinctions bo back before Java itself and are not Struts > progeny. > > I have programmed in Smalltalk and used Swing API in the past so I > have don't narrow my point of view to my S

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-20 Thread Dakota Jack
That does not need an "Or was it". It can be for tools and other things. It clearly, however, is built to compete with the RAD deveolopment of tools. Indeed, the guy I preferred likes JSF because he sells tools. On 3/20/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > On 3/20/06, Dakota Jack

Re: has struts reached the saturation

2006-03-20 Thread Alexandre Poitras
On 3/20/06, Dakota Jack <[EMAIL PROTECTED]> wrote: > MVC is not a "pattern" and never has been. MVC is composed of various > patterns, e.g. the relation between the view and the controller is normally > based on the Strategy Pattern and the relation between the view and the > model is normally bas

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-20 Thread Dakota Jack
So it is "dishonest" to favor the view that I agree with? That is an odd position. I usually tend to favor what I agree with, don't you? If this was your big strategy to trick me, I have to admit it will work every time. Your ideas about a front controller and those you read about were started

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-20 Thread Alexandre Poitras
On 3/20/06, Dakota Jack <[EMAIL PROTECTED]> wrote: > I was not talking about you. I was talking about JSF. JSF is well known > for being for tools. Read your own citations. > It is? Or was it just one goal among many others? > On 3/20/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > > > I

Re: has struts reached the saturation

2006-03-20 Thread Dakota Jack
Very interesting conversation. Thanks to you both. On 3/20/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote: > > Frank W. Zammetti wrote: > > Welcome Jonathan! Better late than never :) > > > > Jonathan Revusky wrote: > > > >>> I think here we have to agree to disagree. I see there being a > >>>

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-20 Thread Alexandre Poitras
On 3/20/06, Dakota Jack <[EMAIL PROTECTED]> wrote: > If you go directly from view to controller to view, this is called a "page > controller". It is what it is. It is in my opinion a design mess that is > adapted by tool based applications like JSF, .NET and Visual Basic. If you > think that is

Re: has struts reached the saturation

2006-03-20 Thread Jonathan Revusky
Jonathan Revusky wrote: Frank W. Zammetti wrote: Welcome Jonathan! Better late than never :) Jonathan Revusky wrote: Well, to put it another way, if I were assigned the task of evaluating different things in this space, and Struts was one of them, it is very unlikely that I would settle o

Re: has struts reached the saturation

2006-03-20 Thread Jonathan Revusky
Frank W. Zammetti wrote: Welcome Jonathan! Better late than never :) Jonathan Revusky wrote: I think here we have to agree to disagree. I see there being a responsibility involved that you don't. It isn't like anyone can just come along and contribute, contrary to what we might want people

Re: has struts reached the saturation

2006-03-20 Thread Jonathan Revusky
Frank W. Zammetti wrote: Jonathan Revusky wrote: A third point that I must make in this context is that, though, in the above, I am criticizing the "electoral democracy" aspects of this, I actually don't subscribe to the idea that an open source project is a one man-one vote democracy of any

Re: has struts reached the saturation

2006-03-20 Thread Dakota Jack
Essentially your own citations support everything i have been saying, oddly enough. Read your citation http://websphere.sys-con.com/read/46516.htm . It is excellent. On 3/20/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > Here is more information Dakota : > http://www.phpwact.org/pattern/m

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-20 Thread Dakota Jack
I was not talking about you. I was talking about JSF. JSF is well known for being for tools. Read your own citations. On 3/20/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > I don't agree with you FacesServlet is a pure front controller, Faces > lacks an application controller on purpose b

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-20 Thread Dakota Jack
If you go directly from view to controller to view, this is called a "page controller". It is what it is. It is in my opinion a design mess that is adapted by tool based applications like JSF, .NET and Visual Basic. If you think that is good stuff, be my guest. It is not the C in MVC, not matte

Re: Security issues with apache Jomcat/Jboss and Struts .

2006-03-20 Thread Niall Pemberton
Maybe you should post the secuiry related parts of your web.xml - its difficult to help with config issues without seeing the config. Niall On 3/20/06, Haim Raman <[EMAIL PROTECTED]> wrote: > I am having an Issue here that I need your help on. > > We are using here Struts based web application. >

Re: validating user entered values

2006-03-20 Thread Niall Pemberton
On 3/17/06, fea jabi <[EMAIL PROTECTED]> wrote: > in strutsconfig.xml the form bean attribute has > > > Prepare jsp action > Form1.set("newBalance", "10"); > > In jsp I have > currencySymbol="" var="newBal"/> > > > Validator.xml has > > > > > > The Dispatch action has > Dy

Re: has struts reached the saturation

2006-03-20 Thread Dakota Jack
MVC is not a "pattern" and never has been. MVC is composed of various patterns, e.g. the relation between the view and the controller is normally based on the Strategy Pattern and the relation between the view and the model is normally based on the Observer Pattern. There are others. Further, the

Re: Struts 1.2 Roles

2006-03-20 Thread Paul Benedict
You have two options: 1) Do not use roles. It is coded with mere functionality to return a 403 if the role is not there. Instead check the role explicity in the action and do what you want. 2) Use web.xml to handle the error codes. You can configure your application to take action on certain erro

Re: has struts reached the saturation

2006-03-20 Thread Hey Nony Moose
incidentally, I now think that there has been far more mud slung in this thread than I am personally and professionally comfortable with. if my few comments have in any way caused discomfort, i apologise. live long and prosper, H.N.Moose Hey Nony Moose wrote: >perhaps this thread is now "has st

Re: has struts reached the saturation

2006-03-20 Thread Alexandre Poitras
Here is more information Dakota : http://www.phpwact.org/pattern/model_view_controller "Because the popular MVC framework Struts implements a combined Front Controller and Application Controller, some people assume that this is what is meant by the MVC pattern in the context of a web application.

Re: has struts reached the saturation

2006-03-20 Thread Frank W. Zammetti
Jonathan Revusky wrote: A third point that I must make in this context is that, though, in the above, I am criticizing the "electoral democracy" aspects of this, I actually don't subscribe to the idea that an open source project is a one man-one vote democracy of any sort anyway. For example, i

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-20 Thread Alexandre Poitras
I don't agree with you FacesServlet is a pure front controller, Faces lacks an application controller on purpose but not a front controller. It fits to the description in the blue prints and in Martin Fowler book, the best reference on Enterprise applications patterns I know of. Just tell me why yo

Re: has struts reached the saturation

2006-03-20 Thread Jonathan Revusky
Craig McClanahan wrote: On 3/19/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote: You say this as if it is the most obvious thing in the world. But is it? I am quite skeptical. You take as a given that commit privileges have to be closely guarded, like a high priesthood guards the inner sanctum.

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-20 Thread Mark Lowe
On 3/20/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 3/18/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > > > > > > Tomcat is perhaps a little different in that its a reference > > implementation its survival and usefulness is potentially broader. > > > Having been heavily involved in the develo

Struts 1.2 Roles

2006-03-20 Thread Marcio Ghiraldelli
Hello, the atribute "roles" in an actionMapping configuration works perfectly, deniyng access to unauthorized users. Is there an way to redirect to a login page, instead showing a forbidden error page, like I can do in the web.xml, where a login and an error page can be configured?

Re: has struts reached the saturation

2006-03-20 Thread Dakota Jack
What is this, 1984? Did you look at the actual statistics people presented, Craig? Do you deny them? On 3/20/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > On 3/15/06, Hey Nony Moose <[EMAIL PROTECTED] > wrote: > > > > Craig McClanahan wrote: > > > > >I see job postings that used to be 80/2

Re: has struts reached the saturation

2006-03-20 Thread Craig McClanahan
On 3/20/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > On 3/20/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > On 3/15/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > > > Compare the (upcoming) > > > > implementation of the iBATIS JPetStore application (implemented with > > > > Strut

Re: has struts reached the saturation

2006-03-20 Thread Dakota Jack
You missed the point, Craig. He was not trying to "sell" anything. He was talking about the gapping holes in your logic about "meritocracy". You, as usual, ignored any serious debate on your own Struts "meritocracy" claims and jumped to the wholly irrelevant question whether Apache works. Pleas

Re: has struts reached the saturation

2006-03-20 Thread Dave Newton
Craig McClanahan wrote: > It's much easier to use extension points built in to the architecture than > replace the whole implementation :-). > > Side note -- you know the way that WW2 lets you combine the Struts notions > of Action and ActionForm into a single class? JSF does that already too > :-

Re: has struts reached the saturation

2006-03-20 Thread Dave Newton
Craig McClanahan wrote: > PS: That being said, I emotionally knew Struts was actually becoming a big > deal when *my* personal bank started using a Struts based application for > their electronic banking :-). > That must have been cool. I had a similar experience when I noticed an ultrasound

Re: has struts reached the saturation

2006-03-20 Thread Dakota Jack
Yes, no one acquainted with the facts can possibly believe that the present committers form a meritocracy. They also are not their based on code proffers. This is not to say that merit has absolutely nothing to do with it or that code has absolutely nothing to do with it. The best lies are alway

Re: has struts reached the saturation

2006-03-20 Thread Michael Jouravlev
On 3/20/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 3/15/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > > Compare the (upcoming) > > > implementation of the iBATIS JPetStore application (implemented with > > > Struts, but with a "dispatch actions" hack) > > > > Who's making it? iBati

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-20 Thread Dakota Jack
This (below) has nothing to do with smarts. It has to do with the purpose of JSF. The same was true of Visual Basic. A genius might use it or build it or whatever. Indeed, I have friends smarter than me for sure who worked for years with Visual Basic. But, it was made for the technically chall

Re: has struts reached the saturation

2006-03-20 Thread Michael Jouravlev
On 3/20/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > In all three cases, the concept is to map the Portlet API "processAction()" > method to the Restore View through Invoke Application phases of the JSF > ifecycle, and to map the "render" method to the Render Response phase. The > interesting

Re: has struts reached the saturation

2006-03-20 Thread Craig McClanahan
On 3/15/06, Hey Nony Moose <[EMAIL PROTECTED] > wrote: > > Craig McClanahan wrote: > > >I see job postings that used to be 80/20 "struts and everything else" > start > >to be 30/30/20 "struts/JSF/everything else". > > > try 60/10/x Well, I never could do arithmetic when I was jet lagged :-). 30/

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-20 Thread Craig McClanahan
On 3/18/06, Mark Lowe <[EMAIL PROTECTED]> wrote: > > > Tomcat is perhaps a little different in that its a reference > implementation its survival and usefulness is potentially broader. Having been heavily involved in the development of Tomcat (the Catalina servlet container in Tomcat 4.x and late

Re: has struts reached the saturation

2006-03-20 Thread Craig McClanahan
On 3/15/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: [snipping] > > Compare the MailReader app as > > implemented with Struts and with Shale+JSF. > > Craig, can you help with the link to Shale Mailreader, could not find it. Nightly builds of all the Shale based webapps are available as war f

Re: has struts reached the saturation

2006-03-20 Thread Craig McClanahan
On 3/16/06, James Mitchell <[EMAIL PROTECTED]> wrote: > > What if <--- dangerous I know! > > What if there existed a JSF 1.2 implementation built with WW2 at the > core? > > I'm definitely not an expert with either JSF or WW2, however, I've > looked at both just enough to be convinced that it is

Re: has struts reached the saturation

2006-03-20 Thread Craig McClanahan
On 3/20/06, Al Eridani <[EMAIL PROTECTED]> wrote: > > On 3/20/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > > At Apache, committers are a self-selected meritocracy. > > That is a contradiction in terms (what is sometimes called an "oxymoron"). > I'll take your word that they are self-elected

Re: has struts reached the saturation

2006-03-20 Thread Craig McClanahan
On 3/15/06, Leon Rosenberg <[EMAIL PROTECTED] > wrote: > > Speaking of JSF, > is there somewhere a Filter or n extension allowing you to use > JSF/Shale/MyFaces without having a single url and send everything over > POST? > Until there is one, I don't see how you can use JSF in portals, but if > th

Re: has struts reached the saturation

2006-03-20 Thread Al Eridani
On 3/20/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > At Apache, committers are a self-selected meritocracy. That is a contradiction in terms (what is sometimes called an "oxymoron"). I'll take your word that they are self-elected (honestly, I don't know). Therefore, meritocracy is not involv

Re: has struts reached the saturation

2006-03-20 Thread Dave Newton
Frank W. Zammetti wrote: > Dave Newton wrote: >> Devil's Dictionary entry for "communism"? > Is that a real work? I'm not aware of it. Ambrose Bierce. But I don't believe there is an entry for communism in it; I made that part up. > Interestingly, I think you would *still* have to guard commit >

Re: has struts reached the saturation

2006-03-20 Thread Frank W. Zammetti
Dave Newton wrote: [...] to ignore the bad parts of human nature would be folly Devil's Dictionary entry for "communism"? Is that a real work? I'm not aware of it. There are better places to "get your legs" than something like Struts. You know, I've always thought it would be cool to hav

Re: has struts reached the saturation

2006-03-20 Thread Craig McClanahan
On 3/19/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote: > > > You say this as if it is the most obvious thing in the world. But is it? > I am quite skeptical. You take as a given that commit privileges have to > be closely guarded, like a high priesthood guards the inner sanctum. In the general c

Re: has struts reached the saturation

2006-03-20 Thread Dave Newton
Frank W. Zammetti wrote: > Welcome Jonathan! Better late than never :) As long as it doesn't degrade into the Velocity vs. FreeMarker tirades of old :/ > [...] to ignore the bad parts of human nature would be folly Devil's Dictionary entry for "communism"? > There are better places to "get you

Re: Struts CMS ?

2006-03-20 Thread Shshank Jain
:)) That was short and simple !!! got the point... Well the situation is not that bleak. The way to achieving that would to first have the system in place, get the index page which has the most news etc. on the system, then gradually over a period of time as we develop expertise carry the system t

Re: Struts CMS ?

2006-03-20 Thread Dave Newton
Shshank Jain wrote: > But tell me whats the time period required to establish such a system. > We are quite near our release date. About a week or so . In this short > period of time is it possible to migrate the site to lenya ?? > Short answer: no. Slightly longer answer: you want to migrate

Re: [Shale] shale-mailreader could not be started

2006-03-20 Thread Craig McClanahan
On 3/19/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > Do current automated builds of Shale Mailreader represent its finished > or near-finished state, or it is still work in progress? It is definitely a work in progress, like all the rest of Shale (which is currently not in a final release

Re: [shale] how MyFaces's component do layout

2006-03-20 Thread Craig McClanahan
On 3/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I cannot find the place to download Clay. > Does Clay exist inside Shale already? Yes. In the first few lines of documentation, it says Clay is similar to Tapestry > and Facelets. If there are available products to use, does Clay close

Re: [shale] how MyFaces's component do layout

2006-03-20 Thread Craig McClanahan
On 3/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > As I find JSF has h:subview or other h: component, > can I use JSF component only such that I can do without Tiles? > If yes, should it be h:subview or other component? To be precise, JSF supports not . It is part of the core library

Security issues with apache Jomcat/Jboss and Struts .

2006-03-20 Thread Haim Raman
I am having an Issue here that I need your help on. We are using here Struts based web application. The configuration used here is jboss 4.01-sp1 running inside an apache web server on a linux based machine with Struts version 1.2.4. I am using form based authentication with a realm that works

Re: url after validation

2006-03-20 Thread Karel Honzl
Hi, I'm using tiles. action /insert prepares insert form and action /insertBlog store it do database. I'm validation in form bean. Relevant part of strits-config is: ... 2006/3/16, Antonio Petrelli <[EMAIL PROTECTED]>:

RE: validating user entered values

2006-03-20 Thread fea jabi
can someone help me with this? Thanks. From: "fea jabi" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: validating user entered values Date: Fri, 17 Mar 2006 15:15:43 -0500 in strutsconfig.xml the form bean attribute has Prepare jsp action For

Validator Comparing 2 Date Fields

2006-03-20 Thread starki78
Hi, I've a short question. Is it possible to compare two fields which contain date-values. I would like to check if a start-date is older than an end-date. This should be a common problem. How to implement this? Thanks a lot Starky

Re: [FRIDAY] Re: has struts reached the saturation

2006-03-20 Thread Alexandre Poitras
On 3/20/06, Dakota Jack <[EMAIL PROTECTED]> wrote: > I have expressed my "technical concerns" more than once. I have even had > Craig agree with them, in a sense. JSF is built for those who are > technically challenged and for tools. Ok, once again people who use JSF aren't smart, huh wait "tech

Re: Struts CMS ?

2006-03-20 Thread Shshank Jain
Thats a nice structure. I would love to have such a system for our site. We can then have a single CMS server feeding multiple Tomcat instances with the latest info. But tell me whats the time period required to establish such a system. We are quite near our release date. About a week or so . In

RE: Struts CMS ?

2006-03-20 Thread Roy, Ansuman
Yeah Basically I have been using lenya cms since 6 months now and the path to it was not without thorns. My requirement was that there is one CMS that manufactures content on an hour to hour basis. So Lenya is a complex CMS that has many features and it's free. for more info about lenya tutorial

Re: Struts CMS ?

2006-03-20 Thread Shshank Jain
can u elaborate on your structure in more detail ?? I am completely new to CMS. Are there any resources which can help newbies to start off with this lenya struts combo ?? -Shanky On 3/20/06, Roy, Ansuman <[EMAIL PROTECTED]> wrote: > yeah I am using LenyaCMS for a major client but it's totally