- This topic has 11 replies, 2 voices, and was last updated 20 years, 9 months ago by
Riyad Kalla.
-
AuthorPosts
-
jhettenhMemberThe Broadvision sw we have has directives which define several global variables:
<%@ include file=”/ep/publish/qualifiers.jsp”%>
These variables are receiving “not found” errors when opening a jsp including these files. I think this is related to a problem already moved to the bug list, but I wanted to check.
Riyad KallaMemberI was not able to reproduce this problem. I created a new include page that defined the variable “Integer number = new Integer(3)” then I included it in a new page and opened a new scriplet:
<%= %>and was able to autocomplete the “number” variable and nothing was marked as an error. Maybe you can give us more details about what is going on?
jhettenhMemberSure,
One method defined in cp_utils.jsp executes but shows an error in eclipse:
<%@ include file=”/ep/publish/cp_utils.jsp”%>
cpErrorSystem(new BVWComponentException(e.toString()));
Some of the variables likewise defined in cp_utils.jsp
String serviceName = (String) sessionVisitor.getServiceName();
String service = serviceName;
long serviceId = Long.parseLong(sessionVisitor.getServiceId());
BVI_Visitor visitor = sessionVisitor.getVisitor();
long visitorId = visitor.getID();are marked as errors on the page that includes the cp_utils.jsp file. The Broadvision code executes without error, but there is a whole host of invalid error markers when I modify the main form.
Riyad KallaMemberI thought maybe this was an “underscore in the name” issue so I created a new test project to try and reproduce this and I was unable to. Can you come up with a small sample project that exhibits this behavior and email it to support@genuitec.com with a reference to this thread so we know how to test what you send us?
jhettenhMemberI’ll try and do that soon … it could be the insane amount of code Broadvision included in the IP Forms. I rarely have trouble with pages I’ve created myself.
Riyad KallaMemberThank you, we know this is definately outside the call of duty for our users, but if we can’t reproduce something its frustrating for us to have you guys hitting bugs in the software.
jhettenhMemberHmm, well like you I cannot recreate the problem outside of the Broadvision jsp files. If I create a new file and a new include file then all variables and custom methods work just fine and inherit properly. I had figured that since content assist didn’t work before the
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
line in new jsp files, it had something to do with that, but when I type in the code manually, it still works fine. I’m rather at a loss since there are a ton of errors flagged in the broadvisionf files.
Riyad KallaMemberWait for our maintenence release here very soon and see if the problem magically fixes itself.
jhettenhMemberThat works for me; I have a love/hate relationship with magical fixes. It’s more of aesthetic desire anyways … I don’t like red. Thank you for your help.
Riyad KallaMemberGod I know what you mean about both the magic part and the red.
jhettenhMemberWell, the magic didn’t work unfortunately; I’m not sure what the cause might be. I’ve tried several variants with no affect. I guess I’ll just have to love the red for awhile. =-.)
Riyad KallaMemberDoes this still “work” in the small sample project you created but still not work in your big project? If you are able to narrow this down to a particular issue that can be sampled for us we will get on it ASAP… but without that test case we can’t really move to the next step.
-
AuthorPosts