Re: multiple instances of one ActionForm

2005-08-09 Thread Leo Asanov
Michael, I don't see the analogy with Save As dialog. And ActionForm is not a businees object indeed. Don't know what to do with this valuable information though... If there is nothing in Struts which can help me then it is the information I am looking for. Although I would appreciate any

Displaying an image from a BLOB field on a jsp

2005-08-09 Thread C.F. Scheidecker Antunes
Hello, Could anyone tell me how to fetch using a bean an image from a MySQL database blob field and displaying it on a jsp page? Thanks, C.F. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: My first JAAS implementation. Part 2

2005-08-09 Thread Mark Benussi
Thanks Erik that was a huge help. I realised that I needed to invoke the LoginModule form a LoginContext. I have done this but im still missing a trick. My code gets invoked correctly from an action however it doesnt the next page which display the remote user etc is now null. Ill keep on

Re: multiple instances of one ActionForm

2005-08-09 Thread Michael Jouravlev
On 8/8/05, Leo Asanov [EMAIL PROTECTED] wrote: Michael, I don't see the analogy with Save As dialog. And ActionForm is not a businees object indeed. Don't know what to do with this valuable information though... If there is nothing in Struts which can help me then it is the information I

Last question on JAAS I promise

2005-08-09 Thread Mark Benussi
OK I got JAAS working with form authentication. That worked a treat (After a bit of head banging). I then moved to invoking the login from Struts (Or a Servlet for Tomcat users who don't use Struts) The code still gets invoked correctly. IBTJAASCallbackHandler callbackHandler = new

Re: Last question on JAAS I promise

2005-08-09 Thread Adam Hardy
Mark Benussi on 09/08/05 08:39, wrote: OK I got JAAS working with form authentication. That worked a treat (After a bit of head banging). I then moved to invoking the login from Struts (Or a Servlet for Tomcat users who don't use Struts) The code still gets invoked correctly.

RE: Using struts forms as Value Objects: your opinion?

2005-08-09 Thread Rivka Shisman
Hi friends, After a long discussion about the above subject - I found a related article, which was very interesting for me (as new to Struts) and I would like to forward it to you and will be happy to read your comments to it. It's called Struts Live Chapter: Nested POJOs and you can find

Re: Last question on JAAS I promise

2005-08-09 Thread Mark Benussi
Um wow so Form authentication works but not my own. Thats fine then, I can get the Subject that has been authenticated but how do I place the Principals returned from the LoginContext Subject and make them available to the session so that I can do requst.isUserInRole? Is there a session

RE: [OT]Terrific intro to JSF

2005-08-09 Thread Daniel Perry
-Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] PS: It's pretty straightforward to build turbo versions of the Struts HTML tags that have many of the same features described above. But that doesn't begin to touch the behavior at input time, where the component

Tiles showing directory listing inside WEB-INF

2005-08-09 Thread Peter . Zoche
Hi all! I got confused when I experimented with tiles to learn how it works. Here is what I have done. I have created a DeafultLayout.jsp: %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-tiles.tld prefix=tiles % html:html head titleTilesTest/title

Using html:link href= with URL encoding of sessionid

2005-08-09 Thread Bourgon, Jean-Francois
Hi, I recently moved my web application from Struts 1.2.4 to 1.2.7. Since this, the html:link tag doesn't behave as before because it doesn't encode sessionid in url specified as href property when session cookies are disabled. I compared TagUtils class source code between Struts 1.2.4 and

Re: How can I use my DTO POJO's as ActionForms?

2005-08-09 Thread bschneider
Also, remember that your ActionForm properties all should be strings, while your DTOs should be typed. You can use BeanUtils.copyProperties to do the conversion. Say, does anyone have a dynamic AOP-style ActionFormProxy class that you could use to dynamically decorate a DTO? it would make ints,

Re: How can I use my DTO POJO's as ActionForms?

2005-08-09 Thread Ed Griebel
Mick- You can use dynaforms and declare them in your struts-config.xml and as mentioned use BeanUtils.copyProperties to move data between them. Also, there has been mentioned on this list a library/tool which groks your DTOs and generates formBeans, but I can't recall now what it's called. -ed

RE: Tiles showing directory listing inside WEB-INF

2005-08-09 Thread David G. Friedman
Peter, You wrote your tiles:insert tag with 'ignore=true so just put a dummy value in for your tiles:insert tag and if a file by that name doesn't exist, it won't show anything. Regarding your directory listing, I've never seen that but I've also never tried putting a blank entry () as a value.

Re: Displaying an image from a BLOB field on a jsp

2005-08-09 Thread Frank W. Zammetti
Have a look at the DownloadAction sample app on this Wiki page: http://wiki.apache.org/struts/StrutsFileDownload In it you will find a sample app I wrote to demonstrate it, part of which gets a BLOB field from a database (I think Oracle in this case, but it should be portable with little or no

[SHALE]: using Shale's Tapestry-like views (was [OT] JSP Clutter)

2005-08-09 Thread Lindholm, Greg
This is very interesting... I need to know more. My biggest concern (right now) with switching to JSF is having to teach our web designers JSF tages. They want to work in HTML and Javascript and use there favorite Web design tools (e.g. Dreamweaver). They also often have to begin designing the

Struts and Hibernate lazy

2005-08-09 Thread Konrad Billewicz
Hello, I am using Hibernate in my Struts project. A have a problem with Hibernate lazy option. When I am setting it to true, I get an error in my JSPs: org.apache.jasper.JasperException: could not initialize proxy - the owning Session was closed Of course I know why this error occurs. I am

Re: Struts and Hibernate lazy

2005-08-09 Thread Nick Heudecker
The most common way to solve this problem is to use the Open Session In View pattern, which leaves the Hibernate session open until the JSP has finished rendering. Typically accomplished with a filter, there is also a Struts plugin to help with this pattern. Google for Open Session In View and

RE: Last question on JAAS I promise

2005-08-09 Thread David G. Friedman
Mark, A year ago I skimmed through SecurityFilter(.sourceforge.net) to see how they did things like this. I recommend you download the code and see how they went from a session filter based on their own forms to putting credentials into Tomcat. I clearly remember they had a Tomcat (Catalina)

Re: Last question on JAAS I promise

2005-08-09 Thread Adam Hardy
Before going any further with it on your own, perhaps you can integrate your JAAS module with sslext. Mark Benussi on 09/08/05 11:36, wrote: Um wow so Form authentication works but not my own. Thats fine then, I can get the Subject that has been authenticated but how do I place the

Re: [SHALE]: using Shale's Tapestry-like views (was [OT] JSP Clutter)

2005-08-09 Thread Gary VanMatre
This is very interesting... I need to know more. My biggest concern (right now) with switching to JSF is having to teach our web designers JSF tages. They want to work in HTML and Javascript and use there favorite Web design tools (e.g. Dreamweaver). They also often have to begin

[OT]: Struts and Hibernate lazy

2005-08-09 Thread Lindholm, Greg
What I do is use a Hibernate Servlet Filter that closes the Hibernate session at the end of the request. This is used in conjunction with the HibernateUtils class that stores the Hibernate session in ThreadLocal storage. An example of this technique is on the Hibernate site

Re: How can I use my DTO POJO's as ActionForms?

2005-08-09 Thread Mick Knutson
Do you have some examples of both viewing, and posting of such nested pojo's? Michael Jouravlev wrote: Instead -- no. But you can use them as nested properties. On 8/8/05, Mick Knutson [EMAIL PROTECTED] wrote: I have many DTO's and do not want to duplicate code my creating ActionFOrms

get MessageResources Key from tiles

2005-08-09 Thread Mick Knutson
I have the following tag in my defaultLayout: put name=title value=label.default.title type=string / and I want to show the label.default.title text from my ApplicationResources.properties file instead of my page showing: label.default.title How can I do this please? -- Thanks Mick Knutson

Re: How can I use my DTO POJO's as ActionForms?

2005-08-09 Thread Hubert Rabago
You have a variety of options, some of which I'll introduce but I won't have time right now to go deeply into details. However, if you ask a specific questions (in this or in new threads), there's a good chance someone will reply. [As others would expect, I'd be hawking my own project, FormDef.]

