Passing a Parameter to JSF / ADF
Hi,
I am using the MVC architecture with the model provided by ADF business components and the view/controller provided by JSF. Any help would be great since this project was due 'yesterday'. Thanks.
I want going to pass a few parameters to a JSF (ex. test.jspz?userid=JOHN) using ADF business components for the database query (ex. select * where userid = 'JOHN').
1) How to pass or accept parameters for JSF?
2) How to parameterized the ADF business component to accept the parameter and run the query?
Thanks,
A Lucky Guy
Shay, I'm looking at the same problem - legacy application needs to pass parameters to new ADF Faces application in the URL's query string. The problem is that it needs to use the parameter to build the page. So how do I get a method with the code that you suggested to run before rendering the page?
I'm still in the midst of working on this, but the approach that I'm working on is based on a custom ADF Page Lifecycle as described in the ADF Developers Guide for Forms-4GL Developers section 10.5.4.3. I'm also looking at Steve Muench's not yet documented sample #60: http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#60
Some pages don't need to use this method. If you are using the page parameters as NamedData elements in an action or methodAction, you can set the NDValue attributes to ${param.parameterName}. Make sure that you include an invokeAction in the executables section of your pageDef to make it execute the action when it renders the page.
Similar Messages
-
Passing parameter between JSF pages
I need to pass a parameter value between 2 different JSF pages.
The reason I need to do this is to be able to know which JavaBean (A or B) called the other JavaBean (C).
Can I somehow set a parameter within the JSF page and retrieve it in the second JSF page for my backing bean to read?
Thanks in advance.A co-worker of mine helped me fix my code to make it work!
Here is the final solution in case someone else needs to do the same thing in the future:
In the main JSF page that calls the second JSF page, the following code was added at the beginning of the page in the JavaScript section:
<% session.setAttribute"className", "CcmReassignEmployeeBean");
And in the Backing Bean of the second JSF page, the following code was used in the action listener used to transfer the data:
HttpSession session = (HttpSession) context.getExternalContext().getSession(true);
String className=(String) session.getAttribute("className");
It works great! Thanks! -
I have a JSF application(aa.jsf) wit an input field,
<h:inputText id="unumber" value="#{cpnReportDataHandler.purchaseOrder}">
How can I pass a parameter to aa.jsf, and assign the parameter to unumber, then have it submit the result to my dataHandler and return the result?yes, you can.
if you have the following URL:
aa.jsf?orderId=123
Init the purchaseOrder property of the cpnReportDataHandler managed bean in the faces-config with with #{param.orderId}
Sergey : http://jsfTutorials.net -
Pass parameter from jsf to view object query
Hi,
i have requirement where user id is captured when user logs in in a session bean.How do I pass this parameter to bind variable in query?
thanks,
MatAmit's second link : Setting bind variable for a view object
should hold answers for you.
Ypu can also visit : http://groundside.com/blog/DuncanMills.php?title=adf_executing_code_on_page_entry_1_servi&more=1&c=1&tb=1&pb=1
The general idea is this :
Get the username (you mentioned portal, so after portal authenticates the user is the username available in a session scoped managed bean ? You would need to access this somehow because your query needs it., preferrably by EL)
create am AM method to set the bind parameter to the Vo and execute it. The method is automatically exposed to the DataControl.
Create a method binding in your page def for the method. in the parameters for the method, use the EL to get the username, eg: #{sessionScope.frameworkBean.username} (you could also create a binding for executeWithParams, but I hav'nt done this in a while and dont remember the exact process )
Now create an executable for the method binding you created. (the executable ensure that this method is called at pageload, and set you refresh condition appropriately)
Go to the properties
Edited by: Jeevan Joseph on Jan 13, 2011 2:44 PM -
Passing a parameter to a method in the dataTable's value attribute
Hi,
I'm brand new to JSF, so I might be overlooking something really simple. I'm trying to use a dataTable to display data from a database. It works fine until I try to pass a parameter to "#{customer.all}". My backer bean is ready (or so I believe) and is included after the jsp code snippet. What do I need to do to the jsp/jsf code in order to pass this parameter?
jsp code:
<html>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<f:view>
<head>
<link href="styles.css" rel="stylesheet" type="text/css"/>
<title>
<h:outputText value="#{msgs.pageTitle}"/>
</title>
</head>
<body>
<h:form>
<h:dataTable value="#{customer.all}" var="customer"
styleClass="customers"
headerClass="customersHeader" columnClasses="custid,name">
<h:column>
<f:facet name="header">
<h:outputText value="#{msgs.customerIdHeader}"/>
</f:facet>
<h:outputText value="#{customer.Cust_ID}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="#{msgs.nameHeader}"/>
</f:facet>
<h:outputText value="#{customer.Name}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="#{msgs.phoneHeader}"/>
</f:facet>
<h:outputText value="#{customer.Phone_Number}"/>
</h:column>
</h:dataTable>
</h:form>
</body>
</f:view>
</html>backer bean:
package com.corejsf;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.servlet.jsp.jstl.sql.Result;
import javax.servlet.jsp.jstl.sql.ResultSupport;
import javax.sql.DataSource;
public class CustomerBean {
private Connection conn;
public void open() throws SQLException, NamingException {
if (conn != null) return;
Context ctx = new InitialContext();
DataSource ds = (DataSource) ctx.lookup("java:comp/env/jdbc/mydb");
conn = ds.getConnection();
public Result getAll(sName) throws SQLException, NamingException {
try {
open();
Statement stmt = conn.createStatement();
ResultSet result = stmt.executeQuery("SELECT * FROM Customers where Name = '" + sName + "'");
return ResultSupport.toResult(result);
} finally {
close();
public void close() throws SQLException {
if (conn == null) return;
conn.close();
conn = null;
}Thanks,
DaveMogambo,
Thanks for the response. Let me see if I understand. Let's say I have a login.jsp page, and after the user logs in I want to display all of his orders in a dataTable in summary.jsp. You're saying I should actually run the query in LoginBean.java after doing the submit, something like this right?
login.jsp:
<html>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<f:view>
<head>
<title>A Simple JavaServer Faces Application</title>
</head>
<body>
<h:form>
<h3>Please enter your name and password.</h3>
<table>
<tr>
<td>Name:</td>
<td>
<h:inputText value="#{login.name}"/>
</td>
</tr>
<tr>
<td>Password:</td>
<td>
<h:inputSecret value="#{login.password}"/>
</td>
</tr>
</table>
<p>
<h:commandButton value="Login"
action="#{login.doLogin}"/>
</p>
</h:form>
</body>
</f:view>
</html>
LoginBean.java:
public class LoginBean {
private String name;
private String password;
private ResultSet results;
// PROPERTY: name
public String getName() { return name; }
public void setName(String newValue) { name = newValue; }
// PROPERTY: password
public String getPassword() { return password; }
public void setPassword(String newValue) { password = newValue; }
// PROPERTY: results
public ResultSet getResults() { return results; }
public void setResults(String newValue) { results = newValue; }
public String doLogin(){
Integer liUserID = null;
// authenticate user and return user's internal ID
liUserID = authenticateUser(name, password);
if ( liUserID == null){
return "failure";
else{
results = getUserOrders(liUserID);
return "success";
faces-config.xml:
<?xml version="1.0"?>
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
version="1.2">
<navigation-rule>
<from-view-id>/login.jsp</from-view-id>
<navigation-case>
<from-outcome>login</from-outcome>
<to-view-id>/summary.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<managed-bean>
<managed-bean-name>login</managed-bean-name>
<managed-bean-class>LoginBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<navigation-rule>
<from-view-id>/login.jsp</from-view-id>
<navigation-case>
<from-action>#{login.doLogin}</from-action>
<from-outcome>success</from-outcome>
<to-view-id>/summary.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-action>#{login.doLogin}</from-action>
<from-outcome>failure</from-outcome>
<to-view-id>/login.jsp</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>And then I assume that my summary.jsp would look like this, using login.results as my value for the dataTable?
<html>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<f:view>
<head>
<link href="styles.css" rel="stylesheet" type="text/css"/>
<title>
<h:outputText value="#{msgs.pageTitle}"/>
</title>
</head>
<body>
<h:form>
<h:dataTable value="#{login.results}" var="order"
styleClass="orders"
headerClass="ordersHeader" columnClasses="orderid,name">
<h:column>
<f:facet name="header">
<h:outputText value="#{msgs.orderIDHeader}"/>
</f:facet>
<h:outputText value="#{order.Order_ID}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="#{msgs.nameHeader}"/>
</f:facet>
<h:outputText value="#{order.Name}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="#{msgs.phoneHeader}"/>
</f:facet>
<h:outputText value="#{order.Phone_Number}"/>
</h:column>
</h:dataTable>
</h:form>
</body>
</f:view>
</html>Does this look reasonable?
Thanks,
Dave -
Unable to pass the parameter to other portlet
Hi,
I am trying to pass the parameter from one portlet to other portlet using the convention below...
Example say you have two reports on a page dept and employee. You want to refresh employee report by clicking on
the dept in the department report in the same page.
(1) Create the first report based on the query
SELECT htf.anchor('http://domain/servlet/page?&_pageid=97&_dad=portal_dad&_schema=portal_schema&_mode=3&dept_code='||DEPTNO,DEPTNO) Department,
dname FROM scott.dept;
(2) Create a 2nd report
select * from EMP where DEPTNO = :dept_code
(3) In the the additional pl/sql code section before display page on the 2nd report do this
portal30.wwv_name_value.replace_value(
l_arg_names, l_arg_values,
p_reference_path||'.dept_code',portal30.wwv_standard_util.string_to_table2(nvl(get_value('dept_code'),10)));
(4) Created a page and added these reports as portlets.
In point (4) I am not getting the value of selected deptno in 'dept_code'. It is always taking the default value as '10'...
I like to have the quick solution for this so that I can show the demo to my client...
Thanks in Advance
SudheerHi Ali,
We can add parameterized queries to any TableAdapter (and controls to accept parameter values and execute the query) using the
Search Criteria Builder Dialog Box.
For detail information, please refer to the following article to create a Windows Form to Search Data:
http://technet.microsoft.com/en-us/library/hbsty6z7.aspx
In addition, this issue is more related to Windows Form. I would suggest open a new thread in Windows Form forum if you have any more qestions:
http://social.msdn.microsoft.com/Forums/windows/en-US/home?forum=winforms
Regards,
Elvis Long
TechNet Community Support -
Web link to pass the parameter to custom web app then update the field
Hi,
I have created the web link in service request object to refer Account Object. I want to let user able to select the account from web link then base on the current SR no and account that have created update the record in CRMOD. My question is how to pass the parameter out to my external web app so that they can update my SR correctly?
Thank youHi Messer,
I have put in the syntax as below :-
https://secure-ausomxega.crmondemand.com/OnDemand/user/AssocAccountPopup?mapBC=Service+Request&OACTRL=Account&ophi=PopupNewForm.Account+Id&pfid=PopupNewForm&OMTHD=AssocPopup&OMTGT=PopupSearchList&assocInit=Y&opht=4&OAOBJ=Service+Request&mapField=Account&ophd=PopupNewForm.Account&ophpd=3&disableclear=Y&ophr=AssocAccountPopup&assocval=&ParentType=Edit
This pop up screen wil let the user to select the account then i will pass the account and the SR to external web app to update back the CRMOD. I am not too sure the above syntax is correct or maybe can you give some example.
I am new in CRMOD, hope that you can advice on this.
Thank you,
SK -
How to pass date parameter from one page to other in BSP application
Hello gurus,
In my BSP application i have taken an input field and made its type "date" and its value also of type date and have set showhelp .
Now once a particular date is given as an input i want to pass its value to next page. And in next page i have to fire a query based on the date entered in previous page...
Now my prb is that my date value is not getting passed to the next page.
I have used
navigation->set_parameter( name = 'BEGDA' value = BEGDA ).
to pass date parameter.....still parameter is not getting passed.
plz help me with this.....
thankx.....Hi Eddy,
By truncation i mean the entire date becomes 10 char including the ' . ' eg(06.12.2006).
so with begda being 8chars it takes my date as 06.12.200
as a result my query is not getting executed.
now i have tried to use a FM 'CONVERT_DATE_TO_INTERN_FORMAT'.
in my 1st page but still in 2nd page its giving me following error.
<b>The data that was read could not be written to the specified target field during a SELECT access. Either the conversion is not supported for the type of the target field, or the target field is too short to accept the value, or the data is not in the appropriateformat for the target field.
</b>
Regards
Swati -
How to pass the parameter of a stored procedure to iReport
Hi... i don't know how to pass the parameter of the stored procedure to the iReport.
In the Report Query, i tried
1. sp_storedprocedure ' value'
2. sp_storedprocedure +''''+$P{parameter}+''''+
3. sp_storedprocedure +$V+$P{parameter}++$F($F is a variable having a value of ' (a single quote))may you enlighten us please? thank youFor M$ SQL server I find that it only works when U use the fully qualified name...
e.g. catalod.dbo.my_procedure_name 'variable'
My full query in the Report Query window is something like this:
EXEC arc.dbo.jasper_Invoice 1000
Note that you may find that selecting from VIEWS / TABLES fails for no apparent reason and iReport will prompt you with the usual very unhelpful (we have what we "pay" for) prompt, stating that "The document is empty".
To work around this issue, where a statement like "SELECT * FROM arc.dbo.acc_invoices WHERE Invoice_id=1000" does not work, simply create a PROC, something like:
CREATE PROC jasper_MyProc (@my_rec_id integer) AS
SELECT * FROM arc.dbo.acc_invoices WHERE Invoice_id= @my_rec_id integer
...to wrap your SELECT statement, then call the PROC
Edited by: Sylinsr on Apr 22, 2008 4:23 PM -
Passing one parameter to multiple views
Is this possible? I would like to pass one parameter, a date field, to multiple views. I cannot use it in the record selection, because my views do a mathematical computation which returns a single value, but I only want to select the data for a single day.
The problem is that there are several views and I do not want to have to enter the date parameter a dozen times.Try to use add command and write the query like this
select * from view where datefield={?date}
also create another add command for the other view
select * from view2 where datefield2={?date}
for all the queries create the same parameter with the name {?date}
Regards,
Raghavendra -
How to pass Cascading Parameter in SSRS using Java
How to pass Cascading Parameter in SSRS using Java---
We are having a problem with dependent parameters.There are three drop down--
1.first dropdown is of Country.When we select a country--Accordingly next dropdown(State)will populate
2.Second dropdown is of State. When we select a state--Accordingly next dropdown(City)will populate.
I have three data sources are
CountryList-
SELECT CountryRegionCode, Name
FROM Person.CountryRegion
ORDER BY Name
StateList
SELECT StateProvinceID, StateProvinceCode, CountryRegionCode
FROM Person.StateProvince
WHERE CountryRegionCode = @CountryRegionCode
ORDER BY StateProvinceCode
CityList
SELECT StateProvinceID, City
FROM Person.Address
GROUP BY StateProvinceID, City
HAVING (StateProvinceID = @StateProvinceID)
ORDER BY City
Ihave to show report that has been deployed on server on the besis of these parameters
I am using ReportViewer in JSP Page through url--
http://192.168.90.149/ReportServer/Pages/ReportViewer.aspx?%2fReport+Project1%2fCascading_Parameters&rs:Command=Render&rs:parameter=true&Country="+Country+"&State="+State;
But it is not accepting parameter if they are cascaded.It is working fine if Both parameters are independent.
Edited by: kaushlee on May 11, 2010 9:22 PMTake a look at set_custom_property:
public static final ID SETTEXT = ID.registerProperty("SETTEXT");
public boolean setProperty(ID pid, Object value)
if (pid == SETTEXT)
String text = value.toString();
and in forms
set_custom_property('beans.bean_item', 1, 'SETTEXT', 'some text');
cheers -
Passing query parameter through xcelsius 2011 at run time
I am using reporting service as a web connectivity and I am trying to pass the query parameter at run time from the dashboard. While executing the xcelsius at first time it is working well with the default value but after passing the parameter from combo box, the data is not loading. It is not returning anything except the field name.
I am new to this xcelsius. Your help will be really appreciated.
Thanks.Hi,
if you do the following thing,i think it may be helpfull,
First select Data in menubar>Connection->select required connection>select the useage option in connection definition window>give trigger cell value as combo box destination cell.
Thanks,
Ramana -
Passing a parameter from one class to another class in the same package
Hi.
I am trying to pass a parameter from one class to another class with in a package.And i am Getting the variable as null every time.In the code there is two classes.
i. BugWatcherAction.java
ii.BugWatcherRefreshAction.Java.
We have implemented caching in the front-end level.But according to the business logic we need to clear the cache and again have to access the database after some actions are happened.There are another class file called BugwatcherPortletContent.java.
So, we are dealing with three java files.The database interaction is taken care by the portletContent.java file.Below I am giving the code for the perticular function in the bugwatcherPortletContent.java:
==============================================================
public Object loadContent() throws Exception {
Hashtable htStore = new Hashtable();
JetspeedRunData rundata = this.getInputData();
String pId = this.getPorletId();
PortalLogger.logDebug(" in the portlet content: "+pId);
pId1=pId;//done by sraha
htStore.put("PortletId", pId);
htStore.put("BW_HOME_URL",CommonUtil.getMessage("BW.Home.Url"));
htStore.put("BW_BUGVIEW_URL",CommonUtil.getMessage("BW.BugView.Url"));
HttpServletRequest request = rundata.getRequest();
PortalLogger.logDebug(
"BugWatcherPortletContent:: build normal context");
HttpSession session = null;
int bugProfileId = 0;
Hashtable bugProfiles = null;
Hashtable bugData = null;
boolean fetchProfiles = false;
try {
session = request.getSession(true);
// Attempting to get the profiles from the session.
//If the profiles are not present in the session, then they would have to be
// obtained from the database.
bugProfiles = (Hashtable) session.getAttribute("Profiles");
//Getting the selected bug profile id.
String bugProfileIdObj = request.getParameter("bugProfile" + pId);
// Getting the logged in user
String userId = request.getRemoteUser();
if (bugProfiles == null) {
fetchProfiles = true;
if (bugProfileIdObj == null) {
// setting the bugprofile id as -1 indicates "all profiles" is selected
bugProfileIdObj =(String) session.getAttribute("bugProfileId" + pId);
if (bugProfileIdObj == null) {
bugProfileId = -1;
else {
bugProfileId = Integer.parseInt(bugProfileIdObj);
else {
bugProfileId = Integer.parseInt(bugProfileIdObj);
session.setAttribute(
("bugProfileId" + pId),
Integer.toString(bugProfileId));
//fetching the bug list
bugData =BugWatcherAPI.getbugList(userId, bugProfileId, fetchProfiles);
PortalLogger.logDebug("BugWatcherPortletContent:: got bug data");
if (bugData != null) {
Hashtable htProfiles = (Hashtable) bugData.get("Profiles");
} else {
htStore.put("NoProfiles", "Y");
} catch (CodedPortalException e) {
htStore.put("Error", CommonUtil.getErrMessage(e.getMessage()));
PortalLogger.logException
("BugWatcherPortletContent:: CodedPortalException!!",e);
} catch (Exception e) {
PortalLogger.logException(
"BugWatcherPortletContent::Generic Exception!!",e);
htStore.put( "Error",CommonUtil.getErrMessage(ErrorConstantsI.GET_BUGLIST_FAILED));
if (fetchProfiles) {
bugProfiles = (Hashtable) bugData.get("Profiles");
session.setAttribute("Profiles", bugProfiles);
// putting the stuff in the context
htStore.put("Profiles", bugProfiles);
htStore.put("SelectedProfile", new Integer(bugProfileId));
htStore.put("bugs", (ArrayList) bugData.get("Bugs"));
return htStore;
=============================================================
And I am trying to call this function as it can capable of fetching the data from the database by "getbugProfiles".
In the new class bugWatcherRefreshAction.java I have coded a part of code which actually clears the caching.Below I am giving the required part of the code:
=============================================================
public void doPerform(RunData rundata, Context context,String str) throws Exception {
JetspeedRunData data = (JetspeedRunData) rundata;
HttpServletRequest request = null;
//PortletConfig pc = portlet.getPortletConfig();
//String userId = request.getRemoteUser();
/*String userId = ((JetspeedUser)rundata.getUser()).getUserName();//sraha on 1/4/05
String pId = request.getParameter("PortletId");
PortalLogger.logDebug("just after pId " +pId); */
//Calling the variable holding the value of portlet id from BugWatcherAction.java
//We are getting the portlet id here , through a variable from BugWatcherAction.java
/*BugWatcherPortletContent bgAct = new BugWatcherPortletContent();
String portletID = bgAct.pId1;
PortalLogger.logDebug("got the portlet ID in bugwatcherRefreshAction:---sraha"+portletID);*/
// updating the bug groups
Hashtable result = new Hashtable();
try {
request = data.getRequest();
String userId = ((JetspeedUser)data.getUser()).getUserName();//sraha on 1/4/05
//String pId = (String)request.getParameter("portletId");
//String pId = pc.getPorletId();
PortalLogger.logDebug("just after pId " +pId);
PortalLogger.logDebug("after getting the pId-----sraha");
result =BugWatcherAPI.getbugList(profileId, userId);
PortalLogger.logDebug("select the new bug groups:: select is done ");
context.put("SelectedbugGroups", profileId);
//start clearing the cache
ContentCacheContext cacheContext = getCacheContext(rundata);
PortalLogger.logDebug("listBugWatcher Caching - removing markup content - before removecontent");
// remove the markup content from cache.
PortletContentCache.removeContent(cacheContext);
PortalLogger.logDebug("listBugWatcher Caching-removing markup content - after removecontent");
//remove the backend content from cache
CacheablePortletData pdata =(CacheablePortletData) PortletCache.getCacheable(PortletCacheHelper.getUserHandle(((JetspeedUser)data.getUser()).getUserName()));
PortalLogger.logDebug("listBugWatcher Caching User: " +((JetspeedUser)data.getUser()).getUserName());
PortalLogger.logDebug("listBugWatcher Caching pId: " +pId);
if (pdata != null)
// User's data found in cache!
PortalLogger.logDebug("listBugWatcher Caching -inside pdata!=null");
pdata.removeObject(PortletCacheHelper.getUserPortletHandle(((JetspeedUser)data.getUser()).getUserName(),pId));
PortalLogger.logDebug("listBugWatcher Caching -inside pdata!=null- after removeObject");
PortalLogger.logDebug("listBugWatcher Caching -finish calling the remove content code");
//end clearing the cache
// after clearing the caching calling the data from the database taking a fn from the portletContent.java
PortalLogger.logDebug("after clearing cache---sraha");
BugWatcherPortletContent bugwatchportcont = new BugWatcherPortletContent();
Hashtable httable= new Hashtable();
httable=(Hashtable)bugwatchportcont.loadContent();
PortalLogger.logDebug("after making the type casting-----sraha");
Set storeKeySet = httable.keySet();
Iterator itr = storeKeySet.iterator();
while (itr.hasNext()) {
String paramName = (String) itr.next();
context.put(paramName, httable.get(paramName));
PortalLogger.logDebug("after calling the databs data from hashtable---sraha");
} catch (CodedPortalException e) {
PortalLogger.logException("bugwatcherRefreshAction:: Exception- ",e);
context.put("Error", CommonUtil.getErrMessage(e.getMessage()));
catch (Exception e) {
PortalLogger.logException("bugwatcherRefreshAction:: Exception- ",e);
context.put( "Error",CommonUtil.getErrMessage(ErrorConstantsI.EXCEPTION_CODE));
try {
((JetspeedRunData) data).setCustomized(null);
if (((JetspeedRunData) data).getCustomized() == null)
ActionLoader.getInstance().exec(data,"controls.EndCustomize");
catch (Exception e)
PortalLogger.logException("bugwatcherRefreshAction", e);
===============================================================
In the bugwatcher Action there is another function called PostLoadContent.java
here though i have found the portlet Id but unable to fetch that in the bugWatcherRefreshAction.java . I am also giving the code of that function under the bugWatcherAction.Java
================================================
// Get the PortletData object from intermediate store.
CacheablePortletData pdata =(CacheablePortletData) PortletCache.getCacheable(PortletCacheHelper.getUserHandle(
//rundata.getRequest().getRemoteUser()));
((JetspeedUser)rundata.getUser()).getUserName()));
pId1 = (String)portlet.getID();
PortalLogger.logDebug("in the bugwatcher action:"+pId1);
try {
Hashtable htStore = null;
// if PortletData is available in store, get current portlet's data from it.
if (pdata != null) {
htStore =(Hashtable) pdata.getObject( PortletCacheHelper.getUserPortletHandle(
((JetspeedUser)rundata.getUser()).getUserName(),portlet.getID()));
//Loop through the hashtable and put its elements in context
Set storeKeySet = htStore.keySet();
Iterator itr = storeKeySet.iterator();
while (itr.hasNext()) {
String paramName = (String) itr.next();
context.put(paramName, htStore.get(paramName));
bugwatcherRefreshAction bRefAc = new bugwatcherRefreshAction();
bRefAc.doPerform(pdata,context,pId1);
=============================================================
So this is the total scenario for the fetching the data , after clearing the cache and display that in the portal.I am unable to do that.Presently it is still fetching the data from the cache and it is not going to the database.Even the portlet Id is returning as null.
I am unable to implement that thing.
If you have any insight about this thing, that would be great .As it is very urgent a promt response will highly appreciated.Please send me any pointers or any issues for this I am unable to do that.
Please let me know as early as possible.
Thanks and regards,
Santanu Raha.Have you run it in a debugger? That will show you exactly what is happening and why.
-
Running JSF/ADF web apps in JDeveloper 10.1.3.0.3 embedded OC4J
Dear All,
I am currently learning to use JSF/ADF in JDeveloper. I have followed a tutorial from Oracle and when I run the completed web page, I receive a 'Page Cannot Be Displayed' error. The stack trace from JDeveloper is pasted below. Any help would be appreciated as would any links to more tutorials on JSF/ADF
Thanks
Angus
04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null)
04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Short)
04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Byte,null)
04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Byte)
04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Integer,null)
04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Integer)
04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)
04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)
04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)
04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)
04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)
04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)
04-Jan-2006 12:22:09 com.sun.faces.config.rules.ValidatorRule end
WARNING: [ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)
04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null)
04-Jan-2006 12:22:09 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Number,null)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Short)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Byte,null)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Byte)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Integer,null)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Integer)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ValidatorRule end
WARNING: [ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ValidatorRule end
WARNING: [ValidatorRule]{faces-config/validator} Merge(oracle.adf.DateTimeRange)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ValidatorRule end
WARNING: [ValidatorRule]{faces-config/validator} Merge(oracle.adf.RegExp)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ValidatorRule end
WARNING: [ValidatorRule]{faces-config/validator} Merge(oracle.adf.ByteLength)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(oracle.adf.Color,null)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.awt.Color)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(oracle.adf.DateTime,null)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.util.Date)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.sql.Timestamp)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.sql.Date)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Number)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Number,null)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ConverterRule end
WARNING: [ConverterRule]{faces-config/converter} Merge(oracle.adf.Number,null)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.TableSelectMany)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectInputText)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreRegionDef)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.SelectInput)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelPage)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.ShowOne)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Reset)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreMenuBar)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreMenuList)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.HtmlRowLayout)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectInputDate)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Messages)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelLabelAndMessage)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectOneListbox)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreTree)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelGroup)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.RegionDef)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreStyleSheet)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.HtmlTableLayout)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Iterator)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelPartialRoot)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreDocument)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreResetButton)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreImportScript)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Progress)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreMenuPath)
04-Jan-2006 12:22:11 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectManyShuttle)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreObjectSpacer)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreObjectIcon)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.TreeTable)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreForm)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreMenuChoice)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.ShowDetail)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectInputColor)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Go)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectBooleanCheckbox)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Tree)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.HtmlFrame)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.SingleStep)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectItem)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreTable)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.HtmlHtml)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelHeader)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Output)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.SelectBoolean)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.SelectMany)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectOneRadio)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreMessage)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreMessages)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Panel)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreShowOnePanel)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreTableSelectOne)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelList)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectOrderShuttle)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Poll)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreProcessTrain)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreTableSelectMany)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSubform)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.TableSelectOne)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreInputFile)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelForm)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Page)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreShowOneRadio)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Switcher)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreMenuTabs)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectOneChoice)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreCommandLink)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelTip)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.HtmlBody)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.SelectItem)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelButtonBar)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.MenuTree)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreShowOneTab)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelBox)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelSideBar)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Menu)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePage)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Command)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.HtmlScript)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSingleStepButtonBar)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Column)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreTreeTable)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectManyListbox)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelPageHeader)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Subform)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreProgressIndicator)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Form)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.SelectOrder)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreCommandButton)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreOutputText)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreMenuTree)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectRangeChoiceBar)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreGoLink)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreObjectLegend)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreGoMenuItem)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.HtmlFrameBorderLayout)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreOutputFormatted)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Region)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreObjectImage)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Message)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Process)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.HtmlHead)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreInputHidden)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreCommandMenuItem)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreChooseDate)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreShowDetail)
04-Jan-2006 12:22:12 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Input)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePanelBorder)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.MenuPath)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.HtmlCellFormat)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreSelectBooleanRadio)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreMenuButtons)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Table)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Choose)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreObjectSeparator)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreOutputLabel)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Object)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreGoButton)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.SelectOne)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreColumn)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.SelectRange)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreShowDetailItem)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreShowOneChoice)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreChooseColor)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreInputText)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreProcessChoiceBar)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreShowDetailHeader)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CoreObjectMedia)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.CorePoll)
04-Jan-2006 12:22:13 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Document)I'm facing the same problems in the production release 10.1.3.1.0 on Linux. I followed the guidelines of "Oracle JDeveloper 10g for Forms & PL/SQL Developers". When I created the template, I didn't manage to get the page rendered in the visual editor (see note on page 345). Even after restarting JDeveloper I'm facing the same problems.
Any idea's? -
Dear All,
I built a JSF based application (Using ADF Faces Components) developed in JDeveloper 10.1.3.1.0 (Application Configuration: [JSF, ADF BC]. The application is running fine with the embedded OC4J intance (automatically aunch by JDeveloper).
I am now trying to deploy it on the installed Oracle Application Server (running on the same local machine). The details of the versioning for different components in this App server are as follows:
1. OracleAS J2EE 10.1.3.0.0
2. Oracle ADF 10.1.3.1.0
The deployment steps I followed (as given in Chapter 34 of 'Oracle ADF - Developer's Guide for Forms/4GL Developers') seems to be running smoothly. This is because the deploy process ends up showing no erros in the message window.
However when I tried to test the application with a browser using the Apps Server URL (HTTP://localhost:8888/<my-app>/<firstfile.jspx>), I am finding 'Page not found error'.
I also tried a manual deployment (using deploy to a WAR file then copy the resulting war & ear files and the xml descriptor file to the Apps server's http root) and gives the war file URL in the browser.
In this case now I am getting the following error page:
=====================================================
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
An invalid character was found in text content. Error processing resource
'http://localhost:8888/HousingWithADF.war'.
=====================================================
Any idea?
Regards,
Irfan Ilyas
PS: I am doubtful about creation of Deployment Descriptors step as the documentation is not very clear about exactly which descriptors we need to create. Using my own idea, I tried to create J2EE descriptor, and one tld (taglibrary) file. However, the manual war deployment generates only the tld file in the deploy folder.Thanks for the hint.
OBSERVATION #1:
After looking through the administration console for OC4J instance, I found my application name with UP status. When drill-down further, the console gives me the URL which can be used to test the application.
While using the URL, a different error message was found:
URL: http://localhost:8888/KFUPMHousing/
Error:
====================
HTTP 403:(Forbidden)
================
You are not authorized to view this page
You might not have permission to view this directory or page using the credentials you supplied.
From my experience of Microsoft IIS, I know here I may need to configure the folder permissions for a web-user. But exactly which user and where it is defined (at OS Level or in AS), I am not much sure.
Can you elaborate?
OBSERVATION #2:
The log text for my application shows the following error (for the attempt I did with the URL shown above)
Log Text
07/01/05 22:43:38.62 HousingWithADF: JspServlet: unable to dispatch to requested page: Exception:java.io.FileNotFoundException: C
:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\HousingWithADF\HousingWithADF\HosReqInfo.jspx (The system cannot find the file specified)
However, I can browse the file on my local disk in the path specified with a little change in the path. The file is found in 'pages' folder within the last folder,named HousingWIthADF. I tried to move the file in the exact path specified in the log and now finding the 'Page not found' error.
Any idea?
Irfan Ilyas
Maybe you are looking for
-
298GB HD suddenly says it is only 1GB
I have a 297.77GB hard drive which, one day after trying to download A SMALL PICTURE, a message came up saying "Safari could not download the file ... because there is not enough free disk space. Try deleting documents or downloading to another disk.
-
Hi all I am facing performance problem, While selecting field 'DATAB' ( Validity start date of the condition record ) from Pooled table 'A017',I am getting timed out error ( slong ).IS there any efficient way to retrieve data. Regards Sreenivas
-
Incorrect country grouping 40 (country grouping for run: 99)
Hi All i was getting following error while posting in prod. this is my first posting doc in prod: - Incorrect country grouping 40 (country grouping for run: 99) guide what are all i need to check. regards
-
HP laserjet m1217 interface with Microsoft Surface
How so I print from a Surface RT to HP m1217 nfw MFP? Thanks,
-
Contradiction in Developer Guide about what is instance?
Hi! On page 16 of developer guide it is said that the structure of URL is follows protocol:[//host][:port]/appname/[instanceName] But earlier on this page it was said that The NetConnection class connects a client to an application instance on the se