I can't remember the framework used now (customer code), but it was displaying dynamically generated code.

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 in
a thickbox. If I use a simple a href using a
jsp,thickbox works fine, but
if i use s:url with *.action as the url ,and if i pass
height,width
attributes ,iam getting an error .I tried removing
height and width, but
iam getting an exception saying ParametersInterceptor
exception using
"random" ."Random" variable is
used by jQuery.js internally.
If i can not use Jquery 'thickbox, what other
frameworks support thickbox
kind of functionality, as i need thick box to show
some dynamic
content,such as user's information or it can be a
form submit.
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'
--
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]

Reply via email to