Re: OT: Best AJAX framework
You should also take a look at www.openrico.org On 11/8/05, Joe Germuska [EMAIL PROTECTED] wrote: At 4:43 PM +0100 11/8/05, Nicolas De Loof wrote: I'm using DWR on my webapp for navigation in a table, using a Page 1 2 3 ... footer. DWR makes it realy simple based on a List put into user session. Browser can get requested elements from list and DWR comes with utils to upgrade the table contain. I second the recommendation of DWR[1] for integrating backend logic with pages in an Ajax form -- it's very straightforward to use; I was up and running in less than an hour. DWR doesn't provide any solutions for page display (well, it has a few util methods, but...) I still haven't settled on one library for those, having mostly opted to write my own. I'm watching Dojo[2] carefully as our own Martin Cooper is a big fan, but it is still in very active development and is minimally documented, so I'm waiting to either have more time to read the code or for more docs to be drafted. I would recommend against using Prototype[3] or JSON[4] with Struts, as they use a JavaScript strategy which is incompatible with commons-validator and the html:javascript tag (see Bug #37134[5]). Joe [1] http://getahead.ltd.uk/dwr/ [2] http://dojotoolkit.org/ [3] http://prototype.conio.net/ [4] http://www.crockford.com/JSON/index.html [5] http://issues.apache.org/bugzilla/show_bug.cgi?id=37134 Faisal Mahmoud a écrit : Check out http://www.backbase.com for an Ajax framework. On 11/8/05, Frank W. Zammetti [EMAIL PROTECTED] wrote: sarcasmFar be it from me to push my own creation.../sarcasm http://javawebparts.sourceforge.net Go into the javadocs and look at the javawebparts.taglib.ajaxtags package. This isn't the AjaxTags you may have heard of lately, they are two separate projects that just happen to have the same name. I think it's reasonable to say that this AjaxTags is a bit different from most of the other Ajax toolkits/taglibs/whatever out there, but folks might like what they find here (many do already!). If it seems interesting, I recommend downloading the cookbook and checking out the examples there. The recipes in there are simpler than what you'll find in the Java Web Parts sample app, much mroe focused, and can even be used as-is. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Tue, November 8, 2005 10:24 am, David Gagnon said: Hi all, Sorry for the OT guys. I'm looking for a good AJAX framework. I haven't found one under apache.org. Is there one? If not is there one who is more popular/cool/good that other? Thansk for your help!! Best Regard /David - 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] -- http://www.quidprocode.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com Narrow minds are weapons made for mass destruction -The Ex - 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: [OT]Open source Backup software for windows
What I recomend is SyncBack - it's free but it's not open source. quote SyncBack is our freeware program that helps you easily backup and synchronise your files to: the same drive; a different drive or medium (CDRW, CompactFlash, etc); an FTP server; a Network; or a Zip archive. /quote http://www.2brightsparks.com/freeware/freeware-hub.html Regards Ovidiu On 9/28/05, David G. Friedman [EMAIL PROTECTED] wrote: There is stuff all over if you want something server based. Amanda (www.amanda.org http://www.amanda.org) has a win32 client via a second sourceforge project), plus stuff I've never heard of like http://backuppc.sourceforge.net/info.htmland more. Remember, google is your friend. :) If it's just those 2 Windows based computers, I'll second Byron Lape's suggestion of using the built-in XP backup program as an account with administrative privileges. Regards, David -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 3:43 PM To: user@struts.apache.org Subject: [OT]Open source Backup software for windows Hello Does anyone know or used an open source for databaup from windows XP, i need this software to be able select folders for backup, backup files changed, add if does not exist, and schedule backup from my laptop and desktop Ashish __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.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]
Using ActioForm in ActionForm practice
Hi, I've recently started working on a project that uses Struts 1.2 and Hibernate - and I'm in the dev team. Nothing unusual here. The project architecture is made in such way that ActionForms are an almost 1-1 mirror with the the Hibernate mapped entities. For example : if I have an entity A that contains an entity B and a list of etities C, in the corresponding forms I'll have Aform containing Bform and a List of CForm objects. What I would like to know if anyone used the ActionForms in such a way , or if this is considered to be a best practice. Thanx, Ovidiu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: repopulating dropdown menus when validation errors occur
You can find the complete solution here http://www.reumann.net/struts/articles/request_lists.jsp On 4/13/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Mallik, The way I have always made this work in the past is to call the validate method on the form bean myself in the action rather than leaving it the validator to call for me. Set validate=false in the action mapping in struts-config.xml. Then in the action call the validate method on the form bean. ActionMessages valErrors = ((DynaValidatorForm)form).validate(mapping, request); Then if (!valErrors.isEmpty()) { .. repopulate the drop down lists and form fields .forward back to the page } Hope this helps. -- Kurt Williams Marex Services 9704 Big Sage NW Albuquerque, NM 87114 [EMAIL PROTECTED] 505-897-1012 (office) 505-450-7105 (cell) -- Original message -- kurt, I am putting the list of values for the drop down in the form bean as dynaform.set(userList, list) in theaction class. (userList is a form property here) but still not able to get the drop down re-populated back when validation errors occur. What am I doing wrong here? Thanks in advance. Thanks, Mallik --- [EMAIL PROTECTED] wrote: Once the user does a submit you have a new request. So the old request where your list is is no longer in scope and therefore no longer valid. One solution would be to set validate=false in the action mapping for the action and then call the form's validate method yourself in the aciton. If there are errors you can forward back to the jsp and reset the drop down list. You can also put the list of values for the drop down in the form bean as well. Thanks, Kurt -- Kurt Williams Marex Services 9704 Big Sage NW Albuquerque, NM 87114 [EMAIL PROTECTED] 505-897-1012 (office) 505-450-7105 (cell) Hi, I am new to struts frame work.I have a question regarding repopulating dropdown menu when validation error occurs in the form containing dropdowns. In my application when user clicks on a link it goes to the action class and I get the list to from database and I put it in request scope to display in dropdown . but when ever any validation errors occurs on that page, instead of showing the same page I get an error saying Cannot find bean under name (userList-this is my list to populate dropdown). What should I do to fix this problem. any help is appreciated. Thanks Mallik. __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ - 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! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ - 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: redirectig to WORD files
For the word document to automatically open in the browser you should do this on the client side : - double click on My Computer - Tools menu -Folder Options - File Types - Search for the DOC extension and then click on Advanced. Uncheck : Confirm open after download. Ovidiu On Wed, 26 Jan 2005 14:04:34 -0500, Erik Weber [EMAIL PROTECTED] wrote: Jim Barrows wrote: On Wed, 26 Jan 2005 16:24:21 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all I try to redirect my response to a word doc file.But after setting contexttype and using response.sendRedirect(docWordURL) , I get white page; What I want is open this word document on a click of a link in a normal jsp.I call the action that has to redirecting me to that file. Any idea? Turning on the file serving servlet might be a good idea it's container specific on how to do that. Is that an easier way to accomplish the same thing as manually serving the binary content from an Action? I've never used it before. Erik Regards 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it - 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]
Reloading plugin
Hi, I have an web apllication, using several plugins that I've made, and I want to be able to change the plugin configuration without stopping the Tomcat. Does anyone knows if it's possible ? Thanx, Ovidiu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Reloading plugin
The thing is that the application must be running without any interupption. I was thinking about a plugin that watches over the other ones inspecting the struts-config file from time to time and compare the plugin configurations with the ones alredy loaded. Any ideas ? Ovidiu On Tue, 25 Jan 2005 14:31:05 +0100, Cedric Levieux [EMAIL PROTECTED] wrote: Hi, Go to the manager tomcat system and you can stop/start/restart application by application ... but it need to stop the application. The other possibility is to implement your own web admin system for configuring your plugins, replacing the values inside by setters. Hope it can help, Cedric - Original Message - From: Ovidiu EFTIMIE [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, January 25, 2005 2:27 PM Subject: Reloading plugin Hi, I have an web apllication, using several plugins that I've made, and I want to be able to change the plugin configuration without stopping the Tomcat. Does anyone knows if it's possible ? Thanx, Ovidiu - 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: Reloading plugin
This could be a solution if I stored the plugin configurations in the database. Thanx. On Tue, 25 Jan 2005 15:45:45 +0100, Cédric Levieux [EMAIL PROTECTED] wrote: What about, like I said, a Web Administration Page for your plugin and change the plugins configuration with that ? Cedric On Tue, 25 Jan 2005 16:42:14 +0200, Ovidiu EFTIMIE [EMAIL PROTECTED] wrote: The thing is that the application must be running without any interupption. I was thinking about a plugin that watches over the other ones inspecting the struts-config file from time to time and compare the plugin configurations with the ones alredy loaded. Any ideas ? Ovidiu On Tue, 25 Jan 2005 14:31:05 +0100, Cedric Levieux [EMAIL PROTECTED] wrote: Hi, Go to the manager tomcat system and you can stop/start/restart application by application ... but it need to stop the application. The other possibility is to implement your own web admin system for configuring your plugins, replacing the values inside by setters. Hope it can help, Cedric - Original Message - From: Ovidiu EFTIMIE [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, January 25, 2005 2:27 PM Subject: Reloading plugin Hi, I have an web apllication, using several plugins that I've made, and I want to be able to change the plugin configuration without stopping the Tomcat. Does anyone knows if it's possible ? Thanx, Ovidiu - 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: Reloading plugin
But what happens if the server dies ? I will lose the configuration ? Will the accessors modify my struts-config.xml ? I don't think they will . Ovidiu On Tue, 25 Jan 2005 15:54:44 +0100, Cedric Levieux [EMAIL PROTECTED] wrote: why in database ? public class XxxPlugIn implements PlugIn { private static Log log = LogFactory.getLog(ForumPlugIn.class); private static XxxPlugIn INSTANCE = null; // Other plugin properties public static XxxPlugIn getInstance() { return INSTANCE; } public void init(ActionServlet actionServlet, ModuleConfig moduleConfig) throws ServletException { // bla bla bla INSTANCE = this; } } by this way you can get your plugin from everywhere and can change the configuration by accessors. Cedric - Original Message - From: Ovidiu EFTIMIE [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, January 25, 2005 3:49 PM Subject: Re: Reloading plugin This could be a solution if I stored the plugin configurations in the database. Thanx. On Tue, 25 Jan 2005 15:45:45 +0100, Cédric Levieux [EMAIL PROTECTED] wrote: What about, like I said, a Web Administration Page for your plugin and change the plugins configuration with that ? Cedric On Tue, 25 Jan 2005 16:42:14 +0200, Ovidiu EFTIMIE [EMAIL PROTECTED] wrote: The thing is that the application must be running without any interupption. I was thinking about a plugin that watches over the other ones inspecting the struts-config file from time to time and compare the plugin configurations with the ones alredy loaded. Any ideas ? Ovidiu On Tue, 25 Jan 2005 14:31:05 +0100, Cedric Levieux [EMAIL PROTECTED] wrote: Hi, Go to the manager tomcat system and you can stop/start/restart application by application ... but it need to stop the application. The other possibility is to implement your own web admin system for configuring your plugins, replacing the values inside by setters. Hope it can help, Cedric - Original Message - From: Ovidiu EFTIMIE [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, January 25, 2005 2:27 PM Subject: Reloading plugin Hi, I have an web apllication, using several plugins that I've made, and I want to be able to change the plugin configuration without stopping the Tomcat. Does anyone knows if it's possible ? Thanx, Ovidiu - 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: Reloading plugin
Thanx Cedirn for your help . I think I'll do it this way. On Tue, 25 Jan 2005 16:06:05 +0100, Cedric Levieux [EMAIL PROTECTED] wrote: No they won't but like anything else it's your job to keep track of your change with a database or writing file. In my point of view accessors are the best thing to change a value withing asking the value in the database. But you can store the new value in view of keeping the same configuration when you restart the server after a release ... or a crash :p Regards, Cedric - Original Message - From: Ovidiu EFTIMIE [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, January 25, 2005 3:58 PM Subject: Re: Reloading plugin But what happens if the server dies ? I will lose the configuration ? Will the accessors modify my struts-config.xml ? I don't think they will . Ovidiu On Tue, 25 Jan 2005 15:54:44 +0100, Cedric Levieux [EMAIL PROTECTED] wrote: why in database ? public class XxxPlugIn implements PlugIn { private static Log log = LogFactory.getLog(ForumPlugIn.class); private static XxxPlugIn INSTANCE = null; // Other plugin properties public static XxxPlugIn getInstance() { return INSTANCE; } public void init(ActionServlet actionServlet, ModuleConfig moduleConfig) throws ServletException { // bla bla bla INSTANCE = this; } } by this way you can get your plugin from everywhere and can change the configuration by accessors. Cedric - Original Message - From: Ovidiu EFTIMIE [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, January 25, 2005 3:49 PM Subject: Re: Reloading plugin This could be a solution if I stored the plugin configurations in the database. Thanx. On Tue, 25 Jan 2005 15:45:45 +0100, Cédric Levieux [EMAIL PROTECTED] wrote: What about, like I said, a Web Administration Page for your plugin and change the plugins configuration with that ? Cedric On Tue, 25 Jan 2005 16:42:14 +0200, Ovidiu EFTIMIE [EMAIL PROTECTED] wrote: The thing is that the application must be running without any interupption. I was thinking about a plugin that watches over the other ones inspecting the struts-config file from time to time and compare the plugin configurations with the ones alredy loaded. Any ideas ? Ovidiu On Tue, 25 Jan 2005 14:31:05 +0100, Cedric Levieux [EMAIL PROTECTED] wrote: Hi, Go to the manager tomcat system and you can stop/start/restart application by application ... but it need to stop the application. The other possibility is to implement your own web admin system for configuring your plugins, replacing the values inside by setters. Hope it can help, Cedric - Original Message - From: Ovidiu EFTIMIE [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Tuesday, January 25, 2005 2:27 PM Subject: Reloading plugin Hi, I have an web apllication, using several plugins that I've made, and I want to be able to change the plugin configuration without stopping the Tomcat. Does anyone knows if it's possible ? Thanx, Ovidiu - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Creating a Struts Plugin,
I use something like this OCIConfig is the configuration read from struts-config.xml public class OCIPlugin implements PlugIn{ protected static Log log = LogFactory.getLog(OCIPlugin.class); public void init(ActionServlet servlet,ModuleConfig config) throws ServletException{ try{ OracleOCIConnectionPool ocp = createPool(readDBConfig(config)); AppContainer cont = (AppCont)servlet.getServletContext().getAttribute(Constants.APP_CONTAINER); if(cont == null){ cont = new LegisContainer(); servlet.getServletContext().setAttribute(Constants.APP_CONTAINER,cont); } cont.setPool(ocp); }catch(Exception sqex){ log.fatal(sqex); } } private OCIConfig readDBConfig(ModuleConfig config) throws Exception{ PlugInConfig[] pl = config.findPlugInConfigs(); OCIConfig dbconf = null; if(pl.length 0){ for(int i=0;i pl.length;i++){ PlugInConfig p = pl[i]; if(p.getClassName().endsWith(OCIPlugin)){ Map m = p.getProperties(); dbconf = new OCIConfig(); BeanUtils.populate(dbconf, m); } } } if((dbconf == null)){ throw new Exception(No parameters for pool); } return dbconf; } private OracleOCIConnectionPool createPool(OCIDBConfig cfg) throws SQLException{ OracleOCIConnectionPool ocp = new OracleOCIConnectionPool(); ocp.setServerName(cfg.getServerName()); ocp.setDatabaseName(cfg.getDatabaseName()); ocp.setDriverType(oci); ocp.setPortNumber(Integer.parseInt(cfg.getPortNumber())); ocp.setUser(cfg.getUser()); ocp.setPassword(cfg.getPassword()); Properties props = new Properties(); props.put(OracleOCIConnectionPool.CONNPOOL_MIN_LIMIT,cfg.getMinLimit()); props.put(OracleOCIConnectionPool.CONNPOOL_MAX_LIMIT,cfg.getMaxLimit()); props.put(OracleOCIConnectionPool.CONNPOOL_INCREMENT,cfg.getIncrement()); props.put(OracleOCIConnectionPool.CONNPOOL_TIMEOUT,cfg.getTimeout()); props.put(OracleOCIConnectionPool.CONNPOOL_NOWAIT,cfg.getNowait()); ocp.setPoolConfig(props); return ocp; } public void destroy(){ ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); if (classLoader == null) { classLoader = OCIPlugin.class.getClassLoader(); } try { LogFactory.release(classLoader); } catch (Throwable t) {} } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [FRIDAY] GMail invites
I have 4 invites for anyone that didn't get one already - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [general] managing common files
Have you tested Maven ? http://maven.apache.org On Fri, 3 Sep 2004 09:26:37 -0700, Jim Barrows [EMAIL PROTECTED] wrote: -Original Message- From: Dan Allen [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 9:17 AM To: Struts Users Mailing List Subject: [general] managing common files The response I most anticipate is to have a target in build.xml that reaches out to a common directory and pulls the newest version into the project tree. Then the common folder will have its own CVS module and all updates to such common files should occur only in the common folder and not on the file inside of the particular project which uses it. Running the target allows a project tree to be brought up to date ready for export as a standalone project tree. Am I on the money or is there a better way to handle such resources? You're close... the problem is that what happens if one project has to customize one of your base files? Your ant task needs to be smart enough to not stomp on that customization. Then there's question of is the pain of managing common files really worth it? I've found that trying to manage common files across projects is usually more pain then it's worth in a lot of ways. I typically use either appfuse, or one of my base project setups as a template to get started, and then just don't manage the common files anymore. Each project gets updated as it needs it. When I go to shops where they try and keep all the common files together, I've noticed that they start running into a LOT of classpath issues, and other conflicts that I just don't deal with because I don't try and gather things together. The shops generally claim it's easier... until we start comparing set up times and deployment times. I generally can just war up my project and drop it off on the server, while they have to tinker with it until all the libraries are correct. Or worse, they can't upgrade to some new version, because it (the new jar version) will break their old code, so they end up having to reinvent the wheel. Since a WAR file is supposed to be a self-supported unit that doesn't need anything else, I try to keep it that way. If I can't just drop it off on the server, I usually find myself with more headaches then I really care to deal with. - 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: [OT] Flex, openamf, flash remoting, or ?
I think Laszlo is a bit faster and simpler to set up, than Flex, but Macromedia has Flex Builder which is a very,very useful tool that helps you visualy design your interfaces. Ovidiu - Original Message - From: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Fri, 27 Aug 2004 10:52:22 -0400 Subject: Re: [OT] Flex, openamf, flash remoting, or ? To: Struts Users Mailing List [EMAIL PROTECTED] I looked at Flex, but was dismayed by the cost. I'm now seriously considering Laszlo Systems. Can you spare 10 minutes: http://www.laszlosystems.com/developers/learn/laszloin10minutes.php Dennis Wennberg, Mathias [EMAIL PROTECTED] 08/27/2004 10:48 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] ToStruts Users Mailing List [EMAIL PROTECTED] cc Subject[OT] Flex, openamf, flash remoting, or ? We're considering putting a new interface on our app and are currently looking into flex, openamf, and flash remoting. Have anyone tried these products and what are your experiences with them? 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: Select One Row
When you make the select to retrive the data get your triple key in one column like this select key1 || '#' || key2 || '#' || key3 key from mytable In your Action form you'll have private String key ; //setter + getter In your TO private String key1; private String key2; private String key3; //setters+getters private String key; //setter+getter public String setKey(String k){ //extract your keys (StringTokenizer) and call their setters } On Thu, 26 Aug 2004 11:44:56 +0100, Varley, Roger [EMAIL PROTECTED] wrote: Hi I'm starting my first Struts project and I have got a .jsp page that displays a list of beans using the logic:iterate tags. Now I need a method of adding a radio button against each row so that the client can select one of the rows for editing. Googling has taken me to the Struts Layout site and the collection tag (http://struts.application-servers.com/doc/tags/collection.html) which looks like it will do what I want. However, the example given assumes that there is one property that uniquely identifies each row. In my case, the unique key to the underlying database is a composite key consisting of three properties that together uniquely identify each row. I'd be grateful for any pointers to tutorials etc that would provide guidance on how to proceed. Regards Roger __ This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. __ - 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: DynaForm external Xml Source
You can split your struts-config.xml in 12-13 files and by subapplication .Then specify them in web.xml. servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameconfig/param-name param-valueWEB-INF/struts-config.xml,WEB-INF/SUBAPP_1/struts-one-config.xml,WEB-INF/SUBAPP_1/struts-two-config.xml,WEB-INF/SUBAPP_1/struts-three-config.xml,WEB-INF/SUBAPP_2/struts-one-config.xml,WEB-INF/SUBAPP_2/struts-two-config.xml,WEB-INF/SUBAPP_2/struts-three-config.xml/param-value /init-param ... Ovidiu On Thu, 19 Aug 2004 18:08:55 +0530, Krishna Murthy .U [EMAIL PROTECTED] wrote: Hi , we are developing an application. We are using Struts's DynaForms. problem ). we have 12-13 froms each form containig around 100 input text fields.if I define all the form-beans under form-bean and form-property Using DynaForms .then my struts-config.xml will be very huge with 1000's of form-property's. is there any way that i can split the form-beans and keep in seperate Xml and refer them as we do for (tiles,validator) Thanks Regards Krishna Murthy .U finEye Software Pvt.Ltd. GF-2 ,Alpine Arch No.10 ,Langford Road Bangalore -27 -- Dream dream dear That No one can do Ever Dream beyond beyond horizons You will raise above commons Jamaka.U - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts with Flex
Well that's another issue. On Sat, 21 Aug 2004 12:37:40 -0400, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can anyone afford it?!!! |-+ | | Ovidiu EFTIMIE | | | [EMAIL PROTECTED]| | | m | | || | | 08/17/2004 12:03 | | | PM | | | Please respond to| | | Struts Users| | | Mailing List| | || |-+ | | | | To: Struts Users Mailing List [EMAIL PROTECTED] | | cc: | | Subject: Re: Struts with Flex | | bump Nobody here tried Flex with Struts ? It really seems a good choice for RIA web applications, but I'd like to know more from people who have use it. Ovidiu On Sat, 14 Aug 2004 21:47:30 +0300, Ovidiu EFTIMIE [EMAIL PROTECTED] wrote: Hi, Has anyone any experience with Struts and Flex (http://www.macromedia.com/software/flex/ , http://www.macromedia.com/devnet/flex/articles/struts.html) that would like to share ? How about Struts+XML+(XSLT/Flex) ? Regards, Ovidiu - 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]
Struts with Flex
Hi, Has anyone any experience with Struts and Flex (http://www.macromedia.com/software/flex/ , http://www.macromedia.com/devnet/flex/articles/struts.html) that would like to share ? How about Struts+XML+(XSLT/Flex) ? Regards, Ovidiu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: html:file using an image button
Use something like this script function getNomFichier(){ document.forms[0].btnFichier.click(); document.forms[0].nomFichier.value=document.form[frmFichier].btnFichier.value; } /script input type=text name=nomFichier disabledimg src=../images/loupe.gif onclick=getNomFichier(); div style=display:none input type=file name=btnFichier /div Ovidiu On Tue, 10 Aug 2004 08:27:49 -0700, Michael McGrady [EMAIL PROTECTED] wrote: At 07:41 AM 8/10/2004, you wrote: Michael McGrady wrote: Is there a way to hide the standard browse button and use an image for the button instead? Michael, I don't believe this is part of the HTML spec, so in short, no. Every browser uses a different button for browsing. I don't believe that even CSS can control this. There is a way, Brice. There are many, actually, as it turns out. - 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: html:file using an image button
I'm using html:file and it works just fine . In my previous reply I made a copypaste from the generated html. The most important lines are these 2 document.forms[0].btnFichier.click(); document.forms[0].nomFichier.value=document.form[frmFichier].btnFichier.value; On Tue, 10 Aug 2004 12:21:44 -0700, Michael McGrady [EMAIL PROTECTED] wrote: At 10:14 AM 8/10/2004, you wrote: Use something like this script function getNomFichier(){ document.forms[0].btnFichier.click(); document.forms[0].nomFichier.value=document.form[frmFichier].btnFichier.value; } /script input type=text name=nomFichier disabledimg src=../images/loupe.gif onclick=getNomFichier(); div style=display:none input type=file name=btnFichier /div Will this work with input type='file'? - 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]