RE: get MessageResources Key from tiles

2005-08-09 Thread Mark Womack
I just had the same questions answered: http://marc.theaimsgroup.com/?t=11232885381r=1w=2 -Mark -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 09, 2005 8:55 AM To: struts Subject: get MessageResources Key from tiles I have the following

Re: [OT]Terrific intro to JSF

2005-08-09 Thread Craig McClanahan
On 8/9/05, Daniel Perry [EMAIL PROTECTED] wrote: -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] PS: It's pretty straightforward to build turbo versions of the Struts HTML tags that have many of the same features described above. But that doesn't begin to

Re: How can I use my DTO POJO's as ActionForms?

2005-08-09 Thread Laurie Harper
Well, to expand on Michael's answer a little ;-) You *can* use your DTOs directly as form beans, but it's generally considered bad practice. One reason is that you'll want your form beans to use String-typed properties. That way you can accept invalid data and redisplay it to the user to

Re: multiple instances of one ActionForm

2005-08-09 Thread Laurie Harper
Leo Asanov wrote: Is there any standard ways to manage multiple instances of one form with Struts? I have application which is supposed to take theorerically unlimited number of person's descriptions. Every time user clicks add one more person he/she gets exactly the same form (with the same

Re: get MessageResources Key from tiles

2005-08-09 Thread Wendy Smoak
From: Mick Knutson [EMAIL PROTECTED] I have the following tag in my defaultLayout: put name=title value=label.default.title type=string / and I want to show the label.default.title text from my ApplicationResources.properties file instead of my page showing: label.default.title How can I do

