Kevin,

Yes your url needs to start with http://

You can do a quick test trying to hardcode the url instead of getting it from 
#{nextBean.description.url}, using the url 'www.google.com' it fails (you get a 
404 cause it looks for this page within your context root), but 
'http://www.google.com' works.

Notice that depending on the returned value of your #{nextBean.name} you can 
experience some problems, as javascript doesn't allow for special characters 
(whitespaces e.g.) in the name parameter. 

I'm using popups in JSF a lot, and I've done a popup-function that seems to 
work properly in all cases, for both IE and Firefox.

I'll leave you a link to a post on my blog that describes this one :)

http://roneiv.wordpress.com/2008/01/18/open-a-popup-window-in-javascript-with-windowopen-crossbrowser-solution/

Regards,

Eivind

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 12. mars 2008 16:46
To: [email protected]
Subject: Re: Simple popup window with external URL

The value returned starts with "www.".
Should that value start with "http://www."; instead?


Best Regards
Kevin


> Hello Kevin,
> 
> The value returned by #{nextBean.description.url} is
> that a relative or absolute path?
> If it's relative, then the browser will tack on the base URL of the
> enclosing page.  It must
> be absolute for web sites external to you webapp.
> 
> HTH,
> Bryan
_______________________________________________________________
Schon gehört? Der neue WEB.DE MultiMessenger kann`s mit allen: 
http://www.produkte.web.de/messenger/?did=3015

Reply via email to