You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Sidhartha Jain <si...@rediffmail.com> on 2002/01/23 22:31:00 UTC

Href issue

Hi
I am having an issue with <html:link> tag of struts. I think I don't know how to use it.
Actually I have a java script fucntion which looks like this
function launchEdit(field, accField, relation, newType)
{
  currentField = document.editForm.field;
  currentAccField = document.editForm.accField;
  isRelation = relation;
var url = 'LoadObject.do?parent=true&action=Edit&type='+newType+'&accNum='+accField.value;
window.open(url,'CreateNew','height=500,width=550,resizable=1,scrollbars=1');
}
And it needs to be called by passing the parameters that would also be dynamic for me (which will change everytime we call it.)

Can Someone throw some light on this issue as to how we achieve this functionality .
I would be highly thankful to you.

Thanks in Advance
Sidhartha
 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Href issue

Posted by Ted Husted <hu...@apache.org>.
The best place to post a question like this is the Struts USER list.


Sidhartha Jain wrote:
> 
> Hi
> I am having an issue with <html:link> tag of struts. I think I don't know how to use it.
> Actually I have a java script fucntion which looks like this
> function launchEdit(field, accField, relation, newType)
> {
>   currentField = document.editForm.field;
>   currentAccField = document.editForm.accField;
>   isRelation = relation;
> var url = 'LoadObject.do?parent=true&action=Edit&type='+newType+'&accNum='+accField.value;
> window.open(url,'CreateNew','height=500,width=550,resizable=1,scrollbars=1');
> }
> And it needs to be called by passing the parameters that would also be dynamic for me (which will change everytime we call it.)
> 
> Can Someone throw some light on this issue as to how we achieve this functionality .
> I would be highly thankful to you.
> 
> Thanks in Advance
> Sidhartha
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Java Web Development with Struts.
-- Tel +1 585 737-3463.
-- Web http://www.husted.com/struts/

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>