- This topic has 1 reply, 1 voice, and was last updated 18 years, 10 months ago by markjohansson.
-
AuthorPosts
-
markjohanssonMemberHi
My setup:
– eclipse 3.1 build I20050627-1435
– myeclipse version 4.0.2 M2, build 20051205-4.1-Milestone 2
– jdk jdk1.5.0_02There’re 2 points I’d like to clarify:
1. I use JSTL/EL heavily in my jsp and I notice that suppose I have something like :<c:set var="buttons"> <button type="button" style="margin-right: 5px" onclick="location.href='<c:url value="/editBook.html"/>'"> <fmt:message key="button.add"/> </button> <button type="button" onclick="location.href='<html:rewrite forward="mainMenu"/>'"> <fmt:message key="button.cancel"/> </button> </c:set> <c:out value="${buttons}" escapeXml="false"/> <display:table name="${bookList}" cellspacing="0" cellpadding="0" id="bookList" pagesize="25" styleClass="list" export="true" requestURI=""> <display:column property="title" sort="true" headerClass="sortable" titleKey="bookForm.title"/> <display:column property="bookId" sort="true" headerClass="sortable" url="/editBook.html" paramId="bookId" paramProperty="bookId" titleKey="bookForm.bookId"/> <display:column property="dateCreated" sort="true" headerClass="sortable" titleKey="bookForm.dateCreated"/> <display:setProperty name="paging.banner.item_name" value="book"/> <display:setProperty name="paging.banner.items_name" value="books"/> </display:table> <c:out value="${buttons}" escapeXml="false"/>
I can’t evaluate the expression like ‘${bookList}’ where it’s a Struts Form bean in the debugger expression (the one enabled by clicking Window->show view->Expression’. I would like to know whether they’re NULL or something like that since there’s no auto-completion (we know that possibility of mistyping is pretty high, especially when you’re sleep deprived).
This also happens for variables in my scriplets; they’re shown in the Variables window but I can specify it in the Expression window. So I will see enum for ‘Enumeration enum = request.getParameterNames();’ in the Variables window, but I can’t write ‘enum.hasMoreElements()’ in the Expression window.
2. I notice that I can’t set breakpoints outside jsp scriplets. Well, I can set breakpoints at tags like <c:out/> or <html:html/> but they’re of no use since I can’t really really step into the code (too much detail too). I want to check request.getParameterNames output, hence I need to write scriplets in the jsp instead of just writing it in the Expression windows.
Are these know limitations since I don’t seem to find in the forums or feature list? If they’re, is there any plan to introduce the features in the next release(s)?
Thanks
more information:
I’ve enabled JSTL support for my Web Project. I’ve specified the libraries to be resolved from my user lib dir ie
${ProjectName}/lib/**/*.jar*** Date: Wed Jan 18 15:14:03 SGT 2006 *** Platform Details: *** System properties: apple.laf.useScreenMenuBar=true com.apple.mrj.application.apple.menu.about.name=ArgoUML eclipse.application=org.eclipse.ui.ide.workbench eclipse.buildId=I20050627-1435 eclipse.commands=-os linux -ws gtk -arch x86 -launcher /opt/tools/eclipse/eclipse -name Eclipse -showsplash 600 -exitdata 2d40004 -vm /opt/sdks/java/bin/java eclipse.product=org.eclipse.sdk.ide eclipse.startTime=1137473670451 eclipse.vm=/opt/sdks/java/bin/java eclipse.vmargs=-Xmx512M -Xms200m -XX:MaxPermSize=200m -jar /opt/tools/eclipse/startup.jar eof=eof file.encoding=UTF-8 file.encoding.pkg=sun.io file.separator=/ gef.imageLocation=/org/argouml/Images java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment java.awt.printerjob=sun.print.PSPrinterJob java.class.path=/opt/tools/eclipse/startup.jar java.class.version=49.0 java.endorsed.dirs=/opt/sdks/jdk1.5.0_02/jre/lib/endorsed java.ext.dirs=/opt/sdks/jdk1.5.0_02/jre/lib/ext java.home=/opt/sdks/jdk1.5.0_02/jre java.io.tmpdir=/tmp java.library.path=/opt/sdks/jdk1.5.0_02/jre/lib/i386/client:/opt/sdks/jdk1.5.0_02/jre/lib/i386:/opt/sdks/jdk1.5.0_02/jre/../lib/i386:/opt/tools/eclipse:/usr/lib/firefox-1.0.4 java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition java.runtime.version=1.5.0_02-b09 java.specification.name=Java Platform API Specification java.specification.vendor=Sun Microsystems Inc. java.specification.version=1.5 java.vendor=Sun Microsystems Inc. java.vendor.url=http://java.sun.com/ java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi java.version=1.5.0_02 java.vm.info=mixed mode, sharing java.vm.name=Java HotSpot(TM) Client VM java.vm.specification.name=Java Virtual Machine Specification java.vm.specification.vendor=Sun Microsystems Inc. java.vm.specification.version=1.0 java.vm.vendor=Sun Microsystems Inc. java.vm.version=1.5.0_02-b09 line.separator=
[/quote]
markjohanssonMemberSome more information per posting guidelines:
application server: Tomcat 5.0.28 ** Date: Wed Jan 18 16:42:47 SGT 2006 *** System properties: OS=Linux OS version=2.6.10 Java version=1.5.0_02 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 4.0.200 M2 Build id: 20051205-4.1-Milestone2 *** Eclipse details: Eclipse SDK Version: 3.1.0 Build id: I20050627-1435 Eclipse Platform Version: 3.1.0 Build id: I20050627-1435 Eclipse RCP Version: 3.1.0 Build id: I20050627-1435 Eclipse Java Development Tools Version: 3.1.0 Build id: I20050627-1435 Eclipse Plug-in Development Environment Version: 3.1.0 Build id: I20050627-1435 Eclipse Project SDK Version: 3.1.0 Build id: I20050627-1435 Eclipse startup command=-os linux -ws gtk -arch x86 -launcher /opt/tools/eclipse/eclipse -name Eclipse -showsplash 600 -exitdata 2d40004 -vm /opt/sdks/java/bin/java
-
AuthorPosts