You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by me...@assetmanagement.natexis.fr on 2003/06/10 15:54:20 UTC

passing parameters in a popup function via html link

When I call a popup fucntion in the onclick attribute
from the html link tag.
I see a blank page.

here is my code :
<html:link page="" onclick="popup('<%=editUrl%>')"><bean:write name="articleView" property="titre"/></html:link>

below the editUrl scriplet

<bean:define id="code" name="articleView" property="codeArticle" type="java.lang.String"/> 
                        <%
                        String 
editUrl="/editArticle.do?codeArticle="+code;
                        %>

the popup function just open a popup.

Can someone explain me why editUrl is not called .

Meissa

L'integrite de ce message n'etant pas assuree sur internet, Natexis
Banques Populaires ne peut etre tenu responsable de
son contenu. Toute utilisation ou diffusion non autorisee est
interdite. Si vous n'etes pas destinataire de ce message, merci de le
detruire et d'avertir l'expediteur.

The integrity of this message cannot be guaranteed
on the Internet. Natexis Banques Populaires can not therefore be
considered responsible for the contents.Any unauthorized use or dissemination is prohibited.
If you are not the intended recipient of this message, then please delete it and 
notify the sender.