Use p:gmap with address.

UI Components for JSF
smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

25 Jan 2012, 23:24

optimus.prime wrote:Is this related to;

http://code.google.com/p/primefaces/iss ... il?id=1629
Yes, and Issue 1629 is similar to (or duplicate of) Issue 3220.
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

proverbio
Posts: 6
Joined: 16 Apr 2013, 18:29

04 Feb 2014, 22:40

@djmj

Hi, Is your code working?

I have a problem with the line

<p:commandButton onclick="geocodeAddress(\'#{component.parent.findComponent('name').clientId}\',
\'#{component.parent.findComponent('lat').clientId}\',
\'#{component.parent.findComponent('lng').clientId}\',
5,
#{p:widgetVar('cityMap')}.getMap())"/>

Exception:
Caused by: javax.el.ELException: Problems calling function 'p:widgetVar'

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 27 guests