Navigation Bar Search results in jar:file:/// search
When typing in anything (intended to be a search, default search engine SHOULD be Google), my search is directed to a "File Not Found" Page with this as the search criteria: "jar:file:///C:/Program Files (x86)/Mozilla Firefox/omni.jar!/chrome/en-US/locale/browser-region/region.properties[SEARCH CRITERIA THAT I TYPED]" (without the brackets or quotes)
I have tried several times to change the keyword.url, but each time I close firefox or restart it, the search changes back to searching in the directory posted above.
I remembered that used to be problem, so I just checked on my local version of my site, and Spotlight found the files on the basis of content without a problem. So I took a look at my installed mdimporters in /Library/Spotlight, to see what may have led to this happy turn of events. I thought perhaps the iWeb mdimporter might be doing it, but was unable to find a reference to HTML in its type declarations. I then took a look at in /System/Library/Spotlight and discovered that RichText.mdimporter has a declaration for public.html as a content type. You should have that mdimporter installed by default, but you might take a look to make sure it is there.
If the mdimporter is there, but the html files aren't being indexed, it could be that whatever program you are using to create them isn't giving them the appropriate content type. I code by hand using TextEdit, which saves them with the following metadata entry:
kMDItemContentType = "public.html"
kMDItemContentTypeTree = (
"public.html",
"public.text",
"public.data",
"public.item",
"public.content"
They are then evidently indexed without problem by the RichText.mdimporter. You might try opening one of your html docs in TextEdit (as plain text), resave, and see if Spotlight then picks up the content of the file. Of course, the content means the words that people see when they look at the page in a browser. If the content you are talking about is stuff that is inside an html tag, you are out of luck. I know of NO way to get Spotlight to find that. EasyFind will though, but it is a brute force search and will take awhile, even when restricted to a particular folder.
Francine
Francine
Schwieder
Similar Messages
-
Why do all the unused icons appear in a box on the navigation bar after I download a file?
Since the last Firefox upgrade last week a large box of all the unused icons appears on the navigation bar after I download a file. If I click on this box, the previous download information appears. The icons in the box aren't useable. This box doesn't appear when I first open Firefox. The box is so big it crowds out the other items in the navigation bar. Any ideas?
This issue is caused by a broken extension that isn't working properly and that doesn't support the current Firefox release.
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
*Do NOT click the Reset button on the Safe Mode start window.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
I downloaded PDF creator from Sourceforge.net. Apparently I agreed to have my navigation bar searcher become Yahoo, replacing Google.
Thanks for getting back to me. As soon as I posted this question I noticed the "down arrow" next to the Yahoo icon in the search window. Lo and behold, clicking on it reveals choices, such as: Google, Yahoo, Amazon, Answers, ...Wikipedia etc. One can change searchers that easily.
-
Put tabs below the navigation and search bar.
I need to switch the position of the tabs and the navigation and search bars. I want the tabs below the navigation bar, search bar, and the "firefox drop down menu."
Figured the basic move out, but want to trim the "fat." Can I put the navigation bar and the search bar next to the "firefox" drop down menu?
-
Using Insert/Images Objects/Navigation Bar - weird quirks
DW CS4
When I go to the above path in DW to add a navigation bar and add a few elements, the code produced seems fine (I'm talking strictyl about the sentence case of the code - all lowercase). Now if I go to Modify/Navigation Bar to add a few more elements, the additional code is now in a different case (it's in sentense case - first letter capital). For example:
When I first insert a navigation bar, some resulting code is
onmouseover="MM_nbGroup('over','home','','',1)"
but when I go to modify the navigation bar, the additional code added now becomes
onMouseOver="MM_nbGroup('over','galleries','','',1)"
I know how to quickly find/replace to fix this, but this is just weird to me why DW would use two different sentence cases. Is that just a function of the software, or is there some setting I'm missing to make sure ALL code is in lowercase? I already have my default tag case <lowercase>
Test it out yourself and let me know if anyone gets the same results or knows why this is happening.
Thanks...
I just noticed something else... on initial creation, the code includes id="", but when I modify/add to the nav bar, there is no id="" included (I have to manually add that code)... what the crap is going on??Unicode is the character set encoding -- not the same as DTD.
I can't recreate your experience with DW on Windows Vista.
Here's the code I get from DW -- same as before and after editing the menu...
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
function MM_nbGroup(event, grpName) { //v6.0
var i,img,nbArr,args=MM_nbGroup.arguments;
if (event == "init" && args.length > 2) {
if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
nbArr[nbArr.length] = img;
for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = args[i+1];
nbArr[nbArr.length] = img;
} else if (event == "over") {
document.MM_nbOver = nbArr = new Array();
for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
nbArr[nbArr.length] = img;
} else if (event == "out" ) {
for (i=0; i < document.MM_nbOver.length; i++) {
img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
} else if (event == "down") {
nbArr = document[grpName];
if (nbArr)
for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
document[grpName] = nbArr = new Array();
for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
nbArr[nbArr.length] = img;
//-->
</script>
</head>
<body onload="MM_preloadImages('Images/Up-Arrow-64.png','Images/Up-Arrow-64-hover.png')">
<a href="http://alt-web.com" target="_top" onclick="MM_nbGroup('down','group1','Home','Images/Up-Arrow-64.png',1)" onmouseover="MM_nbGroup('over','Home','Images/Up-Arrow-64-hover.png','',1)" onmouseout="MM_nbGroup('out')"><img src="Images/Up-Arrow-64.png" alt="Home" name="Home" width="64" height="64" border="0" id="Home" onload="" /></a>
</body>
</html>
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Could I ask you guys a stupid question, please?
I have a library as an JAR file. I build my application as another JAR file, which includes that library file.
My manifest file is:
Manifest-Version: 0.1.0
Class-Path: lib/mysql-connector-java-3.0.17-ga-bin.jar
Main-Class: com.myappand the build command:
jar cvfm hello.jar mymanifest -c com -c libThe result hello.jar file built OK. But when I run it, I have to copy library file to the same folder to the app file.
Could you tell me how to load the lib file from hello.jar, instead of the lib file?
Thanks in advance!
Best regards,
Lehoanqam I right in thinking you've put the mysql jar inside your application jar? jars don't work like that, I'm afraid. it is possible to write a classloader that will load classes from within a jar-inside-a-jar, but it gets rather complicated and messy and isn't worth the hassle to be honest, anyway. we go to some lengths to keep our software modular and separate. imagine, for instance, that a bug is exposed in the mysql driver you're using, and a new release is needed to fix it. the dependency is rooted inside your application, so the whole shebang has to be re-packaged and re-deployed, whereas if your dependencies were inside a lib folder, all that would be needed is to drop the new version of the mysql driver into the lib directory. think "don't put all your eggs in one basket"
what you want to do is possible, and there are tools around to do it for you, too, but IMHO it's not worth the effort -
Need to change the navigation bar direction in my site!
I've got my site up and am working with it. I have some sense of HTML coding. My question/situation:
I changed the name of my Home.html page to index.html so that google analytics could spider all my external and internal links. This went off with one major hitch... all the pages after the index page still send "Home" in their navigation bar to Home.html which no longer exists. Where can I find the file/feed/script or whatever to change the internal coding to direct that old Home in the navigation bar to my new index file?
My site is www.womenswellnessmarketplace.com
Thanks..I do realize that the themes are different in the home page and the following pages...thats my next big task!!Don't know what I did but it seems to be working now!
-
Strange Navigation Bar Behavior
Hi, I'm currently designing a web page for non-profit
government organization.
Unfortunately, I'm running into some strange behavioral
problems with the navigation bar.
The tabs in my navigation bar run from left to right. As the
links are visited through the navigation bar, the links to the left
of which ever link is active stop working. I can't for the life of
me figure out why!
The pages are arranged in such a way that each page involves
three html files. One body file, one navigation bar file with it's
respective tab hilighted, and a little file that simply loads the
two, one on top of the other. The tabs in the navigation bar are
linked to the file that then loads the body and navigation(of
course). Clicking on a tab to the right of the active tab loads
everything perfectly. However, if the active tab is the right-most
tab, the tabs to the left no longer work properly. They seem to
reload the navigation bar, but the body gets left behind and the
URL still appears to be that of the right-most tab.
Here is an example of my site in progress:
Site in
Progress
By going through the four tabs at the top, you can quickly
see things are going wrong.
The drop-down menu can be used to access the same pages that
the navigation bar refuses to load.
If you could please take a look at the site and reply with
any comments or suggestions as to what might be going wrong or what
I could do to fix it, I would be very grateful.
Note that I previously read something about strange
navigation bar behavior being caused by image names beginning with
numbers. This isn't what's happening here as my image names are all
"image 1" etc.
Also note that I'm using dreamweaver8
Thank you in advance for your help.
- Paul M
- Transitions for Youth
- [email protected]Well thanks for the suggestion, but that's not actually the
problem I'm having.
The newsletter link along with all that other stuff on the
left hand side is just stuff I havn't gotten to yet.
The problem I'm having is with the navigation tabs at the TOP
of the page(policies, forms, info and M.R.)! I know the links for
those tabs are correct, because I can see from hovering over the
tabs that they're pointing in the right direction, and if it's the
policies page(leftmost tab at the top) I'm on, all the tabs to the
right work perfectly. The problem is that when I'm on any other
page (such as the M.R. page which is the rightmost tab), all the
tabs to the left of it mysteriously stop working!
As I said, just quickly click back and forth through the four
tabs at the top of the page and you'll see what the problem is. In
fact, completely ignore everything that isn't those four tabs at
the top of the page, because everything else is unfinished.
Please help! Thanks! -
I want IDesktopService jar file
hi,
how can i get com.sap.portal.desktop.IDesktopService; jar file.
regards,
ss.hi,
but in this these methods are not there
IDesktopService desktopservice = (IDesktopService)PortalRuntime.getRuntimeResources().getService("com.sap.portal.desktop.desktopservice.desktopservice");
String portalPlaceBack = (String)session.getAttribute("PortalPlaceLastTarget");
session.setAttribute("com.sap.portal.desktop.page", null);
desktopservice .resetCurrentDesktopUrl (request);
desktopservice. resetCurrentThemeUrl (request);
INavigationGenerator navigationService = (INavigationGenerator)PortalRuntime.getRuntimeResources().getService("com.sap.portal.navigation.service.navigation");
i want desktop service jar file with these methods.
regards,
surya -
File not found
Firefox can't find the file at jar:file:///C:/Program Files (x86)/Mozilla Firefox/omni.jar!/chrome/en-US/locale/browser-region
Check the file name for capitalization or other typing errors.
Check to see if the file was moved, renamed or deleted.hello Kygirl, please install the search reset addon - it will revert the most common customziations those adware programs do in firefox back to the default (including the keyword search from the location bar): https://addons.mozilla.org/firefox/addon/searchreset/
-
CSS or JS Navigation Bar with inline Styled Search Field
Does anyone know of a good tutorial on how to create a CSS or
JS navigation bar that would contain a matching styled search field
box?
I have tried creating something like this a couple of times
using the old JS Navigation Bar wizard in DW, but can't get the
results I need. I can never seem to add a column that would include
a search box and have it look right and inline with the rest of the
navigation.
For reference, I am trying to do a nav that is somewhat
similiar to Apple's Nav bar, where the search field is styled to
match the rest of the Nav and inline with the rest of the buttons.
Any thoughts?
Thanks.You don't need to use PMM. You can set your menu container to
position:
relative and then absolutely position the search box inside.
Al Sparber - PVII
http://www.projectseven.com
Extending Dreamweaver - Nav Systems | Galleries | Widgets
Authors: "42nd Street: Mastering the Art of CSS Design"
"destind4film" <[email protected]> wrote in
message
news:fkukir$8l4$[email protected]..
> Hi Al,
>
> Thanks for the quick reply. I had actually checked your
site earlier
> today,
> since I have had such an awesome experience with your
accordion menus.
>
> That example is almost exactly what I am trying to do,
minus the dropdown
> menu
> buttons. The buttons currently are just simple rollovers
that go directly
> to
> other pages, but I am trying to place a styled search
box to the right
> like
> your example has.
>
> Here is the current page (also using the PVII Accordion
Menu) that does
> not
> have the search added yet, but you can see that I have
plenty of real
> estate to
> include one:
>
>
http://www.dvdflashbacks.com/mrhubcap/
>
> Questions:
> Can the pop menu be used with my current roll over
images for basic Nav
> bars
> like this?
> How easy is it to add the search field to this menu?
(This is a PHP/MySql
> backend for the site using Cartweaver3. I have a php
search snippet from
> CW3
> that I was trying to stick into a table cell next to
this nav but the cell
> would never align properly for some reason.)
>
> Thank you very much and Merry 'Belated' Christmas!
> -
...the search scope is used to subset the SGs and DGs. The search scope itself shows expected results. The search scope filter used is: /Group[Type='Security' or Type='MailEnabledSecurity'][(Domain = 'DomainX') or (Domain = 'DomainY')]
Tried the following, with the GUID being the resource ID from the search scope for security groups:
~/identitymanagement/aspx/customized/CustomizedObjects.aspx?type=Group&searchtype=e8ed98b6-e299-4b8d-bfe5-e4b2adf1cd60
~/IdentityManagement/aspx/groups/Groups.aspx?type=Group&searchtype=e8ed98b6-e299-4b8d-bfe5-e4b2adf1cd60
Thanksare you talking about redirect URL in search scope ? FIM will automatically add the searchtype querystring
for custom groups search scope you can use :
~/IdentityManagement/aspx/groups/AllGroups.aspx
and configure you search scope to use the same UsageKeywords as for the security groups
and restart your IIS server using the command "IISRESET"
in your case if you want to create navigation bar link to your group-type search scope use may use this format:
http://{your fim server}/IdentityManagement/aspx/groups/AllGroups.aspx?searchtype={your searchscope guid}&content=%2a
ex : http://fimserver/IdentityManagement/aspx/groups/AllGroups.aspx?searchtype=47e0a973-0ab4-46f5-815f-f5028c1af58e&content=%2a -
How to disable placeholder text in the URL and search fields of the navigation bar?
Everytime I open a new tab (frequently, home page is set to blank) I have to look at "Go to a Website" in the navigation bar. The search field shows the name of the currently active search engine until text is inputed. All I want is to be able to do is disable the placeholder text, showing both fields as blank.
Thank you. Worked fine. For anyone who comes across this in the future, change "graytext" to "transparent" to hide the placeholder all the time. As is above, the placeholder shows when the mouse points at the box.
-
How to search for a class to know it is in which Jar file
Hi Guys,
Can any tell me how to search a class file. I have a set of Jar files in which the required class file is there. But i don't know in which Jar file the class is. Is there any way to find out.
Regards,
Gowtham K.Hi Gowtham,
Please download the Class locator from the following site. This will help to know what you are looking for.
<b>http://www.alphaworks.ibm.com/tech/jarclassfinder</b>
<b>http://sourceforge.net/projects/classlocator</b>
I hope this solves your problem.
Regards
Pravesh
PS: Please consider rewarding points for helpful answer. -
I would like to take a JAR file and:
- Scan it to see if it has .class files
- For each class file, I would like to scan that class file, looking for a particular String I put in there.
- Keep a list of the Strings I have found.
I know how to do the last 2 parts, but I have some questions.
Is it posible to scan a file within a JAR without having to physically extract to a hard drive first? If I have a JAR with 200 class files, I would not want to have to extract each one to a temp area, search them, then delete them. I want to know what the best way is to scan a file within a JAR file.Hmm, I'm having problems with the JarInputStream being unavailable. It only goes through the first entry then quits. It has something to do with the method I call, because If I comment it out it works fine.
private static void extractClasses()
log( "VersionTracker - extractClasses(): " + CLASS_JAR );
JarInputStream istream = null;
try
istream = new JarInputStream( new FileInputStream( CLASS_JAR ) );
while( istream.available() > 0 )
JarEntry entry = istream.getNextJarEntry();
String filename = entry.getName(); // You get the filename here
if( filename.endsWith( CLASS_EXT ) && ( filename.indexOf( '$' ) == -1 ) )
log( "FILENAME:" + filename );
Reader reader = new InputStreamReader( istream );
parseFile( filename, reader, CLASS_EXT, filename );
//BufferedReader reader = new BufferedReader(new InputStreamReader(istream));
catch( Exception e )
log( "<ERROR>: VersionTracker - extractClasses(): " + e.toString() );
finally
try
istream.close();
catch( Exception e )
log( "<ERROR>: VersionTracker - extractClasses(): Closing Stream : " + e.toString() );
log("Exiting extractClasses()");
}and
public static void parseFile( String name, Reader reader, String extension, String path )
log( "VersionTracker - parseFile( )" );
final String BEGIN = "classVersion Class:";
final String END = "--";
try
BufferedReader br = new BufferedReader( reader );//new FileReader( f ) );
String line;
while( ( line = br.readLine() ) != null )
if( line.indexOf( BEGIN ) != -1 )
int x = line.indexOf( BEGIN );
if( line.indexOf( END, x ) != -1 )
int y = line.indexOf( END, x );
String data = line.substring( x + BEGIN.length(), y );
StringTokenizer st = new StringTokenizer( data );
if( st.countTokens() == 3 )
if( showValid )
st.nextToken(); // Skip over 1st word
String version = st.nextToken().substring( 8 );
String date = st.nextToken().substring( 5 );
Object[] obj = new Object[]{name, version, sdf.parse( date ), path, extension};
al.add( new FileInfo( obj ) );
else if( showInvalid )
Object[] obj = new Object[]{name, "Invalid Version Tag", sdf.parse( fakeDate ), path, extension};
al.add( new FileInfo( obj ) );
return;
else if( showInvalid )
Object[] obj = new Object[]{name, "Invalid Version Tag", sdf.parse( fakeDate ), path, extension};
al.add( new FileInfo( obj ) );
return;
if( showInvalid )
Object[] obj = new Object[]{name, "Missing Version Tag", sdf.parse( fakeDate ), path, extension};
al.add( new FileInfo( obj ) );
catch( Exception e )
log( "<ERROR>: VersionTracker - parseFile(): " + path + " : " + e.toString() );
}
Maybe you are looking for
-
What is the meaning of this line of code
hi we have time.xls file on file the first Time A , B , C 07:00 07:47 08:48 09:35 and in java we have if (courseType == COURSE_OLD) return generateTimes(startingTime, 53, 2 * 60, 2 * 60 + 53, 0);what is coding 's meaning?? Thank you
-
Dynamically word wrap in a JLabel
I have several JLabels in a complex layout that has a JSplitter and is in a resizeable window. I would like it if there isn't enough room for the text of the JLabel to fit on one line, but there is enough vertical room (there almost always is), for t
-
Samsung laser printer can't print via Airport
I can no longer get my Samsung laser printer (ML-1210) to print via my Airport Extreme Base Station network. All I get is the Printer Center telling me that it can't find the printer. Prior to OS X 10.4.4 and Airport Firmware update 5.7 no problems,
-
I have a content message routing scenario with request/response mllp receive and send port . Below are the points which describes the situation :- 1) mllp message received from upstream application on receive port which sends back the dir
-
Reading data from pdfsource of adobe form
Friends, This error pertains to the retrieving data when executing the WDA application. System details: NetWeaver 2004s. ADS support pack 16. The Adobe Livecycle Designer version: 7.1.3129.1.296948 The Adobe Reader version: 8.1 The SAP GUI version: 7