Re: {Spam?} Re: {Spam?} Re: {Spam?} validate() not called

2005-08-09 Thread Jay Sheth
HI, I have a problem here too. I dont understand how to configure this for tomcat5.5.9 which uses the UI for running it. The link which you mentioned has remedy for older tomcat, which uses files for configuration. Any help would be great. Jay On 8/8/05, Ed Griebel [EMAIL PROTECTED] wrote: You

Re: {Spam?} validate() not called

2005-08-09 Thread GRamani
So what is the problem you are having? I am using eclipse and tomcat 5.5.9 just fine...? Geeta Jay Sheth [EMAIL PROTECTED] 08/09/2005 01:10 PM Please respond to Struts Users Mailing List user@struts.apache.org To Struts Users Mailing List user@struts.apache.org cc Subject {Spam?} Re:

Re: {Spam?} Re: {Spam?} Re: {Spam?} validate() not called

2005-08-09 Thread Ed Griebel
I haven't used 5.5.9, but my guess is that the gui is just a pointy-clicky front end for some scripts and one can still launch it with a shell script or batch file. Maybe take a look in tomcat_home/bin for launcher scripts. On 8/9/05, Jay Sheth [EMAIL PROTECTED] wrote: HI, I have a problem here

Re: {Spam?} Re: {Spam?} Re: {Spam?} Re: {Spam?} validate() not called

2005-08-09 Thread GRamani
Well, not only that, if you want eclipse to play nice with tomcat (and have eclipse obey break points and what not), then you in fact start tomcat from within eclipse, right? I have been doing this for a while now so I don't see what the problem could be..? Would something like this link help:

Re: {Spam?} Re: {Spam?} Re: {Spam?} Re: {Spam?} validate() not called

2005-08-09 Thread Ed Griebel
No, not at all, it doesn't matter where tomcat is started from. As long as tomcat was started with JDWP debugging, you can connect up with any recent java debugger. Your tomcat can be in China and your debugging session in NYC, it just doesn't matter, and it certainly doesn't have to be in the

