ActionErrors inside validate of ValidatorForm?

2005-08-25 Thread 梁炳場
validate() is a function of ValidatorForm I have written some checking inside validate() However validate returns ActionErrors. However can I change it to ActionMessages so that my checking inside in validate() still valid when ActionErrors deprecates in the future? And Inside validate(), The 1

Re: Validator Questions?

2005-08-25 Thread 梁炳場
(1) Could I add extra message to in addition to empty message? Does only capture ActionErrors, not ActionMessages? (2) I have fixed it by modifying validation.xml. Thank 2005/8/25, 梁炳場 <[EMAIL PROTECTED]>: > Struts 1.2.7 > > (1) > The following tag can test the emptiness of the field. > >

basic date field question

2005-08-25 Thread Rivka Shisman
Hi friends I'm puzzled with a basic design problem: I have a VO - say StudentVO - that has a property -> birth_date. Should the birth_date property be of type String (and then in the DAO convert it to java.sql.Date) - OR - Should it be of type Date and if so - what kind of Date (java

Re: basic date field question

2005-08-25 Thread Leon Rosenberg
On Thu, 2005-08-25 at 12:34 +0200, Rivka Shisman wrote: > Hi friends > Shalom, > > > I'm puzzled with a basic design problem: > > > > I have a VO - say StudentVO - that has a property -> birth_date. > > > > Should the birth_date property be of type String (and then in the DAO > conver

TagHandlerPool, Struts 1.2.7 and Tomcat 5.5

2005-08-25 Thread javendo
Hi, I am trying to port a web-application originally written with Tomcat 4.1 to Tomcat 5.5. The application uses struts and throws the following exception when launched: 23:34:22,953 ERROR [login_jsp]] Servlet.service() for servlet login.login_jsp threw exception java.lang.NullPointerExcepti

Re: TagHandlerPool, Struts 1.2.7 and Tomcat 5.5

2005-08-25 Thread Ext . Ilitia2
hi, Have you tried to look into login_jsp.java file (in the line 135) that is in the directory "work"? Is likely that in this line you will find the motive of the error.

Re: basic date field question

