RE: XSLT Transform to JSP XML syntax to Struts-Faces and JSF?
I will keep a list of things that come up during the migration and post it to this list. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig McClanahan Sent: Monday, January 16, 2006 2:40 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: XSLT Transform to JSP XML syntax to Struts-Faces and JSF? On 1/16/06, Jason Long <[EMAIL PROTECTED]> wrote: > > Thanks for the reply Craig. I can do it by hand as I get time. > > 1. Is this process as straight forward as it seems in your article on > Oracle? You mean using struts-faces? I've never done a 150-page app conversion, but it was definitely straightforward for small stuff. 2. Is this still your recommended path for migrating from Struts to JSF > incrementally? Yes. I'd also be interested in hearing about experiences from people who actually go through this process -- it might be an interesting opportuniity to create some tooling that does part of the grunt work for you. Thank you for your time, > > Jason Long Craig CEO and Chief Software Engineer > BS Physics, MS Chemical Engineering > http://www.supernovasoftware.com > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig > McClanahan > Sent: Monday, January 16, 2006 2:11 PM > To: Struts Users Mailing List; [EMAIL PROTECTED] > Subject: Re: XSLT Transform to JSP XML syntax to Struts-Faces and JSF? > > On 1/16/06, Jason Long <[EMAIL PROTECTED]> wrote: > > > > I would like to migrate my application to JSF. I am using Struts 1.2.7, > > Tiles, and XML Syntax JSPs. There are 150+ pages that use struts > tags. I > > am using a custom request processor that extends TilesRequestProcessor > and > > is modification of com.sourcebeat.strutslive.common.PojoRequestProcessor > . > > > > Ultimately I would like to replace Struts completely in favor of JSF. > > > > 1. Can I just write and XSLT transform and run it on all of my pages to > > switch to Struts-Faces and JSF? > > 2. Is there a tool for this already? > > 3. Will this work with the custom request processor I have? > > > > I would like to do the upgrade in steps. > > 1. XSLT to upgrade pages > > 2. Test to make sure this is done properly. > > 3. Convert Action one by one. > > 4. Test action replacements. > > 5. Convert from Tiles and use Facelets and JBoss Seam. > > > > I would like to know how smoothly step 1 & 2 should go so I can > determine > > if > > this is the proper time to begin this. > > > Although an XSLT transformation sounds like an easy way to do this, it's > not > quite that simple ... some of the semantic meaning of a page with Struts > HTML tags is buried in the corresponding struts-config.xml file. > > Consider, for example, how you'd need to map an tag into a > corresponding component. Presumably, what you would want to > do is emit a value binding expression for the "value" property, which > would > map to the corresponding backing bean. But how do you know what the bean > name is? You could infer it by going up to the tag, looking > up > the action it points at, and get the form bean name from there (and, along > the way, make sure that you create a managed bean definition for all the > form beans) ... but it doesn't seem feasible to do all of this with XSLT. > It seems more like a task for a tool. Even there, this only gets you as > far > as binding to the string-valued properties of your form beans. An ideal > tool would also migrate those properties to the correct native data types > -- > but that might be a later step in the conversion process. > > I don't know of any such tools at the moment, but it would be an > interesting > project to attempt to create one. > > Thank you for your time, > > > > Jason Long > > > Craig > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XSLT Transform to JSP XML syntax to Struts-Faces and JSF?
Thanks for the reply Craig. I can do it by hand as I get time. 1. Is this process as straight forward as it seems in your article on Oracle? 2. Is this still your recommended path for migrating from Struts to JSF incrementally? Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig McClanahan Sent: Monday, January 16, 2006 2:11 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: XSLT Transform to JSP XML syntax to Struts-Faces and JSF? On 1/16/06, Jason Long <[EMAIL PROTECTED]> wrote: > > I would like to migrate my application to JSF. I am using Struts 1.2.7, > Tiles, and XML Syntax JSPs. There are 150+ pages that use struts tags. I > am using a custom request processor that extends TilesRequestProcessor and > is modification of com.sourcebeat.strutslive.common.PojoRequestProcessor. > > Ultimately I would like to replace Struts completely in favor of JSF. > > 1. Can I just write and XSLT transform and run it on all of my pages to > switch to Struts-Faces and JSF? > 2. Is there a tool for this already? > 3. Will this work with the custom request processor I have? > > I would like to do the upgrade in steps. > 1. XSLT to upgrade pages > 2. Test to make sure this is done properly. > 3. Convert Action one by one. > 4. Test action replacements. > 5. Convert from Tiles and use Facelets and JBoss Seam. > > I would like to know how smoothly step 1 & 2 should go so I can determine > if > this is the proper time to begin this. Although an XSLT transformation sounds like an easy way to do this, it's not quite that simple ... some of the semantic meaning of a page with Struts HTML tags is buried in the corresponding struts-config.xml file. Consider, for example, how you'd need to map an tag into a corresponding component. Presumably, what you would want to do is emit a value binding expression for the "value" property, which would map to the corresponding backing bean. But how do you know what the bean name is? You could infer it by going up to the tag, looking up the action it points at, and get the form bean name from there (and, along the way, make sure that you create a managed bean definition for all the form beans) ... but it doesn't seem feasible to do all of this with XSLT. It seems more like a task for a tool. Even there, this only gets you as far as binding to the string-valued properties of your form beans. An ideal tool would also migrate those properties to the correct native data types -- but that might be a later step in the conversion process. I don't know of any such tools at the moment, but it would be an interesting project to attempt to create one. Thank you for your time, > > Jason Long Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XSLT Transform to JSP XML syntax to Struts-Faces and JSF?
I would like to migrate my application to JSF. I am using Struts 1.2.7, Tiles, and XML Syntax JSPs. There are 150+ pages that use struts tags. I am using a custom request processor that extends TilesRequestProcessor and is modification of com.sourcebeat.strutslive.common.PojoRequestProcessor. Ultimately I would like to replace Struts completely in favor of JSF. 1. Can I just write and XSLT transform and run it on all of my pages to switch to Struts-Faces and JSF? 2. Is there a tool for this already? 3. Will this work with the custom request processor I have? I would like to do the upgrade in steps. 1. XSLT to upgrade pages 2. Test to make sure this is done properly. 3. Convert Action one by one. 4. Test action replacements. 5. Convert from Tiles and use Facelets and JBoss Seam. I would like to know how smoothly step 1 & 2 should go so I can determine if this is the proper time to begin this. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem with IE, html:input and collection, works in FIreFox
Thank you for your reply Rick. I found the problem after 5 hrs of investigation. I integrated a new layout my designer made and somehow the following got stuck in the header: I am not sure why this caused a problem or why it only happened on one of the many, many forms in the application. If I commented out All other functions of the form would post, but with text field in place the form was totally dead in IE. Does anyone have any ideas? After 5 hrs I am quite curious as to what the problem was. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 3:31 PM To: Struts Users Mailing List Subject: Re: Problem with IE, html:input and collection, works in FIreFox View the generated HTML source code and paste it somewhere such as: http://www.pastehere.com/CreatePaste.aspx And then give us the link to the paste above. Jason Long wrote the following on 1/10/2006 4:11 PM: > I have a problem with using a collection and . I do this in > several places in my application and I cannot determine why this has stopped > working in IE only and this form only. Here is a sample of the code: > > > > > > var="offerPrice" > varStatus="rowId"> > > > >property="method" >src="images/buttons/history.gif" /> > > > > > > The problem is with the text field. This was working for months, but > stopped recently. The only thing I have changed is from XML to hibernate > annotations. > > This form will no longer submit in IE. Clicking any of the buttons(I > removed all but one for clarity) does nothing. This does work in FireFox > and in other similar forms in my application. > > I do not know what has changed and since I am getting no error messages and > nothing is being submitted I am at a lost. > > I would greatly appreciate any help with this problem. > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with IE, html:input and collection, works in FIreFox
I have a problem with using a collection and . I do this in several places in my application and I cannot determine why this has stopped working in IE only and this form only. Here is a sample of the code: The problem is with the text field. This was working for months, but stopped recently. The only thing I have changed is from XML to hibernate annotations. This form will no longer submit in IE. Clicking any of the buttons(I removed all but one for clarity) does nothing. This does work in FireFox and in other similar forms in my application. I do not know what has changed and since I am getting no error messages and nothing is being submitted I am at a lost. I would greatly appreciate any help with this problem. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with IE, html:input and collection, works in FIreFox
I have a problem with using a collection and . I do this in several places in my application and I cannot determine why this has stopped working in IE only and this form only. Here is a sample of the code: The problem is with the text field. This was working for months, but stopped recently. The only thing I have changed is from XML to hibernate annotations. This form will no longer submit in IE. Clicking any of the buttons(I removed all but one for clarity) does nothing. This does work in FireFox and in other similar forms in my application. I do not know what has changed and since I am getting no error messages and nothing is being submitted I am at a lost. I would greatly appreciate any help with this problem. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with formatKey using java.lang.Double that works with primitive double
I have been using Struts extensively in my applications for several years and recently noticed some strange behavior. I format numbers and dates as follows: This is used in hundreds of places throughout my application and works fine if the value is java.lang.Double, but recently this started acting strangely for no reason. It will not format some values unless I declare them as primitive values. As soon as I change numTons on the release object it formats fine. I do not understand what is going on as I always use java.lang.Double and never use the primitive type in my objects. Why all of a sudden would this work in some places and not in others? Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com
RE: Load message resources from DB???
I am still waiting for an example of this as well. I would very much like to add this feature, but is not critical and I have other things to work on. If you find an example please let me know. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 29, 2005 6:38 PM To: user@struts.apache.org Subject: RE: Load message resources from DB??? Does anyone ahve any examples of extending the PropertyMessageResources and PropertyMessageResources Factory? -Original Message- From: Daniel Lipofsky [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 15, 2005 1:35 PM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: RE: Load message resources from DB??? Yes, just extend the PropertyMessageResources and overide the loadLocale() method. You should extend the factory too and specify the new factory in struts-config.xml. Add a method to clear the cache in the PropertyMessageResources and clear it when the user changes something. - Dan > -Original Message- > From: Jason Long [mailto:[EMAIL PROTECTED] > Sent: Monday, March 14, 2005 11:21 PM > To: 'Struts Users Mailing List' > Subject: Load message resources from DB??? > > Is it possible to load the message resources from a database > instead of a > file? If so can this be done without reloading the entire > application? I > would like to let users manage these. > > Thank you for your time, > > Jason Long > CEO and Chief Software Engineer > BS Physics, MS Chemical Engineering > http://www.supernovasoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Load message resources from DB???
I am still waiting for an example of this as well. I would very much like to add this feature, but is not critical and I have other things to work on. If you find an example please let me know. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 29, 2005 6:38 PM To: user@struts.apache.org Subject: RE: Load message resources from DB??? Does anyone ahve any examples of extending the PropertyMessageResources and PropertyMessageResources Factory? -Original Message- From: Daniel Lipofsky [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 15, 2005 1:35 PM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: RE: Load message resources from DB??? Yes, just extend the PropertyMessageResources and overide the loadLocale() method. You should extend the factory too and specify the new factory in struts-config.xml. Add a method to clear the cache in the PropertyMessageResources and clear it when the user changes something. - Dan > -Original Message- > From: Jason Long [mailto:[EMAIL PROTECTED] > Sent: Monday, March 14, 2005 11:21 PM > To: 'Struts Users Mailing List' > Subject: Load message resources from DB??? > > Is it possible to load the message resources from a database > instead of a > file? If so can this be done without reloading the entire > application? I > would like to let users manage these. > > Thank you for your time, > > Jason Long > CEO and Chief Software Engineer > BS Physics, MS Chemical Engineering > http://www.supernovasoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Load message resources from DB???
Could someone provide a code sample and struts config snippit? My project is way over deadline and this is not crucial, but would be very nice. I only have 1 locale so this should be easy. If I have to make any serious effort on this it will have to wait for phase II. Thank you very much for your reply Daniel. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Daniel Lipofsky [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 15, 2005 3:35 PM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: RE: Load message resources from DB??? Yes, just extend the PropertyMessageResources and overide the loadLocale() method. You should extend the factory too and specify the new factory in struts-config.xml. Add a method to clear the cache in the PropertyMessageResources and clear it when the user changes something. - Dan > -Original Message- > From: Jason Long [mailto:[EMAIL PROTECTED] > Sent: Monday, March 14, 2005 11:21 PM > To: 'Struts Users Mailing List' > Subject: Load message resources from DB??? > > Is it possible to load the message resources from a database > instead of a > file? If so can this be done without reloading the entire > application? I > would like to let users manage these. > > Thank you for your time, > > Jason Long > CEO and Chief Software Engineer > BS Physics, MS Chemical Engineering > http://www.supernovasoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Load message resources from DB???
Could someone provide a code sample and struts config snippit? My project is way over deadline and this is not crucial, but would be very nice. I only have 1 locale so this should be easy. If I have to make any serious effort on this it will have to wait for phase II. Thank you very much for your reply Daniel. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Daniel Lipofsky [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 15, 2005 3:35 PM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: RE: Load message resources from DB??? Yes, just extend the PropertyMessageResources and overide the loadLocale() method. You should extend the factory too and specify the new factory in struts-config.xml. Add a method to clear the cache in the PropertyMessageResources and clear it when the user changes something. - Dan > -Original Message- > From: Jason Long [mailto:[EMAIL PROTECTED] > Sent: Monday, March 14, 2005 11:21 PM > To: 'Struts Users Mailing List' > Subject: Load message resources from DB??? > > Is it possible to load the message resources from a database > instead of a > file? If so can this be done without reloading the entire > application? I > would like to let users manage these. > > Thank you for your time, > > Jason Long > CEO and Chief Software Engineer > BS Physics, MS Chemical Engineering > http://www.supernovasoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Load message resources from DB???
Is it possible to load the message resources from a database instead of a file? If so can this be done without reloading the entire application? I would like to let users manage these. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Load message resources from DB???
Is it possible to load the message resources from a database instead of a file? If so can this be done without reloading the entire application? I would like to let users manage these. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: AW: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)
Use hibernate 3.0 it rocks. It is now part of JBoss and professionally supported by them. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Sunday, March 13, 2005 9:17 AM To: 'Struts Users Mailing List' Subject: AW: AW: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC) And you can't move it to oodbms? Btw, there are JDO implementation for RDBMS (for example KODO JDO by Versant). Makes moving easier... leon > -Ursprüngliche Nachricht- > Von: Robert Taylor [mailto:[EMAIL PROTECTED] > Gesendet: Sonntag, 13. März 2005 16:19 > An: Struts Users Mailing List > Betreff: Re: AW: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC) > > An existing production RDBMS implementation :) > > /robert > > Leon Rosenberg wrote: > >>Leon, > >> > >>I have zero experience with OODBMS, so I can't comment on that. > >> > >>I guess my question was geared more towards RDBMS. > > > > > > It was an answer :-) > > > > Do you have any real requirements which forces you to use rdbms? > > > > leon > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: AW: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC)
Use hibernate 3.0 it rocks. It is now part of JBoss and professionally supported by them. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Sunday, March 13, 2005 9:17 AM To: 'Struts Users Mailing List' Subject: AW: AW: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC) And you can't move it to oodbms? Btw, there are JDO implementation for RDBMS (for example KODO JDO by Versant). Makes moving easier... leon > -Ursprüngliche Nachricht- > Von: Robert Taylor [mailto:[EMAIL PROTECTED] > Gesendet: Sonntag, 13. März 2005 16:19 > An: Struts Users Mailing List > Betreff: Re: AW: [OT] ORM vs JDBC vs OODBMS (was [OT] ORM vs JDBC) > > An existing production RDBMS implementation :) > > /robert > > Leon Rosenberg wrote: > >>Leon, > >> > >>I have zero experience with OODBMS, so I can't comment on that. > >> > >>I guess my question was geared more towards RDBMS. > > > > > > It was an answer :-) > > > > Do you have any real requirements which forces you to use rdbms? > > > > leon > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with submit target popup and serverside validation????
I am attempting to set up a popup so that the user can see the information on the underlying page and complete a popup form. The form requires server side validation, but when the form is submitted and errors are present they are sent to the main page. This is not the behavior I desire. I need the errors to be displayed on the popup and once validation is completed the window will close and the main window will be redirected. This works perfectly except for the validation problem. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with submit target popup and serverside validation????
I am attempting to set up a popup so that the user can see the information on the underlying page and complete a popup form. The form requires server side validation, but when the form is submitted and errors are present they are sent to the main page. This is not the behavior I desire. I need the errors to be displayed on the popup and once validation is completed the window will close and the main window will be redirected. This works perfectly except for the validation problem. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to handle Dates?
How can I use and use a locale specific format from ApplicaionResources.properties? Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 4:42 PM To: Struts Users Mailing List Subject: Re: How to handle Dates? A java.util.Date in any scope would work fine. Larry On Thu, 24 Feb 2005 16:40:07 -0500, Brian McGovern <[EMAIL PROTECTED]> wrote: > Im not too familiar with JSTL. What type of object is prop.availableDate? Is it stored in the standard request, or session scope? > > -Original Message- > From: Jim Kennedy [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 24, 2005 4:21 PM > To: Struts Users Mailing List > Subject: Re: How to handle Dates? > > I use Struts throughout my application, but I also use the JSTL in a few places. This is what I use for date formatting: > > <[EMAIL PROTECTED] uri="/WEB-INF/fmt.tld" prefix="fmt" %> > > Date Available: > > -Original Message- > From: Brian McGovern <[EMAIL PROTECTED]> > Sent: Feb 24, 2005 3:19 PM > To: Struts Users Mailing List > Subject: How to handle Dates? > > Hi looking for input on how to approach dates across all levels of my struts app. Mainly what approach will allow me to handle formatting on the presentation layer. > > Is there any tag lib available in struts to handle formatting of a date type object ? > > -B > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to handle Dates?
How can I use and use a locale specific format from ApplicaionResources.properties? Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 4:42 PM To: Struts Users Mailing List Subject: Re: How to handle Dates? A java.util.Date in any scope would work fine. Larry On Thu, 24 Feb 2005 16:40:07 -0500, Brian McGovern <[EMAIL PROTECTED]> wrote: > Im not too familiar with JSTL. What type of object is prop.availableDate? Is it stored in the standard request, or session scope? > > -Original Message- > From: Jim Kennedy [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 24, 2005 4:21 PM > To: Struts Users Mailing List > Subject: Re: How to handle Dates? > > I use Struts throughout my application, but I also use the JSTL in a few places. This is what I use for date formatting: > > <[EMAIL PROTECTED] uri="/WEB-INF/fmt.tld" prefix="fmt" %> > > Date Available: > > -Original Message- > From: Brian McGovern <[EMAIL PROTECTED]> > Sent: Feb 24, 2005 3:19 PM > To: Struts Users Mailing List > Subject: How to handle Dates? > > Hi looking for input on how to approach dates across all levels of my struts app. Mainly what approach will allow me to handle formatting on the presentation layer. > > Is there any tag lib available in struts to handle formatting of a date type object ? > > -B > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
use fmt instead of bean:write??
I am attempting to switch from bean:write to jstl fmt. I need the equivalent of the following: This does not work. I have the fmt set up correctly and it is finding my resource bundle, but my syntax is wrong. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
use fmt instead of bean:write??
I am attempting to switch from bean:write to jstl fmt. I need the equivalent of the following: This does not work. I have the fmt set up correctly and it is finding my resource bundle, but my syntax is wrong. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tiles scope headache solution
I am providing here the solution I found to my problem with tiles scope. The variable quote and row in c:forEach are in page scope. This is not available to other tiles. By using c:set I can either set these variables in request or session scope and it will work just fine. Does anyone know of a way to specify what scope these variable will be stored in without having to use c:set explicitly? Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Jason Long [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 2:20 AM To: 'Struts Users Mailing List' Subject: RE: Tiles scope headache assistance still needed. The problem is that I am trying to use a variable defined in a loop. It must be in page scope. I got the following to work without using any or in any of my pages. When I tired to use this approach failed. Request and Session scope worked just fine. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Brian Moseley [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 2:13 AM To: Struts Users Mailing List Subject: Re: Tiles scope headache assistance still needed. Jason Long wrote: > I am still no closer to a solution to my problem with tiles. I will explain > the scenario again in hopes that someone will provide some insight into my > problem. i can't see anything with what you've provided. you should try getting this working with the smallest possible example. define a test tile which imports an attribute, and include it into a jsp putting the attribute. the following works for me: Layout.jsp: Nav.jsp: id: ${id} - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tiles scope headache solution
I am providing here the solution I found to my problem with tiles scope. The variable quote and row in c:forEach are in page scope. This is not available to other tiles. By using c:set I can either set these variables in request or session scope and it will work just fine. Does anyone know of a way to specify what scope these variable will be stored in without having to use c:set explicitly? Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Jason Long [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 2:20 AM To: 'Struts Users Mailing List' Subject: RE: Tiles scope headache assistance still needed. The problem is that I am trying to use a variable defined in a loop. It must be in page scope. I got the following to work without using any or in any of my pages. When I tired to use this approach failed. Request and Session scope worked just fine. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Brian Moseley [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 2:13 AM To: Struts Users Mailing List Subject: Re: Tiles scope headache assistance still needed. Jason Long wrote: > I am still no closer to a solution to my problem with tiles. I will explain > the scenario again in hopes that someone will provide some insight into my > problem. i can't see anything with what you've provided. you should try getting this working with the smallest possible example. define a test tile which imports an attribute, and include it into a jsp putting the attribute. the following works for me: Layout.jsp: Nav.jsp: id: ${id} - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tiles scope headache assistance still needed.
The problem is that I am trying to use a variable defined in a loop. It must be in page scope. I got the following to work without using any or in any of my pages. When I tired to use this approach failed. Request and Session scope worked just fine. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Brian Moseley [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 2:13 AM To: Struts Users Mailing List Subject: Re: Tiles scope headache assistance still needed. Jason Long wrote: > I am still no closer to a solution to my problem with tiles. I will explain > the scenario again in hopes that someone will provide some insight into my > problem. i can't see anything with what you've provided. you should try getting this working with the smallest possible example. define a test tile which imports an attribute, and include it into a jsp putting the attribute. the following works for me: Layout.jsp: Nav.jsp: id: ${id} - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tiles scope headache assistance still needed.
The problem is that I am trying to use a variable defined in a loop. It must be in page scope. I got the following to work without using any or in any of my pages. When I tired to use this approach failed. Request and Session scope worked just fine. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Brian Moseley [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 2:13 AM To: Struts Users Mailing List Subject: Re: Tiles scope headache assistance still needed. Jason Long wrote: > I am still no closer to a solution to my problem with tiles. I will explain > the scenario again in hopes that someone will provide some insight into my > problem. i can't see anything with what you've provided. you should try getting this working with the smallest possible example. define a test tile which imports an attribute, and include it into a jsp putting the attribute. the following works for me: Layout.jsp: Nav.jsp: id: ${id} - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tiles scope headache assistance still needed.
I am still no closer to a solution to my problem with tiles. I will explain the scenario again in hopes that someone will provide some insight into my problem. I am using tiles to provide layouts in my xml syntax JSP pages. Here is the original page that I want to use within a tag. I attempt to add my layout to decorate the quote, but no matter what I do I cannot make the quote available to my subtile. My quoteForm is in session scope. I can see the power of tiles, but I thought I could give access of beans to my subtiles. No matter where I place my it has no effect. What am I missing something? ${quote.offerPriceLightValue.sizeValue.size}"/> Instead of putting the layout code in the page I want to wrap the quote with a layout my designer created. I create the following definintion that extend my layout so I can wrap my qutoe. Here is a simplified quote display that I would like to include as the content for my quote. ${quote.offerPriceLightValue.sizeValue.size}" This is a simplified layout that I need to use to decorate the quote. "> Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Jason Long [mailto:[EMAIL PROTECTED] Sent: Saturday, February 19, 2005 3:59 PM To: 'Struts Users Mailing List' Subject: RE: Tiles scope headache assistance needed. quote.list.item is defiened as follows: ".table.holder" is a layout. I want to display my quote in this holder. The format for the quote is defined in list.item.jsp. Everything works except I cannot make quote available to the tile. "quote" is defined as follows "quoteForm" is in session scope. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Brian Moseley [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 11:34 AM To: Struts Users Mailing List Subject: Re: Tiles scope headache assistance needed. Jason Long wrote: > > > > > ${quote.offerPriceLightValue.sizeValue.size} > > > > > > > > > I would like to define the following tile definition: > > > > you must be leaving something out of your email, cos this tile is named .table.holder, but the jsp above is inserting a tile named ".quote.list.item". > And have quote.jsp as follows: > > > > ${quote.offerPriceLightValue.sizeValue.size} > > you need to put the in quote.jsp. that exposes the bean referenced by in the calling jsp. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tiles scope headache assistance still needed.
I am still no closer to a solution to my problem with tiles. I will explain the scenario again in hopes that someone will provide some insight into my problem. I am using tiles to provide layouts in my xml syntax JSP pages. Here is the original page that I want to use within a tag. I attempt to add my layout to decorate the quote, but no matter what I do I cannot make the quote available to my subtile. My quoteForm is in session scope. I can see the power of tiles, but I thought I could give access of beans to my subtiles. No matter where I place my it has no effect. What am I missing something? ${quote.offerPriceLightValue.sizeValue.size}"/> Instead of putting the layout code in the page I want to wrap the quote with a layout my designer created. I create the following definintion that extend my layout so I can wrap my qutoe. Here is a simplified quote display that I would like to include as the content for my quote. ${quote.offerPriceLightValue.sizeValue.size}" This is a simplified layout that I need to use to decorate the quote. "> Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Jason Long [mailto:[EMAIL PROTECTED] Sent: Saturday, February 19, 2005 3:59 PM To: 'Struts Users Mailing List' Subject: RE: Tiles scope headache assistance needed. quote.list.item is defiened as follows: ".table.holder" is a layout. I want to display my quote in this holder. The format for the quote is defined in list.item.jsp. Everything works except I cannot make quote available to the tile. "quote" is defined as follows "quoteForm" is in session scope. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Brian Moseley [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 11:34 AM To: Struts Users Mailing List Subject: Re: Tiles scope headache assistance needed. Jason Long wrote: > > > > > ${quote.offerPriceLightValue.sizeValue.size} > > > > > > > > > I would like to define the following tile definition: > > > > you must be leaving something out of your email, cos this tile is named .table.holder, but the jsp above is inserting a tile named ".quote.list.item". > And have quote.jsp as follows: > > > > ${quote.offerPriceLightValue.sizeValue.size} > > you need to put the in quote.jsp. that exposes the bean referenced by in the calling jsp. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tiles scope headache assistance needed.
quote.list.item is defiened as follows: ".table.holder" is a layout. I want to display my quote in this holder. The format for the quote is defined in list.item.jsp. Everything works except I cannot make quote available to the tile. "quote" is defined as follows "quoteForm" is in session scope. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Brian Moseley [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 11:34 AM To: Struts Users Mailing List Subject: Re: Tiles scope headache assistance needed. Jason Long wrote: > > > > > ${quote.offerPriceLightValue.sizeValue.size} > > > > > > > > > I would like to define the following tile definition: > > > > you must be leaving something out of your email, cos this tile is named .table.holder, but the jsp above is inserting a tile named ".quote.list.item". > And have quote.jsp as follows: > > > > ${quote.offerPriceLightValue.sizeValue.size} > > you need to put the in quote.jsp. that exposes the bean referenced by in the calling jsp. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tiles scope headache assistance needed.
quote.list.item is defiened as follows: ".table.holder" is a layout. I want to display my quote in this holder. The format for the quote is defined in list.item.jsp. Everything works except I cannot make quote available to the tile. "quote" is defined as follows "quoteForm" is in session scope. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Brian Moseley [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 11:34 AM To: Struts Users Mailing List Subject: Re: Tiles scope headache assistance needed. Jason Long wrote: > > > > > ${quote.offerPriceLightValue.sizeValue.size} > > > > > > > > > I would like to define the following tile definition: > > > > you must be leaving something out of your email, cos this tile is named .table.holder, but the jsp above is inserting a tile named ".quote.list.item". > And have quote.jsp as follows: > > > > ${quote.offerPriceLightValue.sizeValue.size} > > you need to put the in quote.jsp. that exposes the bean referenced by in the calling jsp. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tiles scope headache assistance needed.
I have tried just about everything and I wonder why this is so difficult. I must be missing something. I tried putting in or in various combinations in all of my files and even tried adding quote as a property in my tiles xml definitions. If is specify quote I get "Error - tag importAttribute : property 'quote' not found in context. Check tag syntax". Where should I place and is this all that is required. I just want to be able to make beans in my loop available to the tiles I am calling inside the loop. I am really starting to like tiles, but I cannot seem to get over this problem. ${quote.offerPriceLightValue.sizeValue.size} I would like to define the following tile definition: And have quote.jsp as follows: ${quote.offerPriceLightValue.sizeValue.size} Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Brian Moseley [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 7:07 PM To: Struts Users Mailing List Subject: Re: Tiles scope headache assistance needed. Jason Long wrote: > I switched my code to the following jstl tags as suggested. The first part > works with no problem, but I get no output from the tile attempt except for > the layout being applied with the word "testing". Do I need to use > or some other tag to make the quote bean accessible > from the tile? yes: > > > > > > note that in a servlet 2.4/jsp 2.0 webapp you don't even have to use c:out. you can just do ${quote.offer...}. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tiles scope headache assistance needed.
I have tried just about everything and I wonder why this is so difficult. I must be missing something. I tried putting in or in various combinations in all of my files and even tried adding quote as a property in my tiles xml definitions. If is specify quote I get "Error - tag importAttribute : property 'quote' not found in context. Check tag syntax". Where should I place and is this all that is required. I just want to be able to make beans in my loop available to the tiles I am calling inside the loop. I am really starting to like tiles, but I cannot seem to get over this problem. ${quote.offerPriceLightValue.sizeValue.size} I would like to define the following tile definition: And have quote.jsp as follows: ${quote.offerPriceLightValue.sizeValue.size} Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Brian Moseley [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 7:07 PM To: Struts Users Mailing List Subject: Re: Tiles scope headache assistance needed. Jason Long wrote: > I switched my code to the following jstl tags as suggested. The first part > works with no problem, but I get no output from the tile attempt except for > the layout being applied with the word "testing". Do I need to use > or some other tag to make the quote bean accessible > from the tile? yes: > > > > > > note that in a servlet 2.4/jsp 2.0 webapp you don't even have to use c:out. you can just do ${quote.offer...}. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tiles scope headache assistance needed.
I switched my code to the following jstl tags as suggested. The first part works with no problem, but I get no output from the tile attempt except for the layout being applied with the word "testing". Do I need to use or some other tag to make the quote bean accessible from the tile? I would like to define the following tile definition: And have quote.jsp as follows: testing Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 3:11 PM To: [EMAIL PROTECTED] Subject: Re: Tiles scope headache assistance needed. From: "Jason Long" <[EMAIL PROTECTED]> > Where are all the Tiles gurus? I asked this question in less detail about a > month ago and I still have not made any progress in this matter. Please see > original message below. You would probably get more help if you were using JSTL's and instead of and . The difference may be irrelevant for this particular question, but I doubt I'm alone in skipping right over most questions that use the 'classic' Struts tags without expressions. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tiles scope headache assistance needed.
I switched my code to the following jstl tags as suggested. The first part works with no problem, but I get no output from the tile attempt except for the layout being applied with the word "testing". Do I need to use or some other tag to make the quote bean accessible from the tile? I would like to define the following tile definition: And have quote.jsp as follows: testing Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 3:11 PM To: [EMAIL PROTECTED] Subject: Re: Tiles scope headache assistance needed. From: "Jason Long" <[EMAIL PROTECTED]> > Where are all the Tiles gurus? I asked this question in less detail about a > month ago and I still have not made any progress in this matter. Please see > original message below. You would probably get more help if you were using JSTL's and instead of and . The difference may be irrelevant for this particular question, but I doubt I'm alone in skipping right over most questions that use the 'classic' Struts tags without expressions. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tiles scope headache assistance needed.
Where are all the Tiles gurus? I asked this question in less detail about a month ago and I still have not made any progress in this matter. Please see original message below. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Jason Long [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 16, 2005 10:59 PM To: 'Struts Users Mailing List' Subject: Tiles scope headache assistance needed. I have the following problem with scope and tiles. The whole point of this is to be able to put a holder around items presented in a list on the page to give better delineation. Here is what I am attempting to do. I would like to define the following tile definition: And have quote.jsp as follows: And then switch the page to the following: I always get Cannot find bean quote in any scope no matter what I do. I have tried many variations of and . I do not want to want to simply pass a string to the tile. I need to be able to make any bean availble to other tiles inserted into a page. I would greatly appreciate any advice on how to make this available to my subtiles. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tiles scope headache assistance needed.
Where are all the Tiles gurus? I asked this question in less detail about a month ago and I still have not made any progress in this matter. Please see original message below. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Jason Long [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 16, 2005 10:59 PM To: 'Struts Users Mailing List' Subject: Tiles scope headache assistance needed. I have the following problem with scope and tiles. The whole point of this is to be able to put a holder around items presented in a list on the page to give better delineation. Here is what I am attempting to do. I would like to define the following tile definition: And have quote.jsp as follows: And then switch the page to the following: I always get Cannot find bean quote in any scope no matter what I do. I have tried many variations of and . I do not want to want to simply pass a string to the tile. I need to be able to make any bean availble to other tiles inserted into a page. I would greatly appreciate any advice on how to make this available to my subtiles. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tiles scope headache assistance needed.
I have the following problem with scope and tiles. The whole point of this is to be able to put a holder around items presented in a list on the page to give better delineation. Here is what I am attempting to do. I would like to define the following tile definition: And have quote.jsp as follows: And then switch the page to the following: I always get Cannot find bean quote in any scope no matter what I do. I have tried many variations of and . I do not want to want to simply pass a string to the tile. I need to be able to make any bean availble to other tiles inserted into a page. I would greatly appreciate any advice on how to make this available to my subtiles. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tiles scope headache assistance needed.
I have the following problem with scope and tiles. The whole point of this is to be able to put a holder around items presented in a list on the page to give better delineation. Here is what I am attempting to do. I would like to define the following tile definition: And have quote.jsp as follows: And then switch the page to the following: I always get Cannot find bean quote in any scope no matter what I do. I have tried many variations of and . I do not want to want to simply pass a string to the tile. I need to be able to make any bean availble to other tiles inserted into a page. I would greatly appreciate any advice on how to make this available to my subtiles. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts 1.2 - problems passing form values and form name to a javascript function
I use the following: By passing this you do not need the get by id. This also solves having forms with the same name. I dealt with this by using the name attribute in the html:form tag in struts 1.1, but switched to this when I upgraded to struts 1.2 since name is no longer valid in html:form Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineerring http://www.supernovasoftware.com -Original Message- From: Jeff Thorne [mailto:[EMAIL PROTECTED] Sent: Saturday, February 12, 2005 9:11 AM To: Struts Users Mailing List Subject: Struts 1.2 - problems passing form values and form name to a javascript function Has anyone successfully integrated a javascript date picker into a struts 1.2 app. I am having troubles getting many date pickers to work because of not being able to name a form in struts 1.2. I have tried passing the styleID with no success: ---jsp page segment--- function passToDatePicker () { document.getElementById("form1"); } ---jsp page segment--- Can anyone recommend a javascript calendar that works with 1.2 or suggest a more efficient way to pass a form name in 1.2. I am a struts newbie so forgive me if I am overlooking something simple. Thanks for the help, Jeff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts 1.2 - problems passing form values and form name to a javascript function
I use the following: By passing this you do not need the get by id. This also solves having forms with the same name. I dealt with this by using the name attribute in the html:form tag in struts 1.1, but switched to this when I upgraded to struts 1.2 since name is no longer valid in html:form Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineerring http://www.supernovasoftware.com -Original Message- From: Jeff Thorne [mailto:[EMAIL PROTECTED] Sent: Saturday, February 12, 2005 9:11 AM To: Struts Users Mailing List Subject: Struts 1.2 - problems passing form values and form name to a javascript function Has anyone successfully integrated a javascript date picker into a struts 1.2 app. I am having troubles getting many date pickers to work because of not being able to name a form in struts 1.2. I have tried passing the styleID with no success: ---jsp page segment--- function passToDatePicker () { document.getElementById("form1"); } ---jsp page segment--- Can anyone recommend a javascript calendar that works with 1.2 or suggest a more efficient way to pass a form name in 1.2. I am a struts newbie so forgive me if I am overlooking something simple. Thanks for the help, Jeff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: archives
Is there a way to batch download archived struts messages for my own search implementation? Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineerring http://www.supernovasoftware.com -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Thursday, February 10, 2005 10:35 AM To: Struts Users Mailing List Subject: Re: archives Try http://marc.theaimsgroup.com/?l=struts-user On Thu, 10 Feb 2005 12:04:19 +, draegoon Z <[EMAIL PROTECTED]> wrote: > Is there anywhere to get the most recent emails from an archive for struts? > > Meaning Feb 2005. > > Thanks. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: archives
Is there a way to batch download archived struts messages for my own search implementation? Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineerring http://www.supernovasoftware.com -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Thursday, February 10, 2005 10:35 AM To: Struts Users Mailing List Subject: Re: archives Try http://marc.theaimsgroup.com/?l=struts-user On Thu, 10 Feb 2005 12:04:19 +, draegoon Z <[EMAIL PROTECTED]> wrote: > Is there anywhere to get the most recent emails from an archive for struts? > > Meaning Feb 2005. > > Thanks. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JSP produces invalid XML?
I always use numeric references such as & = & Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineerring http://www.supernovasoftware.com -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beal Sent: Wednesday, February 09, 2005 2:11 PM To: user@struts.apache.org Subject: Re: JSP produces invalid XML? Laurent wrote: > > Of course, I can perfectly understand that in non-XML JSP mode there may > be glitches in the way the XML is parsed. However, I don't believe it is > acceptable to output something that isn't XML when you've explicitly > demanded to have XML. (For example, Mozilla-based browsers refuse to > display the page and show an "XML Parsing Error" instead (when an XML > mime-type is used).) > I just scanned the JSP Document specification (From JSP 1.2), and I didn't see anything in there to indicate that JSP Documents have anything to do with *outputting* XML. It seems that they are only an XML-compliant way to author the JSP page. Section 5.1 ("Uses for XML Syntax for JSP Pages") makes no mention of "using JSP to generate XML". Section 5.2.1 begins with "The semantic model of a JSP document is unchanged from that of a JSP page in JSP syntax." Taken with the rest of what I read, it seems that a '.jspx' file is just using a different kind of syntactic sugar to pass instructions to the JSP compiler. I don't see any indication that the compiled Java class will make any assumputions about what kind of content you will be generating. I agree that it seems silly to have to double-escape all of your XML entities, but it seems that you do. -- Jeff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JSP produces invalid XML?
I always use numeric references such as & = & Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineerring http://www.supernovasoftware.com -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beal Sent: Wednesday, February 09, 2005 2:11 PM To: user@struts.apache.org Subject: Re: JSP produces invalid XML? Laurent wrote: > > Of course, I can perfectly understand that in non-XML JSP mode there may > be glitches in the way the XML is parsed. However, I don't believe it is > acceptable to output something that isn't XML when you've explicitly > demanded to have XML. (For example, Mozilla-based browsers refuse to > display the page and show an "XML Parsing Error" instead (when an XML > mime-type is used).) > I just scanned the JSP Document specification (From JSP 1.2), and I didn't see anything in there to indicate that JSP Documents have anything to do with *outputting* XML. It seems that they are only an XML-compliant way to author the JSP page. Section 5.1 ("Uses for XML Syntax for JSP Pages") makes no mention of "using JSP to generate XML". Section 5.2.1 begins with "The semantic model of a JSP document is unchanged from that of a JSP page in JSP syntax." Taken with the rest of what I read, it seems that a '.jspx' file is just using a different kind of syntactic sugar to pass instructions to the JSP compiler. I don't see any indication that the compiled Java class will make any assumputions about what kind of content you will be generating. I agree that it seems silly to have to double-escape all of your XML entities, but it seems that you do. -- Jeff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Session Scope Action form memeory usage??
I am currently storing all of my action forms in session scope. My application has many forms, but only about 6 users total. Will I run into memory problems as long as the number of users remains small? Thank you for your time, Jason Long CEO and Chief Software Engineer Supernova Software BS Physics, MS Chemical Engineering http://www.supernovasoftware.com <http://www.supernovasoftware.com/>
Session Scope Action form memeory usage??
I am currently storing all of my action forms in session scope. My application has many forms, but only about 6 users total. Will I run into memory problems as long as the number of users remains small? Thank you for your time, Jason Long CEO and Chief Software Engineer Supernova Software BS Physics, MS Chemical Engineering http://www.supernovasoftware.com <http://www.supernovasoftware.com/>
RE: Redirecting back to input
I am currently storing all of my action forms in session scope. My application has many forms, but only about 6 users total. Will I run into memory problems as long as the number of users remains small? -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beal Sent: Monday, February 07, 2005 1:55 PM To: user@struts.apache.org Subject: Re: Redirecting back to input Chaikin, Yaakov Y. wrote: > Is there a way to tell Struts to actually redirect to the "input" instead of > forward to it? Basically, what I am trying to achieve here is this. When the > user first comes to the form, it's a regular JSP looking URL, i.e., directly > accessible to the user through .../blah.jsp... If the form doesn't validate, > Struts forwards the user to the same exact page with some error messages on > it, but the URL now reads something like .../action.do... The problem with this is that redirecting creates a new request, thereby destroying any ActionForms in the request scope. Since storing all of your ActionForms in session scope could use significant memory resources, I don't believe there's a trivial solution to the problem that works exactly the way that you want it too. You may be able to come up with something clever in a custom RequestProcessor. One possibility would be to override the processValidate() method such that it would create a writable copy of the input forward and append the request parameters to the request path prior to sending the redirect to the client. -- Jeff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Redirecting back to input
I am currently storing all of my action forms in session scope. My application has many forms, but only about 6 users total. Will I run into memory problems as long as the number of users remains small? -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beal Sent: Monday, February 07, 2005 1:55 PM To: user@struts.apache.org Subject: Re: Redirecting back to input Chaikin, Yaakov Y. wrote: > Is there a way to tell Struts to actually redirect to the "input" instead of > forward to it? Basically, what I am trying to achieve here is this. When the > user first comes to the form, it's a regular JSP looking URL, i.e., directly > accessible to the user through .../blah.jsp... If the form doesn't validate, > Struts forwards the user to the same exact page with some error messages on > it, but the URL now reads something like .../action.do... The problem with this is that redirecting creates a new request, thereby destroying any ActionForms in the request scope. Since storing all of your ActionForms in session scope could use significant memory resources, I don't believe there's a trivial solution to the problem that works exactly the way that you want it too. You may be able to come up with something clever in a custom RequestProcessor. One possibility would be to override the processValidate() method such that it would create a writable copy of the input forward and append the request parameters to the request path prior to sending the redirect to the client. -- Jeff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts 1.2.6 release??
Thank you everyone for your timely replies. I have made the decision to switch to the 1.2.6 version because none of the problems affect me since I am using JSP 2.0 and do not require the el tag libraries. -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 1:14 AM To: Struts Users Mailing List Subject: Re: Struts 1.2.6 release?? It is the *nightly builds* that are currently unstable, not Version 1.2.6 http://article.gmane.org/gmane.comp.jakarta.struts.devel/24910 Niall - Original Message - From: "Shey Rab Pawo" <[EMAIL PROTECTED]> Sent: Monday, February 07, 2005 6:50 AM > I think someone said today that some releases were as unstable as they > had been in a long time, but that probably is not the 1.2.6 beta but > the *nightly* versions? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts 1.2.6 release??
Thank you everyone for your timely replies. I have made the decision to switch to the 1.2.6 version because none of the problems affect me since I am using JSP 2.0 and do not require the el tag libraries. -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 1:14 AM To: Struts Users Mailing List Subject: Re: Struts 1.2.6 release?? It is the *nightly builds* that are currently unstable, not Version 1.2.6 http://article.gmane.org/gmane.comp.jakarta.struts.devel/24910 Niall - Original Message - From: "Shey Rab Pawo" <[EMAIL PROTECTED]> Sent: Monday, February 07, 2005 6:50 AM > I think someone said today that some releases were as unstable as they > had been in a long time, but that probably is not the 1.2.6 beta but > the *nightly* versions? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts 1.2.6 release??
Look in the release notes. The place I noticed the changes were in the taglibs api. There are several attributes that are listed as "Since 1.2.5". The ones I am interested in currently have different styles and resource bundles that can be specified for form elements. -Original Message- From: Kumar deepak [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 12:47 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Struts 1.2.6 release?? Can anyone explains the new features in struts 1.2.6. Regards Deepak Kumar --- Jason Long <[EMAIL PROTECTED]> wrote: > Yes it is the word beta. I am building a new app > which is much larger than > anything my company has previously produced. I just > do not need any more > complications than I already have. More than likely > there will be a new > production version available by the time we reach > production. Also, can > anyone point me to the most current information on > Shale? I have seen it > has been accepted, but that is all I have seen. > > -Original Message- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: Monday, February 07, 2005 12:29 AM > To: Struts Users Mailing List > Subject: Re: Struts 1.2.6 release?? > > From: "Jason Long" > <[EMAIL PROTECTED]> > > I see some features that I would like to use in > the taglibs that are after > > 1.2.5. I only see 1.2.6 beta available for > download. What is the > > timeframe > > for a final release for 1.2.6 and was 1.2.5 > skipped? > > What's stopping you from using 1.2.6? (And I don't > mean to be flip-- is it > just the word "beta" next to it that's making you > hesitate?) Someone will > correct me if I'm wrong, but I think the 1.2.6 > release is what it is-- there > > won't be a "final" release with the same number. > This one may get voted to > be 'production release' quality, or it may not. > > The best way to get it 'promoted' is to use it and > report back that it works > > (or file some bugs if it doesn't.) If that's not an > option, waiting works > too. :) > > Here's a thread from December about much the same > thing: > http://www.mail-archive.com/user@struts.apache.org/msg17576.html > > The 1.2.5 release must not have gotten very far, I > don't remember it. But > the release notes are on the same page with 1.2.6: > http://struts.apache.org/userGuide/release-notes.html > > -- > Wendy Smoak > > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts 1.2.6 release??
Look in the release notes. The place I noticed the changes were in the taglibs api. There are several attributes that are listed as "Since 1.2.5". The ones I am interested in currently have different styles and resource bundles that can be specified for form elements. -Original Message- From: Kumar deepak [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 12:47 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Struts 1.2.6 release?? Can anyone explains the new features in struts 1.2.6. Regards Deepak Kumar --- Jason Long <[EMAIL PROTECTED]> wrote: > Yes it is the word beta. I am building a new app > which is much larger than > anything my company has previously produced. I just > do not need any more > complications than I already have. More than likely > there will be a new > production version available by the time we reach > production. Also, can > anyone point me to the most current information on > Shale? I have seen it > has been accepted, but that is all I have seen. > > -Original Message- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: Monday, February 07, 2005 12:29 AM > To: Struts Users Mailing List > Subject: Re: Struts 1.2.6 release?? > > From: "Jason Long" > <[EMAIL PROTECTED]> > > I see some features that I would like to use in > the taglibs that are after > > 1.2.5. I only see 1.2.6 beta available for > download. What is the > > timeframe > > for a final release for 1.2.6 and was 1.2.5 > skipped? > > What's stopping you from using 1.2.6? (And I don't > mean to be flip-- is it > just the word "beta" next to it that's making you > hesitate?) Someone will > correct me if I'm wrong, but I think the 1.2.6 > release is what it is-- there > > won't be a "final" release with the same number. > This one may get voted to > be 'production release' quality, or it may not. > > The best way to get it 'promoted' is to use it and > report back that it works > > (or file some bugs if it doesn't.) If that's not an > option, waiting works > too. :) > > Here's a thread from December about much the same > thing: > http://www.mail-archive.com/user@struts.apache.org/msg17576.html > > The 1.2.5 release must not have gotten very far, I > don't remember it. But > the release notes are on the same page with 1.2.6: > http://struts.apache.org/userGuide/release-notes.html > > -- > Wendy Smoak > > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts 1.2.6 release??
Yes it is the word beta. I am building a new app which is much larger than anything my company has previously produced. I just do not need any more complications than I already have. More than likely there will be a new production version available by the time we reach production. Also, can anyone point me to the most current information on Shale? I have seen it has been accepted, but that is all I have seen. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 12:29 AM To: Struts Users Mailing List Subject: Re: Struts 1.2.6 release?? From: "Jason Long" <[EMAIL PROTECTED]> > I see some features that I would like to use in the taglibs that are after > 1.2.5. I only see 1.2.6 beta available for download. What is the > timeframe > for a final release for 1.2.6 and was 1.2.5 skipped? What's stopping you from using 1.2.6? (And I don't mean to be flip-- is it just the word "beta" next to it that's making you hesitate?) Someone will correct me if I'm wrong, but I think the 1.2.6 release is what it is-- there won't be a "final" release with the same number. This one may get voted to be 'production release' quality, or it may not. The best way to get it 'promoted' is to use it and report back that it works (or file some bugs if it doesn't.) If that's not an option, waiting works too. :) Here's a thread from December about much the same thing: http://www.mail-archive.com/user@struts.apache.org/msg17576.html The 1.2.5 release must not have gotten very far, I don't remember it. But the release notes are on the same page with 1.2.6: http://struts.apache.org/userGuide/release-notes.html -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts 1.2.6 release??
Yes it is the word beta. I am building a new app which is much larger than anything my company has previously produced. I just do not need any more complications than I already have. More than likely there will be a new production version available by the time we reach production. Also, can anyone point me to the most current information on Shale? I have seen it has been accepted, but that is all I have seen. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 12:29 AM To: Struts Users Mailing List Subject: Re: Struts 1.2.6 release?? From: "Jason Long" <[EMAIL PROTECTED]> > I see some features that I would like to use in the taglibs that are after > 1.2.5. I only see 1.2.6 beta available for download. What is the > timeframe > for a final release for 1.2.6 and was 1.2.5 skipped? What's stopping you from using 1.2.6? (And I don't mean to be flip-- is it just the word "beta" next to it that's making you hesitate?) Someone will correct me if I'm wrong, but I think the 1.2.6 release is what it is-- there won't be a "final" release with the same number. This one may get voted to be 'production release' quality, or it may not. The best way to get it 'promoted' is to use it and report back that it works (or file some bugs if it doesn't.) If that's not an option, waiting works too. :) Here's a thread from December about much the same thing: http://www.mail-archive.com/user@struts.apache.org/msg17576.html The 1.2.5 release must not have gotten very far, I don't remember it. But the release notes are on the same page with 1.2.6: http://struts.apache.org/userGuide/release-notes.html -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts 1.2.6 release??
I see some features that I would like to use in the taglibs that are after 1.2.5. I only see 1.2.6 beta available for download. What is the timeframe for a final release for 1.2.6 and was 1.2.5 skipped? Thank you for your time, Jason Long CEO and Chief Software Engineer Supernova Software BS Physics, MS Chemical Engineering http://www.supernovasoftware.com <http://www.supernovasoftware.com/>
Struts 1.2.6 release??
I see some features that I would like to use in the taglibs that are after 1.2.5. I only see 1.2.6 beta available for download. What is the timeframe for a final release for 1.2.6 and was 1.2.5 skipped? Thank you for your time, Jason Long CEO and Chief Software Engineer Supernova Software BS Physics, MS Chemical Engineering http://www.supernovasoftware.com <http://www.supernovasoftware.com/>
RE: Struts Live POJO support opinon?
I intended to send this to the list. Thank you for the prompt reply. I will defiantly look at FormDef. * I'm always suspectful of gmails' Reply to handling, so whenever someone replies directly to me instead of the list, I ask if the sender intended that. If you wanna send this back to the list when/if you reply, feel free. Other people may want to offer other opinions on the subject, raise other questions, or simply follow the discussion. > How close are we to having the POJO support in Struts classic? My opinion was just that, an opinion. (An optimistic one, probably.) I'm not a Struts committer. My opinion was just based on various updates to the core the past year, as well as some committers' voiced intentions on where they would like Struts to go. >The features I like about this approach are the following: > > 1. Format and handle formatting in input fields. > 2. Specify actual Date objects in my form for ranges. > > Can I do this easily with FormDef? The answer is yes, though the approach is different from StrutsLive. FormDef uses Strings (as Struts recommends) in the actual form beans. However, its setFormValues() and getFormValues() (combined with formatting info you provide it) will convert between your POJO's typed fields and the form's string fields. Keep in mind though that it doesn't perform validation. When a Struts Action executes, the assumption (FormDef or not) is that the form contents are already valid. Hubert On Wed, 2 Feb 2005 16:16:24 -0600, Jason Long <[EMAIL PROTECTED]> wrote: > The integration was not too painful, and I only have one form set up to work > anyway. How close are we to having the POJO support in Struts classic? The > features I like about this approach are the following: > > 1. Format and handle formatting in input fields. > 2. Specify actual Date objects in my form for ranges. > > Can I do this easily with FormDef? > > Thank you for your time, > > Jason Long > CEO and Chief Software Engineer Supernova Software > BS Physics, MS Chemical Engineering > > -Original Message- > From: Hubert Rabago [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 02, 2005 4:06 PM > To: Struts Users Mailing List; [EMAIL PROTECTED] > Subject: Re: Struts Live POJO support opinon? > > Disclaimer: I have my own POJO solution. > > I haven't actually used StrutsLive in an application, all I've done so > far was read the sample chapter posted on TSS: > http://www.theserverside.com/news/thread.tss?thread_id=30690 > > It seems to me that the author is trying to *change* the way Struts > handles requests, as opposed to working *with* it. For one thing, > Struts has separate points for validation and conversion, StrutsLive > wants to combine these in the name of saving processing cycles. > Because StrutsLive is changing the nature of request handling, the > changes it implements go much deeper than just your form beans. What > worries me is how compatible it will be with future Struts > changes/development. On the other hand, Struts is already changing to > be much more accomodating to the types of customization that > StrutsLive is doing, so this may not be as big an issue as I initially > thought it could be. > > I guess I just didn't agree with the approach he took, but that > definitely doesn't mean his approach is wrong or isn't better than > mine. It's just a difference of opinion. Since you asked for > *opinions*, I'm shared mine. (More of my opinions on the TSS thread, > btw.) > > The way I solved it is with FormDef. It also has a java.net site, > which means the page is also down. https://formdef.dev.java.net/ > There's another site for it though: > http://www.rabago.net/struts/formdef/ > > FormDef uses standard Struts objects to define form beans that are no > different than if you'd defined them yourself using struts-config.xml. > You can use them with BeanUtils or FormDef's included converters. > > Other ways of solving it include using lazy dyna beans and the wrap > dyna bean combined with custom date converters for BeanUtils. > > Now, another project or plugin may not be what you wanted, since > you've already integrated it into your app. My advice would be > continue to use it since it meets your needs. After all, it may be > that none of the existing approaches will meet your needs 100% anyway > and carry no risks. IMO we're closer to POJO support being built into > Struts Classic than we ever were, and when that point comes, you're > gonna be thinking about redoing it all again anyway. Unless of course > they decide to just integrate
RE: Struts Live POJO support opinon?
I intended to send this to the list. Thank you for the prompt reply. I will defiantly look at FormDef. * I'm always suspectful of gmails' Reply to handling, so whenever someone replies directly to me instead of the list, I ask if the sender intended that. If you wanna send this back to the list when/if you reply, feel free. Other people may want to offer other opinions on the subject, raise other questions, or simply follow the discussion. > How close are we to having the POJO support in Struts classic? My opinion was just that, an opinion. (An optimistic one, probably.) I'm not a Struts committer. My opinion was just based on various updates to the core the past year, as well as some committers' voiced intentions on where they would like Struts to go. >The features I like about this approach are the following: > > 1. Format and handle formatting in input fields. > 2. Specify actual Date objects in my form for ranges. > > Can I do this easily with FormDef? The answer is yes, though the approach is different from StrutsLive. FormDef uses Strings (as Struts recommends) in the actual form beans. However, its setFormValues() and getFormValues() (combined with formatting info you provide it) will convert between your POJO's typed fields and the form's string fields. Keep in mind though that it doesn't perform validation. When a Struts Action executes, the assumption (FormDef or not) is that the form contents are already valid. Hubert On Wed, 2 Feb 2005 16:16:24 -0600, Jason Long <[EMAIL PROTECTED]> wrote: > The integration was not too painful, and I only have one form set up to work > anyway. How close are we to having the POJO support in Struts classic? The > features I like about this approach are the following: > > 1. Format and handle formatting in input fields. > 2. Specify actual Date objects in my form for ranges. > > Can I do this easily with FormDef? > > Thank you for your time, > > Jason Long > CEO and Chief Software Engineer Supernova Software > BS Physics, MS Chemical Engineering > > -Original Message- > From: Hubert Rabago [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 02, 2005 4:06 PM > To: Struts Users Mailing List; [EMAIL PROTECTED] > Subject: Re: Struts Live POJO support opinon? > > Disclaimer: I have my own POJO solution. > > I haven't actually used StrutsLive in an application, all I've done so > far was read the sample chapter posted on TSS: > http://www.theserverside.com/news/thread.tss?thread_id=30690 > > It seems to me that the author is trying to *change* the way Struts > handles requests, as opposed to working *with* it. For one thing, > Struts has separate points for validation and conversion, StrutsLive > wants to combine these in the name of saving processing cycles. > Because StrutsLive is changing the nature of request handling, the > changes it implements go much deeper than just your form beans. What > worries me is how compatible it will be with future Struts > changes/development. On the other hand, Struts is already changing to > be much more accomodating to the types of customization that > StrutsLive is doing, so this may not be as big an issue as I initially > thought it could be. > > I guess I just didn't agree with the approach he took, but that > definitely doesn't mean his approach is wrong or isn't better than > mine. It's just a difference of opinion. Since you asked for > *opinions*, I'm shared mine. (More of my opinions on the TSS thread, > btw.) > > The way I solved it is with FormDef. It also has a java.net site, > which means the page is also down. https://formdef.dev.java.net/ > There's another site for it though: > http://www.rabago.net/struts/formdef/ > > FormDef uses standard Struts objects to define form beans that are no > different than if you'd defined them yourself using struts-config.xml. > You can use them with BeanUtils or FormDef's included converters. > > Other ways of solving it include using lazy dyna beans and the wrap > dyna bean combined with custom date converters for BeanUtils. > > Now, another project or plugin may not be what you wanted, since > you've already integrated it into your app. My advice would be > continue to use it since it meets your needs. After all, it may be > that none of the existing approaches will meet your needs 100% anyway > and carry no risks. IMO we're closer to POJO support being built into > Struts Classic than we ever were, and when that point comes, you're > gonna be thinking about redoing it all again anyway. Unless of course > they decide to just integrate
Pass logic:iterate bean into tile problem?
I have been trying to do the following in my layout with out success. But I am forced to use jsp:directive.include file because I cannot get importAttribute and useAttribute set up correctly. How can pass the shipment bean to the page fragment by using tiles and not the jsp:directive :include? Thank you for your time, Jason Long CEO and Chief Software Engineer Supernova Software BS Physics, MS Chemical Engineering
Pass logic:iterate bean into tile problem?
I have been trying to do the following in my layout with out success. But I am forced to use jsp:directive.include file because I cannot get importAttribute and useAttribute set up correctly. How can pass the shipment bean to the page fragment by using tiles and not the jsp:directive :include? Thank you for your time, Jason Long CEO and Chief Software Engineer Supernova Software BS Physics, MS Chemical Engineering
Struts Live POJO support opinon?
The application I am building uses value objects generated from ejbs with xdoclet in my forms. This was working quite will until I tried to have a java.util.Date as one of my fields. I recently purchased StrutsLIve. The project can be found at https://strutslive.dev.java.net/, but it was down at the time of this email. This addon seems to solve my POJO problem, but I would like to get others opinions on this. My project is behind schedule and I cannot afford to have this addon turn out to be limiting after I integrated it into the many forms I have. I would like any opinions on the best way to solve this problem. Thank you for your time, Jason Long CEO and Chief Software Engineer Supernova Software BS Physics, MS Chemical Engineering http://www.supernovasoftware.com <http://www.supernovasoftware.com/>
Struts Live POJO support opinon?
The application I am building uses value objects generated from ejbs with xdoclet in my forms. This was working quite will until I tried to have a java.util.Date as one of my fields. I recently purchased StrutsLIve. The project can be found at https://strutslive.dev.java.net/, but it was down at the time of this email. This addon seems to solve my POJO problem, but I would like to get others opinions on this. My project is behind schedule and I cannot afford to have this addon turn out to be limiting after I integrated it into the many forms I have. I would like any opinions on the best way to solve this problem. Thank you for your time, Jason Long CEO and Chief Software Engineer Supernova Software BS Physics, MS Chemical Engineering http://www.supernovasoftware.com <http://www.supernovasoftware.com/>
RE: TilesController perform() depreciated and required in v1.2????
Thank you for your reply. This tip let me remove the perform method from my base class, but this is actually equivalent to what I was doing. The method perorm() is simply implemented exactly the way I had done it. Why would a method be both depreciated and required? Thank you for your time, Jason Long CEO and Chief Software Engineer Supernova Software BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Corey Probst [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 01, 2005 7:34 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: TilesController perform() depreciated and required in v1.2 > I would appreciate any help with the following problem. I just upgraded one > of my applications from v1.1 to v1.2.4. I have resolved all upgrade issues > except the following. The Controller interface has depreciated the > perform() in favor of the execute(), but I am forced to implement both in > order to compile the code. Since I am implementing perform() I get many > depreciation warnings from the compiler. Does anyone have a solution? I > have provided a code sample and error message below. You can extend the ControllerSupport concrete class and override the execute() method instead. That seems to work but I'd like to hear it from somebody who knows for sure. The javadocs *seems* to indicate that is the intent... http://struts.apache.org/api/org/apache/struts/tiles/ControllerSupport.html Corey - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: TilesController perform() depreciated and required in v1.2????
Thank you for your reply. This tip let me remove the perform method from my base class, but this is actually equivalent to what I was doing. The method perorm() is simply implemented exactly the way I had done it. Why would a method be both depreciated and required? Thank you for your time, Jason Long CEO and Chief Software Engineer Supernova Software BS Physics, MS Chemical Engineering http://www.supernovasoftware.com -Original Message- From: Corey Probst [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 01, 2005 7:34 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: TilesController perform() depreciated and required in v1.2 > I would appreciate any help with the following problem. I just upgraded one > of my applications from v1.1 to v1.2.4. I have resolved all upgrade issues > except the following. The Controller interface has depreciated the > perform() in favor of the execute(), but I am forced to implement both in > order to compile the code. Since I am implementing perform() I get many > depreciation warnings from the compiler. Does anyone have a solution? I > have provided a code sample and error message below. You can extend the ControllerSupport concrete class and override the execute() method instead. That seems to work but I'd like to hear it from somebody who knows for sure. The javadocs *seems* to indicate that is the intent... http://struts.apache.org/api/org/apache/struts/tiles/ControllerSupport.html Corey - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
TilesController perform() depreciated and required in v1.2????
I would appreciate any help with the following problem. I just upgraded one of my applications from v1.1 to v1.2.4. I have resolved all upgrade issues except the following. The Controller interface has depreciated the perform() in favor of the execute(), but I am forced to implement both in order to compile the code. Since I am implementing perform() I get many depreciation warnings from the compiler. Does anyone have a solution? I have provided a code sample and error message below. Thank you for your time, Jason Long - CEO and Chief Software Engineer Supernova Software - supernovasoftware.com BS Physics, MS Chemical Engineering Code Sample: public abstract class BaseTilesController implements Controller { public abstract void execute(ComponentContext context, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext) throws ServletException, Exception; public void perform(ComponentContext tileContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext) throws ServletException, IOException { try { execute(tileContext, request, response, servletContext); } catch (Exception e) { e.printStackTrace(); } } } ** Warning: warning: [deprecation] perform(org.apache.struts.tile s.ComponentContext,javax.servlet.http.HttpServletRequest,javax.servlet.http. HttpServletResponse,javax.servlet.ServletContext) in org.apache.struts.tiles.Controller has been deprecated ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
TilesController perform() depreciated and required in v1.2????
I would appreciate any help with the following problem. I just upgraded one of my applications from v1.1 to v1.2.4. I have resolved all upgrade issues except the following. The Controller interface has depreciated the perform() in favor of the execute(), but I am forced to implement both in order to compile the code. Since I am implementing perform() I get many depreciation warnings from the compiler. Does anyone have a solution? I have provided a code sample and error message below. Thank you for your time, Jason Long - CEO and Chief Software Engineer Supernova Software - supernovasoftware.com BS Physics, MS Chemical Engineering Code Sample: public abstract class BaseTilesController implements Controller { public abstract void execute(ComponentContext context, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext) throws ServletException, Exception; public void perform(ComponentContext tileContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext) throws ServletException, IOException { try { execute(tileContext, request, response, servletContext); } catch (Exception e) { e.printStackTrace(); } } } ** Warning: warning: [deprecation] perform(org.apache.struts.tile s.ComponentContext,javax.servlet.http.HttpServletRequest,javax.servlet.http. HttpServletResponse,javax.servlet.ServletContext) in org.apache.struts.tiles.Controller has been deprecated ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: HTML pages convert to Struts/JSP pages
JBuilderX will do the conversion. It is not perfect, but can help. Jason Long - CEO and Chief Software Engineer Supernova Software - supernovasoftware.com BS Physics, MS Chemical Engineering -Original Message- From: Heligon Sandra [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 4:43 AM To: '[EMAIL PROTECTED]' Subject: HTML pages convert to Struts/JSP pages Hi, I would like to shared basic HTML pages with an other web application which does not used Struts. Is it possible to convert HTM pages to Struts views automatically ? Is it an existing toolkit to do this ? Thanks a lot in advance Sandra - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem --> bean-el:message to format numbers,dates....?
I would like to do the following: JSP: Resources: format.number.2=Convert {0,number,#0.00} This fails with the follwing error: java.lang.IllegalArgumentException: Cannot format given Object as a Number I believe this is because it is being passed String rather than a subclass of Number. Currently I am forced to use this: JSP: Resources: format.decimal.2=#0.00 The following is supposed to work from http://husted.com/struts/tips/004.html How can I use bean-el:message in this way so that I can support multiple paramter international message resource use? I found http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11852 that discusses this problem. It is marked as RESOLVED, but as WONTFIX. Could some please comment on the status of this and if it will work with struts-el? Jason Long - CEO and Chief Software Engineer Supernova Software - supernovasoftware.com BS Physics, MS Chemical Engineering