Re: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Niall Pemberton
Wendy, Validator has the concept of a "page number" - so your first tab could be page 1, second tab page 2 etc etc. On each tab's form specify a hidden tag with the page number: Then in your validation.xml, you specify the page number for each field: To: "Struts Users Maili

Re: Accessing struts module name from jsp

2004-03-05 Thread Niall Pemberton
There is a tag which will expose either the FormBeanConfig, ForwardConfig or ActionConfig as a scripting variable - however you have to specify the name of the form bean, forward or mapping. You can get the ModuleConfig from either the FormBeanConfig or ActionConfig and from ModuleConfig you can

Re: Header for errors (no HTML in the .properties file)

2004-03-05 Thread Niall Pemberton
I haven't used it, but has a "header" and "footer" attribute where you can specify a resource key. Niall - Original Message - From: "Wendy Smoak" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, March 05, 2004 10:37 PM Subject: Header for errors (no

Accessing struts module name from jsp

2004-03-05 Thread Kunal H. Parikh
Hi All! I was wondering if a struts tag available that can retrieve the struts module name. TIA, Kunal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Struts Issue on Weblogic !!!

2004-03-05 Thread Gopalakrishnan, Jayesh
Veresh, We have had this issue, and BEA said it was fixed in WL 8.1 SP2 !! You guys really on SP2? It has to do with the hot deploy "feature" !! Email me if you need more specific details. As a workaround we have added these values to the weblogic.xml file of our application.

RE: Struts Issue on Weblogic !!!