2005-08-25 Thread Gareth Evans
A slight tweak to that... StudentVO(){ private Date birthDate; public long getBirthDate() { return birthDate.getTime(); } public java.util.Date getBirthDateAsDate(){ return birthDate; } Why? Because this way two subsequent calls to 'getBirthDateAsDate' will return the same obj

Re: TagHandlerPool, Struts 1.2.7 and Tomcat 5.5

2005-08-25 Thread javendo
Thanks but . ? org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_0 = new org.apache.struts.taglib.bean.MessageTag(); ? What does it mean [EMAIL PROTECTED] wrote: hi, Have you tried to look into login_jsp.java file (in the line 135) that is in the directory "

RE: basic date field question

2005-08-25 Thread Rivka Shisman
Thanks guys But what if I already have a table with a date column (not long) - Should I hold java.util.Date in the VO and convert it to java.sql.Date in the DAO? Rivka -Original Message- From: Gareth Evans [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 12:28 PM To: Struts Use

Re: TagHandlerPool, Struts 1.2.7 and Tomcat 5.5

2005-08-25 Thread Ext . Ilitia2
I don't know exactly what means, but is likely that you haven't include the call appropriate to tld into head of jsp or the file (tld) into correct directory. Besides maybe that don't are finding the resouces file or that this haven't the key searched. I hope help you.

Re: basic date field question

2005-08-25 Thread Gareth Evans
Yes, I would do it that way Gareth Rivka Shisman wrote: Thanks guys But what if I already have a table with a date column (not long) - Should I hold java.util.Date in the VO and convert it to java.sql.Date in the DAO? Rivka -Original Message- From: Gareth Evans [mailto:[EMAIL PROTEC

How to add a FormFile field at runtime?

2005-08-25 Thread lk
Hi, I need to make a form with an org.apache.struts.upload.FormFile field. The user should be able to add at runtime as many new FormFile fields as he wants. How can I do that if I don't know the exact number of FormFile fields the page will contain? Thanks LuKe -- Email.it, the professio

RE: Shale/JSF/Java posts

2005-08-25 Thread Walton, Kaleb \(ISS Southfield\)
I'd have to respectfully disagree - it doesn't belong as a subproject under MyFaces as it encapsulates and integrates MyFaces along with other prominent frameworks. If anything it will eventually deserve its own Apache project. Regards, Kaleb -Original Message- From: David G. Friedman [ma

A concern about object maintenance with Struts Framework

2005-08-25 Thread Kade Jeevan Kumar
Hi All! I am new to Struts and i am impressed with the framework, its INTENDED concept. But i went through the Struts implementation in one of my project i came to know there are some of the real time issues are there as mentioned below; 1) Object Maintenance 2) Time of debugging 3) Dynamicall

RE: Shale/JSF/Java posts

2005-08-25 Thread David G. Friedman
Kaleb, Your point might be true and I wouldn't mind that as long as it goes somewhere more appropriate. I recommended MyFaces, rather than a to level project because MyFaces claims to have a core that can be a drop-in replacement for Sun's JSF RI (someday) and Shale cannot run without a JSF core

Re: [JSF] using a jsp:forward to get to backing bean method?

2005-08-25 Thread netsql
Rick, consider trying Faclets (from Java.net) w/ Struts Ti (from Dev List) combo; that may be more powerfull and more teachable. .V Rick Reumann wrote: David Haynes wrote the following on 8/22/2005 4:19 PM: I'm just fumbling my way through like most others... Trust me you don't want me a

Validator plugin troubleshooting

2005-08-25 Thread jonathan gilmore
I cannot get my struts application to work with the Validator plugin. Can someone please review my code below to see if I'm doing something wrong. I have omitted the LoginForm class The only formset in validation.xml... T

Re: Validator plugin troubleshooting

2005-08-25 Thread Xavier Vanderstukken
Change validate="false" in the struts-config.xml file to validate="true" and also dont forget to set the onSubmit attribute to something like return validateLoginForm(this) jonathan gilmore wrote: I cannot get my struts application to work with the Validator plugin. Can someone please rev

Re: A concern about object maintenance with Struts Framework

2005-08-25 Thread Hubert Rabago
On 8/25/05, Kade Jeevan Kumar <[EMAIL PROTECTED]> wrote: > OBJECT MAINTENANCE > > When i went through implementing Struts for my project it really sucks as the > number of objects for each functionality is excedded as each functionality in > my project is totally differ from other functionalitie

Re: Error info (was: A concern about object maint...)

2005-08-25 Thread Hubert Rabago
On 8/25/05, Kade Jeevan Kumar <[EMAIL PROTECTED]> wrote: > > Whenever if i get any exception due to lack of co-ordination between my JSP > form and ActionForm the error messages are not in a proper debuggable way. > Sometimes, if something goes wrong with the code it doesn't intimate me with >

Re: Dynamically adding checkboxes (was: A concern about...)

2005-08-25 Thread Hubert Rabago
On 8/25/05, Kade Jeevan Kumar <[EMAIL PROTECTED]> wrote: > > In one of my screen, i came across a need of adding the form components > dynamically using javascript (dynamically adding chek boxes). what is the > solution offered by struts to hold this situation to read the data into the > Actio

SpringBindingActionForm

2005-08-25 Thread Tamas Szabo
Hi, Has anybody used the org.springframework.web.stuts.SpringBindingActionForm class? The class extends ActionForm and the typical use, according to the javadoc is: public ActionForward execute(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse re

Re: [Shale] error I'm getting when navigating.

2005-08-25 Thread Rick Reumann
I'm also wondering ... how do I know exactly what Shale jars I need. The docs don't seem to say, so I'm just pulling all of them from the struts-shale-usecases... but I'm not sure I need all of them to just start out using the view handler. I'm wondering if maybe the problem below is because ma

Validator hates ActionDispatcher

2005-08-25 Thread Danny Lee
Hi guys! I have a sample-application I've build together from couple of tutorials. It have Hibernate&Struts and works (fine) using Titles. My problem: * When I try to plug-in the Validator and change the parent of my forms * from "ActionForm" to "ValidatorForm" or "ValidatorActionForm" the

Re: Validator hates ActionDispatcher

2005-08-25 Thread Hubert Rabago
Whoa. Hate is a strong word. Maybe Validator just dislikes ActionDispatcher? :) I'm having trouble making the connection between a change in form to ActionDispatcher not working. Then again maybe it's just me. Can you provide more info? Like, what flavor of ActionDispatcher are you using? W

Re: Validator hates ActionDispatcher

2005-08-25 Thread Danny Lee
Hi Hubert, maybe you're right and they just don't like each other a little bit ;) "what flavor of ActionDispatcher are you using?" eeeh, don't know what you mean with "flavor" but I just use it for working with multiple buttons on my page. I have a "public class BookEditAction extends Dispat

Re: Validator hates ActionDispatcher

2005-08-25 Thread Hubert Rabago
Oh kay. You kinda threw me off a bit because there's DispatchAction, and there's ActionDispatcher: DispatchAction (also check its Direct Known Subclasses): http://struts.apache.org/api/org/apache/struts/actions/DispatchAction.html ActionDispatcher: http://struts.apache.org/api/org/apache/struts/

Re: [OT]: Struts and Hibernate lazy

2005-08-25 Thread Shajee
Hi i want to unsubscribe from this group. Kindly unsubscribe me. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[SHALE] Are we there yet?

2005-08-25 Thread Walton, Kaleb \(ISS Southfield\)
A similar question has been asked once since I joined this list - so I apologize in advance if this question has been asked numerous times before. A colleague of mine and I are researching Shale for potential use in a production environment. Our timeline is pretty open - we're looking to implemen

Re: Shale/JSF/Java posts

2005-08-25 Thread Craig McClanahan
On 8/25/05, David G. Friedman <[EMAIL PROTECTED]> wrote: > Kaleb, > > Your point might be true and I wouldn't mind that > as long as it goes somewhere more appropriate. I > recommended MyFaces, rather than a to level project > because MyFaces claims to have a core that can be a > drop-in replaceme

Re: [Shale] error I'm getting when navigating.

2005-08-25 Thread Craig McClanahan
On 8/25/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > I'm also wondering ... how do I know exactly what Shale jars I need. The > docs don't seem to say, so I'm just pulling all of them from the > struts-shale-usecases... but I'm not sure I need all of them to just > start out using the view handler

Forwarding to the same page - newbie question

2005-08-25 Thread Letícia Álvares Barbalho
Hello everyone. I know it's a totally noob question, but I gotta ask. I have an action that is called from page.jsp. After it's executed, it is forwarded to the same page: page.jsp. But the problem is that it reloads the same page with all the data that was there before. And I wanna reload it

Re: Forwarding to the same page - newbie question

2005-08-25 Thread Gary VanMatre
Try making your forward a redirect: This will clear out your request parameters. Gary --- Begin Message --- Hello everyone. I know it's a totally noob question, but I gotta ask. I have an action that is called from page.jsp. After it's executed, it is forwarded to the same page: page.js

Re: [SHALE] Are we there yet?

2005-08-25 Thread Craig McClanahan
On 8/25/05, Walton, Kaleb (ISS Southfield) <[EMAIL PROTECTED]> wrote: > A similar question has been asked once since I joined this list - so I > apologize in advance if this question has been asked numerous times > before. > > A colleague of mine and I are researching Shale for potential use in a

Re: Forwarding to the same page - newbie question

2005-08-25 Thread Letícia Álvares Barbalho
Worked perfectly. Thank you and sorry. On 8/25/05, Gary VanMatre <[EMAIL PROTECTED]> wrote: > > Try making your forward a redirect: > > > This will clear out your request parameters. > > Gary > > > > > > > > -- Forwarded message -- > From: Letícia Álvares Barbalho <[EMAI

Re: [Shale] error I'm getting when navigating.

2005-08-25 Thread Rick Reumann
Craig McClanahan wrote the following on 8/25/2005 1:00 PM: ContextLoaderListener is a Spring thing ... if you're going to take advantage of the ability to use the managed beans facility to create spring beans transparently, then you need the servlet context listener registered in web.xml (see th

RE: [SHALE] Are we there yet?

2005-08-25 Thread Walton, Kaleb \(ISS Southfield\)
Just subscribed to dev list which should also help me to develop a conception of the speed of development. I would assume I was talking about 35066 since it was related to the dialog state. In my usual trial/error testing I removed an h:outputText tag and replaced it with some straight text and it

Re: [SHALE] Are we there yet?

2005-08-25 Thread Craig McClanahan
On 8/25/05, Walton, Kaleb (ISS Southfield) <[EMAIL PROTECTED]> wrote: > Just subscribed to dev list which should also help me to develop a > conception of the speed of development. Cool. > > I would assume I was talking about 35066 since it was related to the > dialog state. In my usual trial/er

Re: Shale/JSF/Java posts

2005-08-25 Thread Rick Reumann
Craig McClanahan wrote the following on 8/25/2005 12:47 PM: Communities of interest don't always follow neat engineering architectural diagrams. The community of interest here (and the one that led to the Struts PMC accepting Shale) is web application frameworks. That kind of common interest d

RE: Struts Validator Framework

2005-08-25 Thread Ashutosh Satyam
Hi Hubert, Thanks for your response. It worked the way you told by using dot delimiters to point out the nested object. On the same lines, I have one more question. How do I validate an array of objects. This is my class strucutre. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Re: Shale/JSF/Java posts

2005-08-25 Thread gramani
Rick Reumann <[EMAIL PROTECTED]> wrote on 08/25/2005 01:55:04 PM: > Craig McClanahan wrote the following on 8/25/2005 12:47 PM: > > > Communities of interest don't always follow neat engineering > > architectural diagrams. The community of interest here (and the one > > that led to the Struts PM

Re: [OT]: Struts and Hibernate lazy

2005-08-25 Thread Letícia Álvares Barbalho
To unsubscribe, e-mail: [EMAIL PROTECTED] On 8/25/05, Shajee <[EMAIL PROTECTED]> wrote: > > Hi i want to unsubscribe from this group. > > Kindly unsubscribe me. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional

Re: [Shale] error I'm getting when navigating.

2005-08-25 Thread Craig McClanahan
On 8/25/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > Craig McClanahan wrote the following on 8/25/2005 1:00 PM: > > > ContextLoaderListener is a Spring thing ... if you're going to take > > advantage of the ability to use the managed beans facility to create > > spring beans transparently, then y

Re: Shale/JSF/Java posts

2005-08-25 Thread Michael Jouravlev
On 8/25/05, David Durham <[EMAIL PROTECTED]> wrote: > Thanks, I'm following this list off and on, but fairly regularly, I > don't recall anyone else saying "hey, this shouldn't be in struts". I > have no doubt that others feel the way you do, just interested in some > names that's all. I don't th

How do I use a form bean?

2005-08-25 Thread David Thielen
Just kidding :) -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 10:47 AM To: Struts Users Mailing List Subject: Re: Shale/JSF/Java posts ... If you don't like the Shale "noise", imagine how I feel after five years of the same questions

Re: Shale/JSF/Java posts

2005-08-25 Thread Rick Reumann
Michael Jouravlev wrote the following on 8/25/2005 2:12 PM: Craig, seems that you got Rick. Rick, how is life with Shale so far? :-) I'll let you know when I can go a few minutes without getting: HTTP Status 500 - type Exception report message description The server encountered an internal

