Comments (4)
ex) <script src="http://maps.google.com/maps?file=api&v=2&...
from liftbook.
You need to put your script src inside a scala.xml.Unparsed:
<script src={Unparsed("http://maps.google.com/maps?file=api&v=2...")} />
otherwise, the "&" gets escaped to "&". See
http://scala.sygneca.com/faqs/xml
from liftbook.
thank you. but new error message.
1Uncaught TypeError: Object # has no method 'write'
GScriptmaps:1
GLoadMapsScriptmaps:1
(anonymous function)
what is this error message? please answer :-)
from liftbook.
Lift serves pages as XHTML by default. Google Maps does not work with XHTML. You should be able to search the Liftweb group for answers on how to fix that:
http://groups.google.com/group/liftweb/
from liftbook.
Related Issues (20)
- Add section on LiftSession
- Loggin section uses deprecated method HOT 3
- Add coverage of lift-jta
- Sample code of URL rewrite has compilation error. HOT 1
- Broken link on footer HOT 1
- SBT chapter HOT 2
- Missing angle bracket HOT 1
- Misprints in 13.5 HOT 1
- Listing 3.6: A Complex Rewrite Example HOT 3
- Cover new I18N support (XML based)
- Section on StreamingResponse is wrong HOT 1
- Add Tyler's flow charts on Lift porcessing
- Update standard imports HOT 1
- Listing 2.2 Pocket Change Account Entity. Error in import of Empty HOT 2
- Typo in sourcecode C.3 ActorPing
- Unclear that we shouldn't be developing alongside PocketChange
- Incorrect Description of MetaMapper.fieldOrder
- Calculating Locale Based on Cookies invalid characters (fix code)
- Update Section 4.6 Head and Tail Merge for HTML5
- Section 1.1 : Typo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from liftbook.