Re: [S1] json and Action execute()

2008-01-23 Thread nuwan chandrasoma
Hi, I haven't used ExtJS., but we i have done is i just writhe the json string to the output stream and from my js i convert it to JSON and used it. i used Dojo Thanks, Nuwan (http://code.google.com/p/struts2-ssl-plugin/) On Jan 23, 2008 12:26 AM, auz <[EMAIL PROTECTED]> wrote: > > this is str

[Struts2] anchor tag performance with ajax

2008-01-23 Thread Pete Hall
I'm using the tag and I'm experience a severe performance penalty. This is with Struts 2.0.11 As part of my JSP page I have ">

Need Help

2008-01-23 Thread mohammed hussain
hi iam muzaffar,struts learner, Any body is having any struts application means pls send to me with source code,its will be very helpful to me and iam very thankful to you. waiting for ur reply

RE: [Formatting data] - Format a number as currency

2008-01-23 Thread John Koutros
Create on you class path a properties file celled for example globalMessages.properties and add the format.money line Then declare this file in struts.properties (struts.custom.i18n.resources=globalMessages). Thus, you are able for every page to format a number like a currency -Original Messa

RE: how to validate field right after the data is entered, HELP!

2008-01-23 Thread ravi_eze
i dont think ull run into problems atleast as long as u reatain the theme as ajax. try using theme as simple and give onblur="validate(this);". Also include the necessary .js files (make the necessary ajax configurations and view source in browser, ull see the .js files). check if the .js files a

Re: Need Help

2008-01-23 Thread Antonio Petrelli
2008/1/23, mohammed hussain <[EMAIL PROTECTED]>: > hi >iam muzaffar,struts learner, Any body is having any struts application > means pls send to me with source code,its will be very helpful to me and iam > very thankful to you. Google "struts tutorial", or go directly to: http://struts.apache

Re: Need Help

2008-01-23 Thread ravi_eze
did u try struts showcase?? its part of downloads available at the site. also is a good start for struts. Antonio Petrelli-3 wrote: > > 2008/1/23, mohammed hussain <[EMAIL PROTECTED]>: >> hi >>iam muzaffar,struts learner, Any body is having any struts application >> means pls send to me wi

validating conditional fields...

2008-01-23 Thread Kavita Mehta
Hi, i have a JSP in which either I show , fieds or , field based on some condition . Now, i have to validate all x, y,z fields in such a way that if these fields are present, they should be validated else not . can somebdy pls suggest how to do this ... Regards, Kavita ***

Re: Question on validation

2008-01-23 Thread Andriy Kharchuk
You can turn off validation for a specific method by using the @SkipValidation annotation above your action method. http://struts.apache.org/2.x/docs/validation.html 2008/1/21, Martin Braure de Calignon <[EMAIL PROTECTED]>: > > Hello :-), > > I have two questions, the first one is more important

Re: Need Help

2008-01-23 Thread mohammed hussain
thanx ravichandaran for ur reply ,wat is this showcase,could you tell me how i can see in net bean On Jan 23, 2008 2:38 PM, ravi_eze <[EMAIL PROTECTED]> wrote: > > did u try struts showcase?? its part of downloads available at the site. > also > is a good start for struts. > > > > Antonio Petrel

Re: Need Help

2008-01-23 Thread ravi_eze
download, explode, and search for war files. then deploy them onto tomcat. http://mirror.x10.com/mirror/apache/struts/binaries/struts-2.0.11-all.zip mohammed hussain wrote: > > hi >iam muzaffar,struts learner, Any body is having any struts application > means pls send to me with source co

Re: Question on validation

2008-01-23 Thread Martin Braure de Calignon
Le mercredi 23 janvier 2008 à 11:17 +0200, Andriy Kharchuk a écrit : > You can turn off validation for a specific method by using the > @SkipValidation annotation above your action method. > > http://struts.apache.org/2.x/docs/validation.html > Ok many thanks, I though it works only for validat

Re: [S2] Beans list in Dynamic form and ParametersInterceptor problem

2008-01-23 Thread totojack
Hi. I've solved the problem. And the solution was... reading the documentation with great attention!!! In particular, from http://struts.apache.org/2.0.11/docs/type-conversion.html, the paragraph "Relationship to Parameter Names": 1 - Use JavaBeans! The framework can only create objects if the o

Java Script in JSP pages

2008-01-23 Thread naveen k
Hi, I am in a development of struts web application. I need to use java script in a jsp page. but i could not do that. cant we use java script in jsp pages? If possible how would i do that? Naveen

struts2/dojo: duplicate events (struts 2.0.11)

2008-01-23 Thread Otto, Frank
hi, I have a ajax div (div1) in another ajax div (divGrp1). I publish the event "refreshDivGrp1" to divGrp1, the div1 was recreate and the event "refreshDiv1" was subscribed twice. Here are the debug messages: DEBUG: [divGrp1] Listening to refreshDivGrp1 to refresh DEBUG: [div1] Listening to

Re: Java Script in JSP pages

2008-01-23 Thread Antonio Petrelli
2008/1/23, naveen k <[EMAIL PROTECTED]>: > I am in a development of struts web application. > I need to use java script in a jsp page. but i could not do that. > cant we use java script in jsp pages? > If possible how would i do that? You can put Javascript in your JSP page, what's your pro