RE: [OT] JSF style-ability (was: Terrific into to JSF)

2005-08-09 Thread Pilgrim, Peter
-Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] ==== What do you have to do to get on Creator 2 EA? On 8/8/05, Frank W. Zammetti [EMAIL PROTECTED] wrote: Craig McClanahan wrote: And you were so ***good*** about the Maven thread! :-) :-) :-) You

Re: {Spam?} Re: {Spam?} Re: {Spam?} Re: {Spam?} Re: {Spam?} validate() not called

2005-08-09 Thread GRamani
oh ok I see where you are coming from.. I didn't know about this remote debugging thing so it's good info..:) However, I didn't think the original poster had this situation at all.. or maybe i grossly misunderstood...(been known to happen..;)) Ed Griebel [EMAIL PROTECTED] 08/09/2005 01:43

problems with IE browser when disabling cache

2005-08-09 Thread temp temp
I am disabling the browsers chache using jsp setHeader method , exact code is below. response.setHeader( Expires, Sat, 6 May 1995 12:00:00 GMT ); // set standard HTTP/1.1 no-cache headers response.setHeader( Cache-Control, no-store, no-cache, must-revalidate ); //

Re: [OT] JSF style-ability (was: Terrific into to JSF)

2005-08-09 Thread Craig McClanahan
On 8/9/05, Pilgrim, Peter [EMAIL PROTECTED] wrote: -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] ==== What do you have to do to get on Creator 2 EA? Sign up and (free) download starting at:

Re: get MessageResources Key from tiles

2005-08-09 Thread Mick Knutson
What is this used for though: fmt:param value=${someOtherParam}/ ? I don't know what someOtherParam is for, or where it comes from. Wendy Smoak wrote: From: Mick Knutson [EMAIL PROTECTED] I have the following tag in my defaultLayout: put name=title value=label.default.title type=string /

Re: [OT]Terrific intro to JSF

2005-08-09 Thread C.F. Scheidecker Antunes
Well. It seems that all articles were written already. http://www-128.ibm.com/developerworks/views/java/libraryview.jsp?search_by=nonbelievers: [EMAIL PROTECTED] wrote: Hi all: i know it isn't Friday yet.. ;) but .. in case you have been looking for a nice and clear introduction to JSF,

Re: {Spam?} Re: [OT]Terrific intro to JSF

2005-08-09 Thread GRamani
well, yes.. I guess maybe my note seems to suggest otherwise..? well, I am right now about half way through the second one and it's still holding up to its initial promise..:) Geeta C.F. Scheidecker Antunes [EMAIL PROTECTED] 08/09/2005 02:18 PM Please respond to Struts Users Mailing List

Re: problems with IE browser when disabling cache

2005-08-09 Thread Chad S. Lauritsen
I had a similar problem earlier regarding cache on MSIE. It was only applicable when using HTTPS. Here's the ms kb article http://support.microsoft.com/default.aspx?scid=kb;en-us;323308 In effect, you tell MSIE not to keep a copy around, it if you're using SSL, it doesn't. For stuff that I

Re: a jsp as a navigation item?

2005-08-09 Thread Dave Newton
Mick Knutson wrote: I have it working with a static jsp, but want to use a more dynamic tiles creation, but can't figure out how to create dynamic URL's with the menu.jsp example. I don't know anything about this menu.jsp example of which you speak, but I wonder if keying anything off of

Re: get MessageResources Key from tiles

2005-08-09 Thread Dave Newton
Mick Knutson wrote: What is this used for though: fmt:param value=${someOtherParam}/ ? I don't know what someOtherParam is for, or where it comes from. I believe that would be a parameter replacement for the resource? Like, say, in your case, if: label.default.title=Replace {0} with the

File serving servlet

2005-08-09 Thread Jim Kennedy
Can anyone give me the name of the source file that handles the serving of static content for Tomcat. I have a need to duplicate this function for alternate locations and want to make sure I cover all bases in terms of security, http headers ... FYI I just downloaded all source files and just

