The path separators are "/" enabled JSF resourceNames?

Hello

These examples are valid resource JSF names? (Taken from http://www.webjars.org/documentation#jsf)

<h:outputStylesheet library="webjars" name="bootstrap/3.1.0/css/bootstrap.min.css" />
<h:outputScript library="webjars" name="jquery/1.11.2/jquery.js" />


The specifications page, chapter Resource Identifiers, JSF 2.2 2.6.1.3 77 speaks resourceNames:

The set of characters that are valid for use in localePrefix, libraryName, libraryVerison,

resourceName and resourceVersion segments of the resource identifier is specified as XML NameChar

excluding the path separator and ':' characters.

I guess this path separator means the URL path separator ' / '.

It explicitly forbids the names of resources with path separators.

But the examples above work in the Mojarra.

Also in the JSF 2.1 specification, Chapter 2.6.1.3 Resource Identifiers, page 67 there are no restrictions on the characters that are valid in a resourceName.

In the Group of experts of JSF 2.2 suggesting path separators should be allowed for resourceNames, there is this email: https://java.net/projects/javaserverfaces-spec-public/lists/jsr344-experts/archive/2012-03/message/26

So this could be an error in the specification 2.2 JSF?

Hello Mr. Reinersdorff,.

Thank you for taking the time to read our specifications so closely.  You

hit certainly controversial.  The Group of experts

discussion on this subject date of November 2012 [1].  In short, you

are correct in suggesting that it is a mistake in the JSF 2.2

specification.  The text you quote of section 2.6.1.3 is present

in the final version of the specification.  At the same time, at the end of the

Journal of work on this issue [2], I have this text:

M jsf-api/src/main/java/javax/faces/application/ResourceHandler.java

-Add this text to the createResource (string)

For historical reasons, this method works correctly when the

resourceName is the form libraryName/resourceName, even

When resourceName contains ' / ' characters.

Clearly this text is in contradiction with the text of the PDF specification.  I have

created the 1366 problem to correct this inconsistency. [3]

Fortunately, the implementation from the Mojarra seems to follow the javadoc

which means the specification more closely than the technical meaning of PDF, in this

case.

Thank you

Ed

[1] https://java.net/projects/javaserverfaces-spec-public/lists/jsr344-experts/archive/2012-11/message/2

[2] https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1141

[3] https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1366

Tags: Java

Similar Questions

  • A .cab file needed for installation is not reliable. Please check the Cryptographic Services are enabled and that the cab file is valid .__Help! __

    OK, so I need DirectX 0.9 c to the game red alert 3, but I can't on the new directx installed on my computer because of this error
    A .cab file needed for installation is not reliable. Please check Cryptographic Services are enabled and the certificate file is valid.

    have you tried solutions on how to solve this problem posted by mods on the previous posts with a similar problem, but it does not work for me

    help is appreciated, thanks

    Game of automatic encryption Services Cryptography on AutoServices and then try again to install the program. To set the cryptographic on AutoServices, follow these steps:

    1. Start the Administrative Tools utility in control Panel.
    2. Double-click Services.
    3. Click Cryptographic Services, and then click Properties.
    4. Click Automatic for Startup type, and then click Start.

    Reference: http://support.microsoft.com/kb/822798/ and follow all practices listed in the article.

    Man is the only animal that laughs and cries; because it is the only animal that is struck by the difference between what things are and what they could be.

  • In my view, the shortcut keys are enabled on my laptop.

    If I try other things, type something.  For example, if I press the 'l' key, my computer off & I sign again.  If I hit the "s" key, a box will open; If I try to type "who" I am only able to type 'w' & then nothing happens.  I press certain keys & other things to happen.  In my view, "short cuts" is on, but I don't know how to turn it off.  Help, please.

    Hello

    There is no shortcuts that I'm familiar with that results in what you see with the keys (in combination with the ctrl/alt/win keys). I am more inclined to think that your keyboard is damaged or that a key is stuck.

    If possible, I would try to plugged a USB keyboard on the system and see if it behaves correctly. If so, then you will have the laptop brought to a technician to have the existing card replaced. Consult the manufacturer if it is under warranty.

    Keyboard shortcuts are enabled in the Control Panel/ease of Access center in facilitating the use if you want to look at the keyboard. Your symptoms do not match the expected behavior, so this may not resolve your problem.

    Good luck, Rick Rogers, aka "Crazy" - Microsoft MVP http://mvp.support.microsoft.com Windows help - www.rickrogers.org

  • Install Kaspersky Anti-virus and make sure that the automatic updates are enabled.

    1. I am required to install antivirus software on a stand-alone computer, then launch the software to check and repair, no virus found on the system. In addition to this, I have to ensure them that put automatic are turned on, as extra security against viruses and other security threats. How can I do this?

    1. I am required to install antivirus software on a stand-alone computer, then launch the software to check and repair, no virus found on the system. In addition to this, I have to ensure them that put automatic are turned on, as extra security against viruses and other security threats. How can I do this?

    Hello

    1. for the installation of security software, I recommend you download and install Microsoft Security Essential. It's the latest Microsoft security software that you could get absolutely free! Download here: http://www.microsoft.com/security_essentials/.

    2. to activate or configure automatic update settings, please follow the steps mentioned here: http://support.microsoft.com/kb/306525.

    I hope that these help.

    Support engineer

  • the DirectX installation failed. A .cab file that is necessary for the installation can not be trusted. Please check the Crptographic Services are enabled and the certificate file is valid

    installation of direct x

    Whence this installation of DirectX?

  • Two of the application window are enabled at the same time when I click on an icon in the taskbar of an application.

    When I open a window of the application in Windows 7, and then press the keyboard windows, if I click on an icon in the taskbar to another window, I find that each of the two windows is activated. I use Spy ++ to monitor both windows messages in this scenario and esteem that both windows obtained the WM_ACTIVATE message. If I right click on an icon in the task bar of the window of the second just after press the windows key, I find that the first window will activate everything first and soon to be switched off.  What is a feature of the taskbar of Windows 7 or a bug in Windows 7?

    Hello

    The Microsoft Answers community focuses on issues and problems related to the consumer environment. Please join the community of developers in the MSDN (Microsoft Developer Network) following the link:

    http://social.msdn.Microsoft.com/forums/en-us/categories

  • Contour kick distort the strokes that are exposed!

    The latest version of Illustrator CC (2015.3) and a few icons I designed are need to be described, but in doing so, the shape changes and deforms allowing a ugly mess.

    Why?

    Here is an example. The line on the left is a stroke, the line segment is a copy that has been described... it of a mess!

    Screen Shot 2016-07-15 at 11.43.08.png

    Please check in the transformation Panel if "Align new objects to the pixel grid" are enabled in the Panel menu.

    If so: turn the power off.

  • Why I can not connect on the accounts of Firefox to put in place the synchronization? FF30 + keeps telling me how please enable cookies; cookies ARE enabled, already tried Safe Mode.

    Exactly what it says on the Tin.

    Why can't I connect to Firefox accounts to set up sync to my laptop? FF30 + keeps telling me how please enable cookies; cookies ARE enabled, and I already tried Safe Mode. This has happened since the new Sync has been set up, so I think that nearly 30 FF. I'm now up to 34 FF version and it still does not work. I was not able to sync from the "update".

    Problem #1: Going to about: accounts and clicking the Get Started button Blue opens a blank screen. It's not even a prompt on the cookies. It's just empty. Screen attached.
    It comes from before the modules are disabled. If they are disabled in Mode safe, we go to the #2 problem.

    #2 problem: I've skimmed a thread (https://github.com/mozilla/fxa-content-server/issues/1017) and I tried connecting to sync through accounts.mozilla.com instead, but if the screen does not turn white while the modules are always enabled, "Enable cookies" warning are as far as I can get. Go to about: accounts in Mode safe mode gives the same result. I deleted all my cookies and my cache, FF restarted several times with and without active modules and still nothing. I browsed this forum of support for similar issues, and while other people have the same problem, no other threads have been solved yet. Several later versions of FF, it is far too long for this question still unresolved... Screen attached.

    I know where the Firefox Cookie Manager, and I have enabled all settings. I was even able to third party cookies (even though I shouldn't really because they are unnecessary). No difference. Screen attached.

    I looked into: config and looked up the word 'cookie' in names, but even this is useless to me since I am not a programmer and so ignorant of what mean really all of these parameters. Screen attached.

    I'm at the end of my rope here, guys. It has been for months. A year. Maybe more than a year. I don't even remember. I just got a new camera and I don't want to add all my Firefox information one by one. It doesn't seem to be a way to contact Mozilla directly, so... Someone help please...

    Ensure that you allow cookies for the domain of the accounts.firefox.com if you are not allowing cookies generally or use the cookie setting 'Ask Me '.

    You can check whether DOM Storage is enabled.

  • FF28 upgrade &amp; all the addons are showing that off, even if they are enabled

    Upgrade to FF28 & addons all + userscripts show that disabled, even if they are enabled.

    I already tried to delete:
    addons. JSON
    Compatibility.ini
    Extensions.ini
    Extensions. JSON
    Extensions.SQLite

    All that done as a cause of Firefox go in a "reboot several times 50 times more than one by one and each time asked me to manually install each addon. The process took more than 5 minutes and left me very impressed by the ability of Firefox bugs.

    End result? I am still sitting with the same problem. All the addons are showing that off, when they are turned on in fact. I cannot change them, uninstalled them or install new addons.

    PS. Oh and I write of Sleipnir not Firefox because Firefox has refused to work with the buttons on this page for some reason any (yes I'm allowing scripts in NoScript)
    PPS. Oh and my old account here for some reason some refused to open a session, even though I wrote the user name and password and I tried using the user AND email for the login process. Overall, very impressed with the services of Mozilla for now. I really want to move to a different browser.
    PPP. I have over 300 tabs open in Firefox, so can't go on the road to reset, because Firefox has no way to record a session.

    Honestly, Firefox must be transportable by default. What the point of having a browser that you spent 12 months + customization with 300 + tabs open, if your Windows partition is damaged and you cannot retrieve your tabs because it is installed? I will never use the installed version of Firefox again because it is impossible to save. If I had been using portable Firefox at the time where I could have accessed my XP partition corrupted with Ubuntu live USB, back up the folder and be good to go on my new install of Windows 8. Instead I had to start from scratch. That's what you get for not using of portable software.

    This is resolved. The steps that I followed:

    1. Ignore all the Internet advice and find a way to do it myself because no one else seems to know anything about Firefox.
    2. Save the entire Firefox portable folder making it a 7zip file
    3. Disable all addons
    4. Download the latest mobile Installer
    5. Install using the portable Installer but navigate up to the existing installed cell phone directory
    6. Open portable Firefox after updating
    7. Update all addons (do not select all again)
    8. Restart Firefox
    9. Now activate the addons, then restart Firefox

    Note: installing addons now I find that I can't add using the button 'Download' for the addon, I have to copy the URL of the button, paste it in a new tab and press enter

  • The new Google tab page has disappered and my custom buttons disappeared, although according to Google options, these features are enabled.

    Everything worked well in Mozilla when I finally used my computer. Today, when I opened my browser, it did not, and I kept getting a message from shutdown script. The script error is apparently related to the Extentions Mozila handler, if this information is useful. When he did load the page new Google tab and my ad added buttons missing, although according to the menu options in the toolbar, these features are enabled. I have uninstalled and reinstalled the toolbar and checked to make sure I have the latest version of Firefox. Is it possible to fix this? Is there something I could have done to make?

    Just to clarify, your browser is Mozilla Firefox (Firefox for short), not the Suite Mozilla (Mozilla for short). You are using the latest version, which is good.

    As for your question, it is possible that you have a problem with some Add on Firefox which is an obstacle to the normal behavior of your Firefox. Have you tried to disable all add-ons (just to see) to see if Firefox goes back to normal?

    Whenever you have a problem with Firefox, whatever it is, you must make sure that it is not caused by one (or more) of your installed modules, whether an extension, a theme or a plugin. To do this easily and cleanly, start Firefox in safe mode (remember to select disable all add-ons when you start safe mode). If the problem goes away, you know that it's an add-on. Disable them all in normal mode and allow them one by one until you find the source of the problem. See this article for more information on troubleshooting extensions and themes and this one for plugins.

    If you need help with one of your modules, you will need to contact the author.

    If the problem does not disappear when all add-ons are disabled, please tell me, so we can work from there. Please be afraid not to follow my instructions to the line, as everything can be easily undone.

  • The following files are not on the system: not a path &gt;

    I tried to install several is based on different machines, but I have the following error:

    The following files are not on the system:

    Details:
    CDK_Build_Invoke.VI.ProxyCaller > CDK_Build_Invoke.vi > CDK_Engine_Main.vi > CDK_Engine_PreBuild.vi > CDK_Engine_FileExists.vi

    I've done several front facilities on the same project, I'm not sure what I could do to make it appear suddenly.  Has anyone else seen elsewhere?  How can I know which files the installer needs?

    See this article: not a path error received when building an installer.

  • The feature you are trying to use is on a network that is not available. Click OK to try again or enter a different path to the folder that contains the installation packagr 'TrayApp.msi'

    Original title: trayapp

    When I open the computer message appears, the component you are trying to use is on a network that is not available. Click OK to try again or enter a different path to the folder that contains the installation packagr 'TrayApp.msi' in the box below.
    C:\Users\user\AppData\Local\Temp\7zS5216\setup\TrayApp\
    When I click ok the message this way that c:\users\user\appdata\local\temp\7zs5216\setup\trayapp\ is not found. Verfy that you have access to this location and try again or try to find the 'TrayApp.msi' in installing a package file from which you can install the product'TrayApp.
    When I try to cancel the warning message, is that an installation package for the TrayApp product is not found. Again the installation again using a valid copy of the 'TrayApp of installation' package. I already uninstalled all HP products, but this message is still bothering me, how to solve this problem?

    Hey Tama,


    -What version of windows is installed on the computer?
    -Have there been recent changes to the computer before the show?
    I recommend you go through the next HP document and check if it helps.
    Hope this information is useful.
  • How can I retrieve the pop-up print notification message even if the registry & print server properties are enabled?

    Windows XP - NT

    Service Pak 3

    Properties of print servers:

    Print notifications of information for network printers - box is checked

    Notify when remote documents are printed - box is checked

    Registry (NetPopup) REG_DWORD (1)

    Sytstem tray or taskbar lower-right - the printer icon is missing from the active elements, but a folder with my default printer appears under objects past - always show.

    I am the only employee in the company that lost the popup notification print message and my IT Department refuses to fix the problem.  How can I get this print noficiation popup back message?

    Thank you

    Barb Sylvis

    Hello

    Change the DWORD 0 and reboot. Then re-enable it with the value 1.

    Important: the instructions below are steps that tell you how to change the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information, view the article in the Microsoft Knowledge Base: How do I back up and restore the registry in windows XP: http://support.microsoft.com/kb/322756

    Also try the step listed in the link below: you can not print and you receive the error message "Spooler subsystem app has encountered a problem and needs to close": http://support.microsoft.com/kb/810894

  • Windows Search find files but the mistakes of some of them, which are open normally when it is accessed to follow the path of the error opening

    My client uses Windows Search to help track the files in a fairly large groups. Indexing and everything seem to work very well, but when the user performs a search, it returns the information that are expected, but when you click on some of the files that it generates this error:

    "Cannot find 'file:///s:/XXXXX/XXXXXX.pdf'. "Make sure that Internet address or pat is correct.

    (where XXXX/XXXX are the path and name, of course. It varies and is not a specific place, or all in the same places is originally the same error)

    Varies depending on the issue and the only consistency I've found is than that error all tend to share the same name of 'Owner' and those who work divides different. Yet once again, the 'owners' vary. When browsing directly on the elements, following the exact path in error, the files open fine. In our case, 's:' is a mapped network share, but which seem to be the question either, as the other files in the search located on the same mapped share and in the same directory path work very well.

    To make it even more confusing, the search of all works perfectly on another computer. All users have the same access right, reading/writing/execution, in the cases in question. The file doesn't seem to be open and in-use by other users.

    The system in question is running Windows XP Professional SP3 and is connected to a domain active directory running Windows Server 2003. We have tried to do, and it did not help.

    Any ideas? Thanks in advance for anything that can help you!

    -Sean

    Hello Grouchy_M,

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the category of server on Technet. Following your question thanks for posting the link below:

    http://social.technet.Microsoft.com/forums/en-us/winserverfiles/threads

    Thank you
    Irfan H, Engineer Support Microsoft Answers. Visit our Microsoft answers feedback Forum and let us know what you think.

  • Error "the component you are trying to use is on a network resource that is unavailable, click ok to try again or enter a different path to the folder containing the installation package ' status.msi.»

    What is an installation package "status.msi", it doesn't let me access my command to scan on my HP officejetJ5780 all-in-one.  It indicates that the component you are trying to use is on a network resource that is unavailable, click ok to try again or enter a different path to the folder containing the installation package ' status.msi.  It's also prevents me to access my backup disk.

    Original title: status.msi?

    I restored my computer to a period of time, two weeks earlier and which seem to fix the problem, somehow.   Thank you

Maybe you are looking for

  • Re: L50 - B Satellite - 2 2 - where to find "Recovery Media Creator"?

    L50 - B satellite - 2 2.preinstalled Windows 8.1 Where can I find the "Recovery Media Creator"?I found a description how to use but none where to find... Paul

  • Can not connect to iMessage. MAC OS

    Could not sign. Please check your network connection and try again. I tried to change the DNS to 8.8.8.8 etc. I deleted the .plist files I tried to use different ID, my connection is good I have a serial number I checked the date & time, place of cur

  • Video drivers for Vaio model # PCG - 61411L

    Replaced the hard drive crashed and necessary, and I can easily install various forms of win7/8, but it seems that it is of type NVidia 310 M gpu in the present and the driver must come from the Sony (re: NVidia site). I could not find any informatio

  • Resetting Windows login

    I need help, reset the windows login password!

  • Too many network connections

    I have a router WRT54G2 connecting your desktop (by cable), two laptops (wireless) and I connect to Internet through Verizon on a DSL Modem from Westell 2200. My wired office refuses to acknowledge the WRT54G2 *, even if it connects to the internet a