The random property is not your problem - s2 is reporting the problem, but should be continuing execution (have you debugged/logged to check this?). If you want to stop the error message, take a look at the http://struts.apache.org/2.1.2/struts2-core/apidocs/com/opensymphony/xwork2/interceptor/ParametersInterceptor.html - in particular the "excludeMethods" parameter.
Until you sort out what the underlying problem is, I would recommend using a <a href="" /> and place the action name or s:property in the href value.
/Ian prashanth2 wrote:
I tried removing the height and width attributes as URL parameters, but the problem is JQuery internally uses a variable 'random', so s2 complains ParametersInterceptor exception. Great to hear tht u have a working sample, could u pl tell me, was that u were displaying dynamic content or static content. And which ajax framework have u used for thick/light box. In My case I need to get the data from DB, and display accordingly on the THICKBOX. An early reply would be appreciatable. Thanks Ian Roughley wrote:I've used lightbox successfully without problem. If this is the error message it looks like you are passing the height and width attributes as URL params and they are being applied against the action (hence the error). I bet (I don't have the code anymore) these are instead meant to be passed to the jQuery plugin - perhaps as HTML attributes./Ian prashanth2 wrote:I dont understand what u asked, anyways iam getting the below exception, and thickbox/lightbox never opened for me. Jul 2, 2008 3:39:54 PM com.opensymphony.xwork2.interceptor.ParametersInterceptor setParameters SEVERE: ParametersInterceptor - [setParameters]: Unexpected Exception caught setting 'height' on 'class com.hicom.web.action.UserSignupAction: Error setting expression 'height' with value '[Ljava.lang.String;@7a847a84' newton.dave wrote:DOES IT ACTUALLY NOT WORK OR DOES IT JUST LOG THE EXCEPTION<< --- On Tue, 7/15/08, prashanth2 <[EMAIL PROTECTED]> wrote:From: prashanth2 <[EMAIL PROTECTED]> Subject: Re: Struts2 and Jquery problem with LightBox or thickbox To: user@struts.apache.org Date: Tuesday, July 15, 2008, 9:17 AM CAN SOMEBODY HELP ME, HOW CAN I CREATE A LIGHT OR THICK BOX>> prashanth2 wrote:I tried to implement thickbox functionality in a jsp,to display iframe ina thickbox. If I use a simple a href using ajsp,thickbox works fine, butif i use s:url with *.action as the url ,and if i passheight,widthattributes ,iam getting an error .I tried removingheight and width, butiam getting an exception saying ParametersInterceptorexception using"random" ."Random" variable isused by jQuery.js internally.If i can not use Jquery 'thickbox, what otherframeworks support thickboxkind of functionality, as i need thick box to showsome dynamiccontent,such as user's information or it can be aform submit.Jul 2, 2008 3:39:54 PMcom.opensymphony.xwork2.interceptor.ParametersInterceptor setParametersSEVERE: ParametersInterceptor - [setParameters]:Unexpected Exceptioncaught setting 'height' on 'classcom.hicom.web.action.UserSignupAction:Error setting expression 'height' with value'[Ljava.lang.String;@7a847a84'-- View this message in context: http://www.nabble.com/Struts2-and-Jquery-problem-with--LightBox-or-thickbox-tp18326073p18465058.html Sent from the Struts - User mailing list archive at Nabble.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]--------------------------------------------------------------------- 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]