Re: File serving servlet

2005-08-09 Thread Craig McClanahan
On 8/9/05, Jim Kennedy [EMAIL PROTECTED] wrote: Can anyone give me the name of the source file that handles the serving of static content for Tomcat. I have a need to duplicate this function for alternate locations and want to make sure I cover all bases in terms of security, http headers

Nested navigation items not working

2005-08-09 Thread Mick Knutson
I also need to see if anyone has any other nested navigation element examples as I can't get mine to show up. I get a resource not available error on the jsp: !-- === -- !-- Menus definitions -- !--

Re: get MessageResources Key from tiles

2005-08-09 Thread Mick Knutson
Thanks. Dave Newton wrote: Mick Knutson wrote: What is this used for though: fmt:param value=${someOtherParam}/ ? I don't know what someOtherParam is for, or where it comes from. I believe that would be a parameter replacement for the resource? Like, say, in your case, if:

Re: problems with IE browser when disabling cache

2005-08-09 Thread Michael Jouravlev
On 8/9/05, temp temp [EMAIL PROTECTED] wrote: I am disabling the browsers chache skipped This works fine . Everytime a user clicks browsers back or forward button internet explorer displaysthis page with the content below . skipped A user click refresh button and the page is

Category and Subcategory logic within Struts

2005-08-09 Thread C.F. Scheidecker Antunes
Hello all, I need to have a set of categories and subcategories selection on a JSP page similar to what eBay has when you are selling an item. When you select a main category the secondary category box is populated with options and so forth. My first question is: How to organize that?

Re: {Spam?} Category and Subcategory logic within Struts

2005-08-09 Thread GRamani
Funny you mention this... since apparently this kind of functionality has been foreseen and built right into JSF..! I don't suppose moving over to jSF is an option for you, right? Geeta C.F. Scheidecker Antunes [EMAIL PROTECTED] 08/09/2005 02:56 PM Please respond to Struts Users Mailing

Re: Category and Subcategory logic within Struts

2005-08-09 Thread Dave Newton
C.F. Scheidecker Antunes wrote: My first question is: How to organize that? Shall I have a data structure with a parentId field so that I can do a SQL select for all the items with that parent category? Second question is: Shall I use some sort of data structure like a list of objects where

Accessing the right bean

2005-08-09 Thread Dave
On my form is a bean called member. member has a method that returns an optionsCollection. The first value in the collection should start at a value specified another property of member. However, it appears that a new member object is being created instead of the pre-existing one on my form.

Re: Last question on JAAS I promise

2005-08-09 Thread erikweber
Mark, when I did this, I had isUserInRole working correctly. I remember that the problem was, I could either log in with Tomcat or log in with JBoss, but there was no propagation between the two. At that point I put it on hold. Also, if the archives go back far enough, I remember a long thread

Syntax for proper bean usage

2005-08-09 Thread Dave
My apologies if this is a duplicate. I waited at least 30 minutes after sending the confirming email. On my form is a bean named member. I also have a select whose options are created by a method on member. When I access the method it appears that a new member is constructed when the

Re: Syntax for proper bean usage

2005-08-09 Thread Dave Newton
Dave wrote: My apologies if this is a duplicate. I waited at least 30 minutes after sending the confirming email. It's a duplicate. Bear in mind that this isn't like a tech support hotline; it's just a bunch of people that read this when we're not doing our real work. On my form is a

Re: Last question on JAAS I promise

2005-08-09 Thread erikweber
I found my login-config.xml. Suddenly I fear that I had this working in JBoss but not stand-alone Tomcat, but yet I *know* I was calling isUserInRole. At the same time, I remember the propagation problem between Tomcat and JBoss, and this config is definitely for JBoss. But isUserInRole would

Re: Last question on JAAS I promise

2005-08-09 Thread Craig McClanahan
On 8/9/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I found my login-config.xml. Suddenly I fear that I had this working in JBoss but not stand-alone Tomcat, but yet I *know* I was calling isUserInRole. At the same time, I remember the propagation problem between Tomcat and JBoss, and

