voyent
Messages posted by: Marioko  XML
Profile for Marioko -> Messages posted by Marioko [116] Go to Page: Previous  1, 2, 3, 4, 5, 6, 7, 8 Next 
Author Message
mmm rare.. :(

EDIT:
Remove ui:insert

also make sure that in include page you dont have <f:view> tags, normally in my include pages the root tag is a ice:panelGroup
i tested in IE7, also tried with Z-index, but dont work. The problem is tooltip is rendered inside the scrollable panelGroup if the panelGroupd is not scrollable then its work perfect.
I have a collection of products showed with a panelSeries, that is inside a scrollable panel group. I put a panelTooltip for each product but when the tooltip is visible is showed inside the scrollable region not on top of all. I try the z-index property but dont work..

Code:
  <ice:panelGroup  scrollHeight="488px">
         <ice:panelSeries value="#{insumo.queryResult}" var="ins">
             <ice:panelGroup>
                 <ice:panelGroup panelTooltip="insumoTooltip" draggable="true" styleClass="simpleRectangle"
                                 dragOptions="dragGhost"
                                 dragMask="dragging,drag_cancel,hover_end"
                                 dragValue="#{ins}"
                                 dragListener="#{ordenCompra.dragListener}"
                                 style="cursor:crosshair"
                                 onmouseovereffect="#{ordenCompra.buscadorHover}">                                
                     <ice:panelGrid columns="1">
                         <ice:outputLabel value="#{ins.codigo}" styleClass="smallFont"></ice:outputLabel>
                         <ice:outputText value="#{ins.nombre}" styleClass="smallFont"></ice:outputText>                
                     </ice:panelGrid>                
                 </ice:panelGroup>  
      
                 <ice:panelTooltip id="insumoTooltip" hoverDelay="1000" hideOn="mouseOut" style="width:170px;height:80px;z-order:1000; left-position:0px">
                     <f:facet name="header">
                         <ice:outputText value="#{ins.nombre}" styleClass="smallFont"></ice:outputText>
                     </f:facet>
                     <f:facet name="body">
                         <ice:panelGrid columns="2">
                             <ice:outputText value="Stock minimo:"/>
                             <ice:outputText value="#{ins.stockMinimo}"/>
                             <ice:outputText value="Existencias:"/>
                             <ice:outputText value="#{ins.existenciasBlue + ins.existenciasYellow}"/>
                         </ice:panelGrid>
                     </f:facet>
                 </ice:panelTooltip>
             </ice:panelGroup>
         </ice:panelSeries>
     </ice:panelGroup>


Variable "ins" is the current product. Note panelgroup scrollHeight="488px" this make a scrollable panelgroup

How can solve this problem???
i am answered you other post..

And yes.. you can include any kind of page that is well formed (Xhtml) and that page can contain more ice components and more includes.
make sure that link variable is not null. You can use c:if tag to test that.

<c:if test="#{navigationBean.link!=null}">
<ui:include src="#{navigationBean.link}"/>
</c:if> 
Can i read ice:outputMedia's child f:param in flash??? that parameters are renderer like <param> tag???

I need use flash buttons for submiting forms and i need send parameter to flash files..
Hi i notice that in pure HTML we can use diferent background per item in a select (ComboBox or List), like this:

Code:
<select name="select" id="select">
   <option style="background-color:#FF9900">Value 1</option>
   <option style="background-color:#FFFF99">Value 2</option>
   <option style="background-color:#009900">Value 3</option>
   <option style="background-color:#33CCFF">Value 4</option>
 </select>


How can we do the same but using <ice:selectOneMenu> and SelectItem???
Ohh thanks... i found it :D
Mmm rare..

panelTab is inside a form right???

this form should content the customerInformation.xhtml and "sub-ui:includes"...

Heeeyyy replace f:view in customerInformation.xhtml with f:subview... and in all include files... only the main file should have f:view
add a ice:panelGroup around ui:include like this.

<ice:panelTab ...>
<ice:panelGroup>
<ui:include ...>
</ice:panelGroup>
</ice:panelTab>
please show code of inclusion file
i dont use changelisteners, i just change partialSubmit to true, and then the set method is called everytime that the value is changed. Then i put what i need there..

for example

Code:
 public void setMyValue(String value){  //called when event is trigger
      if(value!=null){
              this.value = value;
              //do something with this value
       }
 }
try clean your web and server cache, and test adding some component to others tabs like a outputtext...

when i get some missing form exception and the form is theres i made a clean and everything works..

BTW i only used the second way...also you can add a ice:panelGroup around ui:include
i dont know how or why but i fixed that problem.. i just check all the body facet of panelPopups to avoid null content, also i remove all non-required context params... my web.xml is this:

Code:
<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
 <web-app>
     <context-param>
         <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
         <param-value>.jspx</param-value>
     </context-param>
     <context-param>
         <param-name>com.icesoft.faces.concurrentDOMViews</param-name>
         <param-value>false</param-value>
     </context-param>
     <context-param>
         <param-name>com.icesoft.faces.synchronousUpdate</param-name>
         <param-value>false</param-value>
     </context-param>
     <context-param>
         <param-name>com.icesoft.faces.debugDOMUpdate</param-name>
         <param-value>true</param-value>
     </context-param>
     <context-param>
         <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
         <param-value>server</param-value>
     </context-param> 
     <listener>
         <listener-class>com.icesoft.faces.util.event.servlet.ContextEventRepeater</listener-class>
     </listener>
     <listener>
         <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
     </listener>
     <servlet>
         <servlet-name>Persistent Faces Servlet</servlet-name>
         <servlet-class>com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
     </servlet>
     <servlet>
         <servlet-name>Blocking Servlet</servlet-name>
         <servlet-class>com.icesoft.faces.webapp.xmlhttp.BlockingServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
     </servlet>
     <servlet>
         <servlet-name>uploadServlet</servlet-name>
         <servlet-class>com.icesoft.faces.component.inputfile.FileUploadServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
     </servlet>
     <servlet>
         <servlet-name>Faces Servlet</servlet-name>
         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
     </servlet>   
     <servlet-mapping>
         <servlet-name>Persistent Faces Servlet</servlet-name>
         <url-pattern>/xmlhttp/*</url-pattern>
     </servlet-mapping>
     <servlet-mapping>
         <servlet-name>Persistent Faces Servlet</servlet-name>
         <url-pattern>*.iface</url-pattern>
     </servlet-mapping>
     <servlet-mapping>
         <servlet-name>Blocking Servlet</servlet-name>
         <url-pattern>/block/*</url-pattern>
     </servlet-mapping>
     <servlet-mapping>
         <servlet-name>uploadServlet</servlet-name>
         <url-pattern>/uploadHtml</url-pattern>
     </servlet-mapping> 
     <session-config>
         <session-timeout>
             30
         </session-timeout>
     </session-config>
     <welcome-file-list>
         <welcome-file>index.jsp</welcome-file>
         <welcome-file>index.html</welcome-file>
         <welcome-file>index.jspx</welcome-file>
     </welcome-file-list>

i have this bug too, but i get an exception.. "socket reset by peer", there are more people with this bug..

BTW test your app in others browser like FireFox or Safari and look if this bug show again.
 
Profile for Marioko -> Messages posted by Marioko [116] Go to Page: Previous  1, 2, 3, 4, 5, 6, 7, 8 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team