Client Eventing between a html page and iviews
I have an iview with static html(anchor tags) in the navigation panel, basically these links should open up corresponding iviews in the content area. What would be the best way to solve this problem.
hi Mukesh,
you should use the follow link to open an iview and mkark the navigation:
a href="/irj/portal?NavigationTarget=ROLES://portal_content/YourRoleID/YourWorksetID/YourPageID/YouriViewID" target="_top">
you can stop the link string at a page or an iView a page is a better option
Hope it helps,
Yoav
Similar Messages
-
How to create a HTML page like iView, thanks in advance!
How to create a HTML page like iView, thanks in advance!
I'm a newcomer, would you please tell me how to create a HTML page in WebDynpro ? In fact, i want create one welcome page which use html format and include some javascript.
thanks again.jakinapallykrishna , thank you very much for you reply.
The pdf file is a simple application, but i want know how create a view in HTML format (<HTML>... </HTML>), maybe use HTMLB control, i don't sure it.
In fact, I need create a view in portal, some pictures in it, once mouse over one picture, it need change another picture replace old one. I don't know how to do it, just know it can be handled in HTML page. So, i need help.
Thanks. -
How to transport roles, pages and iViews in the PCD from DEV to QA
Hi
Please would someone telll me how I can transport/move roles, pages and iViews we have created in our own area of the Portal Content Directory from our Development to our QA portal environment.
Kind Regards
ClaireHi,
Please check help.sap.com.
http://help.sap.com/saphelp_nw70/helpdata/en/c5/56599164d0c04cb566ba0e2d7ed55c/frameset.htm
Your Basis/NetWeaver consultants can help you.
Regards,
Masa -
How to display an USERID on "Portal Activity Report - Pages and iViews"
HI,All.
I have a question.
It is as follows.
A purpose:
iView of EP is used and called for contents of the WEB-AP server of various (Tomcat(Java)).
The acquisition of "EP login user ID" is difficult from the log of each WEB-AP server.
It wants to acquire information on "Which iView which EP login user how many times executed?" by using EP, and analysis/to use it.
A present specification:
"Only information on "Number of users using iView" can be acquired in this function
though "Page and iView of portal activity report" of EP was verified to achieve the above-mentioned purpose.
It is impossible to analyze it, that is, "Which user ID used iView?".
A question:
In "Page and iView of portal activity report"
How should I do to display "Which iView how many times did each EP login user execute?"?
Or, I want to know if there is a table with the informations.
Environment:
EP6.0 SP18
OS:WindowsServer2003 EE sp1 rc2
CPU:Xeon3.2GHz x2
MEMORY:4GB
HDD:36GB*2
Other:Clustering
Thanking you in advance.
matsu.Hi,
You can try Setting the 'Monitor Users' property of the pages to 'Yes'. We did this for one of our portal but there seem to be a slight performance trade-off.
Please award point if helpful. -
Question on passing value to an HTML page and dynamic links
Hi,
I just started using Oracle APEX and have the following questions:
1) I try to pass an order number from a report page to a blank HTML page that is supposed to be a shipping label. I cannot have the HTML page resolve the placeholder within HTML code to actual order number. I have tried %P2_ORDER_ID%, #P2_ORDER_ID# or &P2_ORDER_ID. Any suggestions?
2) I have a column with link in a report page and I want the link to go to different pages based on the value of that column. How should I do that?
Thanks!
Mike.Hi All,
Im still trying to think about this the right way.
If I add a servlet to the C2 project and use HTTP post from the HTML page and have the 2 variables in the servlet, could I then either set the variables on the session bean in order to make them available to my searchResults.jsp bean methods?
Regards
Jim -
Diff between regular portal page and content area page?
Hi.
I have a content area page. Because I thought it would be nice to have "Edit Page" link on the page, I created a new portal page (yes, a portal page vs. a content area page).
I created 2 regions.
Region 1, portlet nav bar portlet from my content area.
Region 2, root folder from my content area
When I use the page, clicking on anything in the nav bar portlet takes me to a new page (my content area page), instead of updating the folder portlet on my new portal page.
Is this by design?
What the difference between a portal page and a content area folder?
Thanks a bunch!
PhillipPhillip,
The two are indeed subtly different. The experts are on the content area forum but basically a content area page is designed to automatically provide easy navigation within a content area. This includes automatically "doing the right thing" for the navbar portlets.
Note the links on the navbar portlet and their respective targets. They always target the content area page so that the navigation in a content area is seamless (i.e. the middle region updates w/ the current folder).
Steve -
Hi All,
I have static html pages that are not published to the Web. I was wondering, can I create iViews for them to be displayed in the portal without having to publish them and creating URL iViews out of them?
Thanks
TM.Hi Tony
Make a component with the following code and portalapp.xml. For each static piece of text, make an iView from the component and set the HTML property to the HTML you want to display, and it should work... In the HTML you may need to change any
<
character to
<
Yes, it's a hack...
The portal component code
package com.michael;
import com.sapportals.portal.prt.component.*;
public class StaticHTML extends AbstractPortalComponent
public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
IPortalComponentProfile profile = request.getComponentContext().getProfile();
String theHTML = profile.getProperty("HTML");
response.write(theHTML);
The relevent portalapp.xml:
<?xml version="1.0" encoding="utf-8"?>
<application>
<application-config>
<property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
<property name="SharingReference" value="com.sap.portal.navigation.service"/>
</application-config>
<components>
<component name="StaticHTML">
<component-config>
<property name="ClassName" value="com.michael.StaticHTML"/>
</component-config>
<component-profile>
<property name="HTML" value="<b>bold</b><i>italic</i>"/>
</component-profile>
</component>
</components>
<services/>
</application> -
Read Text from HTML-Pages and want to solve "ChangedCharSetException"
Hello,
I have an app that connect via threads with pages and parse them an gives me only the Text-version of a HTML-page. Works fine, but if it found a page, where the text is within images, than the whole app stopps and gave me the message:
javax.swing.text.ChangedCharSetException
at javax.swing.text.html.parser.DocumentParser.handleEmptyTag(DocumentParser.java:169)
at javax.swing.text.html.parser.Parser.startTag(Parser.java:372)
at javax.swing.text.html.parser.Parser.parseTag(Parser.java:1846)
at javax.swing.text.html.parser.Parser.parseContent(Parser.java:1881)
at javax.swing.text.html.parser.Parser.parse(Parser.java:2047)
at javax.swing.text.html.parser.DocumentParser.parse(DocumentParser.java:106)
at javax.swing.text.html.parser.ParserDelegator.parse(ParserDelegator.java:78)
at aufruf.main(aufruf.java:33)So I tried to catch them with "getCharSetSpec()" and "keyEqualsCharSet( )" from the class "javax.swing.text.ChangedCharSetException" and hoped that this solved the problem. But still doesen't work...
Then I looked at the web and found, that I have to add the line:
doc.putProperty("IgnoreCharsetDirective", new Boolean(true));"doc." is a new HTML Dokument, created with the HTMLEditorKit. I do not have much knowledge about that and so I hope, that someone can explain me, how I can solve that problem, within my code.
Here we go:
import javax.swing.text.*;
import java.lang.*;
import java.util.*;
import java.net.*;
import java.io.*;
import javax.swing.text.html.*;
import javax.swing.text.html.parser.*;
public class myParser extends Thread
private String name;
public void run()
try
URL viele = new URL(name); // "name" ia a variable with a lot of links
URLConnection hs = viele.openConnection();
hs.connect();
if (hs.getContentType().startsWith("text/html"))
InputStream is = hs.getInputStream();
InputStreamReader isr = new InputStreamReader(is);
BufferedReader br = new BufferedReader(isr);
Lesen los = new Lesen();
ParserDelegator parser = new ParserDelegator();
parser.parse(br,los, false);
catch (MalformedURLException e)
System.err.print("Doesn't work");
catch (ChangedCharSetException e)
e.getCharSetSpec();
e.keyEqualsCharSet();
e.printStackTrace();
catch (Exception o)
public void vowi(String n)
name = n;
}and for the case that it is important here is the class "Lesen"
import java.net.*;
import java.io.*;
import javax.swing.text.*;
import javax.swing.text.html.*;
import javax.swing.text.html.parser.*;
class Lesen extends HTMLEditorKit.ParserCallback
public void handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos)
try
if ((t==HTML.Tag.P) || (t==HTML.Tag.H1) || (t==HTML.Tag.H2) || (t==HTML.Tag.H3) || (t==HTML.Tag.H4) || (t==HTML.Tag.H5) || (t==HTML.Tag.H6))
System.out.println();
catch (Exception q)
System.out.println(q.getMessage());
public void handleSimpleTag(HTML.Tag t,MutableAttributeSet a, int pos)
try
if (t==HTML.Tag.BR)
System.out.println(); // Neue Zeile
System.out.println();
catch (Exception qw)
System.out.println(qw.getMessage());
public void handleText(char[] data, int pos)
try
System.out.print(data); // prints the text from HTML-pages
catch (Exception ab)
System.out.println(ab.getMessage());
}Thanks a lot for helping...
Stephanparser.parse(br,los, false);
parser.parse(br,los, true); -
Hotkey for switching between open html pages similar to Apple+Tab for apps
Is there a hotkey combination which can switch between open html documents in the same way Apple+Tab switches between open applications?
In Windows it is possible to switch use ALT+TAB to switch between various open Firefox windows which are displayed as options along with other open applications -- but OSX seems to limit choices only to applications, and not their various windows. ?
ThanksHmm...sorry...just switched yesterday afternoon...this combo though doesn't seem to be working for me in either Firefox or Safari...tried Command+< also with the SHIFT key for '<' but to no avail.
Mind if I ask a two more simple questions though? How can the touchpad be setup to automatically register a click by tapping on the touchpad rather than the button beneath it...and...is there a hotkey combo which would take a person back to the beginning of a text field, similar to 'Home'? Haven't yet figured out how to make the arrow with "home" on it actually send the cursor back to "home"...
many thanks -
Difference between content area page and page
Can someone point me to doc or tell me what is the difference
between content area page created in Content Area Manager and
the page created in create page tool ?
I'm really confused.
Thanks.
Regards,
MaggieEssentially they're the same.
The CA page get's implicitly created when you create the CA
because architecturally when we display content for you to work
with we need a place to post the navigator portlet and the
content portlet.
In the next release this will change, there will be only one
type of page, and you will be able to add content and/or
portlets to it.
HTH
Jason Pepper -
Transporting VC Models and related pages and iviews across portals
Hi,
Hope you all are doing good.
We have a particular requirement, which i hope you will be able to give some inputs.
We have models for which we have .gml files. In addition we have the models deployed in Portal as iviews under Visual Composer folder.
Our requirements is to transport the models in VC and iviews in Portal to a new installation.
When we take the content dump from portal for the models and import into new installation it works fine.
But when we want to make changes in VC model (.gml) files and redeploy the VC application in Portal, it does not over write the existing iview for same VC application in Portal.
The ID's of the deployed iviews for same VC appls are getting changed and hence not updating the same one.
Any idea what we are missing ?
Appreciate your help
Regards
SumitHI Sumit,
Whenever you import .gml file in new Portal firstly one model name should be created then only we can import the existing model from Dev box at that time the package name differ in such case.
this may be a precaution from SAP
I also tried the same thing what you did but getting the same kind of deployment what you are getting.
Hope your doubt are clear
Swapnil -
Difference in credit between the online page and S...
Hello
There seems to be some discrepancy between my online credit balance, and what shows up on the header of my Skype. I added the credit yesterday night, the web page got updated automatically, but the desktop Skype is still lacking. On my Android on the other hand, the credit shows up normally. I am confused because, if anything, I would expect the opposite. Is there any way I can shake my desktop into compliance?
Sorry if this is the wrong place to post this.RollingInTheDee wrote:
Is there any way I can shake my desktop into compliance?
Hello
Power down your desktop, wait for 5 minutes and reboot. This should force the client to update.
TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
I recommend that you always run the latest Skype version: Windows & Mac
If my advice helped to fix your issue please mark it as a solution to help others.
Please note that I generally don't respond to unsolicited Private Messages. Thank you. -
Try to add on but get html page and no download
i do not know which add on i have that when now i want to add on other add ons a page of dialouge html i think comes up and no download. i sure have to hate to uninstall each one to figure out the problem
thanksThanks, fixed it shortly after posting the question (up all night fixing the crash; answer came to me while in the shower).
What I had to do was delete both the Metadata folder within the address book-related Cache folder in Library, as well as the Address Book folder within the Application Support folder, which happens to be found in another "Library." I then transferred the corresponding files from the previous system (which had been set aside during the reinstallation process), reinstalled Address Book, voila, there were my contacts!
It's confusing to have two identically named file folders so close together within the hierarchy, but I guess there is a valid reason for that. -
Hello!
How can I refresh a page programmatically? I also want to manage the order of my page iViews' loading. Could you give me some advice of doing this?
Thanks.Elena,
- you can only do a page reload using javascript (you can't reload from the server directly. (And 'when' would you decide to do so?)
there are many ways to do it, just one here for the example:
<script>
location.href=location.href;
</script>
or (HTMLB speaking)
Button b = new Button("reload");
myform.addComponent(b);
b.setOnClientClick("location.href=location.href");
if your iView's/page's isolation method property is set to 'URL', only this iView/page will be reloaded then.
- you can't control what is loaded first and what next. It's up to the browser on what to load when. Usually IE loads from top to bottom, so you can 'control' it by deciding on your page layout.
Regards,
Armin -
How to parser a html page and get useful information?
now ,I try to get the page by the url,after getting the whole page,
is there any way to get the useful text ,and abandon other ,liks ,ad likes,
other related links?
I try to use java.util.regex.*;
is there any other methods for dointg this?Regex isn't a good method unless your requirements are quite simple. In general if you want a Java HTML parser they are not hard to find -- "java html parser" is a good choice of keywords for an internet search.
Maybe you are looking for
-
One email account on two computers
With the help of someone on these forums I have just set up a wireless network using Appl AirPort Extreme. I use Microsoft Entourage on both machines both using the same account. When I receive an email, it appears in the in-box of whichever of the t
-
What is difference between WebPage and WebForm
Can you anyone Explain
-
I've updated my phone to IOS7. My Mac is saying that itunes needs updating to sync my phone. CAnt update itunes until software is updated. My Mac was bought new in 2008.
-
I cannot hear audio with adobe presenter
I am in school and using balckboard to view lectures on line and I have no audio when playing presentations
-
I have a new Q10 which does not seem able to sync my outlook calendar from my PC. Duplicate entries appear on the phone (blue and green) and often diary entries that I have deleted on the PC and phone reappear. What can I do? Thanks in advance if you