- This topic has 24 replies, 3 voices, and was last updated 20 years, 4 months ago by Riyad Kalla.
-
AuthorPosts
-
Steve BangMemberI just tested ME 2.7 GA with Eclipse 2.1.2 and it works correctly. So, I’ll have to count on NOP or someone else to verify that this works correctly in the latest 3.7 builds.
Steve
Riyad KallaMemberSteve,
We really appreciate you taking the added time to test in your scenario; this saves everyone a lot of support/debugging/testing time and while we never expect our users to go to this level of self diagnosis, we very much appreciate it from them when they do.The 3.7 release is a direct reflection of the 2.7 release ported to a Eclipse 3.0 platform. So, technically speaking, you should be good to go with the 3.7 GA release.
I’m sure NOP can weigh in Monday for us to give a tip.
Steve BangMemberThanks for the compliment — besides normally testing like this when I have the time, I have two other paying ME customers in my company and others in the wing waiting for the issues I’ve found to be fixed. So, when you guys are so responsive, it’s much appreciated.
FYI, the outcome of my testing of ME 3.7 so far has been three bugs found — three bugs promised fixed in 3.7 (and 1 already verified fixed in 2.7 — I guess I should test the other two). I can’t complain. I’m working with 3 other guys who are awaiting the outcomes, counting on me to be able to . In fact, the only impediment (but not showstopper) I know of at this point will be fixed in the next release (2.8/3.8) — that is the ability to have the webroot and the project folder be the same.
Steve
P.S. I just tested my original code and tag library with ME 2.7 GA and, as expected, it resolves correctly and displays code completion too. 🙂
Steve BangMemberIt seems that this is broken in 3.8 beta 1 — that is, a regression. Can someone look into this ASAP, since this is cricitcal a bunch of us at our company.
Thanks,
Steve
Riyad KallaMemberSteve,
I’m actually using Eclipse 3.0 and MyEclipse 3.8 Beta 1 and tried NOP’s sample code again and everything worked as expected. Can you copy-paste the following into a JSP page and see if it still works?<%@ page language="java"%> <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %> <%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %> <%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %> <%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %> <%@ taglib uri="http://jakarta.apache.org/struts/tags-template" prefix="template" %> <%@ taglib uri="http://jakarta.apache.org/struts/tags-nested" prefix="nested" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html:html locale="true"> <head> <html:base /> <title>MyJsp.jsp</title> </head> <body> <bean:define id="queryWithoutExpressionPB" type="java.lang.String" value="a" /> <% queryWithoutExpressionPB.toUpperCase(); %> <bean:define id="queryWithExpressionPB" type="java.lang.String" value='<%= "b" %>' /> <% queryWithExpressionPB.toLowerCase(); %> </body> </html:html>
Steve BangMemberThe “rbBlox” object, referenced in the nested scriptlet below, is not resolved in the ME 3.8b1 version. It used to work. 🙁 I ran the example above, and although it seems to work the first tld (bean) displays an error saying that the tld could not be loaded. Perhaps this is related.
Steve
==============================================
<blox:container id=”rbBlox”
width=”600″
height=”50″><%
BloxModel model = rbBlox.getBloxModel();
model.clear();
model.setLayout(new VerticalLayout());model.add(new RadioButton(“radioButton”,”Radio Button 1″));
model.add(new RadioButton(“radioButton”,”Radio Button 2″));
model.add(new RadioButton(“radioButton”,”Radio Button 3″));Controller c = new Controller() {
public boolean handleClickEvent(ClickEvent event) throws ModelException {
ComponentContainer container = event.getComponent().getTopLevelContainer();RadioButton radioButton = (RadioButton)container.findInContainer(“radio”);
radioButton.setChecked(!radioButton.isChecked());
radioButton.changed();return true;
}
};%>
</blox:container>
Steve BangMemberNote that I tested the Struts example placing the JARs in the lib directory. With our code above, the tld files are loose and are in the WEB-INF/tlds directory.
Riyad KallaMemberSteve,
I am not seeing that URI resolution problem with that sample page I gave… lets try something:Create a new web module project, then add Struts Caps to it. then create a new MyJsp.jsp file in the webroot and paste what I put above into it as the entire contents, and save it. Does it have any errors? if it does then I think there might be a config issue going on here…
Steve BangMemberNOP’s example continues to work. So, I tried creating a new web module project, added some JSP files and made sure that required TLD files were in the right place. I’m still getting error messages from scriptlets saying that the referenced object cannot be resolved. And, like I said, this worked fine in the previous version (3.7.2). This is the experience of me and another registered user.
Any other ideas?
Steve
Riyad KallaMemberSteve,
can you roll back your install and wait for Beta 2 and see if it is still occuring? I’m also wondering if you roll back your install and find that it does not work as we might think, then we can atleast narrow it down to an install situation (maybe a new plugin) -
AuthorPosts