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
Q: Can i use the standard <f:xxxConverter> nested <snappy:columns>??

Q: Can i render ice components (links,buttons,checkbox) nested <snappy:columns>??
hey great component.. very easy to use and good responsive!! :D
Hi, i have my application running in a Tomcat 6 server with Non-blocking IO (NioConnector), using ICEfaces 1.7.1. configured with the TomcatPushServlet. But i am notice that [INFO] log of ICEfaces said:

Code:
07-jul-2008 17:44 [INFO ] ICEfaces JSP parser disabled. This is a Facelets-only configuration. 
 07-jul-2008 17:44 [INFO ] Asynchronous HTTP Service available: false 
 07-jul-2008 17:47 [INFO ] Asynchronous HTTP Service available: false 
 07-jul-2008 17:47 [INFO ] Adapting to Send Updated Views environment. 
 07-jul-2008 17:47 [INFO ] GlassFish ARP available: false 
 07-jul-2008 17:47 [INFO ] Jetty ARP available: false 
 07-jul-2008 17:47 [INFO ] Adapting to Thread Blocking environment 


What that means?? My app is running in a "Thread Blocking environment" ? How can make sure that my app is running in nio mode??

My tomcat log said:

Code:
7/07/2008 04:30:55 PM org.apache.catalina.core.AprLifecycleListener init
 INFO: The APR based Apache Tomcat Native library.....
 7/07/2008 04:30:55 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
 INFO: Using a shared selector for servlet write/read
 7/07/2008 04:30:55 PM org.apache.coyote.http11.Http11NioProtocol init
 INFO: Inicializando Coyote HTTP/1.1 en puerto http-8084
 7/07/2008 04:30:55 PM org.apache.catalina.startup.Catalina load
 INFO: Initialization processed in 960 ms
 7/07/2008 04:30:55 PM org.apache.catalina.core.StandardService start
 INFO: Arrancando servicio Catalina
 7/07/2008 04:30:55 PM org.apache.catalina.core.StandardEngine start
 INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
 7/07/2008 04:30:56 PM org.apache.coyote.http11.Http11NioProtocol start


That means that the NioConnector is created and started, but i dont know if my iceApp is using that NIO advantages. Or is just paranoia?? hehe xD
Ohhh thanks, i going to test..
i tried with Z-index, but i dont know about IE bug with that property, ok i will find about it.. thanks.
Hi, there is a problem with popups things when caller component is inside a panelGroup with scrollable bars. The popup should appear outside the panelGroup over all. This only happen in IE7, Opera. Take a look the attached screenshoot:

dataPaginator is only for DataTables. But it should will work for any component that use lists or something like a dataModel. Maybe in some future.
i use
Code:
 <f:attribute name="blabla" value="#{asd}"/> 


instead param or something else, and works perfect. Example:

Code:
<ice:commandButton actionListener="#{myBean.doSomething}">
         <f:attribute name="beanID" value="#{bean.id}"/>
 </ice:commandButton>


And then in managed bean myBean doSomething acton

Code:
public void doSomething(ActionEvent evt){
      Long beanID = (Long)evt.getUIComponent().getAttributes().get("beanID");
      if(beanID!=null){
                  .....
         }
  
 }


You can get a reference to a backing bean from another using this function:


Code:
 public static <T> T getManagedBean(String beanName, Class<T> clazz) {
         FacesContext facesContext = FacesContext.getCurrentInstance();
         ExpressionFactory expressionFactory = facesContext.getApplication().getExpressionFactory();
         ValueExpression valueExpression = expressionFactory.createValueExpression(facesContext.getELContext(), "#{" + beanName + "}", clazz);
         return (T) valueExpression.getValue(facesContext.getELContext());
     }


You can use it like this:

Code:
 MyBean bean = getManagedBean("beanName",MyBean.class);
 bean.setXxx(..);
 bean.getXxx(..);
 


sorry for confusion, but before (with 1.7.0) i get a redirection when session expire and with connection lost nicely, mmm, SessionExpiredException should redirect too configuring an error page, right??

Ohh and thanks by your help, i going to update my svn copy!! xD
the JIRA said that CANNOT REPRODUCE my problem..

Please test with the next little application and let me know is works for anyone??

http://localhost:8080/TestConnectionRedirect/welcomeJSF.iface

is the main page.
awesome! i am ready too :D
Sorry for posting here, but i dont find that in the web!!
that happens to me too..

I also try with: java.lang.Exception but dont work!!
ok thanks. Ken i will wait

Dont worry that things happens always!!
 
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