Problem in navigation
Hi Oracle gurus,
I have 3 Text items, but when I use Tab, the cursor goes from first to the third text box.
I want it to go to the 2nd one.
What property should I set?
Please help me on this regard.
Thanks and Regards,
Basskey.
Hi,
Thanks a lot for the needful.
This works.
Thanks and Regards,
Basskey.
Similar Messages
-
Problem with navigation and masthead by changing languages with Anonymous
Hi All,
i have a problem with navigation and masthead by changin the language when accessing as anonymous user.
Ive created two additional users anon_de (with language german )and anon_en (for english).
I've created also two links in the in masthead:
/irj/portal/anonymous?guest_user=anon_en and /irj/portal/anonymous?guest_user=anon_de
When i choose "de" for the first time it works fine, but when i choose "en" again the language in the content are is changing to english again, but not in navigation and masthead. When i click again on link for "en" the languge is set to english. Strange thing is that when i click on "de" instead the portal content change to german but masthead and navigation are in english now, as it should be before....
It seems that masthead and navigation have always prevoius language selected.
Do you know, what could be the reason of that strange behavior?
Thanks for help
KarolHi Detlev,
you are right. the user is not "updated" fast enough... the strange thing is, that it works by the first time i change the language...
well.. i can implement that workaround as you suposed, but it would be a really workaround as the same page will be requestes second time, causing requests number to be double..
Thanks for help
ps. i forgot to mark this message as question to give points.. if you tell me how i can change that ill reward your answer.. -
Problems with navigation when deploy application on WebLogic 10.3
Hi! I have problems with navigation when I deploy my application on Weblogic server 10.3. In my application I have two pages. One page where I can see the records. In this page I have button Create with action to secound jspx page. When I press this button then the first form (where I could see all records) is empty - the create operation worked, but navigation to second page not. Navigation rules is in adf task flow. In default server all works correct. Where is the problem?
Maybe when I deploy my application I need specialy deploy adf task flow or somewhere write something? If so, then can you explain me where? Any suggestions what to do.
Best regards!I have in log:
2009.26.3 20:12:52 oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImp
l setLifecycleContextBuilder
WARNING: ADFc: Replacing the ADF Page Lifecycle implementation with 'oracle.adfi
nternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
2009.26.3 20:12:52 oracle.adfinternal.controller.util.model.AdfmInterface initia
lize
INFO: ADFc: BindingContext is present, using ADFm APIs for DataControlFrames.
2009.26.3 20:12:52 oracle.adfinternal.controller.metadata.provider.MdsMetadataRe
sourceProvider <init>
INFO: ADFc: Controller caching of MDS metadata resources ENABLED.
2009.26.3 20:12:52 oracle.adf.controller.internal.metadata.MetadataService$Boots
trap add
INFO: ADFc: Loading bootstrap metadata from '/WEB-INF/adfc-config.xml'.
2009.26.3 20:12:54 oracle.adf.share.security.providers.jps.CSFCredentialStore fe
tchCredential
WARNING: Unable to locate the credential for key AUGI in D:\bea\user_projects\do
mains\base_domain\config\oracle.
2009.26.3 20:12:54 oracle.adf.share.jndi.ReferenceStoreHelper throwPartialResult
Exception
WARNING: Incomplete connection information
Edited by: Debuger on Mar 26, 2009 11:18 AM -
Firefox have some problems and it block when is opening hotmail, in my laptop always have that problem, so i need check my email using another programs...that problem is in my laptop or it´s a problem of navigator??
I know you can't help with my Yahoo problem, however, apparently at some time in the past I have went to the Sync and tried to figure it out on both my laptop and my desktop, because I have the long snyc key information. However, when I go to try to sync both computers I never get the box to enter that key on either one. That is my problem. So should I try and get a new sync key and see if that works.
-
Hi All,
I am facing some problem while navigation. My page is navigating to another page on clicking a command button but when i come back to the previous page bny clicking back button(my new page has a back button for which i have written navigation rule.), it navigates successfully but maintains old values. I want that the page should be reloaded again. How can i do it....???
Plss help me.....
RegardsThere are a number of posts in this forum which relate to your question.
Either put the bean holding your values in request scope or reset the bean when necessary.
http://forum.java.sun.com/thread.jspa?threadID=704825
CowKing -
Problem with navigation in app javascript
Hi, in my app there are some problems for the navigation between the pages. in the app there is a descrption of the problems. can you help me? please.. it is important for me
https://onedrive.live.com/redir?resid=EED8037DD05FCED!79109&authkey=!APeraVKd0dTb96k&ithint=file%2crarHi Massimo,
Problem solved? I've downloaded your sample and there is really complex code in your sample, hardly to find where the problem located.
If I click method1, the app crashed with exception: out of memory.
To narrow down the issue, I create a blank app with the same page without too many js script loaded, I found it works fine, looks like the out of memory is caused by some of the js files.
I would suggest you to remove the js script reference you are using one by one if they are useless, I believe some of the JS code cause the memory issue.
--James
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Problem in navigation of portletized JSf application using ADF on portal
Hi All,
I am implementing a simple scenario wherein i have an ADF Business Component (a simple drop down) and a command button. On click of the button, there is a navigation from one jsp to another.
I am able to portletize a simple application using ADF Business Component.It runs fine when run on local.
But when i put it on portal, navigation does not work.the control is not transferred to the method of backing bean.It is not showing loggers either.
jdev version :10.1.3.3
oracle portal :10.1.4
Standalone OC4j : 10.1.3
If any one has working model of this, can you pls post the files used.
Also , if anyone has work around for same, it will be helpful.Thanks.
Portlet.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<portlet-app version="1.0"
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
id="com.vodacom.portlet.ServiceFaultPortlet.af7cec80b0013456">
<portlet>
<portlet-name>ServiceFault</portlet-name>
<display-name>ServiceFault</display-name>
<portlet-class>oracle.portlet.server.bridges.jsf.FacesPortlet</portlet-class>
<init-param>
<name>DefaultPage.view</name>
<value>/index.jspx</value>
</init-param>
<init-param>
<name>BridgeLifecycleListeners</name>
<value>
oracle.portlet.server.bridges.jsf.adf.ADFFacesBridgeLifecycleListener,oracle.portlet.server.bridges.jsf.adf.BindingFacesBridgeLifecycleListener
</value>
</init-param>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
</supports>
<supported-locale>en</supported-locale>
<portlet-info>
<title>Service Faults</title>
<short-title>Service Faults</short-title>
</portlet-info>
</portlet>
</portlet-app>
faces-config.xml
<?xml version="1.0" encoding="windows-1252"?>
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
"http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<faces-config xmlns="http://java.sun.com/JSF/Configuration">
<managed-bean>
<managed-bean-name>Index</managed-bean-name>
<managed-bean-class>view.backing.Index</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<!--oracle-jdev-comment:managed-bean-jsp-link:1index.jspx-->
</managed-bean>
<lifecycle>
<phase-listener>oracle.adf.controller.faces.lifecycle.ADFPhaseListener</phase-listener>
</lifecycle>
<application>
<default-render-kit-id>oracle.adf.core</default-render-kit-id>
</application>
<navigation-rule>
<from-view-id>/index.jspx</from-view-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>/welcome.jspx</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>
web.xml
<?xml version = '1.0' encoding = 'windows-1252'?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
<description>Empty web.xml file for Web Application</description>
<context-param>
<param-name>javax.faces.application.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml,/WEB-INF/portlet.xml</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<context-param>
<param-name>CpxFileName</param-name>
<param-value>view.DataBindings</param-value>
</context-param>
<filter>
<filter-name>adfBindings</filter-name>
<filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
</filter>
<filter>
<filter-name>adfFaces</filter-name>
<filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<url-pattern>*.jspx</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>adfFaces</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>adfFaces</filter-name>
<url-pattern>*.jspx</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>35</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
</web-app>
Regards,
Alpa
Message was edited by:
user648923
Message was edited by:
user648923Hi deepak,
I have post the same message in web center forum.The link for the same is :
Re: Navigation problem in JSF portlet when using ADF
Also i had seen that post and had tried some solutions provided.Nothing worked for me.And i am using portlet faces bridge provided by oracle in jdeveloper 10.1.3.3 version.
Regards,
Alpa -
Problem with Navigation Attributes when upgrading from BI 3.1 to BI 7.0
Hello,
I have the following problem that occured regarding queries during the upgrade from BI 3.1 to BI 7.0:
As far as the queries are concerned it is not possible in the 7.0 system to completely rebuild them according to the queries in 3.1. More specifically this refers to a certain number of navigation attributes that cannot be integrated into the query. In this case the following error message appears: "Error in BW: Missing mapping partprov cha <-> multiprov cha". Moreover, this error message only appears when you try to include navigation attributes into the query that are all attributes of the same specific InfoObject.
I have already checked in the 7.0 system if the relevant objects have the status 'active' and if the identification between the Multiprovider and the InfoObjects used is correct. So, is there anybody who may has another idea why this error message appears respectively who experienced the same/similar problem?
Thanks in advance & RegardsHello Martin,
yes, I've also checked the identification in the MultiProvider for the navigational attributes. There is nothing missing.
I've also reactivated the objects.
Do you may have another idea?
Thanks and regards, Ines -
Problem in Navigating the Journal Entry through Web Services
Dear All,
We are using the Webservice(B1WS) to navigate the Journal Entry data. its showing the error message '坨ᷧymentMen' in Enum 'PaymentMeansTypeEnum', the valid values are '', 'CHK', 'BTR', 'CAS', 'CRD'" and record is not navigated.
I analyzed that Journal Entry in SAP Business One. Its generated for the Outgoing Payments.
Please suggest me where i have the wrong step.
Best Regards,
Netra PalDear Gordon,
Thanks for the reply.
The Journal Entry navigation is working with other JE documents. Its creating the problem in those JE which are generated for Outgoing Pyaments.
I have gone through the JE web services there is only one variable "FCCurrency". I think that its not related to currency codes.
Waiting for a positive reply from you.
Best Regards,
Netra Pal -
Problem in navigating 2 second page
Hi ,
actually the scenario is like this:
1) when i give the partner no as input it will display the output details as guid,header,item,object_type,partner_no.---first page
2) Again if i click on the header in this output it have to go next page and have to display the details of header like service order,process type etc.
here upto first part i done .and the i created next page also
i done the following code in first page oninput processing
CASE event_id.
WHEN 'clickon'.
navigation->set_parameter( 'header' ).
navigation->goto_page('second.htm' ).
ENDCASE.
i done the following code in next page oninitialization
data: header type crmd_orderadm_h-guid.
header = request->get_form_field( name = 'header' ).
select object_id
guid
posting_date
process_type
created_by from crmd_orderadm_h INTO corresponding fields of
table index1
WHERE guid EQ header.
now the problem is i m not able to click on header of first page output .after clicking on that i have to display next page details.
Please solve the problem
Thanks,
Ushai created 2 pages.
in first page
LAYOUT:
<html>
<head>
<title>
Retrieving service order details
</title>
</head>
<body>
<form>
<form method = "post" action= "first.htm">
partner_no: <input name= "partner_no" /> <br>
<input value="submit" type= "submit"/>
</form>
<% if not index[] is initial. %>
<table>
<tr>
<td width= "150" align= "left"><b>GUID</b></td>
<td width= "150" align= "left"><b>HEADER GUID</b></td>
<td width= "150" align= "left"><b>ITEM GUID</b></td>
<td width= "150" align= "left"><b>OBJECT_TYPE</b></td>
<td width= "150" align= "left"><b>PARTNER_NO</b></td>
</tr>
<% loop at index into wa . %>
<tr>
<td width= "150" align= "left"><%= wa-guid %></td>
<td width= "150" align= "left"><a href= "second.htm"><%=wa-header %></a></td>
<td width= "150" align= "left"><%= wa-item %></td>
<td width= "150" align= "left"><%= wa-object_type %></td>
<td width= "150" align= "left"><%= wa-partner_no %></td>
</tr>
<%Endloop. %>
<%data:temp(20) type c.
move wa-header to temp. %>
</table>
ONINITIALIZATION:
data: partner_no type crmd_order_index-partner_no.
partner_no = request->get_form_field( name = 'partner_no' ).
select guid
header
item
object_type
partner_no from crmd_order_index INTO corresponding fields of
table index
WHERE object_type eq 'BUS2000140' and partner_no eq partner_no.
ONINPUTPROCESSING
CASE EVENT_ID.
WHEN 'clickon'.
navigation->set_parameter( name = 'head'
value = 'temp').
navigation->goto_page( 'second.htm' ).
ENDCASe.
type definitions:
types:it_index type standard table of crmd_order_index,
wa_index type crmd_order_index.
PAGE ATTRIBUTES:
index type it_index
wa type wa_index
head type c
temp type c
I_N SECOND page :_
LAYOUT
<html>
<head>
<title> Service order details</title>
</head>
<body>
<table>
<tr>
<td width= "150" align= "left"><b>GUID</b></td>
<td width= "150" align= "left"><b>OBJECTID</b></td>_
<td width= "150" align= "left"><b>POSTINGDATE</b></td>_
<td width= "150" align= "left"><b>PROCESSTYPE</b></td>_
<td width= "150" align= "left"><b>CREATEDBY</b></td>_
</tr>
<% loop at index1 into wa1. %>
<tr>
<td width= "150" align= "left"><%= wa1-guid %></td>
<td width= "150" align= "left"><%= wa1-objectid %></td>_
<td width= "150" align= "left"><%= wa1-postingdate %></td>_
<td width= "150" align= "left"><%= wa1-processtype %></td>_
<td width= "150" align= "left"><%= wa1-createdby %></td>_
</tr>
<% endloop. %>
</table>
</body>
</html>
TYPE DEFINITIONS:
TYPES:itindex1 type standard table of crmd_orderadm_h,_
waindex1 type crmd_orderadm_h._
PAGE ATTRIBUTES:
index1 type itindex1_
wa1 type waindex1_
temp1 type c
head type c
ONINITIALIZATION
data:temp1(20) type c.
data:head(20) type c.
temp1 = request->getform_field( name ='head' )._
select guid objectid process_type posting_date created_by_
from crmdorderadm_h into CORRESPONDING FIELDS OF TABLE index1_
where guid eq temp1.
now the problem is i m not able to displaying second page output..
Plz solve this problem.
THANKS,
Usha
Edited by: Usha Rani Rachamalla on Jan 23, 2008 7:59 AM -
Hi
I have one form with 2 tabs
tab1 tab2
tab1 is having some text boxes, checkboxes and list box. (Master form)
tab2 is having some text boxes in tabular form and some list boxes (Details form) ...Whatever I enter in this tab i am saving based on some sequence no. which I am using for master data also.
tab1 is used in 2 modes
-- Edit mode
-- Add mode
Edit mode I can edit the navigated record and also can go to tab2 and add some details to the master data and save....it works fine.
In Add mode (in tab1) when I add some record in text box and try to click on tab2 (Before or after save of master data in tab1) , I am not able to navigate to tab2, cursor is not moving to tab2, it still remains in the same tabs item in which I click.
In Edit mode I load data in tab1 by using the EXECUTE_QUERY method, the same Block I am using for Add mode. Then block in tab1 is database block.
I feel there is some problem in mode of form.
Does anyone have any idea for similar situation, or any other workaround or alternative.
Please let me know if any more details required.
regards
JCHi Manu,
Thanks a lot !! Experience Talks :) ...
Actually there are quite no. of items which are invisible during runtime, and in one of that I forget to make the Required=NO, remaining all I have set it to NO
I am also using When-Tab-Page-Chaged trigger. I have no issue with that.
Regards
JC -
Hi All
I have 20 view in my application. Previously some them have given very good suggitions. but still my problem has not been resolved. I deleted last view from my application. Since than i have problem to see my application in my browser. i.e. "Blank page". Can any one help me in this aspect?
Thank you
RaviHi,
Add your last deleted view into window and add those plugings once again how u need the navigations .
That might helps you.
Otherwise what s the problem
Thanks,
Lohi. -
I have a problem with my nokia 6710 navigator, it always flashes a message that memory full delete or move data from Chone memory but i am struggling to move or delete since i cnt find C folder? please assist?
did you check if you have the latest firmware installed?
did you install something new, new app or something like that ?
http://europe.nokia.com/support/download-software/device-software-update
if you have tried updating or it is up to date, you tried to restore factory settings and such, took the battery out and nothing is helping a trip to nokia care might be a good idea
You know what I love about you the most, the fact that you are not me ! In love with technology and all that it can offer. Join me in discovery.... -
Problem with navigator on nokia5800 navigation edi...
My name is Alexander and I have problems with the navigation system of the phone as my Nokia 5800 Navigation Edition: I installed the new version while downloading OviMaps and an error occurred and then can not use the browser. How can I reinstall OviMaps or what should I do? thank you
Solved!
Go to Solution.@alexandrudilita
Welcome to the forum!
Although you would need to backup any essential data first, you could always reset device to "out of box" state by keying in *#7370# on dialler followed by 12345 (default Nokia lock code unless previously altered by yourself); this would revert to version of OVI Maps pre-installed in device firmware.
Happy to have helped forum with a Support Ratio = 42.5 -
SOS Problem with navigation rules
Hello,
I have been stuck for some time with a navigation problem: It seems my faces DD is read but the navigations rules are not. Unfortunately it does not give me any exception. The only thing that occurs is that the home page reloads itself instead of redirecting to the second page.
Here is my DD:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN" "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
<faces-config>
<!-- ============================== Application ============================== -->
<application>
<locale-config>
<default-locale>en</default-locale>
</locale-config>
</application>
<!-- ============================== Managed Beans ============================== -->
<managed-bean>
<managed-bean-name>GuideSearchManagedBean</managed-bean-name>
<managed-bean-class>com.softwareag.test_guide.web.temp.PGSearchManagedBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<!-- ============================== Navigation rules ============================== -->
<navigation-rule>
<from-view-id>/home.jsp</from-view-id>
<navigation-case>
<from-action>#{GuideSearchManagedBean.newSearchAction}</from-action>
<from-outcome>displayResults</from-outcome>
<to-view-id>/errorOccured.jsp</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>Here is my jsf:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:view>
<html>
<head>
<title>home</title>
</head>
<body>
<h:form id="guide_form">
category
<h:selectOneMenu id="category" value="#{GuideSearchManagedBean.category}" required="true">
<f:selectItem itemValue="2" itemLabel="resto"/>
<f:selectItem itemValue="1" itemLabel="bar"/>
<f:selectItem itemValue="3" itemLabel="disco"/>
</h:selectOneMenu>
<br /><br />
postcode<br /><br />
<h:selectManyListbox id="postcodes" value="#{GuideSearchManagedBean.postcodes}" required="true">
<f:selectItem itemValue="75001" itemLabel="75001"/>
<f:selectItem itemValue="75002" itemLabel="75002"/>
<f:selectItem itemValue="75003" itemLabel="75003"/>
<f:selectItem itemValue="75004" itemLabel="75004"/>
<f:selectItem itemValue="75005" itemLabel="75005"/>
<f:selectItem itemValue="75006" itemLabel="75006"/>
</h:selectManyListbox>
<br /><br />
name
<h:inputText id="name" value="#{GuideSearchManagedBean.name}"/>
<br /><br />
with comments
<h:selectBooleanCheckbox id="commentsExist" value="#{GuideSearchManagedBean.commentsExist}"/>
<br /><br />
order by
<h:selectOneRadio id="sortOrderCriterion" value="#{GuideSearchManagedBean.sortOrderCriterion}" layout="pageDirection">
<f:selectItem itemValue="GRADES" itemLabel="note"/>
<f:selectItem itemValue="DB_ESTABLISHMENT_NAME" itemLabel="name"/>
<f:selectItem itemValue="DB_POSTCODE" itemLabel="postcode"/>
</h:selectOneRadio>
<br /><br />
minimum note
<h:selectOneMenu id="minimumNote" value="#{GuideSearchManagedBean.minimumNote}">
<f:selectItem itemValue="1" itemLabel="1"/>
<f:selectItem itemValue="2" itemLabel="2"/>
<f:selectItem itemValue="3" itemLabel="3"/>
<f:selectItem itemValue="4" itemLabel="4"/>
<f:selectItem itemValue="5" itemLabel="5"/>
</h:selectOneMenu>
<br /><br />
<h:commandButton id="submit" action="#{GuideSearchManagedBean.newSearchAction}" value="Submit" />
</h:form>
</body>
</html>
</f:view>Here is my Managed bean:
package com.softwareag.test_guide.web.temp;
import java.rmi.RemoteException;
import java.util.List;
import com.softwareag.test_guide.web.util.PGFactory;
* @author Julien Martin
public class PGSearchManagedBean {
private String category;
private List postcodes;
private String name;
private boolean commentsExist;
private String sortOrderCriterion;
private int minimumNote;
public String newSearchAction(){
System.out.println("----------within new search action--------------");//this line never gets printed
return "displayResults";
public String nextAction() throws RemoteException { //TODO: Remove that
PGSearch search = PGFactory.getSearchInstance();
String issue = search.next();
return issue;
public String previousAction() throws RemoteException { //TODO: Remove that
PGSearch search = PGFactory.getSearchInstance();
String issue = search.previous();
return issue;
public String getCategory() {
return category;
public boolean getCommentsExist() {
return commentsExist;
public int getMinimumNote() {
return minimumNote;
public String getName() {
return name;
public List getPostcodes() {
return postcodes;
public String getSortOrderCriterion() {
return sortOrderCriterion;
public void setCategory(String string) {
category = string;
public void setCommentsExist(boolean bool) {
commentsExist = bool;
public void setMinimumNote(int i) {
minimumNote = i;
public void setName(String string) {
name = string;
public void setPostcodes(List list) {
postcodes = list;
public void setSortOrderCriterion(String string) {
sortOrderCriterion = string;
}Can anyone help? I am really stuck. :-)
Julien Martin.Hi,
I added a messages component to your home.jsp page and saw that the page produced validation errors (often the cause for failed navigation).
The problem is that the beans property minimumNote expects an int but gets a String. When you change the the type in the bean to String it works.
You will probably want to add a converter to the uicomponent to get the correct type. I'd be happy to tell you how, but I'm just starting with jsf ;-). -
I'am trying to use the demo program 'navwiz.fmb' to make a program that can fetch data from several tables in the navigator. but i doesn't work. Please see the procedure below.
Can you help me. I looking for docs that can help me .
In fact i want to know more than 3 level tree is possible
Thanks
PROCEDURE r_t (p_view VARCHAR2) IS
cursor cursor_soc is
select soc_designation, soc_societe
from societes
order by soc_designation;
cursor cursor_dept(p_soc varchar2) is
select sec_designation, sec_secteur
from zones
where rtrim(ltrim(sec_societe)) = rtrim(ltrim(p_soc))
order by sec_designation;
cursor cursor_emp(p_sec varchar2) is
select div_designation, div_division
from secteurs
where rtrim(ltrim(div_secteur)) = rtrim(ltrim(p_sec))
order by div_designation;
cursor cursor_centre(p_div varchar2) is
select cen_designation, cen_cf
from centres
where rtrim(ltrim(cen_division)) = rtrim(ltrim(p_div))
order by cen_designation;
cursor cursor_ens(p_cf varchar2) is
select ens_designation, ens_ensemble
from ensembles
where rtrim(ltrim(ens_cf)) = rtrim(ltrim(p_cf))
order by ens_designation;
cursor cursor_equ(p_ens varchar2) is
select equ_designation, equ_equipement
from equipements x,liens_ens_equ y
where rtrim(ltrim(lee_ensemble)) = rtrim(ltrim(p_ens))
and rtrim(ltrim(equ_equipement)) = rtrim(ltrim(lee_equipement))
order by equ_designation;
cursor cursor_org(p_equ varchar2) is
select org_designation, org_organe
from organes x,liens y
where rtrim(ltrim(lie_equipement)) = rtrim(ltrim(p_equ))
and rtrim(ltrim(org_organe)) = rtrim(ltrim(lie_organe))
order by org_designation;
v_i number;
v_ignore number;
rg_emps recordgroup;
rg_depts recordgroup;
v_init_state groupcolumn;
v_level groupcolumn;
v_label groupcolumn;
v_icon groupcolumn;
v_value groupcolumn;
i_soc number := 1;
i_zone number := 1;
i_secteur number := 1;
i_cf number := 1;
i_ens number := 1;
i_equ number := 1;
i_org number := 1;
begin
/*if p_view = 'EMP' then
--the emps hierarchy
rg_emps := find_group('EMPS');
if not id_null(rg_emps) then
delete_group(rg_emps);
end if;
rg_emps := create_group_from_query('EMPS',
'select 1, level, ename, NULL, to_char(empno) ' ||
'from emp ' ||
'connect by prior empno = mgr ' ||
'start with job = ''PRESIDENT''');
v_ignore := populate_group(rg_emps);
ftree.set_tree_property('navigator.nav_display', ftree.record_group, rg_emps);
else
--the organization
rg_depts := find_group('SOCIETES');
if not id_null(rg_depts) then
delete_group(rg_depts);
end if;
rg_depts := create_group('SOCIETES');
v_init_state := add_group_column(rg_depts, 'init_state', number_column);
v_level := add_group_column(rg_depts, 'level', number_column);
v_label := add_group_column(rg_depts, 'label', char_column, 150);
v_icon := add_group_column(rg_depts, 'icon', char_column, 20);
v_value := add_group_column(rg_depts, 'value', char_column,20);
v_i := 1;
for socrec in cursor_soc loop
add_group_row(rg_depts, v_i);
set_group_number_cell(v_init_state, v_i, 1);
set_group_number_cell(v_level , v_i, 1);
set_group_char_cell (v_label , v_i, socrec.soc_designation);
set_group_char_cell (v_icon , v_i, NULL);
set_group_char_cell (v_value , v_i, socrec.soc_societe);
v_i := v_i + 1;
i_soc := i_soc + 1;
for deptrec in cursor_dept(socrec.soc_societe) loop
add_group_row(rg_depts, v_i);
set_group_number_cell(v_init_state, v_i, 1);
set_group_number_cell(v_level , v_i, 2);
set_group_char_cell (v_label , v_i, deptrec.sec_designation);
set_group_char_cell (v_icon , v_i, NULL);
set_group_char_cell (v_value , v_i, deptrec.sec_secteur);
v_i := v_i + 1;
i_zone := i_zone + 1;
for emprec in cursor_emp(deptrec.sec_secteur) loop
add_group_row(rg_depts, v_i);
set_group_number_cell(v_init_state, v_i, 1);
set_group_number_cell(v_level , v_i, 3);
set_group_char_cell (v_label , v_i, emprec.div_designation);
set_group_char_cell (v_icon , v_i, NULL);
set_group_char_cell (v_value , v_i, (emprec.div_division));
v_i := v_i + 1;
i_secteur := i_secteur + 1;
for centrerec in cursor_centre(emprec.div_division) loop
add_group_row(rg_depts, v_i);
set_group_number_cell(v_init_state, v_i, 1);
set_group_number_cell(v_level , v_i, 4);
set_group_char_cell (v_label , v_i, centrerec.cen_designation);
set_group_char_cell (v_icon , v_i, NULL);
set_group_char_cell (v_value , v_i, (centrerec.cen_cf));
v_i := v_i + 1;
i_cf := i_cf + 1;
for ensrec in cursor_ens(centrerec.cen_cf) loop
add_group_row(rg_depts, v_i);
set_group_number_cell(v_init_state, v_i, i_ens);
set_group_number_cell(v_level , v_i, 5);
set_group_char_cell (v_label , v_i, ensrec.ens_designation);
set_group_char_cell (v_icon , v_i, NULL);
set_group_char_cell (v_value , v_i, (ensrec.ens_ensemble));
v_i := v_i + 1;
i_ens := i_ens + 1;
for equrec in cursor_equ(ensrec.ens_ensemble) loop
add_group_row(rg_depts, v_i);
set_group_number_cell(v_init_state, v_i, i_equ);
set_group_number_cell(v_level , v_i, 6);
set_group_char_cell (v_label , v_i, equrec.equ_designation);
set_group_char_cell (v_icon , v_i, NULL);
set_group_char_cell (v_value , v_i, (equrec.equ_equipement));
v_i := v_i + 1;
i_equ := i_equ + 1;
for orgrec in cursor_org(equrec.equ_equipement) loop
add_group_row(rg_depts, v_i);
set_group_number_cell(v_init_state, v_i,i_org);
set_group_number_cell(v_level , v_i, 7);
set_group_char_cell (v_label , v_i, orgrec.org_designation);
set_group_char_cell (v_icon , v_i, NULL);
set_group_char_cell (v_value , v_i, (orgrec.org_organe));
v_i := v_i + 1;
i_org := i_org+1;
end loop;
end loop;
end loop;
end loop;
end loop;
end loop;
end loop;
ftree.set_tree_property('navigator.nav_display', ftree.record_group, rg_depts);
--end if;
end;
Message was edited by:
user507429thank you for helping me. the problem i have is that only the 3 first level data are fecthed. the rest are ignored.
Any indication will be appreciate
hope you speak french.
au fait en basant sur le from demo navwiz.fmb j'essaye de mettre en oeuvre une arborescence à 7 niveaux. seulement à l'execution je n'ai que 3 niveaux affichés. les autres sont simplement ignorés.
Merci
Message was edited by:
user507429
Maybe you are looking for
-
Nvidia GeForce 8600M GT is defective on Dell laptops; what about Macs?
http://www.macsimumnews.com/index.php/archive/nvidiageforce_8600m_gt_is_defective_on_dell_laptops_what_aboutmacs/ Dell will offer 12-month limited warranty enhancement to all worldwide customers of 15 laptops with defective Nvidia GPUs. These Dell la
-
Multiple users for one Macbook?
Is there a way two people can use the same Macbook and have their own account?
-
How to transfer a set of data from Excel spread sheet to an Access database
hi, Can any one please tell me how to transfer a set of data from Excel spread sheet to an Access database using SQL query.I'm using java API currently. I have done all sorts of ODBC connection in administrative tools.The file is in correct location.
-
Why does my Share Name ID get reset every month?
With my personal account, I prefer to be identified on the receiving end as "WIRELESS CALLER". I can change this on my account. However, once a month my Share Name ID gets reset back to my account name. After updating this one a month for the last
-
The comments on our blog stopped publishing. What can we do to fix this?