Link to external sites...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Link to external sites...

Bejoy Zac
How I can provide a link to external site for eg; www.google.com from my application.
I tried but this link is appended to "localhost:8080/" and I'm getting an error page.
Reply | Threaded
Open this post in threaded view
|

RE: Link to external sites...

Tim McGuire-2
Try putting http:// in front of the URL in your link  so it is
http://www.google.com

>
> How I can provide a link to external site for eg;
> www.google.com from my application.
> I tried but this link is appended to "localhost:8080/" and
> I'm getting an error page.
Reply | Threaded
Open this post in threaded view
|

RE: Link to external sites...

Bilgin Ibryam
Here is an example from ofbiz:

    <request-map uri="yahoo">
        <response name="success" type="url" value="http://www.yahoo.com"/>
    </request-map>


Tim McGuire-2 wrote
Try putting http:// in front of the URL in your link  so it is
http://www.google.com

>
> How I can provide a link to external site for eg;
> www.google.com from my application.
> I tried but this link is appended to "localhost:8080/" and
> I'm getting an error page.
Reply | Threaded
Open this post in threaded view
|

Re: Link to external sites...

lshein
Can a url type also be an internale Ofbiz link
for ex:

    <request-map uri="orderManagerPage">
        <response name="success" type="url" value="orderManager/>
    </request-map>

----- Original Message -----
From: "Bilgin" <[hidden email]>
To: <[hidden email]>
Sent: Tuesday, July 17, 2007 6:21 AM
Subject: RE: Link to external sites...


>
> Here is an example from ofbiz:
>
>    <request-map uri="yahoo">
>        <response name="success" type="url" value="http://www.yahoo.com"/>
>    </request-map>
>
>
>
> Tim McGuire-2 wrote:
>>
>> Try putting http:// in front of the URL in your link  so it is
>> http://www.google.com
>>
>>>
>>> How I can provide a link to external site for eg;
>>> www.google.com from my application.
>>> I tried but this link is appended to "localhost:8080/" and
>>> I'm getting an error page.
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/Link-to-external-sites...-tf4085682.html#a11646672
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Link to external sites...

Jacques Le Roux
Administrator
In this case you should better use a view (plenty of examples in any controller.xml)

Jacques

De : "Len" <[hidden email]>

> Can a url type also be an internale Ofbiz link
> for ex:
>
>     <request-map uri="orderManagerPage">
>         <response name="success" type="url" value="orderManager/>
>     </request-map>
>
> ----- Original Message -----
> From: "Bilgin" <[hidden email]>
> To: <[hidden email]>
> Sent: Tuesday, July 17, 2007 6:21 AM
> Subject: RE: Link to external sites...
>
>
> >
> > Here is an example from ofbiz:
> >
> >    <request-map uri="yahoo">
> >        <response name="success" type="url" value="http://www.yahoo.com"/>
> >    </request-map>
> >
> >
> >
> > Tim McGuire-2 wrote:
> >>
> >> Try putting http:// in front of the URL in your link  so it is
> >> http://www.google.com
> >>
> >>>
> >>> How I can provide a link to external site for eg;
> >>> www.google.com from my application.
> >>> I tried but this link is appended to "localhost:8080/" and
> >>> I'm getting an error page.
> >>
> >>
> >
> > --
> > View this message in context:
> > http://www.nabble.com/Link-to-external-sites...-tf4085682.html#a11646672
> > Sent from the OFBiz - User mailing list archive at Nabble.com.
> >
> >
> >
>