Disappearing navpoints - eclipse

I edited my navpoints from within the ToolTwist workbench, and after restarting the server all my navpoints had disappeared. I've checked the navpoint file, and it looks to be correct. I've tried restarting the server, but still ALL the navpoints have disappeared.
Can anybody tell me what I've done wrong, or suggest something to try?

Normally there is no need to edit the navpoint definition files - the navpoint tab in the Designer should be used. If for some reason it does need to be edited, make sure you restart the server immediately after making the changes or else they may be overwritten by the Designer.
Make sure that the encoding for the file is correct. The navpoint allows multi-lingual descriptions, SEO fields, etc, so needs to be stored as Unicode.
To check this, right click on the file in the Workbench (e.g. webdesign/myproject/navpoints/myproject.xml) and select properties. On the Resource tab, you'll see a section titled "Text file encoding". The correct value for this is UTF-16

Related

Can you change the path of a database file?

I have an Excel spreadsheet on my desktop. I pull parameter data from it. I want to move it from my desktop to somewhere else. How do I do this?
Having something in the Data section as you show in your image means that it's referenced somewhere in your model. In this case you used an Excel object from the connectivity palette.
Your mission is to find that object and change the path there after moving it:
On this example, I have an Excel File element called parameters and if I want to change the path, I have to find the file again using the "..." button to the right of File:
When you do that, it automatically changes the path.
So here's all I could figure out. I had to change all of the instances where I refer to the database so the Population is "Initially empty".
Once I did this, I deleted the databases and had to save and close the model. Once I reopened it, the Resource had disappeared. I then moved the Excel file and re-imported it, but I'm sure there's a better way.

{Netbeans}The form file does not contain valid XML.Form cannot be opened.Contents is not allowed in prolog

I was recently working on a really huge project in netbeans. I saved it in my desktop, and then proceeded to save it also in my USB. However, the next day, when I learned it could be for a later date, I deleted the one in my USB.When I put on the one in my desktop, all the work I had done was not saved on it, including the making of new JFrames etc. So I used a program to recover my deleted files. I now have loaded them into the netbeans IDE< however, there is an error sign next to most of them. When I click on a class inside my project with the error,an error message comes up before I can access it. It says "The form file does not contain valid XML.Form cannot be opened.Contents is not allowed in prolog." When I press "OK", my class has "coding" which looks like:
W�'6��G��ԧ��(g&�Cd�nw|7�\ej��
�;���كG�s=�Bl+��6�r�#ma���'�f�T�9Kx�q�M�G�t�q� �:���� \!�%İ��P�&!�[�R���`�,+��U���"���Ј���yF&mÛ�
�
Y ?/,8��#�t:�ԇ
��lOѪ|T�^?v"
....that.
And when I go to "design view" that message comes up again. What should I do? What CAN I do? I really need the bulk of my project to finish it in time!!!Oh, the project is for tommorow, so the quicker answer the better :'(
right click on the latest file from History ->revert (the .form)
Go to the history of the file and copy the content of .form file then go to directory and open the 0byte file .form by the editor and paste the content! I have done this and it worked for me.

TinyMCE/FCKeditor not able to browse for files

I changed some permissions on my server and somehow broke TinyMCE so that it can no longer browse for images and files.
I changed the permissions back to what they were but the issue still persists - when I go to browse for files I am just presented with a blank screen:
Would anyone know how to repair this?
(PS using ModX Evo CMS)
EDIT: what I see on console on the edit resource page (nothing appears when I open the console on the browsing window):
6
Refused to set unsafe header "Connection" index.php:1
Uncaught Error: IndexSizeError: DOM Exception 1 /assets/plugins/tinymce/jscripts/tiny_mce/tiny_mce.js:1
2
Refused to set unsafe header "Connection" index.php:1
Thanks!
In case you do use standard installation of tinymce i suggest you reinstall tinymce over the files on the server.
Try checking all the file names for anything that might contain special character. A em dash, n dash, possibly left quote ”, right quote etc...
I would do this via ftp to make sure you can see all the files in admin section. Rename any of the files that might have questionable characters and see if that fixes it.

why does changing "module -> rename to" attribute in .gwt.xml file give error

I am able to create and run a simple GWT application by creating all the files myself. It works fine and I am able to see the correct display.
I tried playing around the code to enhance my knowledge. What I noticed is that, once I run my app with say module rename to value "testhistory" it works fine.
But after that if I change rename to's value to say "historytokentest" the app gives errors like "Unable to find 'testhistory.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?"
If I change the rename to's value back to "testhistory" it again works fine.
Can anyone clear whether there is any relation between entryPoint class name, .gwt.xml file name, module rename to's value & also project name. Can they be changed in the future? (I know its not good to do so but just clearing doubts)
If you change the rename-to, it'll change the name of the output files, so you have to update your <script> tag in your HTML host page (from src="testhistory/testhistory.nocache.js" to src="historytokentest/historytokentest.nocache.js"). You don't have to change anything else.
Everything can be changed. There will not be any problem if you change the project.
If you want to change/rename your entry point make sure that you are doing it at [modulename].gwt.xml also. Mostly few smarter IDE's will take care of this once you do rename.
Same way for module name changing you have to change it in host page. Nothing extra than that.

Infopath 2007 form not displaying changes

I have an InfoPath 2007 form that is behaving quite oddly.
I created it, published to a Sharepoint document library, running smoothly. Now, if I make changes to the form, I don't see them reflected after publishing. If I rename the xsn file to a cab and open the xsl, I can't also see the changes there, but in the Infopath editor I can see the changes.
I tried deleting the cache to no avail.
I also get an error trying to save the file: "User will not be able to open this form because of the security level it requires and because no alternate access path has been specified.". Even with the error the changes get saved, but that may be causing something not to be properly updated by InfoPath.
Any idea on what's going on here?
I managed to fix it by selecting Tools -> Default Values, in InfoPath.
I'm not sure what this did but after it the changes were properly published.
There is something definitely wrong with InfoPath 2007...