Re: Shale/JSF/Java posts

2005-08-25 Thread netsql
[EMAIL PROTECTED] wrote: Rick Reumann <[EMAIL PROTECTED]> wrote on 08/25/2005 01:55:04 PM: Would starting up a separate shale mailing list be a bad idea? Defintely +1 for this idea. And now, for a comercial: I'd mirror it or start it in 2 minutes RiA, ex, click http://struts.roomit

Re: Shale/JSF/Java posts

2005-08-25 Thread Craig McClanahan
On 8/25/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > > Would starting up a separate shale mailing list be a bad idea? I only > ask because the number of struts posts is quite heavy and if someone > posts a Shale question withough an approriate [shale] intro, I might > miss the post and end up del

[SHALE] Still not getting to resulting page based on navigation rules

2005-08-25 Thread Rick Reumann
Once again I'm stuck and I'm not sure what the problem is. Not sure if this is Shale or MyFaces related, but I'll post here first. Before the problem some background: success /employeeForm.jsp employees net.reumann.Employees requ

Re: Error info (was: A concern about object maint...)

2005-08-25 Thread Joe Germuska
One small thing we could do is go through everywhere there is a SAXException caught and add code to specifically catch a SAXParseException and use the several properties of that type to provide considerably more information than we do now. SAXParseException can tell you exactly the file name (s

CSS not working with JSF

2005-08-25 Thread bjester_2004
I am having problem with JSF and CSS. In my css I have #linkMe:link { color: #C9C9C9; } #linkMe:visited { color: #C9C9C9; } #linkMe:hover, #linkMe:active { text-decoration: none; color: #C9C9C9; } In my JSP I have: It is not using the css. Any ideas? Thanks Bob

Re: Shale/JSF/Java posts

2005-08-25 Thread Rick Reumann
The problem I'm starting to run into being a JSF/Shale/MyFaces newbie is not knowing where to post:) I'm too green to know if the problem is just general JSF/MyFaces, Shale or maybe a combination. Craig McClanahan wrote the following on 8/25/2005 3:02 PM: On 8/25/05, Rick Reumann <[EMAIL PROTE

Re: [SHALE] Still not getting to resulting page based on navigation rules

2005-08-25 Thread Gary VanMatre
> Once again I'm stuck and I'm not sure what the problem is. Not sure if > this is Shale or MyFaces related, but I'll post here first. > > Before the problem some background: > > > > > success > /employeeForm.jsp > > > Try adding a "from-view-id

Re: CSS not working with JSF

2005-08-25 Thread Rick Reumann
[EMAIL PROTECTED] wrote the following on 8/25/2005 3:07 PM: I am having problem with JSF and CSS. In my css I have #linkMe:link { color: #C9C9C9; } #linkMe:visited { color: #C9C9C9; } #linkMe:hover, #linkMe:active { text-decoration: none; color: #C9C9C9; } In my JSP I have:

Re: CSS not working with JSF

2005-08-25 Thread gramani
Hi Bob, I think I solved my style sheet problem something like 2 minutes ago.. :) So assuming yours is the same problem.. Here's how I declared my stylesheet up top of my layout.jsp: " /> (I changed my style sheet name from .css to .html because of (I think) new access rules with my new Tomc

Re: [SHALE] Still not getting to resulting page based on navigation rules

2005-08-25 Thread Frank W. Zammetti
Just getting into JSF myself, but don't you need a element too? I don't know if that's optional or not, but I've always seen it. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Thu, August 25, 2005 3:03 pm, Rick Reumann said: > Once agai

Re: CSS not working with JSF

2005-08-25 Thread bjester_2004
Here is my include: here is the generated source: click me Rick Reumann <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote the following on 8/25/2005 3:07 PM: > I am having problem with JSF and CSS. > > In my css I have > > #linkMe:link { > color: #C9C9C9; > } > #linkMe:visited {

Re: CSS not working with JSF

2005-08-25 Thread Neil Erdwien
Beware that some browsers won't use stylesheets if they aren't sent by the server as "text/css". I don't know authoritatively which ones, but I think Firefox and IE *in strict mode*, require text/css. [EMAIL PROTECTED] wrote: Hi Bob, I think I solved my style sheet problem something like 2 mi

Re: CSS not working with JSF

2005-08-25 Thread gramani
<[EMAIL PROTECTED]> wrote on 08/25/2005 03:19:07 PM: > Here is my include: > > > media="screen"> > How does the source for the stuff look like? As Rick says it is possible your stylesheet isn't being found.. Geeta

Re: CSS not working with JSF

2005-08-25 Thread gramani
Neil Erdwien <[EMAIL PROTECTED]> wrote on 08/25/2005 03:22:23 PM: > Beware that some browsers won't use stylesheets if they aren't sent by > the server as "text/css". I don't know authoritatively which ones, but > I think Firefox and IE *in strict mode*, require text/css. > Thanks for the war

Re: CSS not working with JSF

2005-08-25 Thread bjester_2004
here is my html source: Test JSF and Shale jsf link test: click me I know that this is wrong. It should be click me and I do not know how to make jsf to do it. [EMAIL PROTECTED] wrote: wrote on 08/25/2005 03:19:07 PM: > Here is my include: > > > > media="sc

Re: CSS not working with JSF

2005-08-25 Thread Rick Reumann
[EMAIL PROTECTED] wrote the following on 8/25/2005 3:29 PM: I know that this is wrong. It should be click me and I do not know how to make jsf to do it. Oh I should have caught that you were using ids vs classes. For testing why not make you 'id' a class attribute in your style sheet just

Re: CSS not working with JSF

2005-08-25 Thread gramani
<[EMAIL PROTECTED]> wrote on 08/25/2005 03:29:57 PM: > here is my html source: > > > > media="screen"> > Test JSF and Shale > > > jsf link test: click me > > > > I know that this is wrong. It should be id="linkMe">click me and I do not know how to make jsf to do it

Re: CSS not working with JSF

2005-08-25 Thread Rick Reumann
[EMAIL PROTECTED] wrote the following on 8/25/2005 3:26 PM: - right now I'm *finally* getting tiles to play nice with JSF/Shale so am too excited to do much else than play with the app, adding links in menu.jsp, images in layout.jsp... ah, heaven..!..:)) Care to email me the app zipped up so

Re: CSS not working with JSF

2005-08-25 Thread bjester_2004
I would liek it also if please: [EMAIL PROTECTED] Rick Reumann <[EMAIL PROTECTED]> wrote:[EMAIL PROTECTED] wrote the following on 8/25/2005 3:26 PM: > > - right now I'm *finally* getting tiles to play nice with JSF/Shale so am > too excited to do much else than play with the app, adding links

Re: CSS not working with JSF

2005-08-25 Thread bjester_2004
Rick, classes seem to work. Thank You. But the requirement is to use ID. May be I can convince my team. I will go try Geeta's idea now to see how fun that is...:=) Rick Reumann <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote the following on 8/25/2005 3:29 PM: > I know that this is wrong

Re: CSS not working with JSF

2005-08-25 Thread gramani
Rick Reumann <[EMAIL PROTECTED]> wrote on 08/25/2005 03:35:06 PM: > > Care to email me the app zipped up so I can learn from it:) (rick at > reumann.net preferably). > Absolutely!.. But I do have to clean out all the test1.jsp, test2.jsp,...test567.jsp... first..;) Plus do a *final* check and

