Re: [OT] Re: frames

2007-05-20 Thread jalal udeen
hi im using struts 1.2.7 how can i frames using struts tag in jsp thanks jalal On 5/19/07, Mansour <[EMAIL PROTECTED]> wrote: jalal udeen: We need more info to be able to help. What version of struts are you using. If you you are using struts 2, then you can use the target attribute

[Announce] Stylus Studio 2007 Release 2 Now Available

2007-05-20 Thread Stylus Studio
[announce] Dear Struts-Users, Stylus Studio 2007 Release 2, is now available for free trial download or online purchase. Here are some of highlights: * Query Plan: A new query plan utility in the XQuery Editor lets you visualize query execution plans and gain insight into how DataDirect XQuery w

Re: ajax - Submit a form

2007-05-20 Thread Jeromy Evans
Depending on what your js function does, you may also be able to use the notifyTopics/listenTopics event mechanisms. Look at the example in "Preventing a Request" at http://struts.apache.org/2.x/docs/ajax-tags.html#AjaxTags-preventingRequest Otherwise try the handler="" attribute to call yo

Re: execAndWait INTERCEPTOR

2007-05-20 Thread Mansour
I really need help in this. Do I need to use spring with this ?? I am missing something ? Mansour wrote: It's really funny: If I get the waiting screen it stays there and no further thing is rendered. If I click refresh, the results I am expecting are displayed. If I click refresh again the

Re: ajax - Submit a form

2007-05-20 Thread Mansour
OK I found my problem. I shouldn't add onClick event to the anchor, but what do I do to execute a js function when this anchor is clicked. I tried using onMouseDown, but the same results. Mansour wrote: Thank you. That helped but still can not submit a form using an anchor out side that form.

RE: [S2] Is there a way to turn of formatting of controls with ajax theme?

2007-05-20 Thread Jason Wyatt
Thanks guys, very informative. Modifying the ajax submit template took just a few minutes and solved our problem. We normally have custom layouts for our web apps, but ajax's partial requests are very attractive. I image this would be a common scenario, with web programmers wanting to leverage

Re: ajax - Submit a form

2007-05-20 Thread Mansour
Thank you. That helped but still can not submit a form using an anchor out side that form. The fields are not populated in the action. The code on the Site : Using the anchor tag to submit a form: Submit form My code: edit

Re: ajax - Submit a form

2007-05-20 Thread Jeromy Evans
Ensure you've included to include the required javascript and try turning on ajax debugging (debug="true">). Ensure the javascript exists in your html. See the top of http://struts.apache.org/2.x/docs/ajax-tags.html Mansour wrote: I am populating some fields that can be edited and saved. Tryin

ajax - Submit a form

2007-05-20 Thread Mansour
I am populating some fields that can be edited and saved. Trying to do this using ajax. The action is getting called but the form is never submitted, and the updated data is lost. value="${acc.fir

Re: S2 - for a StreamResult parameters dynamics

2007-05-20 Thread Pedro Herrera
Thanks !! It works fine now ! How I know which fields are on the value stack ?? Where I found this information in the struts2 docs ? Best Regards Herrera Jeromy Evans - Blue Sky Minds wrote: > > I'm not sure if you're proposed change is an improvement or not, but in > 2.06 dynamic par

[JSON plugin] announcement

2007-05-20 Thread Musachy Barroso
For those of you using the json plugin with Dojo, there is a new release which supports JSON RPC ( http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book9). Which means you can now call methods on your action from javascript (parameters and return value can be primitives, objects, list, etc), jus

struts 1.x /mysql stored function ...input string..charset latin1

2007-05-20 Thread john lee
In my Struts Action class, I invoke mysql¡¯ stored function, but get following error: javax.servlet.ServletException: For input string: ¡°20) CHARSET latin1 READS SQL DATA ¡­ java.lang.NumberFormatException: For input string: ¡°20) CHARSET latin1 Source code: ¡­ Strut