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] > > > -- View this message in context: http://www.nabble.com/Struts2-and-Jquery-problem-with--LightBox-or-thickbox-tp18326073p18472124.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]