Re: Shale/JSF/Java posts

2005-08-25 Thread Craig McClanahan
On 8/25/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > The problem I'm starting to run into being a JSF/Shale/MyFaces newbie is > not knowing where to post:) I'm too green to know if the problem is just > general JSF/MyFaces, Shale or maybe a combination. To help people find answers to the pure JS

Struts-Tiles Design question

2005-08-25 Thread Dilip Ladhani
I have an application built on struts and tiles. I have a design question and would like some of your valuable opinions. I have a huge jsp, which is broken into many includes, say abc.jsp and includes one.jsp, two.jsp etc. As, I mentioned I use tiles so in the config file, I have a forward elem

Re: Struts-Tiles Design question

2005-08-25 Thread Greg Reddin
On Aug 25, 2005, at 3:15 PM, Dilip Ladhani wrote: I have an application built on struts and tiles. I have a design question and would like some of your valuable opinions. I have a huge jsp, which is broken into many includes, say abc.jsp and includes one.jsp, two.jsp etc. As, I mentioned I us

[solved] Re: [SHALE] Still not getting to resulting page based on navigation rules

2005-08-25 Thread Rick Reumann
I knew I was trying to combine to many different things at once (MyFaces/Shale) but it took Craig to wake me up to realize it and recommended I go back to starting small. I backed out the Shale stuff and said let me go back to just MyFaces. By comparing my web.xml with the MyFaces example web.x

