Include HTMDB Page in HTML app
Hi,
I have some public pages that I would like to include into existing webpage.
How can I acheive this ?
Is there a way that I can use Server Side includes ??
Thanks
Francis.
Hi John,
I meant include an HTMLDB page in another webpage.
We have an existing web site and I would like to include one simple public page into an existing html Page.
I tried iframe but I would like to see if there are other solutions than using frames.
Any idea or pointers on how to do a webrequest and include it after ? I guess that this would be done with server side includes ?
Thanks
Francis
Similar Messages
-
How to include html page or html code in adobeflex 4 web application please give me a solution.
Thank you
Chandra Sekharhi,
go thru this link, may be of some help for you
About IFrames
http://www.deitte.com/archives/2006/08/finally_updated.htm
IFrame Src
http://code.google.com/p/flex-iframe/
About the IFrame Approach
http://www.deitte.com/archives/2008/07/dont_use_iframe.htm -
I purchased the Pages App on my iPhone. Does that include the Pages Application for my Mac Mini? If so, how do I get it onto my Mac?
No it does not. The 2 are separate.
To get Pages on your Mac mini purchase it from the Mac App Store. The icon is on your Dock.
Peter -
Table/colum used in html pages in oracle apps
Hello All,
If we want to find table name against oracle forms in apps . then we can find it from help -> Diagnostics -> examine .But how we will find table name used against HTML Page in oracle apps?
Thanks..Hi,
It should be in the "About This Page" link -- See these thread for details.
RECORD HISTORY (or) WHO COLUMNS in R12???
RECORD HISTORY (or) WHO COLUMNS in R12???
An alternative would be opening the page in JDeveloper and viewing the source code.
Thanks,
Hussein -
New Safari 2.0.3 displays some Router Firmware pages as HTML Source text
Hello Safari users and gurus.
I installed the new 10.4.4 Combo Updater yesterday, preceded and followed by permissions repairs and other maintenance, including cleaning Safari Caches. Safari 2.0.3 works.
My problem: 10.4.4's new Safari 2.0.3 displays HTML source text after I click "Save" from within my Linksys (latest firmware) router's web based administration pages that worked correctly with the previous version of Safari.
When I check or change my router settings, the initial router settings pages appear as they did with the previous version of Safari. However, with 10.4.4's new Safari 2.0.3, as soon as I click "Save" to attempt to save a changed router setting, the confirming info from the router is displayed as HTML source code instead of the expected HTML page display.
If I wait for the router lights to indicate activity has ceased and then reload the router's opening admin address, the page opens again normally, and I can navigate to other pages and see that the changes have been saved. However, any click on any "Save" changes button in the router's pages delivers another page of HTML source text.
I will watch for future router firmware updates to see whether the issue is resolved from the Linksys side.
Does anyone have any suggestions for improvement now? All assistance will be appreciated.
EZ JimThanks glefand. As you suggested, I tried my old iBook G3 that is still running 10.3.9, and it works fine for me.
My G5 DP also worked normally up through OS X 10.4.3. My problem only began after I installed the 10.4.4 update. I think the Safari update included with the 10.4.4 update is what is causing the issue with the firmware pages on my Linksys router.
Hopefully a future router firmware update (or Safari update?) will restore proper operation. If not, I will continue to reload from the router's Start page. The need to work around this glitch is annoying, but the actual function of my router setup works without problem, even though the pages do not display properly.
Thanks again for your helpful suggestion,
Jim
G5 DP 1.8, 4.5G RAM, 2x160GB Seagate, 1,000va UPS Mac OS X (10.4.4) 20"ACD, iSight, AirportCard, Klipsch GMX A-2.1 Audio -
How to create a popup help page in html db
i'm trying to create a popup up help page in html db by having a help button from the main page and when clicked a popup page will appear... but can't seem to get it working...
can somebody pls help me? thanks a bunch!!Hi Denes ,
Need some more suggestion from you .
I have incorporated your popup code in navigation 'Logout' link.
Now after clicking on that the popup page appears fine .
But i like to include two button in that popup page such a way that --
after clicking 'Confirm Logout' button some database updation has been done and the child popup page unloads,but the parent page redirect to login page.But if cancel pressed then only child popup page unloads and no database action will will be carried out .
Could you plz help on this .
Cheers,
Rosy -
Hi,
How an external jsp or html page can be included within a servlet.
like, One servlet is including different pages within it's body based
different condition and arggument passed to it.
Hope for your help.
Thank you.Thanks KP for your reply.
I dont want to jump to different page but wanted the same servlet
that could include different page on conditions.
Ex. if your logged in it will show your company details with the middle
of page with all the 'page-side' contents(menu , banners etc) around it.
Now this same servet will include the login page in the same middle of page, when you need to login.
Hope this could explain what i want not how i may make a login system.
Hope to hear you again.
~_~ -
How to host a HTML App to a wordpress site
Hey
I am really new to web development I wanted to install the HTML app which is preconfigured with my mobile service I have wordpress running on my website how do I host the HTML app?
pratikHI
Please refer to Add a web page.
http://azure.microsoft.com/en-us/documentation/articles/web-sites-publish-source-control/#Step3
Use some tool like Git, you can add the html app to your wordpress project.
My Blog
Please use Make as Answer if my post solved your problem and use
Vote As Helpful if a post was useful. -
Include jsp page within servlet
Hi,
How an external jsp or html page can be included within a servlet.
like, One servlet is including different pages within it's body based
different condition and arggument passed to it.
Hope for your help.
Thank you.Thank You for your help.
I have sucessfully slove the problem. I am awarding you full 10 duke
dollors for it. I have anthoer problem about applets is listed in
Applet devlopment under 'Applet to access html controll' title.Please
visit that if you like to participate.
For ee8prt, i had same problem as i was using jsdk2.0 which dont have the despatcher class. user higher jsdk.
Happy coding. -
Workshop 8.1 - jsp:include an Page Flow action resource
Hi everybody.
Can i use jsp:include to "include" a page flow action ?
I've tried it, but odd things are happening: The resource got included, but fragments of html source "around" it are been lost.
Any ideas ?
Thanks in advance.Hi everybody.
Can i use jsp:include to "include" a page flow action ?
I've tried it, but odd things are happening: The resource got included, but fragments of html source "around" it are been lost.
Any ideas ?
Thanks in advance. -
Repeater fails using {container.item} context within included JSP pages
Greetings,
I'm using Bea Workshop 8.1.2 and netui's based framework.
I'm experiencing a problem relating to the use of jsp:insert tags as a way of templating the code as to make it more maintainable and cost effective.
The problem arises when using repeaters and then binding a <netui> tag with a "container.item" context inside the included jsp page.
Example:
On a PageController we define on its scope a rather simple data structure:
public String[] array={"Item1","Item2","Item3"}
The associated index is as follows:
index.jsp
<netui:html>
<netui-data:repeater dataSource="{pageFlow.array}">
<netui-data:repeaterHeader></netui-data:repeaterHeader>
<netui-data:repeaterItem>
<netui:label value="{container.item}"/><br>
</netui-data:repeaterItem>
<netui-data:repeaterFooter></netui-data:repeaterFooter>
</netui-data:repeater>
</netui:html>
This works as expected, it prints the data in the array list. Fine.
Now, with the <jsp:insert> tag usage, we get two files index.jsp and body.jsp:
index.html
<netui:html>
<netui-data:repeater dataSource="{pageFlow.array}">
<netui-data:repeaterHeader></netui-data:repeaterHeader>
<netui-data:repeaterItem>
<jsp:include page="body.jsp" flush="true"/>
</netui-data:repeaterItem>
<netui-data:repeaterFooter></netui-data:repeaterFooter>
</netui-data:repeater>
</netui:html>
body.jsp
<netui:html>
<netui:label value="{container.item}"/>
<netui:label value="{pageFlow.array[0]}"/>
</netui:html>
With this example the {container.item} tag fails with this exception:
"Caught exception when evaluating expression "{container.item}" with available binding contexts [actionForm, pageFlow, globalApp, request, session, appication, pageContext, bundle, container, url, pageInput]. Root cause: com.bea.wlw.netui.script.xscript.IllegalContextStateException: The Tag "com.bea.wlw.netui.tags.html.Label@cb5dce" does not have a valid parent of type DataAccessProvider. The expression "container["item"]" requires a parent of this type."
BUT - and here is my problem with this - the label tag with {pageFlow.array[0]} PRINTS THE DESIRED ELEMENT.
Also, on an extended example with a <form> tag around the main index html and the array structure inside a FormData class, {actionForm.array[0]} ALSO PRINTS THE DESIRED ELEMENT.
Only {container.item} gloriously fails with an exception complaining about IllegalContextStateException.
This is a total nonorthogonal behaviour, the features do not work as expected and indeed, with the importance of repeaters for netui's development, this preclude us from the minimum standard for structured web application design.
Does anyone have any clue about this behaviour? If not a fix, at least an explanation...
Thanks in advance.I am trying to insert multiple rows I when submited I am get ting only 1 row in the DatabaseForm.
my netui.log file shows this error:
29 Oct 2004 17:25:48,941 WARN NetUIReadVariableResolver []: Could not create a ContextFactory for type "com.bea.netuix.servlets.script.PortalVariableResolver$PortalContextFactory" because the ContextFactory implementation class could not be found.
29 Oct 2004 17:26:35,288 ERROR SortFilterColumn []: Unable to load /com/bea/wlw/netui/databinding/grid/filter/filter-window.properties. Using com.bea.wlw.netui.tags.databinding.grid.util.grid
Throwable: java.util.MissingResourceException: Can't find bundle for base name /com/bea/wlw/netui/databinding/grid/filter/filter-window.properties, locale en_US
Stack Trace:
java.util.MissingResourceException: Can't find bundle for base name /com/bea/wlw/netui/databinding/grid/filter/filter-window.properties, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:511)
at com.bea.wlw.netui.tags.databinding.grid.column.SortFilterColumn.<clinit>(SortFilterColumn.java:143)
at jsp_servlet._activitychange.__grid._jspService(grid.jsp:21)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:208) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:316)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1301)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1317)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1199)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:1093)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:650)
at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:527)
at com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:152)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6456)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
29 Oct 2004 17:27:31,164 WARN FlowController []: Could not find exception handler method exceptionHandler for java.lang.ArrayIndexOutOfBoundsException.
29 Oct 2004 17:27:31,165 WARN FlowController []: Could not find exception handler method exceptionHandler for java.lang.IndexOutOfBoundsException.
29 Oct 2004 17:27:31,165 WARN FlowController []: Could not find exception handler method exceptionHandler for java.lang.RuntimeException.
The actionForm uses a FormData which has a Array of all the fields that need to be populated.
Any idea why only 1 row shows up ?.
Thanks
Raghav -
Occasionally Connected LightSwitch HTML Apps Using JayData
JayData, as many are probably aware from prior blog posts and discussions on this forum, is a powerful JavaScript utility library for OData providers, including LightSwitch.
Recently, the JayData developers have expanded the
provider offerings to include many other database programmatic interfaces.
Their latest release, JayData 1.3.6, codenamed “Advanced Sync Edition,” aims to support occasionally connected apps by exploiting the local storage capability of the browser (Web SQL. sqLite, IndexedDb, etc.).
Development is simplified when using the same data model and API for writing to both local storage and the OData endpoint.
An example of this is shown at How to Create a Synchronized Online-Offline Data App with JavaScript and JayData.
This model, the “To Does” project, was successfully adapted to a LightSwitch HTML app without difficulty.
Although “To Does” projects like this serve as a nice proof-of-concept, they are excessively simple compared to real world business applications.
Fortunately, JayData 1.3.6 also includes support for configurable foreign keys.
With this, more complex object-relational mapping that would typically be used with Entity Framework and similar RDBMS may be approximated.
To illustrate, the To Does project was expanded to include entity relationships.
Specifically, a To Do must be assigned to a single individual Project, and any single Project can have many To Does.
A Project can be assigned to an Employee or to multiple Employees, while an Employee can have a single Project or many Projects, thus defining a many-to-many relationship between Employee and Project.
So how might and online-offline LightSwitch HTML application work in practice?
Ideally in my opinion, the transition from online to offline and back should be seamless and transparent to the user, allowing for both UX and UI to be unperturbed.
This approach turned out to be too difficult for me as a developer, as I experienced problems with the closed-end nature of LightSwitch’s Visual Collection object, for instance. Separation of concerns is a real challenge with this approach.
There is also the separate UI approach for both offline and online data entry, which have been nicely illustrated by Michael Washington and Paul van Bladel on their blogs using JayData and BreezeJS with AngularJS alongside a LightSwitch HTML
app. This approach is valid, and from the viewpoint of the developer has its advantages. From a design standpoint, it is likely to be frustrating for an end-user who must deal with “spotty” network coverage, necessitating changing back-and-forth
from one UI to another.
I opted for a hybrid approach, staying entirely inside the LightSwitch HTML app environment but having individual menu options to select depending on the user’s online status, which is constantly displayed with a status icon (see Main Menu figure).
In many cases, the native LightSwitch screen and menu buttons are fully functional in the offline state.
When they are not, most often with regard to a “Browse” screen or involving a Visual Collection, I have substituted the updated WinJS library (now at
version 4.0, capable of replacing LightSwitch’s v1.0 with no breaking changes) to create a custom control that resembles the LightSwitch listview.
To use the app, you can use any of the online Menu buttons to enter Employee, Project, or To Do data in the usual way while connected.
The Offline menu buttons are functional in either a connected or disconnected status, which can be tested by disabling your devices WiFi, for example.
This LightSwitch app does not work with all browsers, however.
Because the local database is stored using the Web SQL/sqLite JayData API, it is not supported by either IE or FireFox.
It is supported by Chrome, Safari, Opera, Android browsers, Kindle Fire, and iPad browsers
(see link).
To see the local data stored in Web SQL while using Chrome, you can press F12, select Resources, and expand Web SQL to see the Table data updated with each transaction (see figure).
After entering data using the Offline menu selections, you will want to synchronize your local data with the remote LightSwitch database, which is performed by clicking “Synchronize Offline to Online” on the Main Menu.
A success or error dialog message should follow, depending on the result of the sync.
The dates and times of the last synchronizations are displayed on the Main Menu.
With each online database transaction, including offline to online syncs, the offline database is updated to reflect the very latest LightSwitch application data.
This method attempts to have the LightSwitch online database as the “single source of truth” as much as possible while the user is online.
Lastly (if anyone is still reading this far), note that by design there is no business logic programmed into this application; business logic is a separate issue to be addressed.
There can be as many incomplete To Does as you want, an Employee can be assigned the same Project many times, etc.
If your application requires business logic, you will have to program it into the client-side in order for the user to be prompted to follow it while offline.
To experiment with LightSwitch OfflineToDoes app, go to:
http://offlinetodoes.azurewebsites.net/htmlclient
…and log in with username “testuser” and password “Testuser1!”
In a few days I will try to load the sample project code to MSDN for anyone to download and review if desired.
TL;DR:
JayData provides an attractive solution for creating online-offline LightSwitch HTML apps by automating a single codebase to carry out CRUD operations on both a local datasource and the remote LightSwitch database.
Integrating the offline portion of the app into the LightSwitch UI requires an individualized solution and is code-intensive, however.Thank you both for the input. Zardoz, I tried making a couple of updates to address items you mentioned. I left unfixed the problem that occurs when editing an offline Project's budget item..this still does not work. LightSwitch identifies this
entity as a decimal, WebSql expects a plain number, but LightSwitch's post-processing business type formats it to currency (I see USD, you may see NZD, AUD, etc.) In the console there is a "getModel() is undefined" in msls.js. If I take
out the Money business type to regular Text on the View, it works fine.
I'm not sure if I understood your last item just right, but I tweaked the Add Edit Offline Project screen to prevent the Project from being null if the user only enters a new To Do. Not sure why the screen validation wasn't firing before.
Regarding navigation, I don't wish to use the browser's back or forward buttons at all for the app, especially the Offline portion, only the LightSwitch menu navigation and command buttons. I know Xpert360 has shown how to put the former LightSwitch back
button in the app which is useful too. Navigation, cacheing and disposing were some of the tricky parts getting to integrate between LightSwitch UI and offline custom controls. Occasionally I felt like I was having to be "clever" at solutions,
except that when it comes to programming, I'm not a fan of cleverness.
The project is published
here. Hopefully this serves as a good starting point for someone, and I look forward to seeing how it can be improved upon and used in practice. -
Deploy customised pages in oracle Apps
Hi ,
I have made some changes in Html pages using jDeveloper. now i want to deploy this customised page in Oracle Apps.
How can i do it.
1) where should i run "jpximport" batch file.
2) where should i run "XMLImporter" class file.
Regards,
DeepakYou can use the script below from MS DOS prompt (Client Machine).
import D:\JDevOAExt\jdevhome\jdev\myprojects\xxxx\oracle\apps\qot\search\webui -includeSubpackages -validate -rootdir D:\JDevOAExt\jdevhome\jdev\myprojects -mmddir D:\JDevOAExt\jdevhome\jdev\myhtml\OA_HTML\jrad -userId 1 -username apps -password apps -dbconnection "(description = (address_list = (address = (community = tcp.world)(protocol = tcp)(host =xxxx)(port =1521)))(connect_data = (sid = xxxx)))" -jdk13
Replace XXXX with your values. This should be run from jdevbin/jdev/bin Directory.
I have been using this for quite a while and no issues so far.
I have not used jpximport, but this also should be similar to xmlimport.
Hope this helps. -
Hi i have a jsp page(page1) which includes another jsp file (page2), but the name of (page2) jsp file is dynamically generated. I tried using <jsp:include="<%= variable %>" />, but it's not including the page2, it's giving error.
Please check the below example
<%@ page language="java" %>
<%@ page import="oracle.apps.apt.aptWebHomeNews" %>
<%
aptWebHomeNews lHomeNewsObj = new aptWebHomeNews();
lHomeNewsObj.getBrandInfo(_connection,gBrandNameStr);
String lNewsPageStr="";
String lErrStr;
lNewsPageStr = lHomeNewsObj.getPageName();
lErrStr = lHomeNewsObj.getStatus();
lNewsPageStr = lNewsPageStr + ".jsp";
%>
<table >
<tr height="20" > <td> </td> </tr>
</table>
<table width="272" cellspacing="0" cellpadding="0" border="0">
<% out.println("lNewsPageStr is " + lNewsPageStr); %>
<jsp:include page="<%= lNewsPageStr %>" />
<%-- @ include file="aptFndIncNewsComm.jsp" --%>
<tr>
<td align="center" width="270">
<table width="270" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="270">
<%@ include file="aptFaqInccatsolnpop.jsp" %>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height=30>
</td>
</tr>
</table>
Could anyone let me know what is the issue.
Thanks,
Raj.1. Please make sure that dynamically generate jsp is available in $OA_HTML
The <jsp:include> element allows you to include either a static or dynamic resource in a JSP page. The results of including static and dynamic resources are quite different. If the resource is static, its content is included in the calling JSP page. If the resource is dynamic, it acts on a request and sends back a result that is included in the JSP page. When the include action is finished, the JSP container continues processing the remainder of the JSP page
Hope this helps.
Thanks,
RK -
Hi,
I am trying to write a small jsf app. I am tyring to modularize it and having problems with <jsp:include..>. When I include a page with a jsf fragment it fails to render anything. Am I doing something wrong?
Thanks
BJThe sample applications at
http://www.crossbar.info/
contain working examples of the use of
<%@ include file="whatever.jsf" %>
to build modularized pages that avoid duplicationof
code. Right, it may work fine for some simple cases. All I
meant was that the behavior is not really specified,
and there are therefore a number of cases where it
doesn't work at all. It's on the list of things the EG
will look into.Doh! You're using static includes. I read it as if you were saying that you got dynamic includes to work.
Maybe you are looking for
-
I loaded the latest OS X software and I keep getting an error indication when I put in my password. If I shut it down completely and reboot it goes to a page with my login and guest login. If I click on my picture I enter my computer. I try to res
-
How can I stop iPhoto from grouping each month's Photo Stream into one huge event?
My iPhoto preferences are set to split events up based on 2-hour time periods. But photos that enter my iPhoto library via Photo Stream (basically all photos from my iPhone) get grouped into one big monthly event (i.e. titled something like "Jun 2012
-
When you buy a new ipad air is it locked to a carrier
I have just purchased a Ipad Air Cellular in the UK , it came with a Pre Loaded EE nano sim, can you tell me if that means my Ipad is Locked to that carrier? as it also had the option to have it without the sim included?
-
Background html images sending an HTML mail
Hello: I'm sending a mail with html format, and i need the images are embebed in the mail. I send its like an Attachment, and reference its whith cid:"..." and it works fine while the image isn�t the background, but I need send an html document with
-
I spoke to a nice woman in Apple Support. They apparently have no fix for the messed up icon problem, meaning icons and apps don't match. Has anyone figured out their own fix?