very strange but with Jdeveloper 9.0.3 (migrating from 9.0.1)
Date: 15 Jul 2003 00:22:42 -0700
Message-ID: <fe136e10.0307142322.5541821c_at_posting.google.com>
Hi.
We are migrating a (perfectly working) jsp application from jdeveloper 9.0.1 to jdeveloper 9.0.3...
We hoped that it would have been a simple migration, but we are having
a lot of problems.
The strangest is this:
inside the <jbo:CreateViewObject> tag we often use '<%= in this way
<jbo:CreateViewObject appid="appmodule" name="PuntiConcorrentiView">
select field1, field2,field 3
from table
where field4='<%=JAVA_STRING_VARIABLE%>'
</jbo:CreateViewObject>
The problem is that it seems that the compilet get messed up by the
'<%=...%>'.
In fact, we get a lot of runtime SQL error, because the query is not
created succesfully.
We have to change '<%=...%>' to <%="'"+...+"'"%>, that is,
moving ' inside the <%=.
Is this a known bug ?
The second very strange bug is this
I need to put a default in a <select> tag.
<option value="<jbo:ShowValue dataitem="PRIMARY_KEY"/>"
<%=pk.equals(selectedValue) ? "selected" : ""%>
>
This code mess up the generated html (the server seems to loose the ending >...
We have to transform "" to " " (inserting a space bar....). Isn't this strange ?
thankyou for your helo Received on Tue Jul 15 2003 - 09:22:42 CEST