Apache Sling JCR Resource Resolver doesn't work for the anchor tags which is been rendered through j
Certainly I realized that Apache Sling JCR Resource Resolver doesn't work for the anchor tags which is been rendered through jquery or javascript.
e.g.
In Felix Console , in Apache Sling JCR Resource Resolver configuration I have added following mapping.
/content/myproject/-/
So If any anchor tag is there like <a href="/content/myproject/en.html"> click me </a> then it will be mapped to "/en.html" automatically.
But the problem is there in following scenario.
I have an anchor tag as follows.
<a href="#" id="test"> click here </a>
And I am assigning the href to anchor through JQUERY.
<script>
$("#test").attr("href","/content/myproject/en.html");
</script>
Ideally this should have been mapped to "/en.html".
But it is not mapping to "/en.html". It still shows "/content/myproject/en.html".
How to resolve this.
Thanks,
Sai
In a servlet you have access to the resourceResolver so if you know which attributes contain links then it's relatively easy to apply resourceResolver.map to those links.
Your challenge is clearly how do you know which attributes are links and which aren't. Its is the same challenge that makes parsing the response and rewriting it on the way out difficult - the JSON doesn't have any semantic meaning so how do identify which attributes require rewriting. There really is no good answer ot that question in my experience - all the options have down sides.
Create some convention - all attributes matching this pattern X get mapped before being converted to JSON (could be attributes whose name ends in link, or it could a convention applied to the value of the attribute - if the attribute is a string that starts with /content apply the resource resolver mapping. In this case you have train your developers to follow this convention which is the down side.
Create some configurable list of attribute names that require mapping. This is brittle, requires training and is easy to break.
Implement a client side version of the resource resolver mapping. It wouldn't be as full proof as server side mapping (because that takes into account but you could make it work for simple logic like stripping of /content/site/en. If ou are just trying to solve the simple version of this issue - stripping off the top of the repository path this might be your best option.
Not worry about it and set up Apache 301 redirects that catch any long URLs and redirect them to short URLs (so configure apache to look for any URL matching /content/site/en and strip off /content/site/en and do a 301 redirect to the shortened URL. You end up with a lot of extra HTTP request because of all the 301s but it would work (I wouldn't recommend this option - but it is possible).
Similar Messages
-
Apache Sling JCR Resource Resolver to remove selected pattern
Hello,
I have a requirement to remove selected pattern from all urls. Pattern will look like:
<domain>/content/mysite/en/section1.html -> <domain>/section1.html
<domain>/content/mysite/en/section1/cat1.html -> <domain>/section1/cat1.html
<domain>/content/mysite/en/section1/cat1/page.html -> <domain>/section1/cat1/page.html
I am new to mappings so looking for help from expert.
Thanks for your help in advance.
Regards,
MohitDoes your domain represent a language? If there is no relationship between domain and the paths you are removing (for example www.mysite.com maps to /content/mysite/en and www.mysite.fr maps to /content/mysite/fr) then you can just use the resource resolver and not have to use /etc/maps approach. You would add /content/mysite/en/-/ to the resource.resolver.mapping property of the JCR Resource Resolver (make sure that the last property is /-/. You can do that either in the OSGI Felix console or via OSGI repository configuration.
If you are using Dispatcher for caching you need to consider using Apache mod_rewrite for handling the incoming mappings. If you rely solely on the JCR Resource Resolver (or and /etc/maps approach) you can cause problems with cache flushing. If you don't use Apache mod_rewrite to change /section1.html to /content/mysite/en/section1.html then the request gets cache in the docroot as /section1.html. When you publish a change to /content/mysite/en/section1.html Dispatcher will not make the propery association and will touch the wrong stat file. Now if your stat file level is set to 0 and you set up to auto-invalidate HTML you will probably not notice the impacts immediately. If however you set your stat file level above zero, or you have non-standard auto-invalidation settings you may have problems with your cache flushing. In general anytime I do I am using Dispatcher I use Apache mod_rewrite to handle incoming rewrites. I still configure the JCR Resource Resolver to handle both incoming and outgoing rewrites so that I can test the site directly against the publish server if I need to, but I'll set up mod_rewrite to handle incoming rewrites and avoid any cache flush issues.
For SEO purposes in scenarios you will want to configure Apache mod_rewrite to prevent requests directly to the full path. Often times you will either have an outgoing link not get rewritten to the short URL, or someone will send out the full link by accident so you will want to prevent those links from working - potential by doing a 301 redirect of /content/mysite/en/section1.html back to /section1.html. This prevents SEO issues, but you do have to make sure you don't create an infinte loop since the redirected request will then get rewritten to the long URL. -
Evdev Doesn't Work for the USB Mouse
Hey There,
I'm using xorg.conf because Xorg 7.3 doesn't do several things I need.. (keyboard layouts, nvidia driver, synaptics, etc..)
Any way, my xorg.conf used to work fine until I upgraded to 7.3 today.. I know that nvidia legacy (96xx) driver doesn't work because of the ABI change in this version, so I'm not mentioning about it..
The biggest problem I have right now is that my USB mouse doesn't work now with evdev.. I had to change evdev to mouse and protocol to auto instead which confuses and distracts me..
I think that evdev has some problems recognizing..
This is my xorg.conf file:
Section "ServerLayout"
Identifier "Xorg Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics Touchpad" "CorePointer"
InputDevice "USB Mouse" "SendCoreEvents"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
FontPath "/usr/share/fonts/cyrillic"
# FontPath "/usr/share/lib/X11/fonts/latin2/75dpi"
# FontPath "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/ttf/western"
FontPath "/usr/share/fonts/ttf/decoratives"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/truetype/openoffice"
FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
FontPath "/usr/share/fonts/latex-ttf-fonts"
FontPath "/usr/share/fonts/defoma/CID"
FontPath "/usr/share/fonts/defoma/TrueType"
EndSection
Section "Module"
Load "ddc" # ddc probing of monitor
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "bitmap" # bitmap-fonts
Load "type1"
Load "freetype"
Load "record"
Load "synaptics"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "tr,de"
Option "XkbVariant" ""
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "120"
Option "RightEdge" "830"
Option "TopEdge" "120"
Option "BottomEdge" "650"
Option "FingerLow" "14"
Option "FingerHigh" "15"
Option "MaxTapTime" "180"
Option "MaxTapMove" "110"
Option "EmulateMidButtonTime" "75"
Option "VertScrollDelta" "34"
Option "HorizScrollDelta" "42"
Option "MinSpeed" "0.9"
Option "MaxSpeed" "1.2"
Option "AccelFactor" "0.01"
Option "EdgeMotionMinSpeed" "15"
Option "EdgeMotionMaxSpeed" "15"
Option "UpDownScrolling" "1"
Option "CircularScrolling" "0"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "0"
Option "SHMConfig" "on"
EndSection
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5 7 6"
Option "Buttons" "9"
Option "Emulate3Buttons" "false"
EndSection
# Auto-generated by Archie mkxcfg
Section "Monitor"
Identifier "Monitor0"
Option "DPMS" "true"
HorizSync 49.68
VertRefresh 60
# Default modes distilled from
# "VESA and Industry Standards and Guide for Computer Display Monitor
# Timing", version 1.0, revision 0.8, adopted September 17, 1998.
# $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 1999/11/18 16:52:17 tsi Exp $
# 640x350 @ 85Hz (VESA) hsync: 37.9kHz
ModeLine "640x350" 31.5 640 672 736 832 350 382 385 445 +hsync -vsync
# 640x400 @ 85Hz (VESA) hsync: 37.9kHz
ModeLine "640x400" 31.5 640 672 736 832 400 401 404 445 -hsync +vsync
# 720x400 @ 85Hz (VESA) hsync: 37.9kHz
ModeLine "720x400" 35.5 720 756 828 936 400 401 404 446 -hsync +vsync
# 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
ModeLine "640x480" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
# 640x480 @ 72Hz (VESA) hsync: 37.9kHz
ModeLine "640x480" 31.5 640 664 704 832 480 489 491 520 -hsync -vsync
# 640x480 @ 75Hz (VESA) hsync: 37.5kHz
ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
# 640x480 @ 85Hz (VESA) hsync: 43.3kHz
ModeLine "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
# 800x600 @ 56Hz (VESA) hsync: 35.2kHz
ModeLine "800x600" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
# 800x600 @ 60Hz (VESA) hsync: 37.9kHz
ModeLine "800x600" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
# 800x600 @ 72Hz (VESA) hsync: 48.1kHz
ModeLine "800x600" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
# 800x600 @ 75Hz (VESA) hsync: 46.9kHz
ModeLine "800x600" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
# 800x600 @ 85Hz (VESA) hsync: 53.7kHz
ModeLine "800x600" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
# 1024x768i @ 43Hz (industry standard) hsync: 35.5kHz
ModeLine "1024x768" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync +vsync Interlace
# 1024x768 @ 60Hz (VESA) hsync: 48.4kHz
ModeLine "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
# 1024x768 @ 70Hz (VESA) hsync: 56.5kHz
ModeLine "1024x768" 75.0 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
# 1024x768 @ 75Hz (VESA) hsync: 60.0kHz
ModeLine "1024x768" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
# 1024x768 @ 85Hz (VESA) hsync: 68.7kHz
ModeLine "1024x768" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
# 1152x864 @ 75Hz (VESA) hsync: 67.5kHz
ModeLine "1152x864" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
# 1280x960 @ 60Hz (VESA) hsync: 60.0kHz
ModeLine "1280x960" 108.0 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync
# 1280x960 @ 85Hz (VESA) hsync: 85.9kHz
ModeLine "1280x960" 148.5 1280 1344 1504 1728 960 961 964 1011 +hsync +vsync
# 1280x1024 @ 60Hz (VESA) hsync: 64.0kHz
ModeLine "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
# 1280x1024 @ 75Hz (VESA) hsync: 80.0kHz
ModeLine "1280x1024" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
# 1280x1024 @ 85Hz (VESA) hsync: 91.1kHz
ModeLine "1280x1024" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
# 1600x1200 @ 60Hz (VESA) hsync: 75.0kHz
ModeLine "1600x1200" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
# 1600x1200 @ 65Hz (VESA) hsync: 81.3kHz
ModeLine "1600x1200" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
# 1600x1200 @ 70Hz (VESA) hsync: 87.5kHz
ModeLine "1600x1200" 189.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
# 1600x1200 @ 75Hz (VESA) hsync: 93.8kHz
ModeLine "1600x1200" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
# 1600x1200 @ 85Hz (VESA) hsync: 106.3kHz
ModeLine "1600x1200" 229.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
# 1792x1344 @ 60Hz (VESA) hsync: 83.6kHz
ModeLine "1792x1344" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
# 1792x1344 @ 75Hz (VESA) hsync: 106.3kHz
ModeLine "1792x1344" 261.0 1792 1888 2104 2456 1344 1345 1348 1417 -hsync +vsync
# 1856x1392 @ 60Hz (VESA) hsync: 86.3kHz
ModeLine "1856x1392" 218.3 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync
# 1856x1392 @ 75Hz (VESA) hsync: 112.5kHz
ModeLine "1856x1392" 288.0 1856 1984 2208 2560 1392 1393 1396 1500 -hsync +vsync
# 1920x1440 @ 60Hz (VESA) hsync: 90.0kHz
ModeLine "1920x1440" 234.0 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync
# 1920x1440 @ 75Hz (VESA) hsync: 112.5kHz
ModeLine "1920x1440" 297.0 1920 2064 2288 2640 1440 1441 1444 1500 -hsync +vsync
# Additional modelines
ModeLine "1800x1440" 230 1800 1896 2088 2392 1440 1441 1444 1490 +HSync +VSync
ModeLine "1800x1440" 250 1800 1896 2088 2392 1440 1441 1444 1490 +HSync +VSync
# Extended modelines with GTF timings
# 640x480 @ 100.00 Hz (GTF) hsync: 50.90 kHz; pclk: 43.16 MHz
ModeLine "640x480" 43.16 640 680 744 848 480 481 484 509 -HSync +Vsync
# 768x576 @ 60.00 Hz (GTF) hsync: 35.82 kHz; pclk: 34.96 MHz
ModeLine "768x576" 34.96 768 792 872 976 576 577 580 597 -HSync +Vsync
# 768x576 @ 72.00 Hz (GTF) hsync: 43.27 kHz; pclk: 42.93 MHz
ModeLine "768x576" 42.93 768 800 880 992 576 577 580 601 -HSync +Vsync
# 768x576 @ 75.00 Hz (GTF) hsync: 45.15 kHz; pclk: 45.51 MHz
ModeLine "768x576" 45.51 768 808 888 1008 576 577 580 602 -HSync +Vsync
# 768x576 @ 85.00 Hz (GTF) hsync: 51.42 kHz; pclk: 51.84 MHz
ModeLine "768x576" 51.84 768 808 888 1008 576 577 580 605 -HSync +Vsync
# 768x576 @ 100.00 Hz (GTF) hsync: 61.10 kHz; pclk: 62.57 MHz
ModeLine "768x576" 62.57 768 816 896 1024 576 577 580 611 -HSync +Vsync
# 800x600 @ 100.00 Hz (GTF) hsync: 63.60 kHz; pclk: 68.18 MHz
ModeLine "800x600" 68.18 800 848 936 1072 600 601 604 636 -HSync +Vsync
# 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
ModeLine "1024x768" 113.31 1024 1096 1208 1392 768 769 772 814 -HSync +Vsync
# 1152x864 @ 60.00 Hz (GTF) hsync: 53.70 kHz; pclk: 81.62 MHz
ModeLine "1152x864" 81.62 1152 1216 1336 1520 864 865 868 895 -HSync +Vsync
# 1152x864 @ 85.00 Hz (GTF) hsync: 77.10 kHz; pclk: 119.65 MHz
ModeLine "1152x864" 119.65 1152 1224 1352 1552 864 865 868 907 -HSync +Vsync
# 1152x864 @ 100.00 Hz (GTF) hsync: 91.50 kHz; pclk: 143.47 MHz
ModeLine "1152x864" 143.47 1152 1232 1360 1568 864 865 868 915 -HSync +Vsync
# 1280x800 @ 60.00 Hz (GTF) hsync: 49.68 kHz; pclk: 83.46 MHz
Modeline "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync
# 1280x960 @ 72.00 Hz (GTF) hsync: 72.07 kHz; pclk: 124.54 MHz
ModeLine "1280x960" 124.54 1280 1368 1504 1728 960 961 964 1001 -HSync +Vsync
# 1280x960 @ 75.00 Hz (GTF) hsync: 75.15 kHz; pclk: 129.86 MHz
ModeLine "1280x960" 129.86 1280 1368 1504 1728 960 961 964 1002 -HSync +Vsync
# 1280x960 @ 100.00 Hz (GTF) hsync: 101.70 kHz; pclk: 178.99 MHz
ModeLine "1280x960" 178.99 1280 1376 1520 1760 960 961 964 1017 -HSync +Vsync
# 1280x1024 @ 100.00 Hz (GTF) hsync: 108.50 kHz; pclk: 190.96 MHz
ModeLine "1280x1024" 190.96 1280 1376 1520 1760 1024 1025 1028 1085 -HSync +Vsync
# 1400x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 122.61 MHz
ModeLine "1400x1050" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -HSync +Vsync
# 1400x1050 @ 72.00 Hz (GTF) hsync: 78.77 kHz; pclk: 149.34 MHz
ModeLine "1400x1050" 149.34 1400 1496 1648 1896 1050 1051 1054 1094 -HSync +Vsync
# 1400x1050 @ 75.00 Hz (GTF) hsync: 82.20 kHz; pclk: 155.85 MHz
ModeLine "1400x1050" 155.85 1400 1496 1648 1896 1050 1051 1054 1096 -HSync +Vsync
# 1400x1050 @ 85.00 Hz (GTF) hsync: 93.76 kHz; pclk: 179.26 MHz
ModeLine "1400x1050" 179.26 1400 1504 1656 1912 1050 1051 1054 1103 -HSync +Vsync
# 1400x1050 @ 100.00 Hz (GTF) hsync: 111.20 kHz; pclk: 214.39 MHz
ModeLine "1400x1050" 214.39 1400 1512 1664 1928 1050 1051 1054 1112 -HSync +Vsync
# 1600x1200 @ 100.00 Hz (GTF) hsync: 127.10 kHz; pclk: 280.64 MHz
ModeLine "1600x1200" 280.64 1600 1728 1904 2208 1200 1201 1204 1271 -HSync +Vsync
EndSection
# Auto-generated by Archie mkxcfg
Section "Device"
Identifier "Card0"
Driver "nv"
VendorName "All"
BoardName "All"
Option "NvAGP" "1"
Option "RenderAccel" "True"
Option "NoPowerConnectorCheck"
#Option "TripleBuffer" "True"
#Option "AddARGBGLXVisuals"
#Option "BackingStore" "True"
#Option "AllowGLXWithComposite" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubSection
#Option "TwinView" "true"
#Option "TVOutFormat" "COMPOSITE" #S-VIDEO
#Option "TVStandard" "NTSC-M" #PAL-B
#Option "MetaModes" "DFP-0: 1280x800, CRT-0: 1280x800" #; NULL, CRT-0: 1280x800"
##Option "MetaModes" "1024x768,1024x768; 800x600,800x600; 640x480,640x480; 512x384,512x384" #TV
##Option "ConnectedMonitor" "DFP-0, CRT-0"
#Option "TwinViewOrientation" "LeftOf" #LeftOf
#Option "SecondMonitorHorizSync" "31-90" #30-50
#Option "SecondMonitorVertRefresh" "60-60" #60
EndSection
Section "DRI"
Mode 0666
EndSectionTry
Section "InputDevice"
Identifier "Configured Mouse"
Driver "evdev"
Option "CorePointer"
Option "Name" "Logitech USB-PS/2 Optical Mouse"
Option "Phys" "usb-0000:00:02.0-1/input0" # optional
EndSection
where the Name and Phys-options are found by
cat /proc/bus/input/devices|grep Name
cat /proc/bus/input/devices|grep Phys -
Dear All,
I used approval workflow in my workflow and modified the content in the email sent by system to users. I used hyperlink to setup a clickable letter to Current Task : Form_URN. (everything under workflow 2010 and SP 2013 online )
After that, I initiated some new items in the list and the email got sent to users. On android phone, I was able to click on the link created by current task: Form_URN and it leads me to log in, after I log in it leads me to a black website of my sharepoint
site. I noticed the URL is correct (which means if I use the url on my computer, it will lead me to the place I want it to be, which is the approve or reject the workflow) after a few times of sending request, suddenly it worked on my android phone.
(no idea what happened). But then I did the same test on iphone, it kept leading me to the blank site, and never worked in the end, the link is still correct. Is it a browser thing? Is it possible to fix it?
Thanks
Timothy LiuYou can only turn it into your local Apple store to be recycled for a 10% discount towards the purchase of a new one. That's it though.
B-rock -
Blackberry 8330 keyboard doesn't work for the 2nd time
Hi, this is the second time that this has happened to me. The first time, I had finished a text message, and left it on my bed, only to come back an hour later, and the entire keyboard didn't work. The only thing that worked was the trackball, but it could only move around; I wasn't able to click it or anything. After many battery pulls, I looked online, and saw that I could try to reload the OS using application loader. I did that, but I was left with the same error. I eventually ended up having to go to the store, and as I was still under warranty, got them to replace it for me. All in all, a huge hassle. Lo and behold, two months later, the same issue is back. I've tried the battery pulls, and reloading the OS, but nothing seems to work! Any ideas? I don't want to have to keep going back to the store to replace it.
I have the same problem on My Blackberry 8310 Curve..
-
Rotation lock doesn't work for the camera?
I can't lock the rotation for the camera and it's infuriating. I've locked the rotation on my phone by sliding up and pressing the lock, and that works for all my other apps. However, when using the camera, it will still rotate. I don't want to, nor should I have to, edit every single picture and rotate them afterwards. Been through my settings and can't figure it out. Any help would be great!
There is no "rotation lock" on iPhones as there is on iPads. There is Portrait mode lock, which locks the screen to portrait view. (There is no way to lock to landscape view on an iPhone.) Portrait lock would not be very usefull for the camera.
-
Microphone doesn't work for the phone app, but does for skype/heytell.
So, my iphone4 randomly decided it would stop using the microphone when I made calls. I've tried using headsets/speaker mode but that doesnt change the fact the mic makes a single click sound and then I cannot be heard. I've installed the latest firmware (4.3.3) and I've done a full factory restore/resync. Nothing works. It's bizarre that this only happens with the actual phone app though, as I can make calls with skype or be heard on heytell just fine and perfectly clearly. In fact, any app that uses the mic works, except for the phone app....
Yes, I also have this problem. From 14th May till now my iPhone rejects my voice in Phone calls and this Apple device switch off all phone functionality like as international support - it's reject everything from customer :-(
I tried make factory reset, it's helps to make 1-2 calls but no more!
After full restore iOS software decide to disable microphone in Phone app! -
Backup doesn't work for the day my iphone was stolen
My iPhone 5 was stolen and backup on iphone 5s works only for the previous days but there's no photos from the day it was stolen.
Hello,
Reset Password 10.7, 10.8, 10.9...
http://reviews.cnet.com/8301-13727_7-20087723-263/how-to-run-the-password-reset- utility-in-os-x-10.7-lion/
Then Reset your Keychain...
http://support.apple.com/kb/TS1544
Or...
Open System Preferences>Users & Groups, unlock the lock, click on the little plus icon, make a new admin account, log out & into the new account.
Does it work in the new account? -
Aiex1 doesn't work for the acquire board
Hello everybody,
I have to test differents cards with the MHDDK.(6509,6703 and 6220).
The examples supplied by Ni works good for the two first cards but I have some problemes for the MSeries 6220.
The example aiex1 seems to be different from the others.
The problem is that my device isn't recognize(error accessing the PCI device).
The example aiex 1 contains just the test function (where is the acquire board?????, where is the initMite function????)
So I create a new aiex1 with the function initMite and the main that contains acquire board and in which I call the test function.(like aoex1 for the 6703)
But I think there is a problem in the acquire board ( what is the Id number for the PCI 6220?). I found the id number 70b0. Is it right???
Someone could help me??
Thanks you
Best regards
StephanieHi Stephanie-
You can view the file main.cpp to find the initMite and acquireBoard functions. Each of the device examples has a test() function which main.obj links against to create the individual executables. You should not need to create a new aiex1.cpp that includes initMite and acquireBoard.
0x70B0 is the correct product ID for the PCI-6220, but you should not need it to run the examples. Locate the bus and device numbers for your board by viewing /proc/bus/pci/devices and /sys/bus/pci/devices. The entries will be listed in the same order in both, so you can find the product ID in /proc/bus/pci/devices and then locate its bus and device numbers in /sys/bus/pci/devices. See chapter 12 of Linux Device Drivers, Third Edition for more information about these entries.
Then you just need to edit main.cpp to reflect the bus and device number (PXI::<bus>::<device>) and it should work.
Message Edited by Tom W [DE] on 01-29-2009 09:50 AM
Tom W
National Instruments -
Please help me get my browser bar back to it's normal size. I can barely read my different internet tabs. I'm squinting lol. My eyes.....MY EYES!!!!
The "Use custom settings for history" selection allows to see the current history and cookie settings, but selecting this doesn't make any changes to history and cookie settings.
Firefox shows "Use custom settings for history" as an indication that at least one of the history and cookie settings is not the default to make you aware that changes were made.
If all History settings are default then the custom settings are hidden and you see "Firefox will: (Never) Remember History".
"Never Remember History" means that Private Browsing is active and "Always use private browsing mode" gets a checkmark.
You need to remove the checkmark on "Always use private browsing mode" to leave Private Browsing mode or chose the "Remember History" setting.
*https://support.mozilla.org/kb/Private+Browsing -
What do I do if the the wall charger doesn't work for the ipad2?
my ipad 2 won't charge with the wall charger. What do I do if that happens?
If it's saying 'not charging' it is likely still charging, just at less than optimum and will take much longer than normal. You can go and get a new brick at almost any retail outlet. (yours could be covered under warranty if it's not too old, but sending it off doesn't help you charge it while it's gone)
If you buy a new brick and still get the 'not charging', you can also swap out the USB cord. If you try it with multiple outlets, multiple bricks and multiple cables...you can try to reset your iPad, either power cycle it or hold down the home and sleep button until you see the apple logo.
If you reset it and have used multiple combinations of outlets and bricks and cables then it's a very good possibility that your docking port/USB port on the iPad is going bad. Which means, depending on how old it is, you can likely exchange it or send it in for replacement/repair. -
Dunning wizard doesn't work for the patners who have already dunned
Hello everyone,
I have a problem with dunning wizard, I have 2 dunning level :
Level 1, 1 day
Level 2, 2 days
I launch once dunning yesterday, all parteners who have invoices no paid pass to level1
Today, I lauche again the wizard, there are no result at the end the wizard, it means it can not pass to level2
there are on option "block dunning" for any partner
Anyone has a solution?
thx in advenceanyone can help me?
-
Page break doesn't work for the detail group
I have this report created for Quotations which spreads in 3 logic panels.The report comprises 1 parent group and 6 child groups.Now I want the last child group to appear in a seperate page under the heading 'Annexure'.For this, I set the 'Page break after' for the repeating frame of another group positioned just above this detail group in question. But in the new page not only does the child group get printed but also the master group members and some boiler plate objects i created there.How can i get rid of this problem?
Thanks
JayJay,
Seems something wrong in your reports layout which is a bit harder to underdtand from your description. You can post with a graphical representation of your reports layout model.
BTW, why don' you try the page you want as annexure in trailer section?
Thanks
The Oracle Reports Team -
Central Autoreaction Method doesn't work for NW 7.10 in SolMan 7.01
Hello!
The central autoreaction method doesn't work for the satellite system
NW 7.10. For systems with kernel releases 4.6D, 640, 700 this method
works fine and e-mail alerts are coming.
The configuration steps I've checked:
1. Configured SCOT. The mail_send job executes every 5 minutes.
2. Background dispatching job is released: SAP_CCMS_MONI_BATCH_DP (In
central CEN/000/DDIC and satellite system SAT/000/DDIC)
3. Central dispatching job is released: SAP_CCMS_CENSYS_DISPATCHER
(Only in central system CEN/000/DDIC)
4. The sapccm4x-agent registered as web service within CEN using
Create Remote Monitoring for NW 7.10:
Connection test to SAPCCM4X.<satellite_host>.00 was performed successfully
5. Created a new autoreaction method by copying method
CCMS_OnAlert_Email_V2 to the own Z_CCMS_Email_Alert_CEN:
Function Module - SALO_EMAIL_IN_CASE_OF_ALERT_V2
Execute Method on Any Server and Only in Central System, triggered by
CCMS agents
SENDER (EMAIL_USER) exists in CEN/000 , RECEPIENT - <distr list
SAP_BASIS in CEN/000>, RECIPIENT-TYPEID - C
6. Got MTE Classes from NW 7.10 satellite system and assigned this method
Z_CCMS_Email_Alert_CEN to an MTE-class CCMS_ORAucPSAPSR3 for NW 7.10
satellite system. The alert is red right now.
7. The mail_send job doesn't send anything, in SCOT there are no
sending orders.
8. Autoreaction status on this alert in CEN in RZ20 - Sent to CEN.
CEN_CHECKED.
9. The alert status in RZ20 in CEN - ACTION_REQUIRED. If I execute it
in manual the alert status changes to ACTIVE, but no email and no
messages in sending orders in SCOT.
Please help me to solve this issue.
Thank you!Hi,
Since you are using RECIPIENT-TYPEID =C i.e. General distribution list, pls ensure to have shared type of list created in SBWP.
Also pls verify your SCOT configutaion , if apropriate address area i.e. *@abc.com
Also one point to note that even if you trigger auto reaction method manually via RZ20 , pls check if alert is listed in SOST.
if yes , that means there is problem in either SCOT configuration or distribution list.
If alert is not appearing in SOST , that means you need to check auto reaction method parameters;
Z_CCMS_OnAlert_Email_V2 , here check release section if Auto reaction execution method is checked.
Regards,
Rupali -
Flash Player only works for the account that downloaded it
I downloaded flash player and did not specify any special preferences, however, it doesn't work for the 2 other accounts on the computer. It only runs for the Administrator account from which i downloaded it. I'm running XP professional. Can someone tell me how to fix this?
hi, i had already deleted cookies, temp internet files, etc;
i only have the IE pop up blocker and blocking level set at Medium;
it's the latest version of FP 10.0.45.2.
I installed this version a couple of weeks ago and it worked ok for all accounts (the other 2 accounts are not admin) for a week. Then, it stopped working for all accounts, i reinstalled it (some trial and error involved), then when it finally reinstalled, only works for the one account. i just tried to reinstall from one of the other accounts and error mssg said "failed to register"
Date: Sun, 6 Jun 2010 11:20:59 -0600
From: [email protected]
To: [email protected]
Subject: Flash Player only works for the account that downloaded it
Hi ol, I would go to Tools, click on Internet Options and clear the Temp files. Delete Cookies, Delete Files, including the off line content. I would do this using all accounts. Also check the history files while you are there and delete those also unless you have done so recently.
What version of Flash Player do you have Installed?
Do you use any adblock or pop up blocker software?
Thanks,
eidnolb
>
Maybe you are looking for
-
How to use Role Menu item in BI 7.0
Hi experts, From web applications desiger in version 3.5 we can use Role Menu item to access our querys easily. In version 7.0 this item has been deleted from standard items. How can we manage it ? Thanks a lot Best regards, Santi
-
I just took my new imac 24 out of the box, and I noticed that there's something that looks like it could be a crack (rounded) or a camera/sensor of some kind in the upper left hand corner of the black portion of the display. I can't find anything - s
-
Last Price report only allow sales price to view
Dear all expert, The last price report included sales & purchase price. The customer wanted only sales employee to view customer sales price and block purchase price to view on the last price report. Is that any alternative way & available function o
-
select null link, to_char(date_1, 'MM/DD/YYYY HH:MM:SS'), decode(array_1, 187751439, ios_per_sec) "187751439", decode(array_1, 192603854, ios_per_sec) "192603854", decode
-
Jax-ws ws-addressings non-anonymous replyto header asynchronous client
Hi All, I have an asynchronous jax-ws client with addressingfeature enabled. This will add the replyto header as anonymous and open a client listening port for the reply message when I execute the asynchronous method to the server. The client is then