RE: checkbox always checked(help needed)

2002-11-07 Thread Sandeep Karnwal, Noida
Thanks David
This solves my problem.

Regards
Sandeep

-Original Message-
From: [EMAIL PROTECTED] [mailto:dmkarr@;earthlink.net]
Sent: Thursday, November 07, 2002 8:25 PM
To: [EMAIL PROTECTED]
Subject: Re: checkbox always checked(help needed)


> "Sandeep" == Sandeep Karnwal  writes:

Sandeep> Hi! all
Sandeep> I am using multibox to display the multiple checkbox.
Sandeep> By default all checkbox should be checked. I am not able to
find any of the
Sandeep> property of the multibox so that by default all checkbox should
be checked.
Sandeep> What is the property of the multibox so that all check box
should be checked
Sandeep> (when I display first time) or is there other way to do that.

The checkbox in a multibox tag will be checked if the "value" attribute is
equal to one of the objects in the collection specified by the bean
property.
If your page is fronted by an action where you can prepare the actionform in
this way, then it will always be checked.

-- 
===
David M. Karr  ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]   ; SCJP



--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




checkbox always checked(help needed)

2002-11-07 Thread Sandeep Karnwal, Noida
Hi! all
I am using multibox to display the multiple checkbox.
By default all checkbox should be checked. I am not able to find any of the
property of the multibox so that by default all checkbox should be checked.
What is the property of the multibox so that all check box should be checked
(when I display first time) or is there other way to do that.

Thanks in advance
Sandeep  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: jsessionid embedded to javascipt

2002-10-30 Thread Sandeep Karnwal, Noida
Hello
Can any one find the solution of my problem which is explained below.

Thanx in Advance

Sandeep

-Original Message-
From: Sandeep Karnwal, Noida 
Sent: Wednesday, October 30, 2002 9:07 PM
To: [EMAIL PROTECTED]
Subject: jsessionid embedded to javascipt


Hi! All 

I am currently using struts 1.1b with Tomcat.
 I am using   like this 

"abc"<
/html:link> 

In javascript popup function I am opening a new window


function popup(argDivName,argDevCode,argStyleCode,argCategory,argAssetId,
 argColorWayId,argRegionCode,argVersion,argCycleCode){   
 var queryString = "";
 queryString += '?id='+argDivName;
 queryString += '&devCode='+argDevCode;
 queryString += '&styleCode='+argStyleCode;
 queryString += '&category='+argCategory;
 queryString += '&assetId='+argAssetId;
 queryString += '&colorwayId='+argColorWayId;
 queryString += '&region='+argRegionCode;   
 queryString += '&version='+argVersion;
 queryString += '&lifeCycleCode='+argCycleCode;  
 
 temp1 =
'<%=request.getContextPath()%>/PostImageDetailReportAction.action';
 temp1 = temp1 + queryString;
 alert(temp1.length);
  window.open(temp1, '_blank',
'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=7
00,height=450,left=200,top=250');
}


I noticed that the jsessionid is embedded with javascript. For example,  
abc 

This is causing a browser error. 

When I refresh the screen the jsessionId removes from the javascript part.
and it works fine. how can I remove the jsessionId from the javascript
function.



Regards
Sandeep

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




jsessionid embedded to javascipt

2002-10-30 Thread Sandeep Karnwal, Noida
Hi! All 

I am currently using struts 1.1b with Tomcat.
 I am using   like this 

"abc"<
/html:link> 

In javascript popup function I am opening a new window


function popup(argDivName,argDevCode,argStyleCode,argCategory,argAssetId,
 argColorWayId,argRegionCode,argVersion,argCycleCode){   
 var queryString = "";
 queryString += '?id='+argDivName;
 queryString += '&devCode='+argDevCode;
 queryString += '&styleCode='+argStyleCode;
 queryString += '&category='+argCategory;
 queryString += '&assetId='+argAssetId;
 queryString += '&colorwayId='+argColorWayId;
 queryString += '®ion='+argRegionCode;   
 queryString += '&version='+argVersion;
 queryString += '&lifeCycleCode='+argCycleCode;  
 
 temp1 =
'<%=request.getContextPath()%>/PostImageDetailReportAction.action';
 temp1 = temp1 + queryString;
 alert(temp1.length);
  window.open(temp1, '_blank',
'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=7
00,height=450,left=200,top=250');
}


I noticed that the jsessionid is embedded with javascript. For example,  
abc 

This is causing a browser error. 

When I refresh the screen the jsessionId removes from the javascript part.
and it works fine. how can I remove the jsessionId from the javascript
function.



Regards
Sandeep

--
To unsubscribe, e-mail:   
For additional commands, e-mail: