Re: AW: How to submit form in pop-up window and forward parent results page? [OT]

2004-03-11 Thread Guido García Bernardo
Your editItem action, when the update is finished, forwards to autoCloseAndReloadOpener.jsp autoCloseAndReloadOpener.jsp does steps (5) and (6): html body onLoad=self.close() script // Reload opener opener.formReload.submit(); // or something like this, using opener /scrip

ASP.NET and Struts: Web Application Architectures

2004-03-10 Thread Guido García Bernardo
Interesting reading... http://msdn.microsoft.com/asp.net/using/migrating/default.aspx?pull=/library/en-us/dnaspp/html/aspnet-aspnet-j2ee-struts.asp#aspnet-aspnet-j2ee-struts_topic4 Regards. - To unsubscribe, e-mail: [EMAIL

Re: Action form

2004-02-24 Thread Guido García Bernardo
if this question is out of my ignorance of understanding of struts.. Warm Regards, Pradeep - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Guido García Bernardo - [EMAIL

[OT] Re: IBatis???

2004-02-14 Thread Guido García Bernardo
www.ibatis.com iBATIS SQL Maps provides a very simple and flexible means of moving data between your Java objects and a relational database. Use the full power of real SQL without a single line of JDBC code! http://www.ibatis.com/common/sqlmaps.html iBATIS DAO is an abstraction layer that

[OT] Re: log4j integration

2004-01-27 Thread Guido García Bernardo
This is OT. The word struts in a message is not the only thing it needs to be struts related... Try PropertyConfigurator.configureAndWatch, I think that is what you are searching for... You cand find a simple example at http://www.jguru.com/forums/view.jsp?EID=1130416 Un saludo, chicos.

[OT] Re: populating session object

2004-01-27 Thread Guido García Bernardo
Maybe you can use the application scope: foo.Employees employees = (foo.Counter)getServletContext().getAttribute(employees); if (employees == null) { employees = new foo.Employees(); getServletContext().setAttribute(employees, employees); } and then jsp:useBean class=foo.Employees

[OT] Re: beans

2004-01-22 Thread Guido García Bernardo
This is a very good how not to ask a question example... (spam included!!) The only thing he has forgot is the THIS IS VERY IMPORTANT, PLEASE HELP in the subject... Anyway http://www.google.com/search?hl=enlr=ie=UTF-8oe=utf-8q=run+a+jsp+and+a+bean Regards xavier manohar wrote: hi can

Re: [OT] JSP editor - plugin for eclipse ?

2004-01-20 Thread Guido García Bernardo
You asked the right mailing list. Divya B Sridhar wrote: Hi All, Do we have a plugin for eclipse which would check JSP syntax at save time/compilation time or so? Since Eclipse would recognise Java keywords if JDK is installed; similarly, do we have a plugin for eclipse which enables eclipse to

Re: Prevent direct access to jsp pages

2004-01-20 Thread Guido García Bernardo
http://www.google.com/search?hl=enlr=ie=UTF-8oe=utf-8q=prevent+direct+access+to+jsp+pages Florin Pop wrote: Hi, I have a jsp page which contains some comboboxes. I set the data in the comboboxes in an Action before forwarding to the jsp. How can I prevent direct access to the jsp page? So

[OT] Re: Tool for jsp debug

2004-01-20 Thread Guido García Bernardo
This is very OT. http://www.google.com/search?hl=enlr=ie=UTF-8oe=utf-8q=tool+for+jsp+debug Florin Pop wrote: Hi, does anyone know a tool for debugging jsp files? So that you are able to trace the code in the jsp source not in the generated servlets.

Struts and webservices

2004-01-19 Thread Guido García Bernardo
) 3. Should we do anything with ActionServlet, extending it instead of RequestProcessor, etc. Any kind of opinion, sugerence or any other consideration are welcome!! Thank you very very much, Guido García Bernardo PD. BTW, is there any practical information or project about integrating Struts

Re: Validations - 'format' vs 'business'

2003-12-23 Thread Guido García Bernardo
assume anything...). HOW without duplicated code? Thank you again, Guido García Bernardo Vic Cekvenich wrote: {repost} I just override validate() method on formbean and do all there, including super.validate() that reads validation.xml. In here I call DAO's to do business validation also, ex

[OT] Validations - 'format' vs 'business'

2003-12-22 Thread Guido García Bernardo
errors: 1. Throwing an Exception from the business logic classes and catch it in the Action (or declare the exception in struts-config.xml) 2. Returning null (or -1, or a no-sense value) from the business logic classes 3. Any other way... Thank you very much, Guido García Bernardo

Re: java.lang.VerifyError

2003-12-12 Thread Guido García Bernardo
) RegdsVasi -- Guido García Bernardo - [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Tfn. +34 983 54 89 08 IT DEUSTO http://www.itdeusto.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: When HashMap will replace ActionForm ?

2003-12-10 Thread Guido García Bernardo
or philosophical purity should always yield to pragmatism Hookom, Jacob wrote: Anyone who's done major business application development knows that academic arguments on programming 'style' get thrown right out the window in favor of efficient progress ;-) -Original Message- From: Trieu,

Re: Displaying a dialogue box with Struts... [OT]

2003-11-19 Thread Guido García Bernardo
This is not really Struts related... You can do it with JavaScript (IE only) var result = showModalDialog( 'dialog.jsp','','dialogHeight:10;status:no;'); And in the 'dialog.jsp' use the returnValue: input type=button value=Ok onClick=self.returnValue='Ok'; self.close(); input