Netbeans javascript library integration in Dreamweaver
I have configured my site so that it is both a Dreamweaver site and a Netbeans 7.3 HTML project. This is working fine.
I can edit and save in both locations. However, I am confused about the Netbeans Library integrations into Dreamweaver.
How is this supposed to happen. In Netbeans there is a large set of JavaScript libraries that are placed in a subdirectoy canlled ../js/libs/.... I am unable to find any linkage to these libraries in the code. Since the code runs both under Netbeans and Dreamweaver, some linkage must exist. Help me understand please
Check if the libraries are in the Assets panel. Read this document for more details
http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcda9110b1f693f21-7e6aa .html
Similar Messages
-
How do you get dojo widgets (javascript library) to work in a portlet
I am trying to get Dojo widgets (the JavaScript library or toolkit, http://www.dojotoolkit.org/) to work in portlets, but have not gotten past errors "could not load" for the widgets. I have tried widgets in both dojox and dijit. Has anyone gotten this to work?
WCI uses a version of Dojo from 2007 internally, and appears to assign it to the "auidojo" namespace. I tried implementing a suggestion using djconfig to use the namespace "mydojo" for the installation of the current Dojo version, which I have put on the imageserver. Using Firebug, it appears that dojo.js as well as the paths to the widgets are recognized (using modulePaths) and used correctly.
I am not a Dojo guru, so suggestions from someone who has this working would be appreciated!Here is a sample image from a previous plan completed a few versions back.
All that was done.. was to create a green fill, hundreds in this map. Have all lawn elements on a single layer. Select the layer, apply the photocopy effect, change the detail and darkness options to achieve this look and apply. It kept the green color, and applied the photocopy effect to the fills.
Now it changes the object or objects to black and white. The plans that are rendered are to large to rasterize and recolorize objects. Copy the lawn layer with all the filled objects, placing the copied layer on top and applying the photocopy effect to it, plus a transparency... then shifts the color rendition of the underlying object.. I am playing a guessing game of transparency adjustment and, picking the correct green shade underneath to achieve the same effect, almost impossible to match and way to time consuming.
I cannot get blending to work on separate fills with the photocopy and based on trial and error with that method... applying the effect to hundreds of fills would crash the file and my system.
What was... was perfect...now.. a great simple effect has been removed from my toolbox... struggling with finding a replacement. -
Add javascript library in .java using JavascriptContext.addJavascriptCall
Hi everyone,
I'd like to know if someone can give me a hand with this problem. I want to add a javascript library to my project, well normally you add it into the head of the jsp like:
<ice:outputHead id="outputHead1">
<ice:outputStyle href="./resources/stylesheet.css" id="outputStyle1"/>
<ice:outputStyle href="./xmlhttp/css/xp/xp.css" id="outputStyle2"/>
<script src="http://localhost:38080/prj_web/js/jquery.js" type="text/javascript"></script>
<script src="http://localhost:38080/prj_web/js/maskedinput.js" type="text/javascript"></script>
</ice:outputHead>
but i need to add it in some way in my java classes because i may need to change the port number, or for security(people not see the port numer, name of my app, etc), in some words make it dynamically as possible...
I try to add it with JavascriptContext.addJavascriptCall()
char comilla='"';
JavascriptContext.addJavascriptCall(FacesContext.getCurrentInstance(), "src="+comilla+"http://localhost:38080/prj_web/js/jquery.js"+comilla+"");
{code}
but it doesn't take effect....
If someone could give me a hand, or tell me another way to do what i want i'd appreciate it
Thanks in advance
SantiagoHi, thanks for answering....
About your question, yes they are, both files are inside the folder js.
About the suggestions you gave me, i've tried both....the first one doesn't do anything, and with the second one i have the next error:
The value of the attribute "src" associated with an element type"null" must not contain the '<' character
Actually my jsp looks like this:
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:jsp="http://java.sun.com/JSP/Page">
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
<f:view>
<ice:outputHtml id="outputHtml1">
<ice:outputHead id="outputHead1">
<ice:outputStyle href="./resources/stylesheet.css" id="outputStyle1"/>
<ice:outputStyle href="./xmlhttp/css/xp/xp.css" id="outputStyle2"/>
<script src="<%= request.getContextPath()%>/js/jquery.js" type="text/javascript"></script>
<script src="<%= request.getContextPath()%>/js/maskedinput.js" type="text/javascript"></script>
</ice:outputHead>
<ice:outputBody id="outputBody1" style="-rave-layout: grid">
<ice:form binding="#{menu.ifrm_menu}" id="ifrm_menu" />
</ice:outputBody>
</ice:outputHtml>
</f:view>
</jsp:root>I hope you could give a hand...
Thanks in advance
Santiago -
Add javascript library with JavascriptContext.addJavascriptCall()
Hi everyone,
I'd like to know if someone can give me a hand with this problem. I want to add a javascript library to my project, well normally you add it into the head of the jsp like:
<ice:outputHead id="outputHead1">
<ice:outputStyle href="./resources/stylesheet.css" id="outputStyle1"/>
<ice:outputStyle href="./xmlhttp/css/xp/xp.css" id="outputStyle2"/>
<script src="http://localhost:38080/prj_web/js/jquery.js" type="text/javascript"></script>
<script src="http://localhost:38080/prj_web/js/maskedinput.js" type="text/javascript"></script>
</ice:outputHead>but i need to add it in some way in my java classes because i may need to change the port number, or for security(people not see the port numer, name of my app, etc), in some words make it dynamically as possible...
I try to add it with
char comilla='"';
JavascriptContext.addJavascriptCall(FacesContext.getCurrentInstance(), "src="+comilla+"http://localhost:38080/prj_web/js/jquery.js"+comilla+"");
{code}
but it doesn't take effect....
If someone could give me a hand i'd appreciate it
Thanks in advance
SantiagoThen just write some code which generates an opening <script> tag and a closing </script> tag and between them, reads the actual Javascript file and writes it to the response.
Your question appears to be about JSP, maybe even about some particular product which extends JSP. There's a JSP forum here but this isn't it, this is just a forum about Java programming. So here you don't get the JSP experts, you just get anybody who wants to answer. -
Including a JavaScript library in Acrobat PDF Forms
Hi, I'm new to making PDF Forms. Is it possible to include a JavaScript library (for example jQuery or node.js) in a PDF Form? How would I go about doing this?
ThanksIn principle it's possible, but it wouldn't make much sense because these
libraries are written to work with JS in HTML pages, not PDF files, and the
objects, events and methods of the two are completely different (except for
core JS commands).
So yeah, you can load jQuery in Acrobat but you probably won't be able to
use any of it. -
Several html widgets I created contain the javascript libraries. Is there a way to create a common javascript library that can be accessed by all my widgets? I'm trying to reduce the size of the ibook I'm creating.
Seen this thread?
Can javascript libraries be shared across widgets? -
HT204433 How can two or more widgets share resources such as javascript library?
I am trying to develop several widgets that share the same javascript library, how can do this?
(This is going to be a long one)
Here is what I did. Before reading and replicating my steps please note that it did not work.
First create the widget:
Open dashcode. Select File/New Project.
Select Dashboard/Custom Template to create the widget. You get the "Hello World" widget which doesn't do anything. Here is what you have:
Just to add interaction, add a button. Go to Inspector, select Behaviors (see below) and for the onclick event add an event handler. Here's the screen shot:
The main.js associated file will contain now the empty code for the event handler:
Change it so it will change the text on the widget. I did it like this:
function doSomething(event)
document.getElementById("helloText").innerHTML = "Yay!";
Click on Run. Here's the widget, working:
Aaaand for some reason I cannot add an image. Let's do it in a reply to this post. -
Please Suggest "JavaScript Library"
Hi!
I am using Javascript Library "sorttable.js" for sorting the columns when I click on the column headers.
But it is confined to a single page. For example suppose I have 40 records to display and each page lists only 20 records, then only first page will be sorted and the next page remains unsorted.
My requirement is to sort the complete set of records on one click on column header.
Please suggest me. I will be using the JavaScript Library. So what I should do to correct my functionality.
Please tell me. it is better if it will be in detailPlease tell me. it is better if it will be in detail
All the detail you need: JavaScript is not Java. This is a Java forum. Post JavaScript questions on a JavaScript forum.
~ -
Cannot move widgets (NetBeans Visual Library)
Hello,
I'm currently developping a swing application which also uses netbeans visual library.
The problem I'm facing is that I cannot move the widget I have created, even though I've specified
a move action on it.
Here's the code, which does not need any comments, I think :
final Scene scene = new Scene ();
scene.setLayout(new AbsoluteLayout());
final Widget parentWidget = new Widget(scene);
// create the icon node widget
Widget iconNode = new Widget (scene);
class LabelTextFieldEditor implements TextFieldInplaceEditor {
public boolean isEnabled(Widget widget) {
return true;
public String getText(Widget widget) {
return ((LabelWidget) widget).getLabel();
public void setText(Widget widget, String text) {
((LabelWidget) widget).setLabel(text);
// resizeStrategy is described in Listing 4
iconNode.getActions().addAction(ActionFactory.createResizeAction());
iconNode.getActions().addAction (ActionFactory.createMoveAction());
WidgetAction action = ActionFactory.createInplaceEditorAction(new LabelTextFieldEditor());
iconNode.setBorder(BorderFactory.createResizeBorder(6));
// use a vertical layout
scene.setLayout (LayoutFactory.createAbsoluteLayout());
// add a image child widget
iconNode.addChild (new ImageWidget (scene, Utilities.loadImage ("com/test/generator/png/apple.png")));
iconNode.setPreferredLocation(new Point(10, 20));
// add a label child widget
LabelWidget modifiableLabel = new LabelWidget (scene, "Apple");
modifiableLabel.getActions().addAction (action);
iconNode.addChild (modifiableLabel);
// add it to the scene
scene.addChild (iconNode);
JComponent sceneView = scene.createView ();
JScrollPane panel = new JScrollPane (sceneView);
panel.setBounds (0, 0, 600, 600);
sceneView.validate();
panel4.add (panel);Any idea ?? Even the resize action is not really working. I can move the resize frame, but the picture inside of it does not
change (but maybe it's another problem).
Wny help will be appreciated !
Thanks.
StephWell, what I've noticed is that I cannot move the widget if it's alone.
If I add another one, it's working.
Note that it does not solve my problem, though ...
Because I'm in the process of writing an interactive screen designer, and I would like it possible
for the user to move the first widget he puts on the screen to choose its initial position.
Thanks ! -
GPL javascript library licencing question
Is it legal for me to use GPL javascript libraries such as Ext JS in APEX? My understanding is that to do so would require any additional client side code such as all the default APEX javascript libraries to be GPL'd.
What's the deal with the APEX javascript library? Perhaps someone at Oracle already released an APEX application that uses Ext JS, therefore rendering the default APEX javascript libraries as GPL?Hello,
EXTJS has a commercial licence which allows you include it in applications you don't wish to share the source-code etc to -
>
This is the appropriate option if you are creating proprietary applications and you are not prepared
to distribute and share the source code of your application under the GPL.
>
http://extjs.com/products/license.php
Hope this helps,
John.
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! -
Is it a Bug? Integration between Dreamweaver and Fireworks is broken in somewhere?
I can not upload images related my topic here but you can see
it in the same topic at
http://www.fireworksguruforum.com/index.php?showtopic=14282
I use CS3 Suite. It is a big trouble for me in working on
real pages. Integration is broken in somewhere else and after that
point it becomes impossible to work on Fireworks through
Dreamweaver.
I've made test to show this trouble and I narrowed the
problem to the pictures as shown in the figures below,
1) In figure one I am creating a completely new Fireworks
file as arrow.png with two frames and one slice in it. After I am
saving it as .png I am exporting it as .html with images in /images
subfolder.
2) After saving and closing the file in Fireworks, in figure
two, I am opening the html in Dreamweaver and changing the page
properties by writing zeros to page margins and by changing the
default font.
-----I guess in this point something happens which breaks the
integration between FW and DW--------because;
3) In figure three I am opening the .png through Dreamweaver
(by "Edit") and changes the place and size of the slice a little
bit
4) When I press Done in Fireworks I see this picture in
figure four in Dreamweaver which shows integration between FW and
DW about table structure is broken. (In this point if I add any
behaviur to the slice DW doesn't recognize it, or any other change
in FW can not be recognized by DW)
5) In order to show this broken integration in table
sturucture, I am putting a new slice to png when Editing from DW in
FW.
6) When I click on Done in DW I see this picture on the
figure six. Beacuse FW doesn't have any effect on html's table
structure code.
I can not upload images related my topic here but you can see
it in the same topic at
http://www.fireworksguruforum.com/index.php?showtopic=14282damlays wrote:
> I can not upload images related my topic here but you
can see it in the same
> topic at
>
http://www.fireworksguruforum.com/index.php?showtopic=14282
>
>
> I use CS3 Suite. It is a big trouble for me in working
on real pages.
> Integration is broken in somewhere else and after that
point it becomes
> impossible to work on Fireworks through Dreamweaver.
>
> I've made test to show this trouble and I narrowed the
problem to the pictures
> as shown in the figures below,
>
> 1) In figure one I am creating a completely new
Fireworks file as arrow.png
> with two frames and one slice in it. After I am saving
it as .png I am
> exporting it as .html with images in /images subfolder.
>
> 2) After saving and closing the file in Fireworks, in
figure two, I am opening
> the html in Dreamweaver and changing the page properties
by writing zeros to
> page margins and by changing the default font.
>
> -----I guess in this point something happens which
breaks the integration
> between FW and DW--------because;
>
> 3) In figure three I am opening the .png through
Dreamweaver (by "Edit") and
> changes the place and size of the slice a little bit
>
> 4) When I press Done in Fireworks I see this picture in
figure four in
> Dreamweaver which shows integration between FW and DW
about table structure is
> broken. (In this point if I add any behaviur to the
slice DW doesn't recognize
> it, or any other change in FW can not be recognized by
DW)
>
> 5) In order to show this broken integration in table
sturucture, I am putting
> a new slice to png when Editing from DW in FW.
>
> 6) When I click on Done in DW I see this picture on the
figure six. Beacuse FW
> doesn't have any effect on html's table structure code.
>
>
> I can not upload images related my topic here but you
can see it in the same
> topic at
>
http://www.fireworksguruforum.com/index.php?showtopic=14282
>
>
>
I can reproduce your results, but I don't consider this a
bug; just a
limitation of Roundtrip editing.
You can't add or change slices without re-exporting the html
from
Fireworks. Roundtrip is for image editing, not for altering
the table
structure. If I edit, and re-export, my table remains intact.
If you want to edit the slices and resulting html, open the
PNG file
independently of Dreamweaver, change your slices and images
and then
choose File > Update HTML (this option is not available
when in
Roundtrip mode). FW will ask you to locate the html file.
When located,
you will have the options of
Replace Images and Their HTML - replaces the previous
Fireworks HTML.
Update Images Only - overwrites only the images.
As an aside, the rigid table created by FW is rarely
desirable for a
production web site.
HTH
Jim Babbage - .:Community MX:. & .:Adobe Community
Expert:.
http://www.communityMX.com/
CommunityMX - Free Resources:
http://www.communitymx.com/free.cfm
.:Adobe Community Expert for Fireworks:.
Adobe Community Expert
http://tinyurl.com/2a7dyp
.:Author:.
Lynda.com -
http://movielibrary.lynda.com/authors/author/?aid=188
Peachpit Press -
http://www.peachpit.com/authors/bio.aspx?a=d98ed798-5ef0-45a8-a70d-4b35fa14c9a4
Layers Magazine -
http://www.layersmagazine.com/author/jim-babbage -
Hi,
I've built my website using a combination of Dreamweaver CS3,
PHP and MySQL. I've also added a forum (phpbbb), photo gallery
(coppermine) and blog (wordpress). Problem is, I'm not satisfied
with how each of these integrates into the look and feel of my
website, also having to launch into a seperate windows.
Each has (unless I'm not doing something right), limited
capabilities to tailor the colors, add my header & footer, etc.
As these are pretty common tools, I'm hoping someone will have a
suggestion on either other tools that I can more easily integrate
into my existing site or help with how to properly apply CSS to
these tools.
Hope I've posted this in the right place. Thanks.If you have already integrated these into your site then you
have done a good job. I have no experience of the tools you mention
but with regard to launching in separate windows, have you tried
setting the link target to _parent to load in main window?
For the overall look and feel of your site you have a couple
of options.
1. Apply dreamweaver templates to the tools. If this does not
work then you have a more complex option.
2. I'm assuming you already have css in your own pages. You
may have to add your css by <style> tags or insert a link to
your css file. This should somewhat change text and link to match
your own. As for header and footer You could add these by using a
file include. IE, create just the header and footer in separet html
files and then see if you can include them in the top and bottom of
the pages you need to. It will take time if the tools have many
pages because you may have to do it manually.
Regards
Paul -
Javascript error message loading dreamweaver mx
this may be two different questions but here goes:
-- i downloaded the interakt kollection a while back and just
got time to use it. by now i noticed that a newer version was
available so i downloaded it. but it crashed my machine trying to
update. and an error message now comes up about a javascript error
trying to load one of the interakt files. i put the system back 24
hours but the same error comes up. i click okay and dreamweaver mx
continues, but what does it mean?
-- i'm just starting php programming and perform the simplest
function, saving a .php site in apache2\htdocs and a file within
the site. but when i try to run the php from the livedata view, i
get a http 404 message about the doc not found. no wonder: the doc
is not the one i saved, but has a longer file name. tried this a
couple of times with different file names and the same thing
happens. suggestions please.
thanks,
michaelMichael
You may need to uninstall and then reinstall DW &
Interakt. The issue that
you are probably running into is that Interakt changed some
of the DW files
which worked until the DW 8.02 update came out, and rewrote
those files. The
Interakt updater probably relies on finding the updated DW
files.
When you preview a file DW creates a temporary version of it,
and runs that,
and then deletes it. You can not reference these temporary
versions in any
other way.
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"hconnorjr" <[email protected]> wrote in
message
news:ef9hkr$5ac$[email protected]..
> this may be two different questions but here goes:
>
> -- i downloaded the interakt kollection a while back and
just got time to
> use
> it. by now i noticed that a newer version was available
so i downloaded
> it. but
> it crashed my machine trying to update. and an error
message now comes up
> about
> a javascript error trying to load one of the interakt
files. i put the
> system
> back 24 hours but the same error comes up. i click okay
and dreamweaver mx
> continues, but what does it mean?
>
> -- i'm just starting php programming and perform the
simplest function,
> saving
> a .php site in apache2\htdocs and a file within the
site. but when i try
> to run
> the php from the livedata view, i get a http 404 message
about the doc not
> found. no wonder: the doc is not the one i saved, but
has a longer file
> name.
> tried this a couple of times with different file names
and the same thing
> happens. suggestions please.
>
> thanks,
>
> michael
>
> -
How do I fix a javascript error when opening Dreamweaver?
DW CS6 recently started having 2 JavaScript errors while opening the application and at least 1 additional JavaScript error when using the Insert Image command. Can someone provide some advice on fixing this issue?
This will help -
Index to Dreamweaver FAQ
Look at the very first issue. -
Drupal and Wordpress Integration in Dreamweaver
Hello,
I have started learning Wordpress and Drupal. I know Dreamweaver.
I understand in both CMS platform I have to make Custom Design Template in Dreamweaver to satisfy my client needs.
So I am wondering, is Dreamweaver having better integration with Wordpress or Drupal for building design template and etc?
I have choose Drupal & Wordpress over Joomla because for currently available extensions -
Wordpress has 23,277 plugins.
Drupal has 19,600 modules.
Joomla has 10,000 extensions.
Though some are commercial, some are outdated, some have bugs etc.Hello GraphicsGeezer,
I respect your opinion but I am learning Drupal, Wordpress, PHP, Mysql and many more from Lynda Video Tutorial - http://www.lynda.com/Drupal-training-tutorials/186-0.html. In my opinion it is very good website for learning. It educates through step by step process video. Totally, from start to finish in details. They have also exercise files by practical examples, which you can use that as practice purpose.
Learning from video is more understandable that books, because you are seeing and hearing the step by step process whereas in books you are reading the step by step process. Learning from video is near to practical knowledge and learning from book is theoretical knowledge.
Previously I have learned all from books but now I am more eager to learn from videos. Obviously, you will not get all things from videos. Therefore, still I learned from books and only if I do not get video on that subject. But try one video tutorial, I think you will be satisfied.
There are also another video tutorial website like drupalize.me, lullabot, video2brain. I don’t think that in youtube you will get tutorial in details from start to finish, probably you will get some fragment tutorial.
However, may be your opinion will be different and I am waiting for your opinion.
Maybe you are looking for
-
Runtime error while executing WD Application
Hi All, I have developed a sample application with one text view and when i am executine the application, I am getting the runtime error. The description is like: Note The following error text was processed in the system EC6 : Die URL enthält keine v
-
I updated my iTunes on my windows 7 laptop. I restarted the computer to relaunch iTunes and get it back running and it said that there was an error updating. Trying to uninstall and reinstall,comp wont uninstall programs -.- what do?
-
Waiting the main thread till all child thread has completed
I am in the process of developing a batch application in Java 5.0 which extensively uses the java.util.concurrency API. Here is a small description of what the batch process will do, 1. Retrieve values from DB and populate a blocking queue in main th
-
Transfer/Copy purchased Apps upon adding Apple equipment and opening new ID in the family
Upon acquiring ever more Apple equipments in our family, it became overwhelming to manage all with one Apple ID. A new ID was created with family sharing, etc however I transfer or copy of purchased Apps could not be moved across (even if only used o
-
Where is the personal hotspot on iPhone 5c
Where is the personal hotspot on the iPhone 5c