Messages posted by spect
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icesoft.org  [Login] Login 
Messages posted by: spect  XML
Profile for spect -> Messages posted by spect [5]
Author Message
Hi, Andreh and zark! Thanks for your replies.

Andrew, the solution with "action" works correctly. But it still doesn't work with ice:selectBooleanCheckbox because this component has not "action" attribute.

zark, i think that it is not a good idea to create a copy of array when i want to select all checkboxes because it influences on performance and memory expenses.
Hello, all!

My problem is:
1)i use dataTable component and i attached list for showing some data
the first column in dataTable is
'<ice:selectBooleanCheckbox partialSubmit="true" value="#{iter.selected}" />'
and it attached to bool field "selected" in backend

2) there is functionality on my page for "select all checkboxes" in dataTable;
i create method called "selectAll()" on backend that realizing such functionality.
3) i checked that on backend bean all objects in list have "selected" field setting in true, but on page it remains false.
3.1) when i refresh page by self all checkboxes are settings in true

3.2)i add some code in selectAll method that changes other data in list (for example for ice:ouputText )and it works fine;
all changes are happens without page refresh.

it seems to me that partial submit don't work for ice:selectBooleanCheckbox that involved into dataTable element, because when i put it on page (not into table) partial submit works fine


Thanks for any ideas and sorry for my English.

Thanks, Philip. I have one more question. I forget to say that i also use Seam in my application and all variables are managed by Seam Framework. And when i don't know exactly how to bind dataPaginator component to bean in this case.
Hello! I have one question. I put two components on my page. They are dataTable component and dataPaginator component that attached to dataTable by id. This work fine. I can see my data divided on several pages. But how can i know what exactly data rows are located on this page?? For example i want to add button that select all rows on page. How can i realize this functionality?
Hi!

I stuck in some problems when integrate my jboss application with icefase library.

I use tamahawk library only for tiles support. This main advantages is that
tiles-definitions can be sourced out into xml files.

Then a copy icefaces-comps.jar and icefaces.jar to my WEB-INF/lib folder and try to run application. There are no exceptions on deploy stage. Then i try to to open my page and see such exceptions:

exception

javax.servlet.ServletException: Cannot remove ServletRequest Parameter
javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

root cause

java.lang.UnsupportedOperationException: Cannot remove ServletRequest Parameter
org.apache.myfaces.context.servlet.RequestParameterMap.removeAttribute(RequestParameterMap.java:50)
org.apache.myfaces.context.servlet.AbstractAttributeMap.remove(AbstractAttributeMap.java:121)
com.icesoft.faces.application.D2DViewHandler.restoreView(D2DViewHandler.java:180)
org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.restoreView(JspTilesViewHandlerImpl.java:323)
org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:124)
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)




Can anybody explain this problem?
 
Profile for spect -> Messages posted by spect [5]
Go to:   
Powered by JForum 2.1.7ice © JForum Team