我从官方的Phonegap.com网站(开始使用Android)开始关注Phonegap的教程.
我已经按照所有步骤创建了项目.
现在我不明白问题出在哪里.它显示以下错误,如屏幕截图所示

这是我的HTML文件
<!DOCTYPE html>
<html>
<head>
<title>Notification Example</title>
<script type="text/javascript" charset="utf-8" src="cordova-2.0.0.js"></script>
<script type="text/javascript" charset="utf-8">
// Wait for Cordova to load
//
document.addEventListener("deviceready", onDeviceReady, false);
// Cordova is ready
//
function onDeviceReady() {
// Empty
}
// Show a custom alert
//
function showAlert() {
navigator.notification.alert(
'You are the winner!', // message
'Game Over', // title
'Done' // buttonName
);
}
// Beep three times
//
function playBeep() {
navigator.notification.beep(3);
}
// …Run Code Online (Sandbox Code Playgroud) 我想在JSF消息中嵌入一个链接,这可能吗?
当我尝试它时,h:messages标签的渲染html会转义html字符.我尝试将h:messages标记的escape属性设置为false,但这没有帮助.
Java EE 6 CDI事件是事务性的吗?
如果我在事务中触发事件,然后回滚事务,那么事件侦听器的效果是否也会回滚?
此行为是否依赖于支持事务的事件侦听器本身?
如果我尝试从事件监听器内部回滚异常,那么它是否回滚触发事件的事务?
我正在JSF 2中创建一个简单的菜单复合组件.但是,我无法将String属性传递给复合组件以在<h:commandLink>的action属性中使用.我的组件看起来像:
<composite:interface>
<composite:attribute name="title" required="true" type="java.lang.String"/>
<composite:attribute name="view" required="true" />
</composite:interface>
<!--implementation-->
<composite:implementation>
<li><h:commandLink action="#{cc.attrs.view}" value="#{cc.attrs.title}" /></li>
</composite:implementation>
Run Code Online (Sandbox Code Playgroud)
如何将动作String添加到<h:commandLink>的action属性中?
我正在使用新的JSF2 <h:link>标记,嵌套<f:param>链接到使用get请求的页面.但是,会话ID(cid)通过链接的查询parambeters传播到新页面.
可以用一个人来抑制会话传播<h:link>吗?即.网址中没有cid =#?