I am trying to get a link that displays the tracking number in a
WORepetition.
The tracking number is in the link so that the page comes up showing
what happened with that particular package.
Here's an example:
Part Number Tracking Number Shipping Company
123zx 8574365475 Fed-Ex
222qw 1z2xx1203475 UPS
MS122 3n3n3n3333 DHL
The tracking numbers in this example would show up as links to the
shipping companies web sites, and in the link it would insert the
tracking number so that the particular package details would show on
the screen. Here is the basic html goal:
<a href="http://www.ups.com?id= 8574365475"
target="_blank">8574365475</a>
Right now it is in Javascript and it looks like this (not my code):
<script>
function openWindow(url) {
popupWin = window.open(url, 'new_page',
'top=15,left=15,width=650,height=475,scrollbars=yes')
}
</script>
<snip>
<a Title="Click to view Tracking Info" href="Javascript:
openWindow('http://wwwapps.ups.com/etracking/tracking.cgi?
tracknums_displayed=5&TypeOfInquiryNumber=T&HTMLVersion=4.0&InquiryNu
mbe
r1= 8574365475');">
<Font Color=blue >8574365475</font>
</a>
Any advice is welcome. I wrote a method that worked well for html
version, but I don't yet know how to insert the tracking number into
the link. My page has is a Display Group displaying a EOUtilities
fetch.
public NSArray objectsByUser() {
return
EOUtilities.objectsMatchingKeyAndValue(session().defaultEditingContex
t()
,
"Xyourorderstat",
"username",
((Session)session()).getLogin());
}
I want to point out that, either Javascript or html, I need access to
the data in the method, because I need to determine which shipping
company's website to go to.
Justin Tocci
Fort Wayne, IN
(last time I didn't give enough info, sorry if I gave too much)