Help using asp includes in Dreamweaver
I'm using asp includes ( <!--#include
file="incl_menu.asp"--> ) in my
website. When viewing the site in Dreamweaver sometimes I
don't see the
included page. Is there a way to always see the included
page?
I have version 7.01 of dreamweaver on a window xp machine.
You need to set up a testing server. Are you using XP home or
pro? If it's home then you are going to have problems.
Similar Messages
-
ASP Includes in Dreamweaver cs3
Hi all,
My issue is that I can't get more than 1 include to display
in the editor view of dreamweaver...I have all my settings setup
correctly for my site, but it fails to show anything past the first
one. I don't ever use this editor view, but my boss is going to
take over the site when I leave so he needs to be able to view
stuff in the editor view because he has zero code experience...Any
ideas? Here's a generic page of code...
<html>
<head><title>Sutter-Yuba Mosquito Vector Control
District (SYMVCD)</title>
<link rel="stylesheet" type="text/css"
href="Styles.css">
</head>
<body>
<div id="Page">
<!--#include file ="includes/Logo.inc"-->
<!--#include file ="includes/Menu.inc"-->
<!--#include file ="includes/News.inc"-->
<div id="HomePageContent">
<p align="center" class="ContentHeading">
Welcome!</p>
<p class="ContentText">
</p>
</div>
<!--#include file ="includes/SiteMap.inc"-->
</div>
</body>
</html>> my boss is going to take over the site when I leave so
he needs to be able
> to view stuff in the editor view because he has zero
code experience...
Damn scary. Guess who is going to clean up all the messes?
Do any of your includes contain <html>, <head>,
or <body> tags?
(and by the way, those are ordinary HTML includes)
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
==================
"snowboarder1985ca" <[email protected]>
wrote in message
news:f8o454$7ue$[email protected]..
> Hi all,
>
> My issue is that I can't get more than 1 include to
display in the editor
> view
> of dreamweaver...I have all my settings setup correctly
for my site, but
> it
> fails to show anything past the first one. I don't ever
use this editor
> view,
> but my boss is going to take over the site when I leave
so he needs to be
> able
> to view stuff in the editor view because he has zero
code experience...Any
> ideas? Here's a generic page of code...
>
> <html>
> <head><title>Sutter-Yuba Mosquito Vector
Control District (SYMVCD)</title>
> <link rel="stylesheet" type="text/css"
href="Styles.css">
> </head>
>
> <body>
>
> <div id="Page">
>
> <!--#include file ="includes/Logo.inc"-->
> <!--#include file ="includes/Menu.inc"-->
> <!--#include file ="includes/News.inc"-->
> <div id="HomePageContent">
>
> <p align="center" class="ContentHeading">
Welcome!</p>
>
> <p class="ContentText">
>
> </p>
> </div>
>
> <!--#include file ="includes/SiteMap.inc"-->
>
> </div>
> </body>
> </html>
>
> -
Button help with asp database in dreamweaver
Hey i have a page that has an iframe inside it with 2 menu's
side by side with buttons in between to move items from one menu to
another and i have them set with javascript to move back and forth
works great only problem is its also supposed to update to the
database as well and i used the update command feature in
dreamwaver and i set it up but its still not working if i post my
code can someone help me?If you're good with Flash and Action Script you could build a custom player. Otherwise, pick-one from the links below. Some are free, some are not.
Coffee Cup Video Player -- (supports playlists)
http://www.coffeecup.com/video-player/
Video LightBox --
http://videolightbox.com/
WWD Player -- supports playlists
http://www.woosterwebdesign.com/flvplayer/
Wimpy Rave -- supports playlists
http://www.wimpyplayer.com/index.html
JW Player --
http://www.longtailvideo.com/
FlowPlayer --
http://flowplayer.org/
YouTube --
http://code.google.com/apis/youtube/getting_started.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Inserting swfs in ASP include files, CS4?
I'm having a problem inserting SWFs into ASP include files in CS4 and am wondering if there's a solution other than going back to CS3.
I've been adding pages to this site on a daily basis and at some point a few years ago we needed to start using ASP includes. The C-wrapper is in the ASP file and the content is in the included file.
Unfortunately, the way CS4 insists on adding SWFs leads to broken pages. The error in Firefox is:
Active Server Pages error 'ASP 0139'
Nested Object
/MySite/MyFolder/MyTopic/include/includedFile.htm, line 93
An object tag cannot be placed inside another object tag.
So, MyFile.ASP uses include/includeFile.htm. The SWF is inserted into includeFile.htm. DWCS4 uses this code:
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="510" height="384">
<param name="movie" value="/MySite/MyFolder/MyTopic/images/oneOfMany.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="9.0.45.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="/Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="/MySite/MyFolder/MyTopic/images/oneOfMany.swf" width="510" height="384">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="9.0.45.0" />
<param name="expressinstall" value="/Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
I understand the problem with nested objects. I think what I'd really like is to keep CS4 but go back to the method CS3 was using to insert SWF files. This current method is especially difficult because when I change it and later reopen the file DW wants to "correct" it.
Any helpful hints would be appreciated.
Rob MackOkay, my solution was to go find the old CS3 code and make a snippet out of it. This way I always have a piece of code that works -sort of- and at least it stays consistant. It's a little more work now but if the old CS3 code for a swf is present then CS4 won't complain.
It seems to me that hard coding this into the CS4 product makes it kind of inflexible.
Here is the CS3 code. It works in a file that will later be included in an ASP file. The CS4 code quoted previously doesn't work.
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','510','height','384','src','/MySite/MyFolder/MyTopic/images/oneOfMany','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','/MySite/MyFolder/MyTopic/images/oneOfMany' ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="510" height="384">
<param name="movie" value="/MySite/MyFolder/MyTopic/images/oneOfMany.swf" />
<param name="quality" value="high" />
<embed src="/MySite/MyFolder/MyTopic/images/oneOfMany.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="510" height="384"></embed>
</object>
</noscript>
Rob Mack -
Are Server-Side Includes in Dreamweaver ok to use?
Hi, I'm considering using the built-in feature, 'Server-Side Includes' in Dreamweaver CS3. Can anyone tell me if this is ok to use, or is there a better way of approaching this process?
Many thanks in advance!Yes, server-side includes are an excellent feature. Just make sure that your server supports them. On many servers, you need to change the file name extension from .html to .shtml.
The other thing to remember is that a server-side include should just be a fragment of a page. It should not include a DOCTYPE declaration or duplicate <html>, <head>, or <body> tags. -
How Can I Create A Contact Form In Dreamweaver Using ASP
I tried to create a contact form using php, but that failed epically. The server doesn't support php, and there isn't anything I can do about that. My only option now is to create it using ASP but I can't find a good tutorial on how to do so. Please help me!
Ask your host if they have a form-to-email script you can use. Many commercial hosts have scripts on their servers which you can activate through your C- or Admin-panel.
Failing that, there are some commercial products you can use.
Forms to Go ~
http://www.bebosoft.com/products/formstogo/overview
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Helleo Everyone
I have been given a website to ammend and although i am not new to dreamweaver and using asp within dremweaver i sometimes struggle dealing with stuff that may have not been created with the tools i am used to.
I have a page that displays information relating to different clocks the page gets its info ftom an access table called tblmovements, in that table is column Called KitID and another column called details that has link information that would go to another page.
Back to the main page all that i need to happen is when the user scrolls down to find the clock that they want i need them to be able to click on more details and for that to link to the page that is referenced in the details column in the table.
But i am not sure on how to do this.
The column kitID is a unique column.
Can anyone assist
Thanks
JohnHi Thanks for the response
Below is the page that shows the information, then where it says details that would then link to the appropriate page.
I did do a link using dreamweaver recordset to the column that has the link in it but every details bit went to the same page, so i understand what you are saying about identifying via the ID but thats the bit i am unsure of.
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/dbConn.asp" --> <% Dim Recordset1 Dim Recordset1_cmd Dim Recordset1_numRows
Set Recordset1_cmd = Server.CreateObject ("ADODB.Command") Recordset1_cmd.ActiveConnection = MM_dbConn_STRING Recordset1_cmd.CommandText = "SELECT * FROM tblMovements"
Recordset1_cmd.Prepared = true
Set Recordset1 = Recordset1_cmd.Execute
Recordset1_numRows = 0
%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%
Dim objRS
Set objRS = Server.CreateObject ("ADODB.Recordset") strSQL = "SELECT * FROM tblMovements ORDER BY KitID ASC"
objRS.Open strSQL, MM_dbConn_STRING%>
<title>Oakside Classic Clocks | Clock Makers - Kit Gallery</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="description" content="Oakside Classic Clocks' Gallery of clock makers Kieninger 'movement, dial, pendulum and accessories' kits." /> <style type="text/css">
<!--
@import url(css/global.css);
.style3 {
color: #990000;
font-style: italic;
.style6 {
font-family: Georgia, "Times New Roman", Times, serif;
color: #000066;
font-style: italic;
.style9 {color: #990000; font-style: italic; font-weight: bold; }
.style14 {color: #990000; font-style: italic; font-weight: bold; font-size: small; }
.style15 {color: #000000}
-->
</style>
</head>
<body id="gallery">
<table width="100%" height="56" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="imgs/banner.gif"><img src="imgs/banner_l.gif" width="236" height="56" /></td>
<td width="12"><img src="imgs/banner_r.gif" width="12" height="56" /></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#000066"><img src="imgs/slogan.gif" width="485" height="24" /></td>
</tr>
</table>
<!--#include file="incl/mainnav.asp" -->
<div id="content">
<h1 class="strapline">Kieninger Clock 'Movement, Dial & Pendulum' Sets - For those who insist on the Best! </h1>
<h2 align="left" class="strapline">Welcome to Oakside's 'Clock Makers' Gallery - On this page Frank has assembled a large selection of comprehensive clock makers sets to suit all styles of clock cabinets - each Set contains a Kieninger mechanical Clock Movement and a Dial and where appropriate, a Pendulum, the Weight Shells & Fillings, plus all of the Accessories required to get your clock running. We believe that Oakside now stock the largest range of Kieninger Movements and Accessories in Europe! </h2>
<h2 align="left" class="style14"> </h2>
<h2 align="left" class="strapline">Each of Oakside's Clock Makers Sets include every thing you will need to get your clock running, including a Kieninger Mechanical Clock Movement, a Dial, a Pendulum, polished brass weight shells & fillings, the cable pulleys, the gongs, winding key and the fixings. We also include a drawing showing the primary 'movement, dial and pendulum' accommodation dimensions and a template for positioning the mounting holes required to fit these items into your clock. On the 'Spares & Accessories' page you will find special brass rebate hinges, mortise locks, escutcheons, keys and brass screws and adjustable cabinet feet for leveling your clock. You may collect your pre-ordered/pre-paid kit and save the postage.</h2>
<h2 class="style9"> </h2>
<h2 align="justify" class="strapline">We also stock a huge range of <a href="kit_spares_accessories.asp">replacement parts</a> for Kieninger movements. </h2><h2 align="left" class="strapline">If you require a replacement Kieninger movement without accessories please <a href="movement_gallery.asp">click here</a>. </h2>
<h2 class="style9"> </h2>
<h3 class="style6"> You are invited to phone Frank to discuss your project prior to ordering a kit. If you are designing your own clock or are intending to modify an existing design, we suggest that you pre-order your Movement set with a deposit of £25. We will then send you the Kieninger installation drawing so that you can ensure that all parts will fit and operate without later cabinet alterations.</h3>
<h3 align="justify" class="style6">Please note, when you purchase your mechanical clock parts from Oakside, you are dealing with a dedicated Longcase Clock Designer & Maker, not just a shop! We would happily examine you clock drawings to ensure that your design will be able to accommodate the Kieninger movement of your choice; we will also provide telephone assistance when you are installing the mechanicals and commissioning your clock - our expertise will ensure that your new clock performs perfectly!</h3>
<h3 class="style6">Thinking about building you first Grandfather Clock - We suggest that you visit the web site of <a href="http://www.van-vliet.org/dempseywoodworking/grandfatherclock.shtml">Dempsey Woodworking</a> in Canada. Frank has coordinated with the sites owner who has prepared detailed construction plans for a longcase clock, in the style of our Winchester Grandfather clock. Please note that by modifying the depth dimensions on the plan, you can build this clock to accept any of our Kieninger 116cm movements. The web site provides an illustrated 'Step by Step' guide showing each of the constructional stages and you can down-load a free copy of the plans.</h3>
<h5> For Grandfather Clocks around 80 inches high and taller we suggest a 116cm movement with a 280mm width dial.</h5>
<h5> For Grandmother Clocks between 60 & 70 inches tall consider a 100 or 93cm pendulum Movement with a 250mm width dial. </h5>
<h5>For Granddaughter clocks we suggest a 93 or 80CM pendulum Movement and a 200mm width dial. </h5>
<h5>For Laterndluhr Style, Large Wall Regulators with 116cm 'Seconds pendulums, consider Kits 24, 25, 26, 27 28 and 29. </h5>
<h5>For Medium Height Longcase Wall clocks consider the 65, 80 and 93cm Pendulum Movements.</h5>
<h5>For Smaller longcase Wall Clocks consider Kits 08, 09 and 09A. </h5>
<h5>Shaker Wall clocks require a movement of shallow depth and are usually without chimes - Frank suggests Kit 09 .</h5>
<h5>For Small Mantle Clocks consider Kits 01 and 02. </h5>
<h5>For Large Mantle or Bracket Clocks, consider Kits 04, 05, 06 and 07.. </h5>
<hr /><hr />
<div class="clock">
<p>
<%
Do While Not objRS.EOF
' Replace character retuns, ' and " characters
strKitDescriptionShort = objRS("KitDescriptionShort")
strKitDescriptionShort = Replace(strKitDescriptionShort, vbCRLF & vbCRLF, "</dd><dd>")
strKitDescriptionShort = Replace(strKitDescriptionShort, chr(34), """)
strKitDescriptionShort = Replace(strKitDescriptionShort, chr(39), "'")
strImgSrc = "imgs/clocks" & objRS("imgKitCatalogue") %>
<dl>
<img src="<%="imgs/clocks/movement_images/" & objRS("imgKitCatalogue")%>" alt="<%=objRS("imgKitCatalogueAltText")%>" hspace="10" vspace="10" class="img-gallery" />
<dt><%=objRS("KitID")%> featuring the Kieninger
<%=objRS("MovementName")%> </dt>
<dd class="strapline"><%=objRS("Strapline")%></dd>
<dd><%=strKitDescriptionShort%></dd>
<h6 align="center" class="strapline">Price including UK & Ireland delivery £<%=objRS("KitCostStandard")%></h6>
<h6 align="center" class="style3"> Please note that we ship to Canada, the USA, Australia & New Zealand and you get UK Tax Free Prices. </h6>
<dd>
<h3 class="strapline"> You can view the dials etc available for this kit by <a>clicking here.</a>Details</h3>
</dd>
<dt class="strapline">Click to view the </span><%=objRS("KitID")%> <a href="kit_options.asp?KitID=<%=objRS("KitID")%>"> Options & Prices</a> page. </dt>
</dl>
<%
objRS.MoveNext
Loop
%>
</div><!-- clock End -->
<!--#include file="incl/footer.asp" --> </div>
<!-- content End -->
</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%> -
Help with ASP Connections - New User
I just set up a hosting account with 1 and 1 for a simple
website to catalog a series of yo-yo contest that we coordinate. I
have a simple MS Access database for organizing contest information
that we are trying to get online.
I am new to the application side of this and know very little
about connection strings, DSN, etc. I am experiencing problems with
connecting to the MS Access database that I have uploaded to the
1and 1 servers. If I hardcode the Javascript into the page, I can
connect and pull information but I definitely want to take
advantage of the design interface that Dreamweaver MX 2004 offers.
This is the code from the page that I can get working based
on the FAQ Sheet that 1and 1 offers for database connections:
<html>
<title>Database query using ASP</title>
<body bgcolor="FFFFFF">
<h2>Query table <b>Products</b> with
ASP</h2>
<%
Set dbaseConn = Server.CreateObject("ADODB.Connection")
dbaseConn.Open "DRIVER={Microsoft Access Driver
(*.mdb)};DBQ=" & Server.Mappath("\db\League.mdb") & ";"
SQLQuery = "SELECT * FROM Contest_Information"
Set RS = dbaseConn.Execute(SQLQuery)
%>
<%
Do While Not RS.EOF
%>
<%=RS("cStartDate")%>, <%=RS("cName")%>,
<%=RS("cWebsite")%> List
<p>
<%
RS.MoveNext
Loop
RS.Close
Set RS = Nothing
dbaseConn.Close
Set dbaseConn = Nothing
%>
</body>
</html>
If I put in a "Custom Connection String" using the previous
code:
"DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" &
Server.Mappath("\db\League.mdb") & ";"
Dreamweaver can connect to the database when the connection
is 'tested' but cannot pull any tables and therefore cannot create
bindings.
Guidance...help...I'm stuck...
Thanks in advance.Hello Lucky.da.boss,
And welcome to Apple Discussions!
is asking can I or is there anyway i can transfer my music off that iPod to my touch?
See this article for tips on how to copy music from your 5th generation iPod to your iTunes library. Once you have successfully done that, you can sync them over to your iPod Touch. There is no way to do it directly.
http://macs.about.com/od/backupsarchives/ss/ipodcopy.htm
Also, I have two applications that aren't downloading I want to know how to delete them.
Tap your finger on one of them and hold it there until you see all your Apps start to wiggle. You will also see a small x in the upper right hand corner of the Apps you can delete. Go ahead and tap this to delete the App. When you are finished, hit the Home button to make the Apps stop wiggling. It might also help to have a look at your iPod's *User Guide.
http://manuals.info.apple.com/enUS/iPod_touch_iOS4.1_UserGuide.pdf
Can you have constant internet service or do they run solely off wi-fi?
Only Wi-fi.
B-rock -
How to create a asp page in dreamweaver cc 2014
How in the hec do I create an asp page in Dreamweaver CC.
I installed the database, server behaviors. I can create a PHP page and add database connections for that type but not Asp?
Help anyone?
Thanks TraciCreate a new HTML document.
Go to File > SaveAs > filename.asp
Nancy O. -
Multiple Forms in a Flash Document and Posting Using ASP
Hello everyone!
I have some what of a dilemma on my hands. I am creating
multiple forms in one document using Flash and need them to post
using ASP script. I have been researching this for the last six
days, and I have had NO luck. I have noticed that all the
information that I have found is for one form, not more than one.
What I have so far is the Flash document, with 4 forms. The
basic idea is that a user chooses from a drop down menu (the
combobox) a location, and depending on the location chosen, it
takes the user to another frame in the flash document. The forms
(all their own movie clip) contains a name field, a department
field, and either a manager name a userID field or an employee
number as well as the basic buttons for submitting the form or
resetting the form.
So far what I have working is the drop down menu (combobox)
taking me to the proper frame and it shows the appropriate form.
The reset button clearing the form (deleting any information that I
have imputed into the input fields), but I have absolutely NO idea
how to get the submit button to work (I did manage to get it to
send me a message if there was nothing in one of the input fields),
and NO idea how to get the information to the ASP file.
Where there are 4 forms do each of them have to have their
own ASP file attached to them, or can I use one?
If anyone knows a site that deals with multiple forms in one
SWF and posts using ASP that would be greatly appreciated, or if
you know some actionscript that could be helpful.
Thank you all in advance.That would be part of my problem, I really don't know ASP,
and I am flying by the seat of my pants.
The current script I have for the ASP file is:
<% @Language = "VBScript" %>
<%
Option explicit
Dim strfullName
Dim strdeptName
Dim strmanagerName
Dim strobjeemail
Dim strlocation
strfullName.Request.Form("fullName_txt")
strdeptName.Request.Form("deptName_txt")
strmanagerName.Request.Form("managerName_txt")
strlocation.Request.Form("locationName")
Set strobjemail = CreateObject("CDO.Message")
strobjemail.From = "[email protected]"
strobjemail.To = "[email protected]"
strobjemail.Subject = "Program from " + strlocation
strobjemail.Body = "This user has completed this progrmam
from " + strlocation & Chr(13) & Chr(10) & "Name: " +
strfullName & Chr(13) & Chr(10) & "Department: " +
strdeptName & Chr(13) & Chr(10) & + "Manager: " +
strmanagerName
strobjemail.Send
Set strobjemail=nothing
%>
The AS code that I have so far is:
function formValidationChecks(){
if (fullName_txt.length==0){
status_txt.text = "Please enter your Name";
else if (deptName_txt.length==0){
status_txt.text = "Please enter your Department";
else if (managerName_txt.length==0){
status_txt.text = "Please enter your Manager";
else {
status_txt.text = "Thank You!";
variables.fullName_txt = fullName_txt.text;
variables.deptName_txt = deptName_txt.text;
variables.managerName_txt = managerName_txt.text;
varLoader.load(varSend);
trace("-----");
trace("Name: "+fullName_txt.text);
trace("Department: "+deptName_txt.text);
trace("Manager: "+managerName_txt.text);
trace("Form validated");
submit_btn.onRelease = function(){
status_txt.text = "";
if(formValidationChecks()){
var lv = new LoadVars();
lv.fullName_txt = form.fullName_txt.text;
lv.deptName_txt = form.deptName_txt.text;
lv.managerName_txt = form.managerName_txt.text;
lv.sendAndLoad("mail.asp", lv, "POST");
reset_btn.onRelease = function()
fullName_txt.text = "";
deptName_txt.text = "";
managerName_txt.text = "";
So far my reset button clears everything, and the submit
button is tracing the content in the form fields, but it's not even
grabbing the asp page.
Any suggestions? Even pages that have tutorials that are in
the form of a video.
Thanks -
Help using jar file!
Hello
I have created a jar file by using
jar cvmf Manifest.txt myjar.jar 1.class Mydirectory
In 1.java file :I have used
JEditorPane editor;
editor.setPage(getClass().getResource("/Mydirectory/default.htm"));
If I am only giving myjar.jar file to the client without Mydirectory then also it is working fine by showing default.htm in JeditorPane.
But my problem is I want to use
Runtime.getRuntime().exec("cmd /c start IEXPLORE"+targetstr) ;
targetstr will be the filename with path of the default.htm
If I am giving myjar.jar file with Mydirectory to the client it is working but I don't want to give Mydirectory to the client .
What should I do?
Is there any solution for this?
Using another jar file which will include mydirectory can solve this problem?
Is there any othe concept in java so that I wll be able to hide Mydirectory from client?
Please help.It seems like you could extract the .htm file from the jar, either with Runtime.exec or using the Jar API classes.
-
Will using two versions of dreamweaver trash my code??
Our company is currently building a new website and we keep running into problems. Currently we have one main web desginer and another person who helps input text and pictures. Because we have two people working on this project the file bounces between two computers at the office and then is taken home and used on a third computer. In the midst of the multi-use of computers there are two versions of Macromedia, studio 8 and MX. We had our code completely trashed and now all versions on each computer are not working. We think that it was due to a code that was pulled off of a blog for a "print this page" option that was input into the template, but now just realized that using two versions of dreamweaver also may have caused the problem. If anyone has suggestions as to what may have caused this please respond!
Thank you!Thank you David! We will stop worrying about that and try to back track the tainted code
-
Problems faced when using xsl:include and extension functions
I am Working in XML and XSLT using Oracle's XML Parser V2.
Previously i had worked in Microsoft technology using MSXMLParser.
I am facing some problems in XSLT. They are as below...
1. Using <xsl-include href="Somexsl.xsl">
the oraclexmlparser processor is giving the error : XSL-1002: Error while processing include XSL file (no protocol: Submenu.xsl).
* Can u tell me why i am getting this error, and what is the fix for this.
The same case with <xsl:import> too.
2. In case i have to write some functions in the previous WD of xsl i used these statements
<?xml version='1.0'?>
<!DOCTYPE PageRoot SYSTEM "../../Common/dtd/PageNavBar.dtd">
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/TR/WD-xsl"
xmlns:html="http://www.w3.org/TR/REC-html40"
result-ns="">
<xsl:script xmlns:xsl="uri:xsl"><![CDATA[
var strWebContentPath = "/SurSITE/Content/";
var strWebImagePath = "/SurSITE/sursitegraphics/";
function IncScript()
return "<script language='javascript' src='/SurSITE/Includes/avalidations.js'></script>";
]]>
</xsl:script>
To call the function i used this
<xsl:eval no-entities='true'> IncScript();</xsl:eval>
* Can u tell me how do i do this now, i tried with the code above using the current name space (<xsl:stylesheet version="1.1"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" />)
Please use the example given above.
I will be very greatfull to u if u can give me some suggestion or help for the above said problems.
Thanking you and eagerly waiting for your reply(s).
nullThe current version is "1.0" not "1.1"
You haven't included the code for what your <xsl:include>
statement looks like, which seems to be what it's complaining
about...
XSLT 1.0 has no <xsl:eval>, this is a microsoft specific tag
from a pre-XSLT-1.0 version.
XSLT 1.0 has no <xsl:script> element either. -
Using php include for password protection
Hi all, and as usual I am also new to RH. I am running a
password protection site using php include.
I have published my WebHelp project but was trying to change
the htm file to php and include the php include and I keep
receiving this error - "whlstt0.htm was not found on this server."
I have done a search and can not find any direction. Has
anyone an idea of how I can create a default php file the will open
all the frame files needed?
ThanrayHi Thanray. Please try not to cross post in multiple forums.
It doesn't help others searching for a solution if only one thread
has been answered.
Click
here
for the other thread. -
Binding properties of a root node and using fx:include.
I posted a downloadable example of this here:
https://dl.dropboxusercontent.com/u/8788282/binding-test.zip
I've noticed some understandable, but less than perfect behaviour with the way FXML initialization is done when using fx:include. I find it's difficult to bind properties that belong to the root node of the included view without shooting yourself in the proverbial foot. Here is an example of what I mean:
sample.Main
package sample;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class Main extends Application {
@Override
public void start(Stage primaryStage) throws Exception {
Parent root = FXMLLoader.load(getClass().getResource("MainView.fxml"));
primaryStage.setTitle("Hello World");
primaryStage.setScene(new Scene(root, 300, 275));
primaryStage.show();
public static void main(String[] args) {
launch(args);
sample.MainController
package sample;
import javafx.fxml.FXML;
public class MainController {
@FXML
void initialize() {
System.out.println("MainController initialized.");
sample.MainView (FXML)
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.*?>
<AnchorPane prefHeight="200.0" prefWidth="200.0"
xmlns:fx="http://javafx.com/fxml/1"
xmlns="http://javafx.com/javafx/2.2"
fx:controller="sample.MainController">
<children>
<VBox prefHeight="200.0" prefWidth="200.0" AnchorPane.bottomAnchor="0.0"
AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
AnchorPane.topAnchor="0.0">
<children>
<Label text="Main"/>
<StackPane prefHeight="150.0" prefWidth="200.0"/>
<fx:include fx:id="sub" source="SubView.fxml" visible="false"/>
</children>
</VBox>
</children>
</AnchorPane>
sample.SubController
package sample;
import javafx.beans.binding.Bindings;
import javafx.fxml.FXML;
import javafx.scene.control.Label;
import javafx.scene.layout.AnchorPane;
public class SubController {
@FXML
private AnchorPane anchorPane;
@FXML
private Label label;
@FXML
void initialize() {
label.visibleProperty().bind(Bindings.createBooleanBinding(() -> true));
/* When used as part of an fx:include, this controller's initialize()
* block is called and the below binding is performed. After that, any
* property values set via the containing view (MainView) are applied.
* In this example, the MainView attempts to set the visible property
* of this included view (fx:id="sub"). Since the visible property of
* the root node (anchorPane) has already been bound, the error
* "A bound value cannot be set." is given.
anchorPane.visibleProperty().bind(Bindings.createBooleanBinding(() -> true));
System.out.println("SubController initialized.");
sample.SubView (FXML)
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.*?>
<AnchorPane id="AnchorPane" fx:id="anchorPane" maxHeight="-Infinity"
maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity"
prefHeight="400.0" prefWidth="600.0"
xmlns:fx="http://javafx.com/fxml/1"
xmlns="http://javafx.com/javafx/2.2"
fx:controller="sample.SubController">
<children>
<VBox prefHeight="400.0" prefWidth="600.0" AnchorPane.bottomAnchor="0.0"
AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
AnchorPane.topAnchor="0.0">
<children>
<Label fx:id="label" text="sub view"/>
</children>
</VBox>
</children>
</AnchorPane>
The comments in the initialize method of SubController explain what's happening. I found it a bit confusing until I figured out what was going on. Should FXMLLoader be checking to see if a property is already bound before trying to set it, at least for nodes declared via fx:include?Hi Gaurave,
We need to show the report like this to some users, thats what the requirement is. Using the Posted nodes option does not help.
Thanks.
Maybe you are looking for
-
I just placed an order for my first macintosh, i've been saving my money and just browsing the forums for months and now it comes to me just waiting a few more days. I got the 20" iMac with the 256 video card and 2 gigs of ram. I decided to switch to
-
Function module for Price master
Hi All, I want to create a price master using function module. Does anyone know of any known function module which can do this? Thanks in advance.
-
My phone has froze with i tunes logo and USB on the screen. how do i sort this
whats happened?? a i tunes logo with an arrow and the usb connection on the screen..froze, how can i sort this
-
Remove NT AUTHORITY\SYSTEM from sysadmin role - sql 2008 r2
This topic was somewhat covered for SQL server 2005, I couldn't find any on 2008 R2, so asking again. I have NT AUTHORITY\SYSTEM, NT SERVICE\MSSQLSERVER and NT SERVICE\MSSQLSERVER$AGENT accounts in sql server sysadmin role on all my servers. SQL Serv
-
Inserting multiples rows into a table using function or procedure..
How do i insert multiples rows into a table using function or procedure? Please provide me query..