JSP Compile Error when using dynamic ID in logic:iterate and bean:size
Hello,
I try to create a dynamic table with logic:iterate and bean:size tag. Dynamic means the attributes are written by scriptlet. Eg.:
<logic:iterate id="customerBean" name="<%= formName %>" property="<%= propertyName%>" length="<%= sRowSize%>">When I replace the id Attribute with propertyName I get compile errors, such as
the compiler doesn't know the value at runtime:
Unable to compile class for JSP An error occurred at line: 179 in the jsp file: /pages/formContent.jsp Generated servlet error: _newCustomer.java:1046: Missing term. java.lang.Object <%= propertyName %> = null; ^
Whats wrong ?
Thanks for your help
Solution: don't use a runtime expression for the id attribute.
The id attribute is used to declare
- an attribute in scope
- a scriptlet variable on the page
These are only available for the duration of the <logic:iterate> tag
The "id" is only used in your programming. You don't need to make it dynamic.
Similar Messages
-
Compiler errors when using dynamic text in a class
I have created a MovieClip with a custom class that has a dynamic text field (called "textArea"), which I want to modify by the Component Inspector, as well as via a custom method using:
textArea.text = newText;
It works fine in all cases and there are no problems, but the compiler still wants to give me the error:
1120: Access of undefined property textArea.
The error doesn't appear when I remove the component parameters (so that it's just a normal MovieClip). It still works, even with the error, so I'm not sure why it wants to complain. Am I doing something wrong or is it just being bitchy?By defining them in the class and using the class name under component definition:
[Inspectable(name="Text", type=String, defaultValue="")]
public function set text(setText:String)
textArea.text = setText;
public function get text():String
return textArea.text;
A problem I run into is that the compiler errors prevent the parameters from being defined so I comment out every line that has to do with textArea, define the component, then uncomment them so that it'll work when it runs. -
JSP Compilation Error when using OC4J out of the box
Hello.
After installing Java jdk 1.5.0_05, setting ORACLE_HOME, setting JAVA_HOME, rebooting, and installing OC4J standalone straight out of the box, I have deployed a simple web project that consists of just one JSP. I receive the following error message:
NOTIFICATION J2EE JSP-0008 Unable to dispatch jsp Page: oracle.jsp.provider.JspCompilationException: Errors compiling: C:\LocalApps\OC4J\j2ee\home\application-deployments\oc4j_jsp\persistence\_pages\\_Test.java<pre></pre>
I have deployed a number of Flex2 applications without incident. What am I missing here? Another odd thing is that my organization has OAS running and it can render JSPs fine.
Any help is appreciated thanks,
Mike
P.S. I have gone back and set the JSP debug switches, but they do not yeild much more info. Here is the stacktrace:
NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : oracle.jsp.provider.JspCompileException: <H3>Errors compiling:C:\LocalApps\OC4J\j2ee\home\application-deployments\oc4j_jsp\oc4j_jsp\persistence\_pages\\_Test.java</H3><pre></pre>
at oracle.jsp.app.JspJavacCompiler.compile(JspJavacCompiler.java:304)
at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:731)
at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:456)
at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:413)
at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:705)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:694)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Unknown Source)I had the very same Problem, and I spent a lot of time on it.
When installing Oc4j as a service using Javaservice opnesource, I had no problem, even using J.D.K 1.6:
%JSEXE% -install %JSNAME% %JVMDIR%\jvm.dll -XX:PermSize=128m -XX:MaxPermSize=256m -Xmx1024M -Xms1024M -Djava.class.path=%OC4J_HOME%\oc4j.jar -start oracle.oc4j.loader.boot.BootStrap -params -config %OC4J_HOME%\config\server.xml -out %OC4J_HOME%\log\OC4J_service_stdout.log -err %OC4J_HOME%\log\OC4J_service_stderr.log -current %JSBINDIR% -auto -description OC4JService
Then I wanted to install it using "ServiceMill" or "Javaservice Wrapper", becuase it has a better control on the process and I had that awfull compilation error.
I guess it is because ServiceMills uses java.exe and javaservice the .dll to launch the oc4j, no idea.
Anyway, thank you very much!!!!!
Antonio -
Getting Compilation error when used SET or MULTISET operator on nested tabl
Dear All,
I am getting Compilation error when used SET or MULTISET operator on nested tables inside a procedure.
This is working fine in other DB installations of 10g but does not work in another 10g DB.
it says "wrong number of parameter or datatype used in SET"
Can any one suggest what went wrong here?
Thanks in advance.Can any one suggest what went wrong here?Only if you would post the query and Oracle versions on both databases.
Besides, this forum deals with issues in Oracle product installation. So post this query in SQL PL/SQL forum for better response. -
Compilation error when used SET or MULTISET operator on nested tables
Dear All,
I am getting Compilation error when used SET or MULTISET operator on nested tables inside a procedure.
This is working fine in other DB installations of 10g but does not work in another 10g DB.
it says "wrong number of parameter or datatype used in SET"
Can any one suggest what went wrong here?
Thanks in advance.Hi,
Thanks for ur reply...
Since MULTISET and SET operators are the new additions in base 10g release for manipulation of nested tables data, I am surprised that same is working in similar 5 DBs installations with 10.2.0.1.0 version, but does not work in the sixth.
SET and MULTISET operators are used inside the PL/SQL procedure which is getting compiled in the above mentioned 5 DBs but not in sixth DB.
it gives
On line: 3112
PLS-00306: wrong number or types of arguments in call to 'SET'
Hope this clarifies the issue... -
Compiler error when useing switch statements in an inner class
I have defined several constants in a class and want to use this constans also in an inner class.
All the constants are defined as private static final int.
All works fine except when useing the switch statement in the inner class. I get the compiler error ""constant expression required". If I change the definition from private static final to protected static final it works, but why?
What's the difference?
Look at an example:
public class Switchtest
private static final int AA = 0;
protected static final int BB = 1;
private static int i = 0;
public Switchtest()
i = 0; // <- OK
switch(i)
case AA: break; //<- OK, funny no problem
case BB: break; //<- OK
default: break;
private class InnerClass
public InnerClass()
i = 0; // <- OK: is accessible
if (AA == i) // <- OK: AA is seen by the inner class; i is also accessible
i = AA + 1;
switch(i)
case AA: break; // <- STRANGE?! Fail: Constant expression required
case BB: break; // <- OK
default: break;
}Thank's a lot for an explanation.Just a though:
Maybe some subclass of Switchtest could decalare its own variable AA that is not final, but it can not declare its own BB because it is visible from the superclass. Therefore the compiler can not know for sure that AA is final. -
Compile errors when using stlport4
Hi,
I have a large code that I am compiling using SunStudio12 and stlport4 (that comes with the compiler).
It has other libraries (ACE, boost, in-house libs) that we link it with. All of these libs were built using the SunStudio12 and stlport4. When I am linking with my program, I get the following errors. Can you pls explain why?
Linking CXX executable AgoraConnectionTest
cd /home/sherugu1/ndev/HermesAPI/trunk/HermesCpp/hermes/Tests/AgoraConnectionTest && /home/sherugu1/cmake-2.6.2-SunOS-sparc/bin/cmake -E cmake_link_script CMakeFiles/AgoraConnectionTest.dir/link.txt --verbose=1
/home/cdev/SunStudio12/SUNWspro/prod/bin/CC -g -KPIC -m32 CMakeFiles/AgoraConnectionTest.dir/AgoraConnectionTest.cpp.o CMakeFiles/AgoraConnectionTest.dir/TISTest.cpp.o CMakeFiles/AgoraConnectionTest.dir/TSSTest.cpp.o CMakeFiles/AgoraConnectionTest.dir/process_response.cpp.o -o AgoraConnectionTest -L/home/cdev/pkgs/boost_1_36_0_other/Sol10_Sparc_SS12_STLPort4_32bit/lib -L/home/cdev/csfb/gmr/10.0.1/gmr/solaris10_32bit_SS12/lib -L/home/cdev/pkgs/ace/ACE-5.6-Solaris10_SS12/ACE_Wrappers/lib -L/home/sherugu1/ndev/HermesAPI/trunk/HermesCpp/hermes/api/ems/solaris10_32bit_SS12/lib -L/home/sherugu1/ndev/HermesAPI/trunk/HermesCpp/hermes/api/solaris10_32bit_SS12/lib -L/home/sherugu1/ndev/HermesAPI/trunk/HermesCpp/Cadre/solaris10_32bit_SS12/lib -L/home/cdev/pkgs/ems/solaris/4.4.1/clients/c/lib -L/home/cdev/SunStudio12/SUNWspro/prod/lib/stlport4 -Bstatic -lapiD -lNOTIFg -Bdynamic -lACE -Bstatic -lcadreD -ltibems -Bdynamic -lboost_unit_test_framework-sw-mt-1_36 -lboost_date_time-sw-mt-1_36 -lboost_thread-sw-mt-1_36 -lstlport -R/home/cdev/pkgs/boost_1_36_0_other/Sol10_Sparc_SS12_STLPort4_32bit/lib:/home/cdev/csfb/gmr/10.0.1/gmr/solaris10_32bit_SS12/lib:/home/cdev/pkgs/ace/ACE-5.6-Solaris10_SS12/ACE_Wrappers/lib:/home/sherugu1/ndev/HermesAPI/trunk/HermesCpp/hermes/api/ems/solaris10_32bit_SS12/lib:/home/sherugu1/ndev/HermesAPI/trunk/HermesCpp/hermes/api/solaris10_32bit_SS12/lib:/home/sherugu1/ndev/HermesAPI/trunk/HermesCpp/Cadre/solaris10_32bit_SS12/lib:/home/cdev/pkgs/ems/solaris/4.4.1/clients/c/lib:/home/cdev/SunStudio12/SUNWspro/prod/lib/stlport4
ld: warning: symbol `std::locale::facet::__vtbl' has differing sizes:
(file /home/cdev/pkgs/boost_1_36_0_other/Sol10_Sparc_SS12_STLPort4_32bit/lib/libboost_date_time-sw-mt-1_36.so value=0x14; file /home/cdev/SunStudio12/SUNWspro/prod/lib/stlport4/libstlport.so value=0xc);
/home/cdev/pkgs/boost_1_36_0_other/Sol10_Sparc_SS12_STLPort4_32bit/lib/libboost_date_time-sw-mt-1_36.so definition taken
ld: fatal: symbol `void std::vector<bool>::resize(unsigned,bool)' is multiply-defined:
(file CMakeFiles/AgoraConnectionTest.dir/process_response.cpp.o type=FUNC; file /home/cdev/SunStudio12/SUNWspro/prod/lib/sparc/libCstd.a(vecbool.o) type=FUNC);
ld: warning: symbol `std::cout' has differing sizes:
(file /home/cdev/SunStudio12/SUNWspro/prod/lib/stlport4/libstlport.so value=0x68; file /home/cdev/SunStudio12/SUNWspro/prod/lib/sparc/libCstd.a(ios.o) value=0x60);
The list of errors goes on like this in multiple places.
To me, it looks like I am using both stlport and standard STL. How do I tell the linker to use only stlport? Am I missing something?
CC_FLAGS are: -DSOLARIS -DPOSIX_PTHREAD_SEMANTICS -D_VMT -DT_SUN4_SOLARIS -DUNIX -KPIC -DACE_NDEBUG -D_ACE_56_ -D_REENTR
ANT -DACE_NDEBUG -D_PTHREADS -mt -library=stlport4
Pls help!
Rgds,
SreeniThe links are there, but not pointing to /usr/lib. Yes, I installed the tarball into /home/cdev/SunStudio12 directory. I dont have root privileges to install any other way. To avoid the delay and the paper work it takes to get the SA install the compiler, I just used to tarball since the Sun website said it was OK to do that. Pls advise.
This is what I have in the directory you mentioned.
vpns36x-0001:/home/cdev/SunStudio12/SUNWspro/lib>ls -altr *so
lrwxrwxrwx 1 sherugu1 cdev 14 Dec 4 11:31 libCrun.so -> ./libCrun.so.1
lrwxrwxrwx 1 sherugu1 cdev 28 Dec 4 11:31 libCstd.so -> ../prod/usr/lib/libCstd.so.1
lrwxrwxrwx 1 sherugu1 cdev 18 Dec 4 11:31 libiostream.so -> ./libiostream.so.1
lrwxrwxrwx 1 sherugu1 cdev 24 Dec 4 11:31 debugging.so -> ../prod/lib/debugging.so
lrwxrwxrwx 1 sherugu1 cdev 34 Dec 4 11:31 rtcaudit.so -> ../prod/lib/dbxruntime/rtcaudit.so
lrwxrwxrwx 1 sherugu1 cdev 38 Dec 4 11:31 libdbx_agent.so -> ../prod/lib/dbxruntime/libdbx_agent.so
lrwxrwxrwx 1 sherugu1 cdev 13 Dec 4 11:31 libV77.so -> ./libV77.so.3
lrwxrwxrwx 1 sherugu1 cdev 19 Dec 4 11:31 libf77compat.so -> ./libf77compat.so.1
lrwxrwxrwx 1 sherugu1 cdev 13 Dec 4 11:31 libfai.so -> ./libfai.so.3
lrwxrwxrwx 1 sherugu1 cdev 14 Dec 4 11:31 libfai2.so -> ./libfai2.so.3
lrwxrwxrwx 1 sherugu1 cdev 17 Dec 4 11:31 libfmaxlai.so -> ./libfmaxlai.so.1
lrwxrwxrwx 1 sherugu1 cdev 17 Dec 4 11:31 libfmaxvai.so -> ./libfmaxvai.so.1
lrwxrwxrwx 1 sherugu1 cdev 17 Dec 4 11:31 libfminlai.so -> ./libfminlai.so.1
lrwxrwxrwx 1 sherugu1 cdev 17 Dec 4 11:31 libfminvai.so -> ./libfminvai.so.1
lrwxrwxrwx 1 sherugu1 cdev 17 Dec 4 11:31 libfprodai.so -> ./libfprodai.so.1
lrwxrwxrwx 1 sherugu1 cdev 13 Dec 4 11:31 libfsu.so -> ./libfsu.so.1
lrwxrwxrwx 1 sherugu1 cdev 16 Dec 4 11:31 libfsumai.so -> ./libfsumai.so.1
lrwxrwxrwx 1 sherugu1 cdev 13 Dec 4 11:31 libfui.so -> ./libfui.so.2
lrwxrwxrwx 1 sherugu1 cdev 12 Dec 4 11:31 libgc.so -> ./libgc.so.1
lrwxrwxrwx 1 sherugu1 cdev 11 Dec 4 11:31 libm9x.so -> libm9x.so.0
lrwxrwxrwx 1 sherugu1 cdev 20 Dec 4 11:31 libcollectorAPI.so -> libcollectorAPI.so.1
lrwxrwxrwx 1 sherugu1 cdev 18 Dec 4 11:31 libfcollector.so -> libcollectorAPI.so
lrwxrwxrwx 1 sherugu1 cdev 11 Dec 4 11:31 libtha.so -> libtha.so.1
lrwxrwxrwx 1 sherugu1 cdev 15 Dec 4 11:31 libsunmath.so -> libsunmath.so.1
lrwxrwxrwx 1 sherugu1 cdev 18 Dec 4 11:31 libdemangle.so -> ./libdemangle.so.1
Also, the file sizes are different b/n this dir and /usr/lib. Maybe the versions are different?
vpns36x-0001:/home/cdev/SunStudio12/SUNWspro/lib>ls -altr ../prod/usr/lib/libCstd.so.1
-rw-r--r-- 1 sherugu1 cdev 1796972 May 3 2007 ../prod/usr/lib/libCstd.so.1
vpns36x-0001:/home/cdev/SunStudio12/SUNWspro/lib>ls -altr /usr/lib/libCstd.so.1
-rwxr-xr-x 1 root bin 1907940 Oct 12 2006 /usr/lib/libCstd.so.1 -
Compile error when using Collections.sort for Vector, why?
The compiler is giving an error when trying to do this (I'm using JDK 1.5.0_09):
Vector <String> test = new Vector <String>();
test.add("test1");
test.add("test2");
test.add("test3");
Collections.sort(test);The error being:
The method sort(Vector<String>) is undefined for the type Collections
Collections.sort takes List, but Vector is of type List, so this should work, correct?ChuckBing wrote:
No. Vector is not a subclass of List. Use List.um.. Vector implements List -
Compile error when using a class by fully-qualified name
Hi... Is it an AS3 "feature" or a FB compiler bug that I cannot use a class without importing it?
I have a statement such as
if (de.codebank.util.StringUtilities.startsWith(status.name, phase.name+"_"))
which does not compile until I import the StringUtilities class, which is pointless, of course.
The compile error mentions an unknown property "util"I believe this is how AS3 works. Fully qualified class types require import statement.
You use fully qualified name whenever you want to avoid ambiguity.
However, when the code is like,
import mx.collections.XMLListCollection;
var arr:mx.collections.ArrayCollection;
It works since compiler now understands that "mx.collections" is a package. -
Warp Stabilizer error when using dynamic link
Hey guys,
So I'm very new to video editing, and not surprisingly, I'm running into problems. I'm trying to use dynamic link to allow me to Warp Stabilize and color correct video clips in a Premiere Pro project. When I try to apply the Warp Stabilizer (through dynamic link) in After Effects, I get this error message:
After Effects error: Stabilization analysis doesn't work with Collapse Transformations (514)
(25 :: 101)
I read the only other thread on this which linked to the following page:
http://help.adobe.com/en_US/AfterEffects/9.0/WS064964FC-424C-4e5a-A5C3-2160B3DFBCA4a.html
Unfortunately, that didn't help me much. Maybe the answer is in there somewhere, but if so, its way over my head. Can anyone give me a simple explanation of why this doesn't work? I feel like it should be a simple solution so I don't have to go through the process of importing into AE, render, export, import to Premeire Pro, and replace the clip there, blah blah. This is what dynamic link is for, right?? Thanks for any advice you guys have!Not sure I properly understand you...
As for me, the solution is in AE warning message - just disable Collapse Transformations switch in your AE precomp... -
Compilation errors when using Client program
Hi all,
I face a problem when compiling the client.
Compilation errors:
"Not able to resolve symbols HelloHome, Hello"
At this line: HelloHome home = (HelloHome)ctx.lookup("HelloHome")
I have cut and paste the client program below:
Please look into it.
Thanks
Ranjan
//Client for HelloBean
import java.rmi.*;
import javax.naming.*;
import java.util.*;
public class HelloClient {
public static void main(String args[]) {
try
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
ht.put(Context.PROVIDER_URL,"t3://localhost:7001");
InitialContext ctx = null;
ctx = new InitialContext(ht);
HelloHome home = (HelloHome)ctx.lookup("HelloHome");
Hello hel = home.create();
String retval = hel.sayHello("Ranjan");
System.out.println("Returned: " + retval);
hel.remove();
catch (RemoteException e)
System.out.println("RemoteException occured: " + e);
catch (javax.ejb.CreateException e)
System.out.println("Create Exception occured: " + e);
catch (javax.ejb.RemoveException e)
System.out.println("Remove Exception occured: " + e);
catch(javax.naming.NamingException e)
System.out.println("Naming Exception occured: " + e);
**************************Hi,
Yes the Hello and HelloHome classes are present in the same directory as the HelloClient.class
Regards
Ranjan -
"HttpParam is undefined" JS error when using dynamic container in portal
I am using dynamic container tag "*dc:container*" within an iterator in a pageflow portlet & I'm sending different parameter in each iteration, it worked well in IE7, but in FireFox, some of the rows were rendered & for the rest I received the following exception:
DynamicContentXmlHttpServlet: Error dispatching request to requested action: '/src/com/loadFriendRatePlan'.
java.lang.NullPointerException
at com.bea.apps.groupspace.servlets.DynamicContentXmlHttpServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:359)
at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
at org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
at selfcare.portal.shared.web.security.sso.ClearTrustPreAuthenticatedProcessingFilter.doFilterHttp(ClearTrustPreAuthenticatedProcessingFilter.java:132)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)
at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
Note: every time i refresh the page different rows are rendered, which means that the non rendered rows have nothing to do with the parameter sent in each iteration.
I've added the portlet to portal, & now nothing is rendered in both IE7 & FireFox, & "HttpParam is undefined" JavaScript error is displayed in both browsers.
Note : my portlet "Async Content rendering" property is set to ajax, & the portal "Asynchronous Model" property to enabled.
<h3>Here's sample of my tag code:</h3>
<dc:executeContainerAction action="loadFriendRatePlan" dcContainerId="${container.index}"
var="ratePlan"/>
<dc:container dcContainerId="${container.index}">
<dc:containerActionScript action="loadFriendRatePlan" initial="true"
onErrorCallback="displayMessageNotAvailable">
<dc:containerActionParam name="friendAccount" value="${container.item.accountNumber}"/>
<dc:containerActionParam name="friendContractType" value="${container.item.contractType}"/>
</dc:containerActionScript>
</dc:container>
<script type="text/javascript">
${ratePlan}
</script>
Any clue how can I solve both errors?Just so there is a record of this on the Adobe site...
IF you are running Apache and have virtual hosts, be sure to add the line
Alias /CFIDE "c:/inetpub/wwwroot/CFIDE"
to the virtual host list. Of course change the path c:/inetpub/wwwroot/CFIDE" to whatever is set up in the CF Administrator.
Otherwise, none of your cfform stuff will work properly, AJAX will croak, and you will get a 'Coldfusion' is undefined error. -
Compilation error when using @DisableWarnings
Hi,
I have a stateless EJB 3.0 session bean, and I am trying to add the following lines of code in it:
@DisableWarnings { WarningCode[] value(); }
enum WarningCode { BEA_010001, BEA_010200, BEA_010202, BEA_010054 }
Iam getting a compilation error like this:
- The annotation @DisableWarnings must define the attribute value
- Syntax error on token "@", interface expected after this token
I am also tring to add this:
@TransactionTimeoutSeconds { int value() default 30; }
I am again getting compilation errors.
I am using Eclipse ganymede.
Can any body please help me regarding this.
Thank you,
SowmyaHi,
It looks like you are specifying the annotations incorrectly in your bean class. Try the following:
@DisableWarnings({WarningCode.BEA_010001, WarningCode.BEA_010200, WarningCode.BEA_010202, WarningCode.BEA_010054 })
@TransactionTimeoutSeconds(30)
- Matt -
Compilation errors when using java 5.0 features
Hi,
I modified the make script in my project to use JDK 1.5.0_11 compiler. instead of 1.4.2 compiler. But when I run the make script, it is throwing errors for all the JDK 1.5.0 features like for-each construct, auto-boxing etc..
Please let me know if I am issing anything.
It compiles successfully in my IDE.
Thanks,
RavikumarMay be. I am not expert in Make. I can see that it is using the programatic interface sun.tools.javac.Main to compile. Also -bootclasspath option is being used. But I dont see any -target option. So I am confused.
-
Compile error when using System.out
Hello,
I have a static part (declarative, comes within <%! %>) inside a jsp. When i use System.out.println inside this, it throws me error. Let me know what is the reason for the same.
Thanks, AravinthHi Aravinth.
You it self told that <%! %> is a declarative statement then how you can give a output statement.
<%! %> It includes only declarative statements.
And also System.out.println can't be used in Jsp since it is a implicit object.out is already declared is jsp as implicit object.You can use it as out.println();in <%%>.
Try to avoid scriplets in jsp.
regards,
satheesh kannan
Maybe you are looking for
-
Iphone 4 on/off not working
The on/off button for my iphone 4 is stuck and not working.
-
WAP4410N-E V02 not reachable after FW Upgrade
Hello Everyone, I had some issues with our Accesspoints and decided to update the Firmware as it's discussed in several posts here in the forum. Unfortunately this update from 2.0.4.2 to 2.0.6.1 was crashing the accesspoint eventually. So here's what
-
Printing visible (screen only) forms which have been returned?
Hello, I'm a bit new to this lifecycle designing. I created a questionnaire on a seperate programme and then used Lifecycle to make it interactive for people to fill out. Now as I was using a pre-produced questionnaire I selected all the fields as 'v
-
Workflow erroring out at UPSERT step
Hi All, when i am trying to simulate the workflow if is giving the following error message and error codes. An end of file error has occurred. Please continue or ask your systems administrator to check your application configuration if the problem pe
-
Need FM which tells whether request received(object call) from R3 OR Portal
Hi All, I need to differentiate some logic in a method based on whether it is called from R/3 OR Portal. I think there is a function module which tells whether the request is from Portal or not. Thanks in advance Regards, Sudhakar.