Meaningless Drivel is fun!*
The moose likes JSF and the fly likes How to Get the maplink Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "How to Get the maplink" Watch "How to Get the maplink" New topic
Author

How to Get the maplink

S.Reddisekhar Reddy
Greenhorn

Joined: Jan 05, 2012
Posts: 29
In my application i used this code for getting map link,I am getting when i am click on that link ,but i am not getting that map when i am right click on that link and then click on open in new window or open in new tab

can you give suggestion for that,how can i approach


Code::

<script type="text/javascript">
function mapWindow(str){
window.open("http://www.map.google.com","_blank","menubar=yes,resizable=yes,scrollbars=yes,toolbar=yes,location=yes,");
return false;
}
</script>
<hutputLink id="map" styleClass="commandLink"
onclick="return mapWindow('#{displaySearch.status}');">
<hutputText id="text2" styleClass="outputText"
value="#{msg['label.findahealthcareprovidersearchresult.map']}"></hutputText>
</hutputLink>
 
 
subject: How to Get the maplink
 
Similar Threads
Need my rich:tree to be re loaded when I add a new entity to it
disabled issue for inputtext
richfaces:: richdatatable problem.
How to stop Richfaces replace <> with &lt; and &gt;
Take input from <h:inputText> in rich <modalPanel>