小编Mar*_*oky的帖子

为什么eclipse中的facelet html验证器花费了无穷的时间

我正在使用Eclipse Luna来实现JSF2.1 Web应用程序,每次我打开项目时,facelet HTML验证器启动,我习惯了eclipse Helios并且它在验证时比luna更快,我不想禁用验证器或者AppXray.我只是不想忍受它

请指教

eclipse facelets jsf-2 eclipse-luna

8
推荐指数
0
解决办法
1370
查看次数

核心jsf中outputPanel的等效组件

我面临的情况是我必须使用组件包装程序,或者在primefaces中执行与“ outputPanel”相同的操作。你知道任何 ?

java jsf

2
推荐指数
1
解决办法
2565
查看次数

如果使用外部URL,则不在JSF中呈现IFrame

当我在引用外部网页的JSF页面中使用IFrame时.页面未呈现.

JSF代码:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">

<f:loadBundle basename="resources.application" var="msg" />
<h:head>
<title>E-Payment Gateway</title>
<link type="text/css" rel="stylesheet"
    href="${facesContext.externalContext.requestContextPath}/resources/css/main_style.css" />

</h:head>

<h:body>
<f:view>
     <div style="height: 200px;">

    </div> 
    <div class="centercol" style="margin: auto;position: relative">
        <iframe
            src="http://google.com">
        </iframe>
    </div>
</f:view>
</h:body>
Run Code Online (Sandbox Code Playgroud)

HTML结果

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>

<title>E-Payment Gateway</title>

<link type="text/css" rel="stylesheet" href="/EPG_WEB_CUST/resources/css/main_style.css" /></head><body>
     <div style="height: 200px;">

    </div> 
    <div class="centercol" style="margin: auto;position: relative">
        <iframe …
Run Code Online (Sandbox Code Playgroud)

iframe jsf

0
推荐指数
1
解决办法
1604
查看次数

标签 统计

jsf ×2

eclipse ×1

eclipse-luna ×1

facelets ×1

iframe ×1

java ×1

jsf-2 ×1