Re: Last question on JAAS I promise

2005-08-09 Thread erikweber
Thanks Craig. Well Mark, I'd be interested in hearing how it turns out. Good luck. Erik -Original Message- From: Craig McClanahan [EMAIL PROTECTED] Sent: Aug 9, 2005 4:42 PM To: Struts Users Mailing List user@struts.apache.org, [EMAIL PROTECTED] Subject: Re: Last question on JAAS I

Re: Application context bean

2005-08-09 Thread Wendy Smoak
From: C.F. Scheidecker Antunes [EMAIL PROTECTED] I would like to have a bean with a data structure that gets populated when the application starts and then this bean is available to the entire application. Use a ServletContextListener, which will be notified when the context starts and

Re: Application context bean

2005-08-09 Thread Dave Newton
C.F. Scheidecker Antunes wrote: Hello all, I would like to have a bean with a data structure that gets populated when the application starts and then this bean is available to the entire application. The data structure will get populated via a data base. I need to call the database just

Re: Application context bean

2005-08-09 Thread Dave Newton
Wendy Smoak wrote: Use a ServletContextListener, which will be notified when the context starts and stops. Or that ;) As an aside, is there a good reason why this would be better than a startup servlet or plugin? Dave

Re: Application context bean

2005-08-09 Thread Joe Germuska
At 4:16 PM -0600 8/9/05, C.F. Scheidecker Antunes wrote: Hello all, I would like to have a bean with a data structure that gets populated when the application starts and then this bean is available to the entire application. The data structure will get populated via a data base. I need to

Re: Application context bean

2005-08-09 Thread Michael Jouravlev
Search Struts mail archives for keywords: application, servlet, context, servletContext, global, storing. On 8/9/05, C.F. Scheidecker Antunes [EMAIL PROTECTED] wrote: Hello all, I would like to have a bean with a data structure that gets populated when the application starts and then this

Setting and accessing Context and Session data

2005-08-09 Thread C.F. Scheidecker Antunes
Hello all, More newbie questions. I just want to make sure I understand the idea on how to write a Struts application properly. How do you save something to the Session scope and then access it within Struts? I pretty much understand how to do it within a Servlet. How do you do the same

Re: Application context bean

2005-08-09 Thread Frank W. Zammetti
You can save some time by using the AppConfigContextListener in Java Web Parts: http://javawebparts.sourceforge.net/javadocs/javawebparts/listener/AppConfigContextListener.html In it's simplest configuration it should take all of a few minutes to get it done, there are more advanced modes of

Re: Setting and accessing Context and Session data

2005-08-09 Thread Dave Newton
C.F. Scheidecker Antunes wrote: How do you save something to the Session scope and then access it within Struts? I pretty much understand how to do it within a Servlet. How do you do the same for the Context? I also know how to do it in a Servlet. Same way; inside your Actions you can get

Re: Application context bean

2005-08-09 Thread Dave Newton
Frank W. Zammetti wrote: P.S. - Someone else asked if a listener is better than a startup servlet of Struts plug-in... IMO, it's better than a plug-in because it's one less thing that is Struts-specific... Arguably it isn't any better than a startup servlet I suppose. I'm still using

Re: Application context bean

2005-08-09 Thread Craig McClanahan
On 8/9/05, Dave Newton [EMAIL PROTECTED] wrote: Frank W. Zammetti wrote: P.S. - Someone else asked if a listener is better than a startup servlet of Struts plug-in... IMO, it's better than a plug-in because it's one less thing that is Struts-specific... Arguably it isn't any better than

Avis.com J2EE website

2005-08-09 Thread C.F. Scheidecker Antunes
Hello all, This is an interface question. www.avis.com is a J2EE/Struts website for what I can tell. They have a nice feature to make a reservation which is the popup calendar they have for the pick-up Date and Return Data. Would anyone know how could I have this kind of interface for a user

