ZK « ZK « JSP-Servlet Q&A





1. Zk with servlet and jsp    zkoss.org

I have my application in production and want change the view layer to put ZK there...I take all attributes in my jsp with request.getAttribute("xpto").. I want one way to get my attributes in my Zks components from the request.. I don't want use .zul and don't want create one more class to my jspHow is it possible? Expression lenguage maybe? How ...

3. ZK with JSP problems    zkoss.org

6. Single JSP in application problem    zkoss.org

java.lang.ClassCastException: org.zkoss.jsp.spec.v21.ZkJspApplicationContext cannot be cast to org.zkoss.jsp.spec.v21.ZkJspApplicationContext at org.zkoss.jsp.spec.v21.JspFactoryImpl.getJspApplicationContext(JspFactoryImpl.java:83) at org.apache.jsp.notice_005flist_jsp._jspInit(notice_005flist_jsp.java:24) at org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52) at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:159) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:106) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148) ...

7. ZK JSP    zkoss.org

8. How to get objects from servlet using jsp+zk    zkoss.org

Orignial message at: https://sourceforge.net/forum/message.php?msg_id=3826668 By: nobody Hi Henri, Let me try explain my doubt: I'm using zk components embedded on jsp files. In the example below I have two listboxes. The first one shows tree states from Brazil. When I select one item of first listbox the other listbox should show the cities from that state. The ideia is to get ...

9. Pass list to servlet    zkoss.org





10. Execution stopped pre-mature in .jsp    zkoss.org

Orignial message at: https://sourceforge.net/forum/message.php?msg_id=3883298 By: nobody I have the following codes. After the "delete" button is clicked, a message box will let the user to pick "OK" or "CANCEL" button, and then another message should indicate whether "OK" or "CANCEL" button is clicked. Unfortunately, the codes have different behavior in buth .zul and .jsp file. If they are run in .zul ...

11. update ZK Listbox from JSP    zkoss.org

12. How invoke method from jsp    zkoss.org

14. zk jsp help    zkoss.org