Re: Forwarding to the same page - newbie question

2005-08-25 Thread Martin Gainty
Can be solved a couple of different ways populating a hidden form field and testing the value of the hidden form field OR switching on DispatchAction (one for save, one for submit, one for create) Take a look at Ted Husted's response to the question at http://www.jguru.com/faq/view.jsp?EID=89729

Re: Forwarding to the same page - newbie question

2005-08-25 Thread Letícia Álvares Barbalho
thank you Martin... the tip I got from Gary solved the problem. Just had to put a redirect="true" in my forward tag. Thanks On 8/25/05, Martin Gainty <[EMAIL PROTECTED]> wrote: > > Can be solved a couple of different ways > populating a hidden form field and testing the value of the hidden form >

Re: Forwarding to the same page - newbie question

2005-08-25 Thread Michael Jouravlev
It won't help you next time when you decide to *keep* the content instead of just displaying empty page. Also, accessing JSP directly (which you do by using redirection... no pun intended) is frowned upon. Instead of using feature-challenged DispatchAction, next time you might want to try DialogAc

Re: Struts-Tiles Design question

2005-08-25 Thread Nels Overgaard-Cook
If you put the business logic in the JSPs, then it seems to me that you're essentially mixing the business and presentation layers. I would put the business login in an action and figure out which tile to forward to from there. Of course, I haven't used the Tiles Controller that Greg suggested..

Is Struts Dying?

2005-08-25 Thread Paul Benedict
The subject line asks it all. Is it true? I hope we see a version 1.2.8 and a 1.3 soon, but I am sorry to see all the innovation going into Spring (YEAH!) and Shale (YAWN!), with no one really wanting to continue growing the classic framework. Is it viable to evolve Struts Classic into Shale, and

Re: TagHandlerPool, Struts 1.2.7 and Tomcat 5.5

2005-08-25 Thread javendo
I found out the error I was compiling the jsp pages using a old version of jasper ... I put the correct file in my ant script and everything worked. Thanks. Especially for Ext.Ilitia2. [EMAIL PROTECTED] wrote: I don't know exactly what means, but is likely that you haven't include the c

Re: Is Struts Dying?

2005-08-25 Thread Michael Jouravlev
On 8/25/05, Paul Benedict <[EMAIL PROTECTED]> wrote: > The subject line asks it all. Is it true? Once again? Man, you should have used [FRIDAY] prefix ;-) Tomorrow's Friday anyway. The short answer is the question: is servlet API dead? Do people still program to bare servlet API? > I hope we see