voyent
Messages posted by: mads  XML
Profile for mads -> Messages posted by mads [20] Go to Page: 1, 2 Next 
Author Message
hi,
i have requirement on data table which performs the following operations

1)expand and collapse
2)each row will have different style /color
3)each cell in the row should be linkable
4)when clicked on the cell it should open a pop up.
what is the best approach for it
Hi,
i have a datatable which is a list of rows and each row has particular style
which i have implemented using rowstyle.but if i use a datapaginator on this table then the rowstyles are getting misplaced
for ext if i have 40 rows with 40 styles and the paging is done for every 10rows so i get 1234 pages and if i click on 2 page then the style of very first row is the style of last row of 1page is coming .can any one help
Did you solve your problem,i am having same issues
i have a 2 data tables in a page which are A and B.
so when a row is selected in table A then B is supposed to display
what is happening when i select a row using a rowselector event which again
calls the method A to load again .
my beans are in session
can any one help
i have a 2 data tables in a page which are A and B.
so when a row is selected in table A then B is supposed to display
what is happening when i select a row using a rowselector event which again
calls the method A to load again .
my beans are in session
can any one help
public class test implements renderable{
test()
{
super();

}

public void executemethod(Ationevent e){

used javascript to pen popup
window.open("test2.jspx)
}

}


test1.jspx:
<ice:commandLink actionListener="#{test.executemethod}">

so when test2.jspx is opened

it calls the constructor of test() class which is in session scope
how i shld avoid it bu jst opening test2.jspx
i open a datatable in popup window where the bean is in request scope.
i need to perform rowselect function for the datatable in popup window so that i can get detail information of that row.
but when i perform a rowselect operation then popupwindow tries to refresh and looses all the data .can any one help !
but i want the popup panel to be editable so i can perform the next action such as row selection on that panel and it contains main table+detail one .(this is only on popup) ie test2.jspx page
my bean is in session scope
i have the code like this
ice:commandlink actionlisterner=window.open("test.jspx?userid=**")
in the test.jspx when the page is opened
get initialise is called
in the useing request.getparam("userid) i get it. for the first time it sfine
but when i have to perform another rowselect option in table it goes null
thanks for the reply
i have the same code for the first time when the main table opens the popup table.
but i have to perform a row selector action on the popup.so when the row selector option is formed it executes the same code and gets the user id =null

here is error
rror converting Liferay User.
java.lang.NumberFormatException: null
at java.lang.Long.parseLong(Long.java:372)
at java.lang.Long.parseLong(Long.java:461)
at com.standart.portlet.LiferayUserTranslator.<init>(LiferayUserTranslator.java:19)

at com..dashboard.view.bean.backingbean.getInitialize(backingbeanjava:151)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:62)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
at org.apache.el.parser.AstValue.getValue(AstValue.java:114)
at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
at com.sun.facelets.el.ELText$ELTextVariable.writeText(ELText.java:184)
at com.sun.facelets.el.ELText$ELTextComposite.writeText(ELText.java:108)
at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:45)
at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:489)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:497)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:497)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:497)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:497)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:497)
at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:497)
at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:282)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:159)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:19)
at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:132)
at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:74)
at com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:31)
at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
at com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16)
at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53)
at com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(SessionVerifier.java:26)
at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:131)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
The tett.jspx?userid=test
For the first time when it opens from main table .so it looses the user id so i pass it in request params.
in the test.jspx fist it calls intialise method
and gets user id sets it so i get the first table
now when the row is selected in the test.jspx page it goes to the initalise method and try to get user id again (which is like a refresh) so since it could not find any thing there it throws exceptions
From the datatable i open a popup called test.jspx page
the test.jspx page displays a table depending on the cell i selected from main table.

till here things are fine i get the data in popup correctly
I have some other functionality todo in test.jspx page.
when a row is selected in test.jspx(which is a popup) i have to go session bean and get the details of the row in popup.

Now wht is happening when the row is selected on the test.jspx it is loosing all the param which is passed in the popup and gives me null pointer exception.
Can any one help on this

I have a datatable in my page.on click of that i have to open a popup window which shows another table. when some one selects some thing on the popup table i have show the detail data. problem when some one selects some thing on popup the entire page is getting refreshed .Can any one has same page
Hi all,

we have a datatable displayed using icedatatable and a command link is there for each cell to perform an action.when the command link is cliked a popup is being opened which is out side to my portlet.When 2 users are clicking on different cells at the same time the data they are saying what the other person has clicked.indeed both are getting same data instead of different .Can any body help
can anybody help me on this
 
Profile for mads -> Messages posted by mads [20] Go to Page: 1, 2 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team