Re: Setting and accessing Context and Session data

2005-08-09 Thread Michael Jouravlev
On 8/9/05, C.F. Scheidecker Antunes [EMAIL PROTECTED] wrote: How do you save something to the Session scope and then access it within Struts? I pretty much understand how to do it within a Servlet. You can do this directly, or you can setup your ActionForm class to have session scope.

[Tiles] Why it is null?

2005-08-09 Thread Vernon
I get quite frustrated with a Tiles problem. After dealing with it for a few of days, I can't figure out the cause of this null expection. In my Tiles definition XML file, I have definition name=news page=/WEB-INF/jsp/news/news.jsp controllerClass=com.xxx.NewsComponentController

Re: Avis.com J2EE website

2005-08-09 Thread GRamani
These usually involve JavaScript. Here's a link: http://www.mattkruse.com/javascript/calendarpopup/ Regards, Geeta C.F. Scheidecker Antunes [EMAIL PROTECTED] 08/09/2005 07:25 PM Please respond to Struts Users Mailing List user@struts.apache.org To Struts Users Mailing List

Re: Syntax for proper bean usage

2005-08-09 Thread Hubert Rabago
On 8/9/05, Dave Newton [EMAIL PROTECTED] wrote: Dave wrote: On my form is a bean named member. I also have a select whose options are created by a method on member. When I access the method it appears that a new member is constructed when the optionsCollection is created. If you're

Re: [OT]Terrific intro to JSF

2005-08-09 Thread Laurie Harper
Craig McClanahan wrote: On 8/9/05, Daniel Perry [EMAIL PROTECTED] wrote: -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] PS: It's pretty straightforward to build turbo versions of the Struts HTML tags that have many of the same features described above. But that

Re: Avis.com J2EE website

2005-08-09 Thread erikweber
That is a nice feature. However, I don't think there's anything special to the implementation. Looks like JavaScript and HTML to me. View source on the popup window and you'll see the names of the script files, which should be coming from their public document root . . . Erik -Original

Re: Avis.com J2EE website

2005-08-09 Thread Martin Gainty
Struts-layout has a Date Tag take a look at http://struts.application-servers.com/download.html Or you could get anyone on this list to help you out, HTH, Martin- C.F. Scheidecker Antunes [EMAIL PROTECTED] 08/09/2005 07:25 PM Please respond to Struts Users Mailing List user@struts.apache.org

Re: [OT]Terrific intro to JSF

2005-08-09 Thread Craig McClanahan
On 8/9/05, Laurie Harper [EMAIL PROTECTED] wrote: Craig McClanahan wrote: On 8/9/05, Daniel Perry [EMAIL PROTECTED] wrote: -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] PS: It's pretty straightforward to build turbo versions of the Struts HTML tags that have

Re: Application context bean

2005-08-09 Thread Frank W. Zammetti
Craig beat me to it :) That's exactly what I was going to say. One point to make... if you do it with a servlet anyway and you read in your config and store it in a bean as static members, and one of the fields you set is a boolean configured field, and only populate the bean if its false,

RE: [Tiles] Why it is null?

2005-08-09 Thread David G. Friedman
Vernon, From your tiles definition I am just not seeing where you define xinhuaFashion as a definition. I see you define xFashion to extend news but not xinhuaFashion. Did you forget to include this in your cut/paste request for help? You wrote that xFashion was valid according to your test

RE: [Tiles] Why it is null?

2005-08-09 Thread Vernon
Hi, David, Thanks for your response. I forgot to mention that I use the Spring framework and the xFashion is defined in a Spring configuration file. I tested its value with another method. Also, the exception occurs on some of definitons, but not others. I can't see any difference between

RE: Re: How can I use my DTO POJO's as ActionForms?

2005-08-09 Thread Rivka Shisman
The article Struts Live Chapter: Nested POJOs might give one possible solution You can find it in: http://www.theserverside.com/articles/article.tss?l=StrutsLiveCh10 Rivka ** The contents of this