How to embed a HTML Page in a Web Template and display it
Hi All
Can you please share ideas how I can embed a HTML page in a web template and how I can make it displayed as a popup when a button is pressed.
Also, how do I call a HTML page stored in Portal KM from the press of a button in the web template.
Your help is greatly appreciated.
Thanks
Karen
Using C# or javascript to authenticate the user to AD to read the property directly will be very difficult. Creating a custom user profile property and adding a sync from AD to that property is definitely the easiest way to do what you are describing.
Once its in User Profiles there are lots of samples on how to add it to the page.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem.
Similar Messages
-
How to parser a HTML page to get its variable and values?
Hi, everyone, here is my situation:
I need to parser a HTML page to get the variables and their associated values between <form>...</form> tag. for example, if you have a piece of HTML as below
<form>
<input type = "hidden" name = "para1" value = "value1">
<select name = "para2">
<option>value2</option>
</form>
the actual page is much complex than this. I want retrive pare1 = value1 and para2 = value2, I tried Jtidy but it doesn't reconginze select, could you recomend some good package this purpose? better with sample code.
Thanks a lot
KevinSee for example Request taglib from Coldtags suite:
http://www.servletsuite.com/jsp.htm -
How to use custom HTML page in flex web application with out using iframe
Hi all,
I have to import a custom HTML page (that has got links to another html pages) inside my flex web application and i dont want to use IFrame. Can you please suggest me with best example.
Please help me out as i'm new to flex.
Thanks,
Swetha.Hi, there:
Best thing to do is to start with the default login.html page, and then modify it. The login screen is fairly complex and it's easy to just miss a JS function you need to call. To get to default page, you would need to do one deploy (to simulator or whatever), and then look for login.html page in the temporary Xcode or Android project generated from the deployment. It should be under the "deploy" directory in your JDev workspace.
You can also see all the framework JS files and CSS files that way as well.
We have had customers implementing custom login screen so we know it can work, but they all had to start with the default login screen and then modify it.
Thanks,
Joe Huang -
How link my Facebook's page with my web site?
Hi!
How link my Facebook's page with my web site and have a preview of facebook's page on my website builted with iweb?
Regards
Thanks a lot.I think it's the other way around. Sharing a webpage on Facebook.
Here's how : http://myipad.atspace.com/size/Share.html
But if you want your FB page embedded in an iWeb page then paste the <iframe> code in a HTML Snippet.
<iframe src="http://url.to.file.html" frameborder="0" width="500" height="500" scrolling="no" allowTransparency="true"></iframe>
Where SRC="" is the URL of your Facebook page. Change the numbers for witdh and height to make the FB page fit your webpage. -
How to upload an html page?
Hi, I have an urgent problem and no one here in office seems to be able to help me.
We have an html page uploaded in our portal and now I need to upload a new version of it. I have no idea on how to use oracle portal interface to do the job.
If it helps, the page now is here: http://www.companywebsite.net/pls/portal30/docs/FOLDER/FOLDER1/FOLDER2/FOLDER3/FOLDER4/htmlpagename.HTM
Thanks for any suggestionIf the HTML page was uploaded as a "file" item type, then in order to edit the file, you must edit the file using whatever client side tool you want. Save the file locally.
Then in Portal, when editing the page the HTML file has been uploaded to, click the edit pencil for the HTML file and re-upload the new version of the HTML file.
Things uploaded to Portal as file types, you cannot directly edit the file within portal - only upload new file versions.
Not sure if this was your issue or not ... but thought maybe it was.
thanks,
/candace -
Hello,i am very new to dreamweaver 8,and i have searched
everwhere possible on how to create a html page.My website has a
navegation bar.And on the navegation bar it has links,like
forums,your accounts,and etc,but thats already integrated with the
website.Now i have an option in the admin area,wher i can create a
new category so that it would show up in the navegation bar,and i
have a drop down menu where i cans select what to put in that
category.But also i have an option to put a external url,so that
when they click on it,it will take them to where that link is
directed.The point is that i asnt to make a category in the
navigation menu that says Lirics.So that i can put lirics of songs
and etc,and that when users click on that link it will take them to
the lirics page..Do you guys understand?Sorry for the bad english,i
am now quite good with it..The most eloquent description will do nothing for us. To get
a solution to
your problem, we must see your code. Can you upload the file
and post a
link to it, please?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"don_playboy" <[email protected]> wrote in
message
news:eaadi9$kjf$[email protected]..
> well what i am trying to say is that i created a Folder
named
> Liricas(which is
> lirics in spanish),on my ftp.Now since i created that
folder in my ftp,it
> will
> show on my navegation menu control panel.But it will be
blank since it has
> nothing on it.Now what i want to do is,sicne i created
that folder,and i
> go to
> my nav meny control panel and select it as a category it
will show on my
> navegation menu(the Liricas that is),but when u click it
it has
> nothing,since
> it has no html or anything in the category.Now i want to
create a html
> page so
> that i can put albums names,and under those albums name
i want to create a
> link
> or category thats for lirics.So all this will be stored
on the ftp.and
> when
> users click on the Liricas category on my navigation
menu,it will take
> them to
> the liricas index page,which will show all the lirics...
>
>
>
> -
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 show an html page using JEditorPane in applet.
I have never use jeditorpane with applet so i dont know how to show a html page.if you have some code or any example then please posted that.Thanks
public class MyApplet extends JApplet{
private JTextPane textPane = null;
public void init(){
HTMLEditorKit editorKit = new HTMLEditorKit();
HTMLDocument htmlDoc = (HTMLDocument)editorKit.createDefaultDocument();
textPane = new JTextPane();
textPane.setEditable(false);
textPane.setEditorKit(editorKit);
textPane.setContentType("text/html");
textPane.setDocument(htmlDoc);
Container c = getContentPane();
c.add(new JScrollPane(textPane), BorderLayout.CENTER);
c.add(buttonPanel, BorderLayout.SOUTH);
c.add(Box.createVerticalStrut(5), BorderLayout.NORTH);
c.add(Box.createHorizontalStrut(5), BorderLayout.EAST);
c.add(Box.createHorizontalStrut(5), BorderLayout.WEST);
public void setHtml(String html){
// you should check the textpane's document to detrmine if there
// is already text in there..if so, then clear the textpane text and then
// set the new html...Note: JTextPane only show basic Html ..
// not like a full blown browser
textPane.setTextt(html);
textPane.setCaretPosition(0);
} -
How to embed the html file into form 6i?
How to embed the html file into form. What control activeX should i use? please help!!!!!!
You can use web.show_document function for this purpose. See
form builder help topics for more details.
Hope this helps. -
Can i embed an html page in the webdynpro
i am having a html file which will select one file and will upload to the server...
can i embed that html file in my web dynpro application...Sunil,
Currently there is no way to pass data from non-WebDynpro application to WebDynpro application.
The only options are start-up parameters and portal eventing, both are inappropriate for your scenario.
Why not to use regular WebDynpro component with IWDFileUpload control?
VS -
I am trying to delete pages I have crated in numbers, but can only see them in print preview. Without print preview I do not see them. How can I delete these pages, but keep others before and after?
Hi Crushed,
Numbers doesn't have pages. It has a canvas that holds objects such as tables and charts.
Drag the objects from the bottom of the canvas onto the white space above. That will reduce the number of "pages" (sheets of paper) that will print.
Regards,
Ian. -
How can I remove a page from a PDF document and save it as a new PDF document?
How can I remove a page from a PDF document and save it as a new PDF document?
Tools - Pages - Extract and tick the option to delete the extracted page from the original file.
-
How can WLS use JSP pages in a Web Application (either a .war file or a war directory structure) without a java compiler?
I suspect either the JSP specification is flawed (i.e. it doesn't take account of servers using just a JRE), or BEA's implementation is broken.
Production servers do not have a JDK installed. They only have a JRE. Therfore a java compiler is not present on the machine that the Web Application is deployed onto.
On the development machine, when the server is requested to load the JSP it creates a tmpwar directory within the Web Application directory structure. This is then included in the resultant .war file thus:
D:\war>jar -tf gmi.war
META-INF/
META-INF/MANIFEST.MF
gmiService.jsp
WEB-INF/
WEB-INF/classes/
WEB-INF/classes/com/
WEB-INF/classes/com/bt/
WEB-INF/classes/com/bt/gmi/
WEB-INF/classes/com/bt/gmi/gmiService.class
WEB-INF/getList.xsl
WEB-INF/getListByConnection.xsl
WEB-INF/getListByDistrict.xsl
WEB-INF/getListByDistrictConnection.xsl
WEB-INF/lib/
WEB-INF/source/
WEB-INF/source/build.bat
WEB-INF/source/gmiService.java
WEB-INF/web.xml
WEB-INF/weblogic.xml
tmpwar/
tmpwar/jsp_servlet/
tmpwar/jsp_servlet/_gmiservice.class
tmpwar/jsp_servlet/_gmiservice.java
When deployed on the production server with the web.xml file set to use the following values (note XML stripped):
weblogic.jsp.pageCheckSeconds
-1
weblogic.jsp.precompile
false
weblogic.jsp.compileCommand
javac
weblogic.jsp.verbose
true
weblogic.jsp.packagePrefix
jsp_servlet
weblogic.jsp.keepgenerated
false
And in the weblogic.properties file:
weblogic.httpd.webApp.gmi=war/gmi
I've also tried with the .war file, but that insists on creating another tmpwar directory outside of the .war file.
Then, although I have set pageCheckSeconds to -1 (don't check and don't recompile) ter production server still attempts to recompile the JSP's:
Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: init
Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param verbose initialized to: true
Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param packagePrefix initialized to: jsp_servlet
Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param compileCommand initialized to: javac
Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param srcCompiler initialized to weblogic.jspc
Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param superclass initialized to null
Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param workingDir initialized to: /opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war
Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param pageCheckSeconds initialized to: -1
Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: initialization complete
Mon Sep 25 11:40:12 BST 2000:<I> <WebAppServletContext-gmi> Generated java file: /opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war/jsp_servlet/gmiService.java
Mon Sep 25 11:40:14 BST 2000:<E> <WebAppServletContext-gmi> Compilation of /opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war/jsp_servlet/gmiService.java failed: Exception in thread "main" java.lang.NoClassDefFoundError: sun/tools/javac/Main
java.io.IOException: Compiler failed executable.exec([Ljava.lang.String;[javac, -classpath, /opt/Solaris_JRE_1.2.1_04/lib/rt.jar:/opt/Solaris_JRE_1.2.1_04/lib/i18n.jar:/opt/Solaris_JRE_1.2.1_04/classes:/var/wls/5.1/weblogic/lib/weblogic510sp4boot.jar:/var/wls/5.1/weblogic/classes/boot:/var/wls/5.1/weblogic/eval/cloudscape/lib/cloudscape.jar:/var/wls/5.1/weblogic/lib/wleorb.jar:/var/wls/5.1/weblogic/lib/wlepool.jar:/var/wls/5.1/weblogic/lib/weblogic510sp4.jar:/var/wls/5.1/weblogic/license:/var/wls/5.1/weblogic/classes:/var/wls/5.1/weblogic/lib/weblogicaux.jar:/opt/wls-servers/gmiServer/weblogic/gmiServer/serverclasses:/opt/wls-servers/gmiServer/weblogic/lotusxsl.jar:/opt/wls-servers/gmiServer/weblogic/xerces.jar:/opt/wls-servers/gmiServer/weblogic/logging.jar::/opt/wls-servers/gmiServer/weblogic/war/gmi/WEB-INF/classes:/opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war, -d, /opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war, /opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war/jsp_servlet/gmiService.java])
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.io.IOException.<init>(Compiled Code)
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(Compiled Code)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:200)
at weblogic.servlet.jsp.JspStub.compilePage(Compiled Code)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:173)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:187)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:142)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:744)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:692)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:251)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
The default Java compiler from sun lives in the tools.jar that comes with
the JDK. Just add that to your set of JARs which are deployed in production
and you should be fine. No need to install the full JDK - just make the
tools.jar available to WebLogic.
Regards
James
James Strachan
=============
email: [email protected]
web: http://www.metastuff.com
"Martin Webb" <[email protected]> wrote in message
news:[email protected]...
>
> How can WLS use JSP pages in a Web Application (either a .war file or a
war directory structure) without a java compiler?
>
> I suspect either the JSP specification is flawed (i.e. it doesn't take
account of servers using just a JRE), or BEA's implementation is broken.
>
> Production servers do not have a JDK installed. They only have a JRE.
Therfore a java compiler is not present on the machine that the Web
Application is deployed onto.
>
> On the development machine, when the server is requested to load the JSP
it creates a tmpwar directory within the Web Application directory
structure. This is then included in the resultant .war file thus:
>
> D:\war>jar -tf gmi.war
> META-INF/
> META-INF/MANIFEST.MF
> gmiService.jsp
> WEB-INF/
> WEB-INF/classes/
> WEB-INF/classes/com/
> WEB-INF/classes/com/bt/
> WEB-INF/classes/com/bt/gmi/
> WEB-INF/classes/com/bt/gmi/gmiService.class
> WEB-INF/getList.xsl
> WEB-INF/getListByConnection.xsl
> WEB-INF/getListByDistrict.xsl
> WEB-INF/getListByDistrictConnection.xsl
> WEB-INF/lib/
> WEB-INF/source/
> WEB-INF/source/build.bat
> WEB-INF/source/gmiService.java
> WEB-INF/web.xml
> WEB-INF/weblogic.xml
> tmpwar/
> tmpwar/jsp_servlet/
> tmpwar/jsp_servlet/_gmiservice.class
> tmpwar/jsp_servlet/_gmiservice.java
>
> When deployed on the production server with the web.xml file set to use
the following values (note XML stripped):
>
> weblogic.jsp.pageCheckSeconds
> -1
>
> weblogic.jsp.precompile
> false
>
> weblogic.jsp.compileCommand
> javac
>
> weblogic.jsp.verbose
> true
>
> weblogic.jsp.packagePrefix
> jsp_servlet
>
> weblogic.jsp.keepgenerated
> false
>
>
> And in the weblogic.properties file:
>
> weblogic.httpd.webApp.gmi=war/gmi
>
> I've also tried with the .war file, but that insists on creating another
tmpwar directory outside of the .war file.
>
>
> Then, although I have set pageCheckSeconds to -1 (don't check and don't
recompile) ter production server still attempts to recompile the JSP's:
>
>
> Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: init
> Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param
verbose initialized to: true
> Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param
packagePrefix initialized to: jsp_servlet
> Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param
compileCommand initialized to: javac
> Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param
srcCompiler initialized to weblogic.jspc
> Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param
superclass initialized to null
> Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param
workingDir initialized to:
/opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war
> Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp: param
pageCheckSeconds initialized to: -1
> Mon Sep 25 11:40:11 BST 2000:<I> <WebAppServletContext-gmi> *.jsp:
initialization complete
> Mon Sep 25 11:40:12 BST 2000:<I> <WebAppServletContext-gmi> Generated java
file:
/opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war/jsp_servlet/gmiService.
java
> Mon Sep 25 11:40:14 BST 2000:<E> <WebAppServletContext-gmi> Compilation of
/opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war/jsp_servlet/gmiService.
java failed: Exception in thread "main" java.lang.NoClassDefFoundError:
sun/tools/javac/Main
>
> java.io.IOException: Compiler failed
executable.exec([Ljava.lang.String;[javac, -classpath,
/opt/Solaris_JRE_1.2.1_04/lib/rt.jar:/opt/Solaris_JRE_1.2.1_04/lib/i18n.jar:
/opt/Solaris_JRE_1.2.1_04/classes:/var/wls/5.1/weblogic/lib/weblogic510sp4bo
ot.jar:/var/wls/5.1/weblogic/classes/boot:/var/wls/5.1/weblogic/eval/cloudsc
ape/lib/cloudscape.jar:/var/wls/5.1/weblogic/lib/wleorb.jar:/var/wls/5.1/web
logic/lib/wlepool.jar:/var/wls/5.1/weblogic/lib/weblogic510sp4.jar:/var/wls/
5.1/weblogic/license:/var/wls/5.1/weblogic/classes:/var/wls/5.1/weblogic/lib
/weblogicaux.jar:/opt/wls-servers/gmiServer/weblogic/gmiServer/serverclasses
:/opt/wls-servers/gmiServer/weblogic/lotusxsl.jar:/opt/wls-servers/gmiServer
/weblogic/xerces.jar:/opt/wls-servers/gmiServer/weblogic/logging.jar::/opt/w
ls-servers/gmiServer/weblogic/war/gmi/WEB-INF/classes:/opt/wls-servers/gmiSe
rver/weblogic/war/gmi/_tmp_war, -d,
/opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war,
/opt/wls-servers/gmiServer/weblogic/war/gmi/_tmp_war/jsp_servlet/gmiService.
java])
> at java.lang.Throwable.fillInStackTrace(Native Method)
> at java.lang.Throwable.fillInStackTrace(Compiled Code)
> at java.lang.Throwable.<init>(Compiled Code)
> at java.lang.Exception.<init>(Compiled Code)
> at java.io.IOException.<init>(Compiled Code)
> at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(Compiled Code)
> at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:200)
> at weblogic.servlet.jsp.JspStub.compilePage(Compiled Code)
> at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:173)
> at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:18
7)
> at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:118)
> at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:142)
> at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:744)
> at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:692)
> at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:251)
> at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
> at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
> at weblogic.kernel.ExecuteThread.run(Compiled Code)
>
>
>
-
Using WEB Output HTML Gallery and uploading using ftp upload the HTML page views correctly but images only display the alt tag in the browser window?
After a little investigation, I discovered that PNGs also do not render correctly in IE7 in similar circumstances.
I ended up using Levels in Photoshop to bring the output blacks up to "5", saved the images as PNGs, modified the HTML from .jpg to .png, and that seems to have covered up the problem well enough.
By the way, I did confirm that IE8 beta 2 renders the images correctly.
Brian -
How to reference variable values in a BW Web Template
Hi All,
I'm having a problem which I hope someone can help me with.
OVERVIEW
I've developed a BW Web template with (among other things) a TEXTELEMENTS Web Item and a TABLE Web Item. I've enhanced the context menu so that when a user selects a row within the TABLE, they can start a SEM-BPS Web interface (which displays a manual planning layout). I've used the 'How to call a BPS Web Interface with Predefined Selections' document to get the basic mechanism working. The JavaScript function I've written successfully passes the variable (DFCOST_PL) value to the planning layout.
THE PROBLEM
The problem is twofold....
1. I need to pass the value for a variable (FEPCVERS) to the layout. However I do not know how to make reference to the variable in JavaScript. The variable is available within the TEXTELEMENTS_1 object but how do I address it?
2. On a similar vein, I need to pass the value for a field within the table row to the planning layout. The TABLE_2 object contains the fields (DFCOST_PL and DFGROUPS). When the user selects a line the value for DFCOST_PL is available to the JavaScript function (ZAJT_JS_Maintain_Rules) in the 'parameter1' field. However, how do I make the DFGROUPS field available?
Below is the HTML code for my Web Template. Any help would be greatly appreciated.....
<!-- BW data source object tags -->
<object>
<param name="OWNER" value="SAP_BW">
<param name="CMD" value="SET_DATA_PROVIDER">
<param name="NAME" value="DATAPROVIDER_2">
<param name="QUERY" value="ZAJT3_COST_BASE_BY_COST_POOL">
<param name="INFOCUBE" value="Z_FEPC_CB">
DATA_PROVIDER: DATAPROVIDER_2
</object>
<!--BW HTML data source object tags: -->
<object>
<param name="OWNER" value="SAP_BW">
<param name="CMD" value="SET_PROPERTIES">
<param name="TEMPLATE_ID" value="ZAJT_RULES_ENTRY">
<param name="VARIABLE_SCREEN" value="X">
<param name="CMENU_LABEL_1" value="ZAJT Maintain Rules">
<param name="CMENU_FUNCTION_1" value="ZAJT_JS_Maintain_Rules">
<param name="CMENU_PARAMETER_1" value="1">
<param name="CMENU_CELL_TYPE_1" value="CHARACTERISTIC_VALUE">
<param name="CMENU_FILTER_1" value="DFCOST_PL">
<param name="CMENU_VISIBILITY_1" value="X">
<param name="CMENU_POSITION_1" value="TOP">
TEMPLATE PROPERTIES
</object>
<object>
<param name="OWNER" value="SAP_BW">
<param name="CMD" value="SET_DATA_PROVIDER">
<param name="NAME" value="DATAPROVIDER_1">
<param name="QUERY" value="ZAJT3_COST_BASE_BY_PC_NODE">
<param name="INFOCUBE" value="Z_FEPC_CB">
DATA_PROVIDER: DATAPROVIDER_1
</object>
<html>
<head>
<title>BW Web Application</title>
<link href= "/sap/bw/mime/BEx/StyleSheets/BWReports.css" type=text/css rel=stylesheet>
</head>
<!--ZAJT Test code start -->
<SCRIPT language="JavaScript">
function ZAJT_JS_Maintain_Rules(parameter,cell_type,filter,parameter1,parameter2,item,dataprovider,x,y)
var url;
var cpool=parameter1;
switch (parameter)
case "1":
url="http://dknborisdev.dcb.defence.gov.au:3280/sap/bc/bsp/sap/zbps_var_set/zbps_var_set.htm?area=ZFERULES&bps-appl=ZAJT_RULES3&var1=ZWEBCP&value1_1=" + cpool;
SAPBWOpenWindow(url ,"MaintainRules" ,600,400);
break;
</SCRIPT>
<!--ZAJT Test code end -->
<body>
<object>
<param name="OWNER" value="SAP_BW">
<param name="CMD" value="GET_ITEM">
<param name="NAME" value="TEXTELEMENTS_1">
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS">
<param name="DATA_PROVIDER" value="DATAPROVIDER_1">
<param name="CLOSED" value="X">
<param name="SHOW_COMMON_ELEMENTS" value="">
<param name="SHOW_FILTERS" value="">
<param name="ELEMENT_TYPE_1" value="VARIABLE_K">
<param name="ELEMENT_NAME_1" value="FEPCVERS">
<param name="ELEMENT_TYPE_2" value="VARIABLE_K">
<param name="ELEMENT_NAME_2" value="DF_GRP">
<param name="ELEMENT_TYPE_3" value="VARIABLE_K">
<param name="ELEMENT_NAME_3" value="ZCSTCNTR">
ITEM: TEXTELEMENTS_1
</object>
<object>
<param name="OWNER" value="SAP_BW">
<param name="CMD" value="GET_ITEM">
<param name="NAME" value="NAVIGATIONBLOCK_2">
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_NAV_BLOCK">
<param name="DATA_PROVIDER" value="DATAPROVIDER_2">
<param name="CLOSED" value="X">
<param name="TARGET_DATA_PROVIDER_1" value="DATAPROVIDER_1">
<param name="TARGET_DATA_PROVIDER_2" value="DATAPROVIDER_2">
ITEM: NAVIGATIONBLOCK_2
</object>
<object>
<param name="OWNER" value="SAP_BW">
<param name="CMD" value="GET_ITEM">
<param name="NAME" value="PC_HIERARCHY">
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_HIERDD">
<param name="DATA_PROVIDER" value="DATAPROVIDER_1">
<param name="CLOSED" value="X">
<param name="CAPTION" value="Profit Centre Hierarchy">
<param name="BORDER_STYLE" value="BORDER">
<param name="IOBJNM" value="0PROFIT_CTR">
<param name="HIERARCHY_NAME" value="PROFIT_CTR_ZFEPCBP05">
<param name="TARGET_DATA_PROVIDER_1" value="DATAPROVIDER_2">
<param name="TARGET_DATA_PROVIDER_2" value="DATAPROVIDER_1">
ITEM: PC_HIERARCHY
</object>
<object>
<param name="OWNER" value="SAP_BW">
<param name="CMD" value="GET_ITEM">
<param name="NAME" value="TABLE_1">
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID">
<param name="DATA_PROVIDER" value="DATAPROVIDER_1">
<param name="TARGET_DATA_PROVIDER_1" value="DATAPROVIDER_1">
<param name="TARGET_DATA_PROVIDER_2" value="DATAPROVIDER_2">
ITEM: TABLE_1
</object>
<object>
<param name="OWNER" value="SAP_BW">
<param name="CMD" value="GET_ITEM">
<param name="NAME" value="TABLE_2">
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID">
<param name="DATA_PROVIDER" value="DATAPROVIDER_2">
ITEM: TABLE_2
</object>
</body>
</html>Hi Heike,
Thanks for your response. The example you gave me works nicely. I've tried to use the same concept on a FILTER object, but it does not seem to work. I declared the object as below:
</span>
<span style="display:none;visibility:hidden" id="0PROFIT_CTR_value">
<object>
<param name="OWNER" value="SAP_BW">
<param name="CMD" value="GET_ITEM">
<param name="NAME" value="FILTER_1">
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER">
<param name="DATA_PROVIDER" value="DATAPROVIDER_1">
<param name="HIDDEN" value="X">
<param name="GENERATE_CAPTION" value="">
<param name="PRESENTATION" value="KEY">
<param name="ITEM_FILTER_IOBJNM_1" value="0PROFIT_CTR">
<param name="PRESENTATION_1" value="KEY">
<param name="ONLY_VALUES" value="X">
ITEM: FILTER_1
</object>
</span>
and then use
document.getElementById('0PROFIT_CTR_value').innerHTML.
However, the value returned is blank. Is there a different method required for filters?
Also, you mentioned that to access the second variable I will need to use the table interface. Is this difficult to do? I'm booked on the NET050 (Developing Web Applications) course, but it's not until late November. Do you think that this course would cover this kind of processing?
Maybe you are looking for
-
GR/IR Accounts reclassification
Hi all, I am facing the following issue can anyone provide their inputs. Reclassification on GRIR accounts in cc 1000 is not done correctly. Reclassification of these accounts should be done on account 2464000 (Goods receipt invoices receipt adjustm
-
Headphones not working after a complete new installation
Hello, After wiping the harddisk of my laptop and a new installation of Windows 7 every thing works fine, except the headphones. I tried installing new driver, but the ones from windows update are not working and on the official hp driver site there
-
ADD device in Audible...Zen xtra don't w
I have WIN98SE. I have a Zen Xtra 40gb. Latest firmware and drivers. Device manager sees Zen. I cannot get add device to work in Audible Manager (4.0). With the Zen connected, i do add device, and nothing happens. HELP!
-
Getting SQL Server Agent running
I am trying to get my SQL Server Agent running, and no conventional means thus far have worked. I set it to run automatically in the Services window of the Control Panel. Attempting to run it from there yields the error "The SQL Server Agent (BENTLEY
-
Hello, I have problem of find value in alv table. By choosing some variant I get table with 500 lines and 70 columns. When I use FIND icon of ALV to find specific order number (after selecting the column), the FIND "works" only for first rows and doe