Re: Lost focus after Ajax Request

2006-09-23 Thread Martin Gainty
Daniel- The events onReadyStateChange and onFocus are mutually exclusive More information on the use of these events can be viewed at http://www.liqintao.net/handbook/js2/LiB0178.html Anyone else? Martin -- * This email message a

Re: Get real path of an action

2006-09-23 Thread Martin Gainty
Daniel- Read FZ's response at http://mail-archives.apache.org/mod_mbox/struts-user/200505.mbox/[EMAIL PROTECTED] where he does a retrieveURL on the specific page as in onClick="retrieveURL('mostrarRegistrarPersona.do');" HTH Martin--

RE: Get real path of an action

2006-09-23 Thread David Friedman
I don't know why your retrieve URL takes two parameters but if you save a String from your Action into scope, you could use this: request.setAttribute("myURL", request.getContextPath()+ mapping.getPath() + ".do"); Then get insert it into your JSP with EL like: ${requestScope.myURL} Regards, Davi

Re: Get real path of an action

2006-09-23 Thread Daniel Chacón Sánchez
Thanks, Yeap, but how can i use it on the jsp: retrieveURL('*(realPath)*/mostrarRegistrarPersona.do', 'PersonaForm') Thanks

Re: Get real path of an action

2006-09-23 Thread Martin Gainty
Hello Daniel- the 'type' attribute will display the exact package/class of the class identified to handle the action as in this example Anyone else? M- * This email message and any files transmitted with it con

Re: Get real path of an action

2006-09-23 Thread Daniel Chacón Sánchez
Ok let me try to explain it better. From the *registrarPersona.jsp* I use ajax to call some actions, one action is found by the ajax call and theother don´t. This is the call to ajax: retrieveURL('*actualizarCamposForm.do*?paso=paso1', 'PersonaForm') --->* found* retrieveURL(*'mostrarRegistr

Re: Get real path of an action

2006-09-23 Thread Paul Benedict
What do you mean by the "real path" ? Daniel Chacón Sánchez wrote: Hi all, can anyone tell me how I can get the real path of an action?? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re: Lost focus after Ajax Request

2006-09-23 Thread Daniel Chacón Sánchez
It only happen on IE, on firefox works well, the focus doesn´t lost on firefox, someone with an idea? 2006/9/22, Daniel Chacón Sánchez <[EMAIL PROTECTED]>: Hi all, I use Ajax on my application, but after the ajax is execute, the focus is lost, is there a way of keep the focus?

Re: Get real path of an action

2006-09-23 Thread Daniel Chacón Sánchez
Nobody?? 2006/9/23, Daniel Chacón Sánchez <[EMAIL PROTECTED]>: Hi all, can anyone tell me how I can get the real path of an action?? Thanks

Re: [s2] Freemarker Shortcuts

2006-09-23 Thread Chris Pratt
I've never used FreeMarker, but it appears to be equivalent to this in Struts ${user.userName} . (At least I assume that's what the label attribute is for.) (*Chris*) On 9/23/06, David H. DeWolf <[EMAIL PROTECTED]> wrote: I'm finding that I use something similar to this very often: <@s.textfi

Get real path of an action

2006-09-23 Thread Daniel Chacón Sánchez
Hi all, can anyone tell me how I can get the real path of an action?? Thanks

RE RE: [Struts 2][Sitemesh] s:url in decorator file and html file

2006-09-23 Thread Garner Shawn
I can't get to the page without sitmesh. It decorates all the navigation. I really think it's a struts 2 problem. I worked around it by changing to s:property and using a JSP scriptlet to get the context path. Is there a way to get the context path using a struts 2 tag? Shawn ---

RE: Migrating Struts application from weblogic 8.1 to 9.2

2006-09-23 Thread starki78
Hi Eric, have you solved the problem? Is everything in your configuration really the same ...web.xml, liberaries? Could you imagine that your classloader loads different xml-libraries? It's an interesting problem for me hope to hear you soon! Starki -- Initial Header --- >From

[s2] Freemarker Shortcuts

2006-09-23 Thread David H. DeWolf
I'm finding that I use something similar to this very often: <@s.textfield name="user.userName" value="%{user.userName}" label="%{getText('user.userName')}"/> Is anyone aware of a shortcut so that I can eliminate the redundancy? It would be nice if there was somethin