Error in displaying the address in the address bar of jsf program
Hello,
I develop a simple application with 3 jsf pages, one is the main.jsp, the other two are article.jsp and proposal.jsp. I also create 4 jsf navigation case in the faces-config.xml which contain the following situation:
article.jsp -gomain1> main.jsp
main.jsp -goArticle> article.jsp
main.jsp -goproposal> proposal.jsp
proposal.jsp -gomain2> main.jsp
I create two commandbuttons in the main.jsp and the actions are goArticle, goProposal respectively.
I create one commandbuttons in the article.jsp and the actions is gomain1.
I create one commandbuttons in the proposal.jsp and the actions is gomain2.
When I run the program, everything works fine. But I found out that there is something error in displaying the links in the address bar:
1. main page, http://localhost:8988/po-view-context-root/faces/main.jsp ok.
2. click article, http://localhost:8988/po-view-context-root/faces/main.jsp;jsessionid=c0a87f6e231cc8717caa21484ec38fecb60f8f50a7d2 ok.
3. click return, http://localhost:8988/po-view-context-root/faces/article.jsp (ERROR: should be main.jsp but the content is main.jsp?)
4. click proposal, http://192.168.127.110:8988/po-view-context-root/faces/main.jsp (ERROR: should be proposal.jsp but the content is proposal.jsp?)
5. click return, http://localhost:8988/po-view-context-root/faces/proposal.jsp (ERROR: should be main.jsp but the content is main.jsp)
It seems to me that the address bar displaying the wrong address but the content is correct, it quite annoying me, do i do something wrong or is it a bug in 10.1.3?
Regards,
Alan 22/11/2005
Hi Huseyin,
verify if you have defined the column name "link_name" on your "sql" parameter. It should be something like:
select geometry, link_name from your_table
Joao
Similar Messages
-
Error Message Displaying the status Bar not like popup message
Hi all,
My Requirement is while creating invoice if pricing conditons is repeted , system should thorough the error message like (uplicate Condition Types Are Not Possible in the status Bar but Im getting poup Error message So I want to display the same message in the status Bar.
Please Help me any one.
Regards,
PrathapI dont want to Display the popup, I want to Display in Status Bar as a Error Message.
Like this .
If I put message type 'E' its Displaying popup message , MESSAGE ' Duplicate Condition Types Are Not Possible.' TYPE 'E'.
If I Put messge type 'I' its Displaying in Status Bar .
Regards,
Prathap
Edited by: giri prathap on Sep 13, 2011 12:35 PM -
Display error message in the status bar during PBO
Hi All,
I want to issue an error message on a program's selection-screen.
The thing is when I issue an error message inside PBO, all the text in the selection-screen are gone and replaced with lines.
So i displayed the error message in the status bar.
MESSAGE S074(Z4) DISPLAY LIKE 'E'.
But the problem with this is that it will allow to continue data processing.
What shall I do in order for my error message to behave as an error message and not as a status message?Hi,
Write your message in PAI same as you have done MESSAGE S074(Z4) DISPLAY LIKE 'E'.
after this use call screen 'your screen no'.
it will not lock the field. -
ABAP Run time error when display the Customs Export declarations
Hi,
I'm receiving ABAP Run time error when display the Customs Exp. Declarations Under SAP Customs Processing -> Customs Processing - Import / Export -> Monitoring.
Error messaging point to Function Module - /SAPSLL/CUHD_LOAD_SELECTION.
While debugging we found that Primary Key of the below structures are not the same
lt_corpar type /sapsll/corpar_t
lt_corpar_ht type /sapsll/corpar_k02_ht
Does anyone has the SAP Notes or solution to this issue other than changing the structures manually. I'm not sure about the impact if i change manually
Error message short details
Termination occurred in the ABAP program "/SAPSLL/SAPLCUHD_SELECTION" - in
"/SAPSLL/CUHD_LOAD_SELECTION".
The main program was "/SAPSLL/CULO_DISPLAY_CUS_EXP ".
In the source code you have the termination point in line 144
of the (Include) program "/SAPSLL/LCUHD_SELECTIONU01".
We are on GTS Release 8.0 and Support Package SAPK-80014INSAPSLL (Support pack level 14).
Regards,
Pradeep MaddiHi,
I have implemented SAP Note 1531799, but it hasn't resolved the current issue.
For Our GTS instance, there are 2 Feeder Systems (ECC) attached, but document transfer in one of the system has not been activated. Both having the same partner functions ( We copied the sandbox into 2 different instances for different business Testings and now these 2 instances attached to GTS for testing). These feeder systems have different Logical system names and Logical system groups.
Recently i have implemented SAP Corrections manually for one the issue, Please see below thread for the detail information
Proforma Invoice not transferred to GTS
After implementing the corrections, i have created Pro-forma invoice in ECC system. When i tried to display, i'm facing the ABAP Dump issues.
Error details
Runtime Errors ITAB_DUPLICATE_KEY
ABAP Program /SAPSLL/SAPLCUHD_SELECTION
Application Component SLL-LEG
You tried to insert an entry into table "\FUNCTION=/SAPSLL/CUHD_LOAD_SELECTION\DATA=LT_CORPAR_HT". However, updating the unique table key "PRIMARY_KEY" resulted in a duplicate entry. The key concerned may be either the primary key or a secondary key.
Regards,
Pradeep -
Progrmmatically displaying the Search bar in IR
I want to programmatically display the search bar on IR. That is, for specific conditions it will be displayed while for others it will remain hidden
Any idea?
Thanks
DebrajHi,
You can hide with javascript div that have id apexir_TOOLBAR
$x_Hide('apexir_TOOLBAR');Regards,
Jari
Edited by: jarola on Oct 9, 2010 9:29 AM
Small sample
http://apex.oracle.com/pls/otn/f?p=40323:67
Button toggles search bar -
In itunes, pressing alt to display the menu bar totally worked for my windows running machine but I CANNOT get the menu bar to show in itunes on my imac. what's with that?
You got me experimenting ... and it was viewing the display with the green button (rather than amber) on the left that revealed the menu bar. Hovering didn't do it. Thanks for your help. First time in Apple Support.
-
Error in updationg the opportunity in data Migration program
Hi,
I am getting an error in updationg the opportunity in data Migration program. I am using
CALL FUNCTION 'BAPI_BUSPROCESSND_CHANGEMULTI'
TABLES
HEADER = li_header
ITEM = lt_bapibus20001_item
OPPORTUNITY = lt_bapibus20001_opportunity
INPUT_FIELDS = lt_bapibus20001_input_fields
PARTNER = lt_bapibus20001_partner_ins
STATUS = lt_bapibus20001_status_ins
PRICING = li_pricing
TEXT = li_text
RETURN = lt_bapiret2.
after save when it is to be commited. I am getting the following error.
Express Document: Updation terminated author by "XYZ"
Thanks in advance.HI Piyush,
Tyr to use CRM_order_maintain. If you are trying to change partner,pricing,status,header,item then ORDER_MAINTAIN is the good one to use.
Its very easy to identify the parameters that need to be populated for this FM -
I have a 27" iMac with a 27" Cinema display. If I have Photoshop on the cinema display, the menu bar is way over on the iMac. Is there any add-on that I can install to make the menu bar follow the open app?
Look at SecondBar gives you a second menubar
<http://blog.boastr.net/?p=3>
Also see DejaMenu
Also see MenuEverywhere (Shareware)
And if you happen to have a Magic Trackpad, the SecondBar author has a very nice BetterTouchTool utility for creating Magic Trackpad gestures. I can not live with out BetterTouchTool on my 27" iMac with 24" external monitor. -
Want to remove the Navigation path been displayed in Address bar
Hi All,
I am facing a problem with the url path displayed in the address bar of browser. Whenever i select a tab in TLN the url path changes. Normally it has to be like http://<host name>: <port no>/ portal but for me it is coming http://<hoatname>/<port no>/portal ? NavigationTarget=navurl://<somestring>. Can anyone tell me why it is happening so and how will i get rid of this. I dont want the navigation path to be displayed in the address bar.
Thanks,
Nishant SinghNavigation method does not depend on image path.
There are two standard TLN iView in portal (I do not count one from AJAX Framework Page):
1) Top-Level Navigation is the default one and based on portal component com.sap.portal.navigation.toplevel.default and consumes EPCM API.
2) Light Top-Level Navigation is based on portal component com.sap.portal.navigation.lighttoplevel.LightTopLevelNavigation and uses navigation method by URL.
I have used a image as background of the LTLN
Whatever you do with the Light TLN in the area of customizing its style, it will always remains Light Top-Level Navigation with navigation method by URL.
So the answer to your question is do modify com.sap.portal.navigation.toplevel.par instead of com.sap.portal.navigation.lighttoplevel.par.
Best regards,
Aliaksandr Zhukau
Edited by: Aliaksandr Zhukau on Aug 23, 2010 2:23 PM -
Getting an unexpected error while displaying the bound HtmlOutputText
I am getting this unexpected error when I am trying to display the HtmlOutputText which is bound to a backing bean HtmlOutputText component.
Error:
java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
at weblogic.servlet.internal.ServletResponseImpl.getOutputStream(ServletResponseImpl.java:253)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:176)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3151)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
The JSP Page is :
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Two Beans</title>
</head>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<body>
<f:view>
<h:form id="TwoBeansForm">
<h:selectOneMenu id="Dropdown" value="#{hlb.cb.selVal}">
<f:selectItems value="#{RgsRequestBean.compLookup.competencyAreaMap}"/>
</h:selectOneMenu>
<h:commandButton id="TestButton" value="Display" action="#{hlb.display}"/>
<h:outputText id="SelectedValue" binding="#{hlb.text}"/>
</h:form>
</f:view>
</body>
</html>The backing bean code is:
package trial;
import javax.faces.component.html.HtmlOutputText;
public class HighLevelBean {
private ChildBean cb;
private HtmlOutputText text;
public HighLevelBean(){
cb=new ChildBean();
public ChildBean getCb() {
return cb;
public void setCb(ChildBean cb) {
this.cb = cb;
public HtmlOutputText getText() {
return text;
public void setText(HtmlOutputText text) {
this.text = text;
public String display(){
text=new HtmlOutputText();
text.setValue(cb.getSelVal());
return "goback@twobeans";
}The goback@twobeans string provides the navigation to the same jsp page.
Childbean just have one String member variable.
The values in the drop down is getting populated but when I am trying to get the selected value to be displayed through the HtmlTextOutput the above error is thrown...Hi ,
For troubleshooting your issue, please take steps as below:
1. Open web.config file of current web application
2. Find the node that begins
<trust level=
3. Change the trust level from WSS_Minimal to
WSS_Medium
4. Save the file
5. Drop to command prompt and execute :
iisreset
If your issue persists, please provide detail error message of ULS log to determine the exact cause of the error?
For SharePoint 2010, by default, ULS log is at
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Error when displaying the table
hellow,
here i have to .htm pages, in first page i am entering the table name, and it has to display the table details in second page.
but in second page i am getting error like field catalog not found
plz help me.
with regards
babuhi babu rs
Please post the code of the two bsp page with the layout as well as abap code. Only than anybody can help you. -
Run time error while displaying the list of km folders
hi
i am trying to display the list of contents in the km folder using km api but the application is displaing an runtime error
package com.sap.test;
error in init method component
any body know the solution for this problem .
thankshi there
public class kmportalcomp extends AbstractPortalComponent
public String outtxt;
int depth;
int rowid = 0;
int counter = 0;
public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
IUserContext userCtx =request.getUser();
IResourceFactory factory;
IPortalComponentContext compContext = request.getComponentContext();
IPortalComponentProfile profile = compContext.getProfile();
try {IUser serviceUser = WPUMFactory.getServiceUserFactory().getServiceUser("ccadmin_service");
String webpath = request.getWebResourcePath();
IResourceContext resourceContext = new ResourceContext(serviceUser);
response.write(webpath);
String fpath;
fpath = profile.getProperty("path").trim();
depth = Integer.valueOf(profile.getProperty("depth").trim()).intValue();
RID rid = RID.getRID(fpath);
ICollection folder = (ICollection)ResourceFactory.getInstance().getResource(rid, resourceContext);
IResourceList fileList = folder.getChildren();
response.write("d.add(0,-1,'"folder.getName()"');\r\n");
rowid = 0;
scan_km(response, fileList,0);
response.write("document.write(d);\r\n");
response.write("//--></script>");
response.write("</div>");
} catch (Exception e) {
response.write("Error Occured<br>");
response.write(e.toString());
public void scan_km(IPortalComponentResponse response,IResourceList list,int level) {
int currentrowid = rowid;
if (level>depth&&depth!=0) {
return ;
String rid = " ";
IResourceList tmpreslist;
ICollection tmpcollection;
level++;
for (int i = 0; i < list.size(); i++) {
IResource tmpres = list.get(i);
try {
if (tmpres.isCollection() && tmpres.getLinkType() == LinkType.NONE ) {
//&& tmpres.getLinkType() == LinkType.NONE
tmpcollection = (ICollection) tmpres;
tmpreslist = tmpcollection.getChildren();
if (tmpreslist.size()>0) {
rowid++;
response.write("d.add("rowid","currentrowid",'");
response.write(tmpres.getName());
response.write("','');\r\n");
scan_km(response,tmpreslist,level);
else {
rowid++;
String dispname;
dispname = tmpres.getDisplayName();
if (dispname==null||dispname.equals(""))
dispname = tmpres.getName();
rid = "/irj/go/km/docs"+tmpres.getAccessRID();
response.write("d.add("rowid","currentrowid",'"dispname"','"rid"');\r\n");
} catch (Exception ex) {
the error is am getting is
com.sapportals.wcm.repository.enum.LinkType and com.sapportals.wcm.repository.enums.LinkType kmportalappproject/src.core/com/sap/test kmportalcomp.java
thanks -
Empty paragrpahs in a textflow cause runtime error when displaying the text
Hello there,
when I create a textflow which has empty ParagraphElements in
it (i.e. a ParagraphElement without any children) I get this
runtime error once I try to display the text in a container:
Error: Error #2175: One or more elements of the content of
the TextBlock has a null ElementFormat.
Is this a bug, or is there a legitimate reason for this
error? If so, I'd like to understand why. In my reasoning an empty
ParagraphElement should just result in the rendering of a newline.
But maybe I'm thinking too much in HTML terms here...
I appreciate any light you can shed on this,
thanks in advance,
Roland
P.S. I'm using the latest build 370Hey Richard,
thank you very much, and I was indeed already using your
mentioned workaround, I was just wondering whether it was a bug or
something I didn't fully understand :) But now I do, so thanks for
your time. -
Error in displaying the label_column on the map
hello everyone,
i am developing a travelling salesman problem project for my graduation project in my university. i want to see the street names on the result map in my application. the related code part of my program as below:
String [] thmStr = new String[2];
thmStr[0] = "tspTheme";
String dtsrc = "spatial10g";
String baseMap = "us_city_map";
String mapTitle = "Courier Guidance Map";
mv.setDataSourceName(dtsrc); // set datasource name
mv.setBaseMapName(baseMap); // set basemap
mv.setBoundingThemes(thmStr, 0.15, true);
mv.setImageFormat(MapViewer.FORMAT_PNG_URL); //set image format
mv.setMapRequestSRID(8307); //set the SRID of the map request
mv.setMapTitle(mapTitle);
mv.addJDBCTheme(
mv.getDataSourceName(),
thmStr[0],
sql,
"geometry",
"8307",
"L.TSPROUTE",
"link_name",
"T.STREET NAME",
false);
the code works correctly, i see the result route labeled by L.TSPROUTE, i do not see any error messages but there is not displayed the "street names" on the result route.
i am not able to find any reason causing this problem. i have a time problem and any help will be appreciated.
Regards
HuseyinHi Huseyin,
verify if you have defined the column name "link_name" on your "sql" parameter. It should be something like:
select geometry, link_name from your_table
Joao -
CS6: error in displaying the selecting outline
Hi,
in Photoshop CS6 I opened about 90 (yes, ninty ) images at once and now I want to create selections image by image (and in the next step cropping to these selections, saving & closing the images automatically by using a script). But when I make a selection and move it afterwards to a new position or create a new one, the selection borders/outline look/s like this - very ugly:
Maybe because there are too much images opened? (but not the first time I use this "method" for editing several hundreds of images).
In the status bar PS shows me 12,1 GB for the images, but "only" has 10,5 GB RAM available (identical to the PS settings).
Or is this primary a problem of my graphics card which only has 512 MB RAM (in a workstation with 16 GB RAM)?
... or "just a bug" in CS6?
thanks!
mtempI've never seen this before, but yes, it may be a graphics card limitation.
As a test, what happens if you make a channel out of that strange broken selection? It it really as messed up as it seems to be?
The other alternative could be that since PS is being asked to use more RAM than is available, it is going to disk. This could also mean a hard drive corruption of some kind.
What happens if you only open half the images? Do the selections work properly then?
Maybe you are looking for
-
Bug in print module in LR2.
Doing a little more testing on the print profile problem. MacPro 10.5.4 iPF9000 Canon driver 1.30 What I found out is that when going to Print Setup under Color Matching I can choose Vendor Matching and then I can choose CM off in the Driver. If I th
-
Variable substitution in text formating
Hello everybody! I'm a real beginner in APEX without Java knowledge. In my aplication I have a text-field P8_KONTA and a hidden text P8_COLOR containing a colorname (red, yellow or green). Depending on the value of P8_color I want to format the color
-
Variable filled Authorizations
Business Requirement: There are 50 sales organizations in a company. And BW team does not want me to create 51 roles ie 50 one for each one and one for all. They want me to create 1 role with variable and this variable should be filled in EXIT ro
-
Basic Aperture confusion of old PCer
I'm new to the Mac world after decades with PCs. Aperture looks great, but I'm stuck with a fundamental. Let's say I have an image dogs.jpg in the Pets folder, and I want to crop the image, rename the result DogHead, and place it in the Misc folder.
-
HT4489 Importing .vcf vCard to iCloud problems
I am trying to copy my contacts list onto iCloud from Hotmail. I exported it from Hotmail as .csv, converted it to vCard .vcf and tried to upload to iCloud, but got an error message saying I was exceeding size limits. My contacts list is only 750 e