RE: Failing to get an answer,can it be done?

2003-09-08 Thread Das, Amar
Thanks Mike.  It is working now.


-Original Message-
From: Mike Jasnowski [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 05, 2003 5:37 PM
To: Struts Users Mailing List
Subject: RE: Failing to get an answer,can it be done?

Are you sure the value isn't getting reset before it gets to your page? I
assume no exceptions are being thrown which prevent the field from
initializing, I saw earlier you're initializing this value in the
constructor.  What happens if you just leave the value assigned from the
private instance var and have the accessor retrive that w/o the stuff in the
constructor?

> 

>From your example, I also assume you retrieved the MapForm object from the
session in the proper scope?

-Original Message-
From: Das, Amar [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 4:37 PM
To: 'Struts Users Mailing List'
Subject: RE: Failing to get an answer,can it be done?




Thanks. But it is not working.
In my form bean (MapForm) I am setting the following variable
public class MapForm extends ActionForm {

  /* Map Source*/
  private String
mapSource="http://geo.tpmc.com/output/dqs_GEO2056217212.jpg";;
  .

  public MapForm(){
try {

mapSource = map.getMapOutput().getURL();
.

Then on my jsp page I am using the following


Any suggestion?

-Original Message-
From: Mike Jasnowski [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 3:16 PM
To: Struts Users Mailing List
Subject: RE: Failing to get an answer,can it be done?

Sure,



or wi html-el

mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 2:24 PM
To: [EMAIL PROTECTED]
Subject: Failing to get an answer,can it be done?


Hi,

Is it possible to set the src URL of an input image tag in the action form?
For example, how can I assign a URL dynamically to the src attribute of an
input tag of type image?







Thanks

-
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]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Failing to get an answer,can it be done?

2003-09-05 Thread Mike Jasnowski
Are you sure the value isn't getting reset before it gets to your page? I
assume no exceptions are being thrown which prevent the field from
initializing, I saw earlier you're initializing this value in the
constructor.  What happens if you just leave the value assigned from the
private instance var and have the accessor retrive that w/o the stuff in the
constructor?

> 

>From your example, I also assume you retrieved the MapForm object from the
session in the proper scope?

-Original Message-
From: Das, Amar [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 4:37 PM
To: 'Struts Users Mailing List'
Subject: RE: Failing to get an answer,can it be done?




Thanks. But it is not working.
In my form bean (MapForm) I am setting the following variable
public class MapForm extends ActionForm {

  /* Map Source*/
  private String
mapSource="http://geo.tpmc.com/output/dqs_GEO2056217212.jpg";;
  .

  public MapForm(){
try {

mapSource = map.getMapOutput().getURL();
.

Then on my jsp page I am using the following


Any suggestion?

-Original Message-
From: Mike Jasnowski [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 3:16 PM
To: Struts Users Mailing List
Subject: RE: Failing to get an answer,can it be done?

Sure,



or wi html-el

mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 2:24 PM
To: [EMAIL PROTECTED]
Subject: Failing to get an answer,can it be done?


Hi,

Is it possible to set the src URL of an input image tag in the action form?
For example, how can I assign a URL dynamically to the src attribute of an
input tag of type image?







Thanks

-
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]



RE: Failing to get an answer,can it be done?

2003-09-05 Thread Das, Amar


Thanks. But it is not working.
In my form bean (MapForm) I am setting the following variable
public class MapForm extends ActionForm {

  /* Map Source*/
  private String
mapSource="http://geo.tpmc.com/output/dqs_GEO2056217212.jpg";;
  .
  
  public MapForm(){
try {

mapSource = map.getMapOutput().getURL();
.

Then on my jsp page I am using the following


Any suggestion?

-Original Message-
From: Mike Jasnowski [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 05, 2003 3:16 PM
To: Struts Users Mailing List
Subject: RE: Failing to get an answer,can it be done?

Sure, 



or wi html-el

mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 2:24 PM
To: [EMAIL PROTECTED]
Subject: Failing to get an answer,can it be done?


Hi,

Is it possible to set the src URL of an input image tag in the action form?
For example, how can I assign a URL dynamically to the src attribute of an
input tag of type image?







Thanks

-
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]



RE: Failing to get an answer,can it be done?

2003-09-05 Thread Mike Jasnowski
Sure, 



or wi html-el

mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 2:24 PM
To: [EMAIL PROTECTED]
Subject: Failing to get an answer,can it be done?


Hi,

Is it possible to set the src URL of an input image tag in the action form?
For example, how can I assign a URL dynamically to the src attribute of an
input tag of type image?







Thanks

-
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]