Hi All, I have an application where I want to have an element called DatabaseBrowser. This element will display all tables of a given database. Each displayed table will be a link to the DatabaseBrowser with a parameter called tableId. Here is how it will work:
If the tableId is not present, display all tables. If the tableId is present, display the table-specific information. My problem comes in my site definition. I'm not sure how to pass the data properly. Everything I've done thusfar has resulted in: com.uwyn.rife.engine.exceptions.ParameterUnknownException: The element 'manual:AdminDatabaseBrowser' doesn't contain parameter 'tableId' in any submission. at com.uwyn.rife.engine.ElementContext.validateParameter( ElementContext.java:1596) at com.uwyn.rife.engine.ElementContext.getParameter( ElementContext.java:2114) at com.uwyn.rife.engine.ElementSupport.getParameter( ElementSupport.java:5629) at net.collab.extranet.sac.elements.AdminDatabaseBrowser.processElement( AdminDatabaseBrowser.java:32) at com.uwyn.rife.engine.ElementContext.processContext( ElementContext.java:443) at com.uwyn.rife.engine.RequestState.service(RequestState.java:342) at com.uwyn.rife.engine.Gate.handleRequest(Gate.java:421) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.uwyn.rife.servlet.RifeFilter.doFilter(RifeFilter.java:142) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter( ServletHandler.java:1040) at org.mortbay.jetty.servlet.ServletHandler.handle( ServletHandler.java:352) at org.mortbay.jetty.servlet.SessionHandler.handle( SessionHandler.java:230) at org.mortbay.jetty.handler.ContextHandler.handle( ContextHandler.java:627) at org.mortbay.jetty.handler.ContextHandlerCollection.handle( ContextHandlerCollection.java:149) at org.mortbay.jetty.handler.HandlerCollection.handle( HandlerCollection.java:123) at org.mortbay.jetty.handler.HandlerWrapper.handle( HandlerWrapper.java:141) at org.mortbay.jetty.Server.handle(Server.java:286) at org.mortbay.jetty.HttpConnection.handleRequest( HttpConnection.java:444) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete( HttpConnection.java:701) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:500) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:203) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:340) at org.mortbay.jetty.nio.HttpChannelEndPoint.run( HttpChannelEndPoint.java:270) at org.mortbay.thread.BoundedThreadPool$PoolThread.run( BoundedThreadPool.java:475) Here is the important portion of the site definition: <element id="AdminDatabaseBrowser" implementation=" net.collab.extranet.sac.elements.AdminDatabaseBrowser" url="/admin/databasebrowser"> <input name="tableId" /> <output name="tableId" /> <flowlink srcexit="AdminDatabaseBrowser" destid="AdminDatabaseBrowser" /> <datalink srcoutput="tableId" destid="AdminDatabaseBrowser" destinput="tableId" /> </element> My concern is that this isn't a typical way to pass data. I've looked through the examples and I cannot find anything specific to what I need. I will continue looking but if anyone can help me figure out where I'm going wrong, I would appreciate it. Take care, Jeremy
_______________________________________________ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users