powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Java [игнор отключен] [закрыт для гостей] / Jdeveloper, tag file и PanelPage
1 сообщений из 1, страница 1 из 1
Jdeveloper, tag file и PanelPage
    #34750267
RR123
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Добрый день!

сделал tag-file :
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
86.
87.
88.
89.
<?xml version = '1.0' encoding = 'windows-1251'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:af="http://xmlns.oracle.com/adf/faces">
  <jsp:directive.attribute name="title"/>
  <jsp:directive.attribute name="icon"/>
  <f:loadBundle basename="xxx.view.resources.UIResources" var="res"/>
  <af:panelPage inlineStyle="font-family:helvetica; font-size:smaller; font-style:normal;"
                quickLinksShown="true">
    <jsp:doBody/>
    <f:facet name="branding">
      <f:subview id="branding" rendered="#{xxxProperties.drawBranding}">
        <af:objectImage source="#{xxxProperties.brandingImage}"/>
        <af:outputFormatted value="#{xxxProperties.brandingText}"/>
      </f:subview>
    </f:facet>
    <f:facet name="brandingApp">
      <f:subview id="brandingApp" rendered="#{xxxProperties.drawBrandingApp}">
        <af:objectImage source="#{xxxProperties.brandingAppImage}"/>
        <af:outputFormatted value="#{xxxProperties.brandingAppText}"/>
      </f:subview>
    </f:facet>
    <f:facet name="menuGlobal">
      <af:menuButtons var="menuGlobalOptions" value="#{menuModel.model}"
                      inlineStyle="height:32.0pt;">
        <f:facet name="nodeStamp">
          <af:commandMenuItem text="#{menuGlobalOptions.label}"
                              action="#{menuGlobalOptions.getOutcome}"
                              rendered="#{menuGlobalOptions.type=='global'}"
                              icon="#{menuGlobalOptions.icon}"
                              inlineStyle="height:32.0pt;"/>
        </f:facet>
      </af:menuButtons>
    </f:facet>
    <f:facet name="menu1">
      <af:menuTabs var="menu1Options" value="#{menuModel.model}">
        <f:facet name="nodeStamp">
          <af:commandMenuItem text="#{menu1Options.label}"
                              action="#{menu1Options.getOutcome}"
                              rendered="#{menu1Options.type=='default'}"
                              icon="#{menu1Options.icon}"/>
        </f:facet>
      </af:menuTabs>
    </f:facet>
    <f:facet name="menu2">
      <af:menuBar var="menu2Options" startDepth="1" value="#{menuModel.model}">
        <f:facet name="nodeStamp">
          <af:commandMenuItem text="#{menu2Options.label}"
                              action="#{menu2Options.getOutcome}"
                              rendered="#{menu2Options.type=='default'}"
                              disabled="#{menu2Options.readOnly}"/>
        </f:facet>
      </af:menuBar>
    </f:facet>
    <f:facet name="menu3">
      <af:menuList var="menu33Options" startDepth="2"
                   value="#{menuModel.model}">
        <f:facet name="nodeStamp">
          <af:commandMenuItem text="#{menu33Options.label}"
                              action="#{menu33Options.getOutcome}"/>
        </f:facet>
      </af:menuList>
    </f:facet>
    <f:facet name="appCopyright"/>
    <f:facet name="appPrivacy"/>
    <f:facet name="appAbout"/>
    <f:facet name="infoSupplemental">
      <!--
      <af:panelGroup layout="vertical">
        <tags:SpecDesinger/>
        <af:objectSpacer width="10" height="10"/>
        <tags:SpecTecnology/>
      </af:panelGroup>
      -->
    </f:facet>
    <f:facet name="infoUser">
      <!-- Show the Logged in user
      -->
      <af:panelGroup layout="horizontal">
        <af:objectImage source="#{UserInfo.userIcon}"
                        rendered="#{UserInfo.authenticated}"/>
        <af:objectSpacer width="10" height="10"/>
        <h:outputText value="#{UserInfo.userName}" escape="false"
                      rendered="#{UserInfo.authenticated}"/>
      </af:panelGroup>
    </f:facet>
  </af:panelPage>
</jsp:root>

этот тэг вставляю в jsfx странички вэб приложения,
при этом в runtime (по встроенным oc4j) - все работает как нужно

а в desing PanelPage отображается некорректно,
после вставки любых компонентов в этот тэг - в desing ничего не прорисовывается. Т.о. разработку можно делать только в source, что часто очень неудобно.

подозреваю, что неправильно сделал tag-file, но что неправильно - пока не понял.
если кто-то сталкивался - pls подскажите куда копать и что почитать....

фрагмент странички с использованием этого тэга:
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
<?xml version='1.0' encoding='windows-1251'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:af="http://xmlns.oracle.com/adf/faces"
          xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
          xmlns:tags="urn:jsptagdir:/WEB-INF/tags/">
  <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
              doctype-system="http://www.w3.org/TR/html4/loose.dtd"
              doctype- public ="-//W3C//DTD HTML 4.01 Transitional//EN"/>
  <jsp:directive.page contentType="text/html;charset=windows-1251"/>
  <f:view>
    <f:loadBundle basename="xxx.view.resources.UIResources" var="res"/>
    <afh:html>
      <afh:head title="#{res['xxx.application.xxx.title']}">
        <meta http-equiv="Content-Type"
              content="text/html; charset=windows-1251"/>
      </afh:head>
      <afh:body>
        <af:messages/>
        <af:form>
<!-- начало проблемного тэга -->
          <tags:XxxPagePanel>
            <af:panelGroup layout="horizontal">
              <af:objectImage source="#{res['xxx.application.xxx.icon']}"/>
            </af:panelGroup>
          </tags:XxxPagePanel>          
<!-- конец проблемного тэга -->
        </af:form>
      </afh:body>
    </afh:html>
  </f:view>
</jsp:root>
...
Рейтинг: 0 / 0
1 сообщений из 1, страница 1 из 1
Форумы / Java [игнор отключен] [закрыт для гостей] / Jdeveloper, tag file и PanelPage
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]