Re: As promised (Struts Presentation)
Check. Updated i8n to i18n. Thanks, Craig. Maya Muchnik wrote: Craig, You have an error on page 28: not i8n, but i18n. I have got the explanations on it. Maya Craig Tataryn wrote: droolAr, Dark Angel/drool Ted, I'll cut the "only" word out of there tonight after I watch the aforementioned program. But as far as I know, ActionForm is the only Model type class that Struts really manages for you auto-magically. Craig. Ted Husted wrote: Kewl! I think I know what I'll be doning after Dark Angel tonight! I did notice one point on page 17, where it says "Struts will only handle models in an automatic fashion if you extended org.apache.struts.action.ActionForm" Is the word "only" accurate? I believe Struts works best if the form beans are ActionForm subclasses, but I think the form and action would work just fine with any JavaBean. -Ted. Craig Tataryn wrote: Craig M.: Can you add the link to the presentation (if you deem it suitable) to the resources section of the Struts User Guide? URL forwarding sucks. Given that, I will have to give you the link to the presentation as it exists on the server space I am borrowing until I get my own server box. The URL may change in the future to my computer-programmer.org domain. The Struts presentation I did can be found (at least for the time being) at: http://www.us-eh.com/craiger/articles/struts/ Let me know of any problems or suggestions you may have about the presentation! Thanks, Craig. -- I've been trying to change the world for years, but they just won't give me the source code -- I've been trying to change the world for years, but they just won't give me the source code -- I've been trying to change the world for years, but they just won't give me the source code begin:vcard n:Tataryn;Craig tel;home:952-884-6752 tel;work:952-842-5576 x-mozilla-html:TRUE url:http://www.computer-programmer.org org:Compuware;Professional Division adr:;;3600 West 80th St. Suite 400;Bloomington;MN;55431;United States of America version:2.1 email;internet:[EMAIL PROTECTED] title:Senior Staff Analyst fn:Craig Tataryn end:vcard
Re: As promised (Struts Presentation)
Craig T., Thank you very much for your response. And I have got the answer for my 2nd Q. from Oleg. Maya Craig Tataryn wrote: Maya, 1) The language should change from the default after the user changes his/her browser language if: the user does a refresh in his browser (or perhaps just clicks a link to another part of the app) the language they have choosen is supported by the web app When you specify the Resource file in the application init param it simply specifies a default Resources class. After that, if the locale changes it tries to append the ISO language characters to the end of the class name to see if it can find a supporting Resource file. 2) Not sure I understand the second question :( Craig T. Maya Muchnik wrote: The same error is on pages 29 - 31. After reading your document, I have two questions: 1/ Is it possible to change a language on-line. For example one user uses English language with his browser, then he switchs to French. Can Struts handle this? I think, in your document the properties file is loaded in the beginning ActionServlet startup. 2/ How replace images with a text through properties file? (I think this question was posted already). Maya Maya Muchnik wrote: > Craig, > You have an error on page 28: not i8n, but i18n. I have got the explanations on > it. > Maya > > > > > > > > > > The Struts presentation I did can be found (at least for the time being) > > > > at: > > > > http://www.us-eh.com/craiger/articles/struts/ > > > > -- I've been trying to change the world for years, but they just won't give me the source code
Re: As promised (Struts Presentation)
Kewl! I think I know what I'll be doning after Dark Angel tonight! I did notice one point on page 17, where it says "Struts will only handle models in an automatic fashion if you extended org.apache.struts.action.ActionForm" Is the word "only" accurate? I believe Struts works best if the form beans are ActionForm subclasses, but I think the form and action would work just fine with any JavaBean. -Ted. Craig Tataryn wrote: Craig M.: Can you add the link to the presentation (if you deem it suitable) to the resources section of the Struts User Guide? URL forwarding sucks. Given that, I will have to give you the link to the presentation as it exists on the server space I am borrowing until I get my own server box. The URL may change in the future to my computer-programmer.org domain. The Struts presentation I did can be found (at least for the time being) at: http://www.us-eh.com/craiger/articles/struts/ Let me know of any problems or suggestions you may have about the presentation! Thanks, Craig. -- I've been trying to change the world for years, but they just won't give me the source code
Re: As promised (Struts Presentation)
Craig Tataryn wrote: droolAr, Dark Angel/drool Ted, I'll cut the "only" word out of there tonight after I watch the aforementioned program. But as far as I know, ActionForm is the only Model type class that Struts really manages for you auto-magically. That is correct. The property utility modules will work on any JavaBean, but automagic parameter population only works on ActionForm subclasses. Craig. Craig (M)
Re: As promised (Struts Presentation)
Craig, You have an error on page 28: not i8n, but i18n. I have got the explanations on it. Maya Craig Tataryn wrote: droolAr, Dark Angel/drool Ted, I'll cut the "only" word out of there tonight after I watch the aforementioned program. But as far as I know, ActionForm is the only Model type class that Struts really manages for you auto-magically. Craig. Ted Husted wrote: Kewl! I think I know what I'll be doning after Dark Angel tonight! I did notice one point on page 17, where it says "Struts will only handle models in an automatic fashion if you extended org.apache.struts.action.ActionForm" Is the word "only" accurate? I believe Struts works best if the form beans are ActionForm subclasses, but I think the form and action would work just fine with any JavaBean. -Ted. Craig Tataryn wrote: Craig M.: Can you add the link to the presentation (if you deem it suitable) to the resources section of the Struts User Guide? URL forwarding sucks. Given that, I will have to give you the link to the presentation as it exists on the server space I am borrowing until I get my own server box. The URL may change in the future to my computer-programmer.org domain. The Struts presentation I did can be found (at least for the time being) at: http://www.us-eh.com/craiger/articles/struts/ Let me know of any problems or suggestions you may have about the presentation! Thanks, Craig. -- I've been trying to change the world for years, but they just won't give me the source code -- I've been trying to change the world for years, but they just won't give me the source code
Re: As promised (Struts Presentation)
The same error is on pages 29 - 31. After reading your document, I have two questions: 1/ Is it possible to change a language on-line. For example one user uses English language with his browser, then he switchs to French. Can Struts handle this? I think, in your document the properties file is loaded in the beginning ActionServlet startup. 2/ How replace images with a text through properties file? (I think this question was posted already). Maya Maya Muchnik wrote: Craig, You have an error on page 28: not i8n, but i18n. I have got the explanations on it. Maya The Struts presentation I did can be found (at least for the time being) at: http://www.us-eh.com/craiger/articles/struts/