Hi,

At some point in my code a url is constructed. Below is the code used
to do this and the javascript function showing that nothing obscure is
being done in there.

<TD style="font-weight: bold">
<A href="javascript:popUpAcsPage('<%=TextConstants.ROOT_URL%>/<
%=TextConstants.ACS_PAGE_NAME%>?<
%=TextConstants.PROCESSED_PART_FOR_ACS_INFO_PARAMETER%>=<
%=item.getPartNumber()%>&<
%=TextConstants.REQUESTED_PART_FOR_ACS_INFO_PARAMETER%>=<
%=item.getPartNumber()%>&<
%=TextConstants.SHOW_COMMERCIAL_INFO_PARAMETER%>=Y')"><
%=ViewUtilities.formatPartNumber(item.getPartNumber())%></A>
</TD>

function popUpAcsPage(htmlfile) {
htmlWindow = window.open(htmlfile, 'ACS',
'resizable=1,width=800,height=200,top=20,left=20,toolbar=no,scrollbars=yes')
        htmlWindow.focus()
}

The code tells that some url is build up and some strings are
concatenated to get this url. One of the parameters added to the url
is a partnumber. While all normal partnumbers go well, these
containing a # - character trouble the generation of the popup page.

Is there something I could do about this to solve the problem without
having to rename all parts containing this # - character?

Greetings & thanks in advance,

Hamid

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to