Re: Java Script in JSP pages

2008-01-23 Thread nuwan chandrasoma
Hi, yes, you can, what is the issue you are facing? just add the tag inside your page and write your javascript code there and just use them in your page. Thanks, Nuwan On Jan 23, 2008 2:10 PM, naveen k <[EMAIL PROTECTED]> wrote: > Hi, > >I am in a development of struts web application

Re: Java Script in JSP pages

2008-01-23 Thread naveen k
Thanks for ur reply. I have Jason's Calendar code which run calendar.js script. I need to set that in my JSP page i could not da that. I have done the same thing in html page. I was trying to do like this <%@ page language="java" pageEncoding="UTF-8"%> <%@ taglib uri="http://jakarta.apache.org

dojo version in struts 2

2008-01-23 Thread Mark Levitsky
Hi, Does any one knows when is struts 2.1 should be released and do you know with what dojo version it will be released? Regards, Mark Levitsky Amdocs Self Service +972-9-7960880(desk) This message and the information contained herein is proprietary and confidential and subje

Re: Java Script in JSP pages

2008-01-23 Thread Antonio Petrelli
2008/1/23, naveen k <[EMAIL PROTECTED]>: > > > I think that the problem is in the inclusion of the javascript file. Anyway, this is not a Struts related problem. I suggest to use Firefox and Firebug to track this kind of problems: https://addons.mozilla.org/it/firefox/addon/1843 Antoni

Re: Java Script in JSP pages

2008-01-23 Thread naveen k
Right now i was using Mozilla Firefox. Is there any problem with that? Any way i am going to install the plugin which u have suggested me. Naveen On Jan 23, 2008 2:36 PM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > 2008/1/23, naveen k <[EMAIL PROTECTED]>: > > > > src="/Calendar/calendarD

Re: Java Script in JSP pages

2008-01-23 Thread naveen k
Even after i have installed the plugin, there is no result. what would be my problem. Naveen On Jan 23, 2008 2:43 PM, naveen k <[EMAIL PROTECTED]> wrote: > Right now i was using Mozilla Firefox. > Is there any problem with that? > Any way i am going to install the plugin which u have suggested m

Re: Basic validation, input, and redirects

2008-01-23 Thread Jack Gould
I'll expand on this comment (and I believe this is what ravi_eze is suggesting)... I have a similar situation in my application, and I got around it by creating a non-validating stack for the "setup" actions. I basically removed all the interceptors that trigger validation for those actions where

Re: File Upload

2008-01-23 Thread Pablo Vázquez Blázquez
Is there any problem with this mail list? I can´t send mails. Jeromy Evans escribió: I'd use a breakpoint in to inspect the content of the data variable. Is it a tree of Nodes or is it plain text/html? If the former it can be appended/inserted directly into the DOM with the respective method.

Re: File Upload

2008-01-23 Thread Pablo Vázquez Blázquez
Well, if I begin my Plugins.jspx with a div tag, it works (before, the begin was a jsp:root tag). But, when the response is loaded (it is the same page but with a new plugin entry), the "delete" link is bad created. So, 2 questions: a) why didn´t it work with jsp:root? b) why delete links are b

Re: Java Script in JSP pages

2008-01-23 Thread Antonio Petrelli
2008/1/23, naveen k <[EMAIL PROTECTED]>: > > Even after i have installed the plugin, there is no result. > what would be my problem. Probably I've been not clear. Your problem is not Struts-related. My suggestion to use Firebug meant that you need to *use* it to *track* your problem and, after f

Re: Java Script in JSP pages

2008-01-23 Thread naveen k
Hello anyone please help me out of this problem. Naveen On Jan 23, 2008 2:49 PM, naveen k <[EMAIL PROTECTED]> wrote: > Even after i have installed the plugin, there is no result. > what would be my problem. > > Naveen > > > On Jan 23, 2008 2:43 PM, naveen k <[EMAIL PROTECTED] > wrote: > > > Righ

struts request encoding to utf-8 problem

2008-01-23 Thread wessam
i'm using struts 1.1, oracle 10g environment i'm facing a problem that i can't save special characters as "ẻ, €" from the page to database correctly though i used all the possible ways to set the encoding to utf-8 her's the code i used 1- in the.jsp page .. <%@ page language="java" pageEncoding=

Re: Java Script in JSP pages

2008-01-23 Thread naveen k
How to use this Firebug for these jsp pages to track my problem? In what way it can help me? Please dont think i am boring u my friend. Naveen On Jan 23, 2008 3:45 PM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > 2008/1/23, naveen k <[EMAIL PROTECTED]>: > > > > Even after i have installed the p

Re: Java Script in JSP pages

2008-01-23 Thread Pablo Vázquez Blázquez
try in your funcions and naveen k escribió: Thanks for ur reply. I have Jason's Calendar code which run calendar.js script. I need to set that in my JSP page i could not da that. I have done the same thing in html page. I was trying to do like this <%@ page

Re: Java Script in JSP pages

2008-01-23 Thread naveen k
thanks for ur reply. But i need to use calendarDateInput.js in my code. how can i call it from my Jsp if i remove src attribute from the script tag? Naveen On Jan 23, 2008 3:54 PM, Pablo Vázquez Blázquez <[EMAIL PROTECTED]> wrote: > try > > > > > in your funcions > > and > > >