SEARCH BY: KEYWORD: import hibernate.Complainmaster; import com.hibernate.DAO.*; ComplainmasterHome complainmasterHome=new ComplainmasterHome(); void populate(){ Combobox c1=(Combobox)Path.getComponent("/combo1"); if(c1.getValue().equals("UA KEY")){ Combobox c2=(Combobox)Path.getComponent("/combo2"); String keyword=c2.getValue(); List list=(List)complainmasterHome.getListByUakey(keyword); Iterator it = list.iterator(); String[] data = new String[500]; int x=0; while(it.hasNext()){ ...

15. Captcha not Working in ZK-JSP    zkoss.org





18. Flash App + Servlet + ZK    zkoss.org

19. It is a bug?Language not foundextension jsp    zkoss.org

Orignial message at: https://sourceforge.net/forum/message.php?msg_id=3995031 By: hotcicada I have two jsp files: --------test.jsp---------- ">http://www.zkoss.org/2005/zul"> org.zkoss.zul.Window win = (org.zkoss.zul.Window)Executions.createComponents("test2.jsp", null, null); win.doModal(); and test.jsp -----------test2.jsp-------------- ">http://www.zkoss.org/2005/zul"> ...

20. Problem with JSP and ZK example    zkoss.org

Orignial message at: https://sourceforge.net/forum/message.php?msg_id=4004540 By: raidenx112 Hi, I been at this for a while but it just doesn't seem to work. I am following the example from ZK Small Talks. My files are as follows: JSP page, XHTML compliant, had it checked on the W3c Markup Validation Service ------------------------------------------------------------ ">http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

21. zk + jsp    zkoss.org

22. manage servlet response    zkoss.org

23. nOOb Question: ZKoss and JSP    zkoss.org

27. JSP Syntax    zkoss.org

28. JSP, ZK and Eclipse    zkoss.org

30. ZK with Servlet 2.3    zkoss.org

31. clientInfo with JSP    zkoss.org

32. ClientInfo in JSP    zkoss.org

Orignial message at: https://sourceforge.net/forum/message.php?msg_id=4506087 By: rudi_black hi guys... i need a hand for the clientInfo... the result is simply empty... infact somehow the event onClientInfo never get fired... i'm using the latest zk-RC.. the other thing.... how can i get the client's IP, O/S etc...? many thx -rudi- the zul : The macro ...

33. using namespace in jsp file    zkoss.org

34. How find ZK componet from servlet    zkoss.org

35. ZK y JSP    zkoss.org

Orignial message at: https://sourceforge.net/forum/message.php?msg_id=4602996 By: lolita20 Hola. Quiero hacer un sistema donde la interfaz utiliza ZK y JSP. ZK para la presentacion(imagenes, efectos graficos etc) y JSP para el manejo de peticiones. Es posible lograr esta conexion entre ZK y JSP?? o hay alguna restriccion?? Consigo muy poca documentacion y ejemplos sobre esto.Si tienen alguna referencia o ejemplo sobre esto seria ...

36. HTML ID not set on ZKOSS controls in JSP    zkoss.org

Orignial message at: https://sourceforge.net/forum/message.php?msg_id=4740370 By: kierangreen Hi, I am using ZKOSS to spruce up an older app that is all JSP's. However, there are a lot of javascript functions that rely on document.getElementById() If I stick to html tags and just use ZKOSS for panels etc things are ok-ish ... a lot of functions dont work for image replacement etc and ...

38. ListModel in JSP    zkoss.org

Orignial message at: https://sourceforge.net/forum/message.php?msg_id=4958806 By: roxcastaneda Im trying to add items on the list using JSP but i got this error; I used the list2.zul test by converting the syntax to JSP. import org.zkoss.zul.*; import org.zkoss.zul.AbstractListModel.*; import org.zkoss.zul.ListModelArray.*; import org.zkoss.zul.SimpleListModel.*; String[] d1 = new String[30]; List d2 = new LinkedList(); for(int j=0; j < d1.length; ++j) { d1[j] = "option ...

40. ZK with JSP    zkoss.org

Hello... I tried to setup the zk in a jsp file.. But there's always this error.. Failed to assign [id=z_06_0] to [div z_06_l] Invalid ID: z_06_0. Cause: reserved words not allowed: [arg, page, session, event, spaceOwner, desktop, self] I tried anybody ever saw a problem like this?? anyway thx for taking time.. greez

42. mixing jsp code with zk    zkoss.org

43. using JSPs and CustomTags with ZK    zkoss.org

Orignial message at: https://sourceforge.net/forum/message.php?msg_id=3688652 By: java-ca1 Can anyone please help me with this: in my POC I've defined a set of *.zul pages that implements a kind of "composite view" pattern, in this way I can have a nice side menu (tab based) and every time that the user selects an option I just replace the content of one of the ...

44. FusionInvoker in jsp    zkoss.org

46. Cant use foreach in jsp    zkoss.org

47. mix jsp and zuml???    zkoss.org

48. Biggener questions [zk with xslt snd servlet]    zkoss.org

hiI am new with zk. I have a questions about it:1) can I embed the zk code into servlet?2) I have a servlet that generate an xml file .this xml will be viewed with an xslt file.can I let the xml viewed by zk instead of xslt file.then let the zk load the tags from xhtml to generate the page?

49. How to use JSP directive in zk    zkoss.org

50. zk and jsp    zkoss.org

52. ZK Thread model. Servlet thread    zkoss.org

The developers guide says the zk thread model is simple, implying one shouldn't worry about concurrency. It is nice to know and makes very much sense to me since even though zk spawns a new thread for every event listener these listeners get treated one after another. So no concurrency. But what about sharing objects between threads? Say I have a ...

53. help with servlet    zkoss.org

54. Radio & JSP    zkoss.org

55. Using ZK5 in jsp    zkoss.org

It shall. We are going to release ZK JSP in the near future, and then some regression test will be taken before the release. However, the test cases we collect is never enough. Please test it against your application first -- at least, your application will run well in the next release:)