[iPlanet-JATO] Re: Ampersands being replaced with semi colons

John,

What version of iAS are you using?

What version of JATO are you using?

I just did a test using iAS 6.0 SP2 on NT with JATO 1.1.1.

Web server iWS 4.1 and Browser IE 5.50.

I tested entering some values containing embedded "&" into form fields

(example "A&A")

On submit, i did getValue just like you and echoed the results.

TextBox3.getValue|A&A|

So it looks ok on my end.

-- Original Message --

From: <<a href="/group/SunONE-JATO/post?protectID=045233214185035072184061031219062187136 058163234043109182038048211051209020212152159127177">john.gertsch@h...</a& gt;>

Sent: Friday, March 23, 2001 1:57 PM

Subject: [iPlanet-JATO] Re: Ampersands being replaced with semi colons

> Matt:

>

> Yes, I am using iPlanet Application Server.

>

> John

>

> In <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166136 158139046209">iPlanet-JATO@y...</a>, "Matthew Stevens" <<a href="/group/SunONE-JATO/post?protectID=029166114165042198028082000056130080177 026031196184130152150">matthew.stevens@E...</a>>

> wrote:

> > John,

> >

> > Are you using iAS?

> >

> > matt

> >

> > > --Original Message--

> > > From: <a href="/group/SunONE-JATO/post?protectID=045233214185035072184061031219062187136 058139046209">john.gertsch@h...</a>

> > > [mailto:<a href="/group/SunONE-JATO/post?protectID=045233214185035072184061031219062187136 058139046209">john.gertsch@h...</a>]

> > > Sent: Friday, March 23, 2001 11:00 AM

> > > Subject: [iPlanet-JATO] Ampersands being replaced with semi colons

> > >

> > >

> > > I have a data entry screen which allows the user to type in a

> company

> > > name. If the user types in a name like A&A, the first println

> shows

> > > A;A. The second println shows A&A again. Is this a feature? The

> > > following code is under the update button for the page:

> > >

> > > public void handleBtUpdateRequest(RequestContext

> requestContext)

> > > throws ServletException, IOException

> > > {

> > > System.out.println("Web Event: "+getClass().getName()

> > > +".BtUpdate");

> > > Button field = getBtUpdate();

> > > field.mapSourceTargetNVPs();

> > > String strCompanyName = getCompanies_company().getValue

> > > ().toString().trim();

> > > System.out.println("strCompanyName=" + strCompanyName);

> > > /// WHY, WHY, WHY?

> > > strCompanyName = Utils.replace(strCompanyName, ";", "&");

> > > System.out.println("strCompanyName=" + strCompanyName);

> > >

> > > Please look into this.

> > > Thanks,

> > > John Gertsch

> > > Hunter Douglas, Inc.

> > >

> > >

> > >

> > >

> > > <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215 146166214017110250006230056039126077176105140127082088124241215002153">iPlane t-JATO-unsubscribe@egroups.com</a>

> > >

> > >

> > >

> > >

> > >

> > >

>

>

>

> <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215 146166214017110250006230056039126077176105140127082088124241215002153">iPlane t-JATO-unsubscribe@egroups.com</a>

>

>

>

>

>

>

[4067 byte] By [Guest] at [2007-11-25 9:30:18]
# 1

John,

Another thing.

Can you reproduce the same problem on another data entry screen in your

application, or even in a simple test application?

Maybe it is something particular to the page you are focused on.

-- Original Message --

From: "Mike Frisino" <<a href="/group/SunONE-JATO/post?protectID=174176219122158198138082063148231088239 026066196077193234150166091061">Michael.Frisino@s...</a>>

Sent: Friday, March 23, 2001 5:19 PM

Subject: Re: [iPlanet-JATO] Re: Ampersands being replaced with semi colons

> John,

>

> What version of iAS are you using?

> What version of JATO are you using?

>

> I just did a test using iAS 6.0 SP2 on NT with JATO 1.1.1.

> Web server iWS 4.1 and Browser IE 5.50.

>

> I tested entering some values containing embedded "&" into form fields

> (example "A&A")

> On submit, i did getValue just like you and echoed the results.

>

> TextBox3.getValue|A&A|

>

> So it looks ok on my end.

>

>

> -- Original Message --

> From: <<a href="/group/SunONE-JATO/post?protectID=045233214185035072184061031219062187136 058163234043109182038048211051209020212152159127177">john.gertsch@h...</a& gt;>

> Sent: Friday, March 23, 2001 1:57 PM

> Subject: [iPlanet-JATO] Re: Ampersands being replaced with semi colons

>

>

> > Matt:

> >

> > Yes, I am using iPlanet Application Server.

> >

> > John

> >

> > In <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166136 158139046209">iPlanet-JATO@y...</a>, "Matthew Stevens" <<a href="/group/SunONE-JATO/post?protectID=029166114165042198028082000056130080177 026031196184130152150">matthew.stevens@E...</a>>

> > wrote:

> > > John,

> > >

> > > Are you using iAS?

> > >

> > > matt

> > >

> > > > --Original Message--

> > > > From: <a href="/group/SunONE-JATO/post?protectID=045233214185035072184061031219062187136 058139046209">john.gertsch@h...</a>

> > > > [mailto:<a href="/group/SunONE-JATO/post?protectID=045233214185035072184061031219062187136 058139046209">john.gertsch@h...</a>]

> > > > Sent: Friday, March 23, 2001 11:00 AM

> > > > Subject: [iPlanet-JATO] Ampersands being replaced with semi colons

> > > >

> > > >

> > > > I have a data entry screen which allows the user to type in a

> > company

> > > > name. If the user types in a name like A&A, the first println

> > shows

> > > > A;A. The second println shows A&A again. Is this a feature? The

> > > > following code is under the update button for the page:

> > > >

> > > > public void handleBtUpdateRequest(RequestContext

> > requestContext)

> > > > throws ServletException, IOException

> > > > {

> > > > System.out.println("Web Event: "+getClass().getName()

> > > > +".BtUpdate");

> > > > Button field = getBtUpdate();

> > > > field.mapSourceTargetNVPs();

> > > > String strCompanyName = getCompanies_company().getValue

> > > > ().toString().trim();

> > > > System.out.println("strCompanyName=" + strCompanyName);

> > > > /// WHY, WHY, WHY?

> > > > strCompanyName = Utils.replace(strCompanyName, ";", "&");

> > > > System.out.println("strCompanyName=" + strCompanyName);

> > > >

> > > > Please look into this.

> > > > Thanks,

> > > > John Gertsch

> > > > Hunter Douglas, Inc.

> > > >

> > > >

> > > >

> > > >

> > > > <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215 146166214017110250006230056039126077176105140127082088124241215002153">iPlane t-JATO-unsubscribe@egroups.com</a>

> > > >

> > > >

> > > >

> > > >

> > > >

> > > >

> >

> >

> >

> > <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215 146166214017110250006230056039126077176105140127082088124241215002153">iPlane t-JATO-unsubscribe@egroups.com</a>

> >

> >

> >

> >

> >

> >

>

>

>

> <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215 146166214017110250006230056039126077176105140127082088124241215002153">iPlane t-JATO-unsubscribe@egroups.com</a>

>

>

>

>

>

>

Guest at 2007-7-1 16:36:50 > top of Java-index,Development Tools,Java Tools...