2004-03-05 Thread Michael McGrady
The object you are writing to the output stream is not serializable. That is all that is happening. At 06:31 AM 3/5/2004, you wrote: Thanks for super fast reply I have not declared the class abstract anywhere TIA Veresh -Original Message- From: as as [mailto:[EMAIL PROTECTED] Sent

RE: Which Directory Does the Configuration File Go?

2004-03-05 Thread Wendy Smoak
> From: Caroline Jen [mailto:[EMAIL PROTECTED] > I have code like: > private static final String OPTION_FILE_NAME = > "mvnplugin_mvnforum_MVNForumConfig"; >ResourceBundle res = > ResourceBundle.getBundle(OPTION_FILE_NAME); > And "mvnplugin_mvnforum_MVNForumConfig.properties" is > a configu

Which Directory Does the Configuration File Go?

2004-03-05 Thread Caroline Jen
I have code like: private static final String OPTION_FILE_NAME = "mvnplugin_mvnforum_MVNForumConfig"; static { ResourceBundle res = ResourceBundle.getBundle(OPTION_FILE_NAME); MVNFORUM_HOME = res.getString("MVNFORUM_HOME").trim(); WEBMASTER_EMAIL = res.getString("WEB

RE: Header for errors (no HTML in the .properties file)

2004-03-05 Thread Wendy Smoak
> From: Hubert Rabago [mailto:[EMAIL PROTECTED] > Check the and > and see if > they do the trick for you. Yes, did the trick. Thanks! But I still think it should be possible with JSTL... -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management -

Re: [OT] unable to build ejb using ant in weblogic 8.1

2004-03-05 Thread as as
Try checking your settings in system classpath also (Start->Settings->Control Panel) [EMAIL PROTECTED] wrote: Hi, I am trying to build my ejb using ant and getting the following Exception. I have checked my classpath for tools.jar and my Java Home variable is pointing to jdk directory. a

[OT] unable to build ejb using ant in weblogic 8.1

2004-03-05 Thread anant.parnami
Hi, I am trying to build my ejb using ant and getting the following Exception. I have checked my classpath for tools.jar and my Java Home variable is pointing to jdk directory. any idea why this error comes up Thanks for any help Regards Anant callEjbBuild: copyDescriptorsTri:

Re: Header for errors (no HTML in the .properties file)

2004-03-05 Thread Hubert Rabago
Check the and and see if they do the trick for you. - Hubert --- Wendy Smoak <[EMAIL PROTECTED]> wrote: > I'm using this to display errors: > > > > > > > > > How do I put the old "Validation ErrorYou must correct the following > error(s) before pro

Header for errors (no HTML in the .properties file)

2004-03-05 Thread Wendy Smoak
I'm using this to display errors: How do I put the old "Validation ErrorYou must correct the following error(s) before proceeding:" text at the top if there are indeed errors to be displayed? That used to happen magically with using the errors.header

Re: throws exception

2004-03-05 Thread Hubert Rabago
If you're using 1.1, try passing ActionError objects instead of ActionMessage objects. The syntax should be the same, you'll just use a different object. Hubert --- Max Kovalenkov <[EMAIL PROTECTED]> wrote: > Hi! > > I have a custom validator which works fine, but when the > tag is being exec

Re: throws exception

2004-03-05 Thread as as
Hi, I saw this error but probably in a different, though related context. For eg, in my case, it was occuring as I declared my form as bookForm in struts-config.xml but in my book.jsp, it was wrote: Hi! I have a custom validator which works fine, but when the tag is being executed, it throws

RE: [OT] JSF RI Final is out!

2004-03-05 Thread Craig R. McClanahan
Quoting Hubert Rabago <[EMAIL PROTECTED]>: > Btw, Craig, thank you very much for removing those underscores. > Let's just say that you weren't the only person that didn't like them :-). > Hubert Craig - To unsubscribe, e-mai

Tiles attributes problem

2004-03-05 Thread David Erickson
First the sample code: XML defintion: my editUsers.jsp <%@ taglib uri="struts-tiles.tld" prefix="tiles" %> Now here's the problem, my controller action basically prepares its view by doing some logic and placing things in the request etc. My editUsers.jsp (the

throws exception

2004-03-05 Thread Max Kovalenkov
Hi! I have a custom validator which works fine, but when the tag is being executed, it throws a ClassCastException. My validator has the following line for adding to error messages: errors.add( field.getKey(), new ActionMessage("errors.dates", date1, date2)); If validation passes, the above

Re: Reset all form bean elements in one shot

2004-03-05 Thread Geeta Ramani
Anant: [EMAIL PROTECTED] wrote: > Thanks > > I never thought it would be as simple as this... :-) > Why didn't I think of this before..:-( If each of us had a penny for every time we thought this, we'd be all set for early retirement in the bahamas..:) Geeta -

RE: Reset all form bean elements in one shot

2004-03-05 Thread anant.parnami
Thanks I never thought it would be as simple as this... :-) Why didn't I think of this before..:-( -Original Message- From: Geeta Ramani [mailto:[EMAIL PROTECTED] Sent: Saturday, March 06, 2004 2:22 AM To: Struts Users Mailing List Subject: Re: Reset all form bean elements in one shot

RE: Reset all form bean elements in one shot

2004-03-05 Thread Hubert Rabago
You can also check if the form bean's reset() method can do the job for you. --- [EMAIL PROTECTED] wrote: > > How to remove the form bean element from the session if that's the case > > -Original Message- > From: Geeta Ramani [mailto:[EMAIL PROTECTED] > Sent: Saturday, March 06, 2004 2:1

Re: Reset all form bean elements in one shot

2004-03-05 Thread Geeta Ramani
session.removeAttribute("myForm"); myForm = new MyFormBean(); Regards, Geeta [EMAIL PROTECTED] wrote: > How to remove the form bean element from the session if that's the case > > -Original Message- > From: Geeta Ramani [mailto:[EMAIL PROTECTED] > > Sent: Saturday, March 06, 2004 2:14 AM

RE: Reset all form bean elements in one shot

2004-03-05 Thread anant.parnami
How to remove the form bean element from the session if that's the case -Original Message- From: Geeta Ramani [mailto:[EMAIL PROTECTED] Sent: Saturday, March 06, 2004 2:14 AM To: Struts Users Mailing List Subject: Re: Reset all form bean elements in one shot Anant: So a brand new form b

Re: Reset all form bean elements in one shot

2004-03-05 Thread Geeta Ramani
Anant: So a brand new form bean won't do the job..? Geeta [EMAIL PROTECTED] wrote: > Hi, > > I wanted to know if there is any way in which we can reset all the > elements of the form bean without giving individual resets all the time > > for e.g I have 4 elements in my form bean. say A,B,C,D I am

Reset all form bean elements in one shot

2004-03-05 Thread anant.parnami
Hi, I wanted to know if there is any way in which we can reset all the elements of the form bean without giving individual resets all the time for e.g I have 4 elements in my form bean. say A,B,C,D I am interested in resetting all the four without giving resetAllElements() { A = null B = null C

RE: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Wendy Smoak
> From: Joe Hertz [mailto:[EMAIL PROTECTED] > What would be the problem with biting the bullet and > implementing validate() > in your ActionForm and calling super.validate(mapping, > request) if it was > appropriate to hit the xml file for the validation rules? I already do that, to step aro

RE: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Pingili, Madhupal
I must say that I am not dealing with multiple pages. But adding that feature shouldn't be a problem. Here they are: validation.xml :

RE: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Joe Hertz
Wendy, I'm not getting something (and it's me being dense I'm sure). It sounds to me like you've found yourself in a position where you are pushing the limits of the validation framework. What would be the problem with biting the bullet and implementing validate() in your ActionForm and callin

Re: Using ApplicationResources.properties problem

2004-03-05 Thread Billy Ng
Vincent, I found out what's going on. I have set up the Chinese(Taiwan) (zh_TW) for my input method in Windows. The Java was too smart to pick it up as my default locale. Billy Ng This mailbox protected from junk email by Matador from MailFron

RE: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread as as
If possible.could you encose the snippet please! Thanks! "Pingili, Madhupal" <[EMAIL PROTECTED]> wrote:Well, It's not too hard to convert the LookupDispatchAction into separate Actions for you Wendy. Of course, I don't know the processing logic in LookupDispatchAction. I am using DynaValidatorAct

RE: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Pingili, Madhupal
Well, It's not too hard to convert the LookupDispatchAction into separate Actions for you Wendy. Of course, I don't know the processing logic in LookupDispatchAction. I am using DynaValidatorActionForms and I validate based on the action path. I have 4 struts-menu tabs linking to 4 different action

RE: JSF RI Final is out!

2004-03-05 Thread Hookom, Jacob
I bought that book, it's a good one, I read it over a weekend, but when you go to download the examples, the way you handle commands has since changed. Probably 80%+ of the book is still correct but the sample CarStore app from Sun is your best model for development. It does a good job of mixing

RE: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Robert Taylor
Okay. Here is what I do which may or may not help. I have subclassed DispatchAction to handle image buttons. The newer Struts version may handle this, but it didn't prior to 1.1. Image buttons may not be your problem but it has a special method to extract the dispatched operation. Anyhow you can

RE: JSF RI Final is out!

2004-03-05 Thread Paul, R. Chip
About a month ago I picked up Java Server Faces Programming by Budi Kurniawan (McGraw Hill). I haven't read through it yet though, so I can't say if it's any good or not. It just showed up on that darned Amazon suggestion page and I picked it up. -Original Message- From: Craig R. McClana

RE: [OT] JSF RI Final is out!

2004-03-05 Thread Hubert Rabago
Btw, Craig, thank you very much for removing those underscores. Hubert --- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > Quoting Janarthan Sathiamurthy <[EMAIL PROTECTED]>: > > > Hi, > > > > How do i get started wiith JSF ?. > > Any books ? > > Please advice > > > > JavaServer Fac

RE: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Wendy Smoak
Robert wrote: > Are you using DispatchAction or LookupDispatchAction? LookupDispatchAction. And even worse, it's a cookie that controls which "tab" to show, not always a request parameter. I think I may have painted myself into a corner... -Wendy Smoak

RE: JSF RI Final is out!

2004-03-05 Thread Andrew Hill
Thanks James, Im hoping I'll get a chance to take a look at it all as soon as I finish the project Im on right now (which is keeping me rather busy!) I had a look at a much earlier version of the JSF spec quite a while back and remember getting all excited about the component tree stuff and rende

RE: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Robert Taylor
Are you using DispatchAction or LookupDispatchAction? robert > -Original Message- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: Friday, March 05, 2004 1:24 PM > To: Struts Users Mailing List > Subject: Validation help for same Form, multiple pages/tabs > > > > I'm using the

RE: JSF RI Final is out!

2004-03-05 Thread James Holmes
There are books available today. The McGraw Hill book came out weeks ago and I believe the APress book is out too. However, these books are probably out of date due to the fact that the spec wasn't finalized when the books were published. Also, there are a total of 10 or so books in progress or

Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Wendy Smoak
I'm using the same [dynamic] ActionForm on all my pages. Which was just *fine* until I wanted to use validation. :( I need separate validation per "tab" which is essentially a tag in struts-config. I have a Struts-Menu "tab" that has fields for fund, function and cost center, which are element

RE: JSF RI Final is out!

2004-03-05 Thread Andrew Hill
No books have been published about JavaServer Faces yet (to my knowledge), although I know of at least five that are nearing completion, and should be published very soon. Funny you say that, as I could have sworn I saw one a month or so ago over at the Clementi bookshop. I recall not looking cl

RE: JSF RI Final is out!

2004-03-05 Thread Craig R. McClanahan
Quoting Janarthan Sathiamurthy <[EMAIL PROTECTED]>: > Hi, > > How do i get started wiith JSF ?. > Any books ? > Please advice > JavaServer Faces Home Page: http://java.sun.com/j2ee/javaserverfaces/ Download Page: http://java.sun.com/j2ee/javaserverfaces/download.html Support Forum

RE: Showing selected in struts option tag

2004-03-05 Thread Wendy Smoak
> From: as as [mailto:[EMAIL PROTECTED] > Sure there is a getBooks method. In the *ActionForm*? That's what I'm asking. I do not store my Collections for select lists in the Form bean, I put them in session or application scope depending on whether they're user specific. > Shoud it return a j

RE: RE: FormatKey in html:text

2004-03-05 Thread Struts Framework
I have a form that extends ActionForm. The form contain a attribute "private Date startDate;" that get value from database. When the user is logged in the system, I set the session attribute with org.apache.struts.action.Action.LOCALE_KEY, based in the language selected for the user. With Da

RE: Showing selected in struts option tag

2004-03-05 Thread as as
Wendy, Sure there is a getBooks method. Shoud it return a java Collection, if so do I have to cast it into it>? My Hibernate Database based on sql returns it as "books" which in my action class comes out as java.util.List Thanks! Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: as as [mailto:[EMAIL

RE: Showing selected in struts option tag

2004-03-05 Thread Wendy Smoak
> From: as as [mailto:[EMAIL PROTECTED] > > > > Gives me error: > javax.servlet.jsp.JspException: No getter method for property > books of bean org.apache.struts.taglib.html.BEAN I think it's looking for a getBooks() method in your form bean, which returns a Collection. Is that where getBook

javax.servlet.jsp.JspException: No getter method for property books of bean org.apache.struts.taglib.html.BEAN

2004-03-05 Thread as as
Hi, I am trying to generate a drop down using struts in my book.jsp and show a default value there. Gives me error: javax.servlet.jsp.JspException: No getter method for property books of bean org.apache.struts.taglib.html.BEAN Though I have the getters and setters in the form bean.

RE: Showing selected in struts option tag

2004-03-05 Thread as as
Hi, Now I changed the syntax to below. Gives me error: javax.servlet.jsp.JspException: No getter method for property books of bean org.apache.struts.taglib.html.BEAN Though I have the getters and setters in the form bean. Thanks! as as <[EMAIL PROTECTED]> wrote: Hi, I tried th

RE: Using Struts with Flash interface

2004-03-05 Thread Nitin Mulimani
Macromedia Flex is really cool, as it integrates well with Struts. But, the problem is that Flex probably has a distribution cost associated with it, hence making it difficult to distribute products at a lower cost. Ivan, I am not an advanced user of Struts, but how does your ActionForm map to fla

RE: Returning fully-stocked Actions/JSPs from other Actions

2004-03-05 Thread Andy Engle
Hubert Rabago <[EMAIL PROTECTED]> wrote: > How about putting some log statements around the code which sets the > request attribute? That'll assure you that the code is getting > executed, and that the data you're putting there actually has values > in them. No I haven't, but that's a good idea.

RE: Returning fully-stocked Actions/JSPs from other Actions

2004-03-05 Thread Hubert Rabago
How about putting some log statements around the code which sets the request attribute? That'll assure you that the code is getting executed, and that the data you're putting there actually has values in them. Have you tried re-requesting home.do after a successful login? Does the data show th

RE: Sorting table columns in jsp using struts

2004-03-05 Thread as as
Thanks again! Henri Yandell <[EMAIL PROTECTED]> wrote: Yep, that's a good intro. The quickest is: http://www.manning-source.com/books/bayern/bayern_apxA.pdf It's the appendix to Manning's JSTL in Action and is akin to a JSTL in a Nutshell pocket reference. Hen On Fri, 5 Mar 2004, as as wrote:

RE: Showing selected in struts option tag

2004-03-05 Thread as as
Hi, I tried this: Gives me: weblogic.servlet.jsp.JspException: (line 116): Non-matching extension tags //[ null; Line: 116] at weblogic.servlet.jsp.JspLexer.jspException(JspLexer.java:872) at weblogic.servlet.jsp.JspLexer.mCLOSE_EXTENSION_TAG(JspLexer.java:2740)

RE: Returning fully-stocked Actions/JSPs from other Actions

2004-03-05 Thread Andy Engle
Gopalakrishnan, Jayesh wrote: > Andy, > > Just to understand your page flow > > The first request goes to /home.do, which puts "junkbean" > into the request scope, forwards to index.jsp. > On submit of the form on index.jsp, /login.do is invoked > which then forwards to /home.do. > > Is thi

Re: Real URL in action forward

2004-03-05 Thread Hubert Rabago
Try redirecting to getOperations.do. A redirect tells the browser to send another request. This way, the browser is aware of what it's viewing, and as a bonus you won't have to couple/chain your saveXXX and getXXX actions. hth, Hubert --- Julio Cesar De Salvo <[EMAIL PROTECTED]> wrote: > Hi, my

Real URL in action forward

2004-03-05 Thread Julio Cesar De Salvo
Hi, my question is: I have a form that sends some information to store in the database to a saveOperation.do action class. Then this action forwards to another action getOperations.do to get the list of operations, and this action returns to the jsp for viewing.

RE: Showing selected in struts option tag

2004-03-05 Thread as as
o yes! I need to use instead of Lemme try this now right away Thanks! Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: as as [mailto:[EMAIL PROTECTED] Keep this, in the Action: > String formISBN= book.getISBN(); > bookForm.setISBN(formISBN); This isn't right: > If you want Struts to pre-selec

Re: IFrame and resources bundle problem

2004-03-05 Thread Hubert Rabago
Front your page with an ActionMapping: then instead of specifying viewBrief.jsp, specify viewBrief.do (or whatever your action servlet mapping/extension is). hth, Hubert --- "news.gmane.org" <[EMAIL PROTECTED]> wrote: > Hi, > I am using struts, tile and iframe for displaying 2 screen. The

RE: RE: FormatKey in html:text

2004-03-05 Thread rahul.chaudhary
Not clear as to how the date is being populated in the text box and what is the post processing action.The possible way of taking care of internationalization of the date format is to specify one in the validation.xml and then use the same to ensure that the date being entered by the user is of

RE: Showing selected in struts option tag

2004-03-05 Thread Wendy Smoak
> From: as as [mailto:[EMAIL PROTECTED] Keep this, in the Action: > String formISBN= book.getISBN(); > bookForm.setISBN(formISBN); This isn't right: > If you want Struts to pre-select the correct item based on the value of the Form bean, you have to use a Struts tag, in this case . Here is an

IFrame and resources bundle problem

2004-03-05 Thread news.gmane.org
Hi, I am using struts, tile and iframe for displaying 2 screen. The problem is when i display the data in the iframe set, the resource bundle seem not working n can not find the key anymore, pls help... in my Tile config: in my updateFrameSet.jsp

Re: redirects / actionErrors

2004-03-05 Thread Hubert Rabago
Struts 1.2 has a feature you can use that allows you to store your ActionMessages in session variables, then have it removed once they're accessed. I haven't used this yet, but you can probably build on this by storing your errors before you redirect, then have them displayed by the resource your

Re: redirects / actionErrors

2004-03-05 Thread Daniel Henrique Alves Lima
Ok, but i think you will lose your request attributes (because redirect will generate a new request from your browser)...Session or application attributes will be preserved. mucus snot wrote: Hi, I am intending to use a redirect rather than a forward. For me, it adds clarity for the user, and

RE: Showing selected in struts option tag

2004-03-05 Thread as as
Vincent, appreciat ethe reply. I ahve been trying the smae and still cant get the drop down to show my selected attribute. Here is the two approachesI tried to do this. beofre my book.jsp gets called, BookAction.java is called.In here I set the ISBN from sessions' selected book as follows: ht

Re: redirects / actionErrors

2004-03-05 Thread mucus snot
Hi, I am intending to use a redirect rather than a forward. For me, it adds clarity for the user, and also if they refresh the page, they may get something unexpected. Al - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

i18n in tiles-defs.xml?

2004-03-05 Thread Dean A. Hoover
Suppose I have a string defined in a definition, such as: How would I go about replacing "Hello" with a reference to a string instead of the string itself? Can this be done just using tiles-defs.xml, or is it a two step process? For example: and then in the .jsp file: Please let me know.

RE: Sorting table columns in jsp using struts

2004-03-05 Thread Henri Yandell
Yep, that's a good intro. The quickest is: http://www.manning-source.com/books/bayern/bayern_apxA.pdf It's the appendix to Manning's JSTL in Action and is akin to a JSTL in a Nutshell pocket reference. Hen On Fri, 5 Mar 2004, as as wrote: > Thank you! > > "A.White" <[EMAIL PROTECTED]> wrote:I

RE: Struts Issue on Weblogic !!!

2004-03-05 Thread JAIN,VERESH (HP-India,ex2)
Thanks for super fast reply I have not declared the class abstract anywhere TIA Veresh -Original Message- From: as as [mailto:[EMAIL PROTECTED] Sent: Friday, March 05, 2004 7:55 PM To: Struts Users Mailing List Subject: Re: Struts Issue on Weblogic !!! Did you declare a class ab

Re: Struts Issue on Weblogic !!!

2004-03-05 Thread as as
Did you declare a class abstract anywhere and try to extend it I sort of remember getting this error. "JAIN,VERESH (HP-India,ex2)" <[EMAIL PROTECTED]> wrote: Hi , Sometime I get this error on weblogic 8.1 sp2 running struts 1.1 , can anyone help TIA Veresh java.io.NotSerializableException: or

Struts Issue on Weblogic !!!

2004-03-05 Thread JAIN,VERESH (HP-India,ex2)
Hi , Sometime I get this error on weblogic 8.1 sp2 running struts 1.1 , can anyone help TIA Veresh java.io.NotSerializableException: org.apache.struts.action.RequestProcessor at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054) at java.io.ObjectOutputStream.

RE: Sorting table columns in jsp using struts

2004-03-05 Thread Robert Taylor
The JSTL spec is a great reference. I would recommend you download it. robert > -Original Message- > From: as as [mailto:[EMAIL PROTECTED] > Sent: Friday, March 05, 2004 8:48 AM > To: Struts Users Mailing List > Subject: RE: Sorting table columns in jsp using struts > > > Henri, > > Thank

Fwd: RE: FormatKey in html:text

2004-03-05 Thread Struts Framework
Sorry It's a solution, but I need to use internationalization and I can't to fix dd/MM/. I suggest to implement this functionality - formatKey - in the BaseHandlerTag class. - Segue mensagem encaminhada - De: Parthasarathy Kesavaraj <[EMAIL PROTECTED]> Data: Fri, 5

URL validation - anyone using it?

2004-03-05 Thread Adam Hardy
I'm looking at providing URL validation on a page which saves links for users. I put together the latest build of commons-validator (1.1.2) and struts (1.2) to see what the URL validation is like. The class for server-side validation is in place, but the javascript doesn't exist. It works ver

RE: Sorting table columns in jsp using struts

2004-03-05 Thread as as
Thank you! "A.White" <[EMAIL PROTECTED]> wrote:I'm reading a really good book at the moment, "JSTL : Practical Guide for JSP Programmers" -Original Message- From: as as [mailto:[EMAIL PROTECTED] Sent: 05 March 2004 13:48 To: Struts Users Mailing List Subject: RE: Sorting table columns i

RE: Sorting table columns in jsp using struts

2004-03-05 Thread A.White
I'm reading a really good book at the moment, "JSTL : Practical Guide for JSP Programmers" -Original Message- From: as as [mailto:[EMAIL PROTECTED] Sent: 05 March 2004 13:48 To: Struts Users Mailing List Subject: RE: Sorting table columns in jsp using struts Henri, Thanks for the expl

RE: Sorting table columns in jsp using struts

2004-03-05 Thread as as
Henri, Thanks for the explanatory smaples.The syntax below seems JSTL wrote: Just to show how easy it can be with beanutils: display_categories.do points to a struts action that preloads like: * List list = new ArrayList(); list.addAll( DummyDao.getAllCategories() ); Strin

RE: FormatKey in html:text

2004-03-05 Thread Parthasarathy Kesavaraj
U can give like this i think... With Regards Partha -Original Message- From: Struts Framework [mailto:[EMAIL PROTECTED] Sent: Friday, March 05, 2004 6:12 PM To: [EMAIL PROTECTED] Subject: FormatKey in html:text I need format a date with dd/MM/, in the text box. How can I apply

Re: redirects / actionErrors

2004-03-05 Thread Daniel Henrique Alves Lima
Hi, I don't know if i could understand your doubt (correct me if i'm wrong) but you must "forward" to your .jsp page and not "redirect"... If you have a global forward (in your struts-config.xml) like the request will be "forwarded" to the .jsp resource. But if you have the

FormatKey in html:text

2004-03-05 Thread Struts Framework
I need format a date with dd/MM/, in the text box. How can I apply formatKey in a tag

RE: JSF RI Final is out!

2004-03-05 Thread Janarthan Sathiamurthy
'THE' thing i required... Thanks James !!! Regards, Janarthan S James Holmes <[EMAIL PROTECTED]> wrote: Hi Janarthan, There are several books available and/or coming available shortly for JSF. I have put together a comprehensive list of resources for JavaServer Faces on my website at: h

{OT} Was: Returning fully-stocked Actions/JSPs from other Actions

2004-03-05 Thread Geeta Ramani
Michael McGrady wrote: > We had a round of discussions on this in the near past. Right Mark? Mark > has gone back to crack after that discussion. LOL Well, actually, Mark took Neill's advice and became a cgi programmer.. (So crack is now in his job description.) ---

Re: Validator doubt

2004-03-05 Thread Adam Hardy
On 03/05/2004 12:33 PM MOHAN RADHAKRISHNAN wrote: So if I input a value that is not a integer in this particular field I should see a message specified by Why are specifying a different msg key? There is a default one already 'error

Re: ConfigHelper.getActionMapping

2004-03-05 Thread Adam Hardy
On 03/05/2004 12:09 AM Adam Hardy wrote: But I just upgraded from struts 1.1 to 1.2, and I'm getting null action mapping returned for my URLs when I call ConfigHelper.getActionMapping(url). Hmm. Just looked at the source code. The method has only one line in it: return null; - which would expla

Validator doubt

2004-03-05 Thread MOHAN RADHAKRISHNAN
Hi My validator only works for 'required' fields. Eventhough I have the following in the same XML it is not working. Is this right ? My configuration is right because the same validator works for 'required' fields. So if I input a

redirects / actionErrors

2004-03-05 Thread mucus snot
Hi, I am using action errors as a means of passing messages to the request: e.g. in Action, execute method... errors.add(ActionErrors.GLOBAL_ERROR, new ActionError("message.to.user")); saveErrors(request, errors); return mapping.findForward(Constants.REDIRECT_KEY); But if I redirect from this a

Re: Collection inside a collection

2004-03-05 Thread yoge
Hope this helps. <%= row%> --Yoge Selim Hendrickson wrote: Hi, I have a bean which holds an Arraylist containing objects. Each object also holds another collection as a variable. What I would like to do is iterate both of the collections. Can anybody suggest a resource

RE: Collection inside a collection

2004-03-05 Thread Anirudh Jayanth
Selim: //list would actually reference the objects within the array list Anirudh Jayanth SysArris Software 120A, Elephant Rock Road, 3rd Block, Jayanagar, Bangalore - 560011 Tel: 6655165 / 052 [ ext - 244 ] [EMAIL PROTECTED] -Original Message-

tab layout without tiles definitions

2004-03-05 Thread koen boutsen
Hi I want to use the tab-layout from Dumoulin. I use tiles in my application, but no tiles-definitions. Can I use tabs without definitions ? Does someone have an example, because when using definitions, you put tabs via : http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default

Collection inside a collection

2004-03-05 Thread Selim Hendrickson
Hi, I have a bean which holds an Arraylist containing objects. Each object also holds another collection as a variable. What I would like to do is iterate both of the collections. Can anybody suggest a resource that shows an example or suggest a clue? Selim -

RE: JSF RI Final is out!

2004-03-05 Thread Jesse Alexander (KAID 11)
great collection of ressoruces. Thanks a lot Alexander -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Freitag, 5. März 2004 06:25 To: 'Struts Users Mailing List' Subject: RE: JSF RI Final is out! Hi Janarthan, There are several books available and/or coming avail

Re: IndexedPropertyDescriptor has null readMethod/writeMethod

2004-03-05 Thread Niall Pemberton
Paul, there is an "indexed" attribute for the tags which means you don't need the scriptlet. So you could have: color: food: number: - Original Message - From: "Paul Stanton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 05, 2004 1:46 AM Subject: IndexedProp

Multiple Error Pages

2004-03-05 Thread Niel
Hi All, i wanted to know if it is possible to have multiple error pages in the application, where two jsps are using the same action servlet and the form bean. the validation in both are seperate ( NOT JAVA SCRIPT VALIDATION ) and i want them to return to two different pages in case of errors.

Re: optionsCollection struts 1.1

2004-03-05 Thread bojke
as as wrote: Good explanation.Then any way to set a default value show up in the list...onthe jsp page... Thanks yoge <[EMAIL PROTECTED]> wrote: For the above to work, your FormBean should have a property *conditions* with type as Collection. The coditions should be collection of properties

Re: Where Do I Put This properties File (internationalization)

2004-03-05 Thread Adam Hardy
On 03/05/2004 05:16 AM Caroline Jen wrote: And "mvnplugin_mvnforum_MVNForumConfig" is a properties file. Please advice regarding the directory in which this properties file is supposed to be. It goes in the same place as your *.java code files. As you have it, there is no directory for it, so it

Re: Using Struts with Flash interface

2004-03-05 Thread Markus
Hi there is another good example from macromedia: http://examples.macromedia.com/petmarket/flashstore.html Kind regards, Markus > Oh cool topic, actually i m using flash to display my data. Using > bean:write > i construct my custom XML document, and at flash side i use a script to > parse th

Re: Using Struts with Flash interface

2004-03-05 Thread Ivan
Oh cool topic, actually i m using flash to display my data. Using bean:write i construct my custom XML document, and at flash side i use a script to parse the XML into multinode array object, that i can process in my flash movie. - Original Message - From: "Markus" <[EMAIL PROTECTED]>