StateManager should have the chance to encode URLs

IMHO, the StateManager should have a chance to encode state information into URLs. Implementations could encode some kind of proprietary session id or put the whole state in an optimized shape into the URL. This is important if an application runs in client state saving mode and must not lose state if the user clicks on a hyperlink.
My suggestion is to give the StateManager an encodeURL method and specify that the encodeXxxURL methods of the ExternalContext must call it prior to delegation to ServletResponse or PortletResponse.
Manfred
mailto:[email protected]
http://myfaces.sourceforge.net

Even better solution:
The ViewHandler gets a new method
public String encodeURL(FacesContext facesContext, String url) throws IOExceptionHyperlinkRenderers should (must) call this method to encode the href attribute.
Default ViewHandler implementation calls encodeResourceURL in ExternalContext. In addition to that, If state saving in client is used, a state marker may be added to the url.
Manfred

Similar Messages

  • When I share a link (URL) only Apple computers receive the link. Others such as PCs and Blackberries get the message, but the field which should have the link is blank. Is this normal?  Why can I only send to Apple machines?

    when I "share a link" (URL) using the pulldown menu in Safari, the email goes to all addresses I indicate, but only Apple computers receive the link. Others such as PCs and Blackberries get the message, but the field which should have the link is blank. Is this normal?  Why can I only send to Apple machines?

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

  • I plugged my iphone in for the first time to my computer. I synced it with my itunes and it deleted everything. Now I don't know what to do because I did not even have the chance to back it up! everything is gone please please help me!

    I plugged my iphone in for the first time to my computer. I synced it with my itunes and it deleted everything. Now I don't know what to do because I did not even have the chance to back it up! everything is gone please please help me!

    When you saw this dialog box, did you choose "Erase and Sync"?
    If you did, your iPhone was erased, then your iTunes Library was transferred to it. If your iTunes Library was empty, your iPhone will be also.
    Your previously purchased music, apps, books, and videos are still yours. You just have to download them again.
    Read: Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Do I have the chance to get Photoshop for free if I'm a student? I mean the full version and not the trial.

    Do I have the chance to get Photoshop for free if I'm a student? I mean the full version and not the trial.

    No. Just the student rate on a permanent or subscription license. Some places do include Photoshop and other products as part of the tuition, but it is a separate arrangement and most likely temporary.
    The Photography Plan is a fine deal at $10 a month. Creative Cloud Photography plan | Adobe Creative Cloud
    Otherwise there are free and paid lower cost Photoshop alternatives you can look into.

  • Guys ... I have a 2008 MacPro running the current Yosemite.  I also have installed the sound amp called "BOOM!"  I have the Sound set to Line Out which should have the computer boot up to BOOM! Instead, it boots up to the Internal speaker. What's up?

    Hi Folks ...
    I have a 2008 MacPro running the current Yosemite. I have installed the recommended upgraded video card, but the sound is as it was new. I also have installed the sound amp/graphic equalizer called "BOOM!"  I have the Sound set to Line Out which should have the computer boot up automatically to BOOM!  and thus to the external speakers.  Instead, it boots up to the Internal speaker.  According to the folks at "BOOM!", this is happening to others who have similar Macs.  They can't find any explanation within BOOM!, so I am turning to you all.  Any ideas?

    Hi Kappy ...
    Sorry, I guess I didn't state the problem very well.
    I don't want the computer to boot up to the internal speaker.  I want it to boot up to the external speakers.  However, even though System Preferences is set on Line Out, when the computer boots up or reboots, it erroneously goes to internal speaker.  So, every time I boot up, I have been going to System Preference/Sound and clicking on Line Out.  From that point on, everything is OK until the next boot up.  It is a small annoyance, but annoying all the less. The simple explanation seems to be that when the computer is shut down, it does not hold the setting for Line Out and resets itself to Internal Speaker.  How do I change that behavior and get it to go to Line Out whenever it boots up? 

  • What should have the next update of Windows Phone ...

    In the next firmware update of Nokia Lumia 1020 and all the Windows Phone 8.3 update should have at least 4 extra functions and 8 updates.
    1. To exist 4 arrows up, down, left and right or at least the 2 basic arrows which is left and right in typing messages keyboard.
    Cause i have big fingers and i cant go exactly to the letter of the word that i want to correct - change.
    2. In typping messages i prefer to draw the letters just as i was writing to a blank paper or at least like SWYPE.
    3. I want to predownload the Sattelite View maps of a country and not just the ordinary one.
    4. It should have Ring Profiles such us Meeting, Loud Area, Silence and other.
    A. Need update the levels of the brightness of the screen.
    At this moment it has only 3 steps (Low-Medium-High), so it needs at least 2 more such us (Very Low and Very High).
    B. In Screen Lock needs up to 10 options for software fast state.
    C. In Fast Eye View in Night Mode should have not only 3 colors such us (Red,Green,Blue) but all the 20 colors that Thems has.
    The Size of the clock should be adjustable and not just one size.
    It should have at least 3 sizes (Small-Medium-Large).
    D. The camera should take only 1 photo in 38MP and not 2 photos 5MP+38MP.
    Also we should have the ability to edit the 38MP on my phone and not only on my PC.
    E. In Bluetooth i dont have any options.
    I need to change my BlueTooth Name and i cant.
    Also I want to set some BlueTooth devices to white and black list and i cant.
    F. I should have the option to know how much battery i have in percentage between 0-100% also in minutes left.
    G. In Wifi options i should know how much in percent is the signal between 0-100%.
    H. The tiles even when it is in small or medium size should be move as it was in large size.
    Also anyone who has any ideas that should been add any new funtion or anything else in the next Widnows Phone Update added down please.
    P.S. I have the Nokia PureView 808 and i want to transfer Contacts, Messages, Calendars, Notes, Photos, Music, Videos to my new Nokia Lumia 1020 and i cant.
    How can i transfer it all fast, secure and easy?

    Hello Paul.
    Thank you for your time and for your continue helping me.
    I see all help Nokia Videos and i did all your steps tha you suggest me.
    1. Ok but is says up something about Hotmail can i remove the hotmail option also?.
    2. I deselect the Sync for the accounts but still left some contacts inside my phone.
    Also when i want to backup my telephone numbers what i must do but not get messed with the email accounts.
    I want to backup the phone numbers as i did with my nokia account.
    My nokia account doesnt work with my lumia 1020.
    3. In the 1st i need to tap 2 times and then save.
    Cause the 1st menu is History Calls and if i tab once continue then the only option that i have is erase element.
    When i tab once then it goes me to profil for call and sms so i tab continue the call number and gives me the option copy.
    This to moves could be as one as it is in Symbian Belle.
    Not need to tab 2 times.
    In the 1st menu when i tab continue should give me 3 options Edit,Copy,Erase.
    Thats why Symbian Belle still rules.
    4. I dont want to use 1st the name cause also i have more contacts that have the same name than have contacts who have the same last name.
    Also many of the names and last names i have it use more than 10 characters in 1st and in last name each.
    So total is more than 20 characters without spaces or other characters.
    for example "Panagiotis Papadopoulos" is 23 characters most of the names that i have inside is between 20-30 characters.
    Please do something about that.
    5. Still need fix must disconnect the volume zoom from ringtone and vibration.
    Also need vibration some choices as continoues or with short pauses or increasing - decrease vibrating.
    6. I have 3 classes which are 40 people in each.
    So total is 120 students.
    I cant do 6 Groups for informing them.
    I need 1 up to 3 Groups not more.
    Also my co-workers are about 100 I cant do more than 1 or 2 Groups.
    My relatives are also about 60 also i need 1 Group again.
    I cant have so many groups as you tell me.
    Basicly I need 3 Groups to be easy and practicaly for me not 20 Groups.
    If Groups is not about then for what is?
    Also why in Symbian Belle i could add as many as i wanted and here i cant?
    What then i need to do 3 Groups?
    7. I try to do what you are telling me and it works only when i am not use 1st the search button.
    1st i must found the people that i want to inform.
    For example i set character 1 for class 1
    then when i use the search to find who is in class 1
    then shows me all the students in class 1
    but i must choose everyone, one by one and do all the same steps from the beggining.
    it should give me the option when has found the 30 person to set some box in the left and chooce all of them.
    That is not happening.
    Please check it.
    8. Finaly I found my 5MP + 38MP in the phone but 1st i must extract the 38MP to my computer so to edit.
    But i want to use always only my 38MP and never my 5MP photos.
    So we need some how to disable the option to take 2 pictures one 5MP and one 38MP.
    Its must take only one 38MP and nothing else.

  • HBO gives me a message saying I can not watch a movie because my browser does not support it and I need safari 3 or higher. i have an Ipad 3 with the last Ios 6.1 software, I think I should have the last Safari version, then

    HBO gives me a message saying that my browser does not support the service and that I need Safari 3 or higher, I have an ipad 3 and just downloaded the last version of Ios from Itunes, so I believe I should have the last safari version
    If someone knows what may be happening please tell me
    Thanks

    You can't watch HBO using the Safari browser on the iPad at all. HBO has an app in the App Store called HBO GO. You must subscribe to HBO in order to use it
    https://itunes.apple.com/us/app/hbo-go/id429775439?mt=8

  • I have a Macbook Pro early 2011. i don't have AirPlay on my computer. How can I get it. I have read that early 2011 should have the AirPlay option. Any ideas please.

    I have a Macbook Pro early 2011. i don't have AirPlay on my computer. How can I get it. I have read that early 2011 should have the AirPlay option. Any ideas please.

    Hi All,
    I need your expert advice to proceed. I bought apple TV and it works fine with my iPad and iPhones also fine with itune of my Mac Book Pro BUT I am not seeing setting which says "Airplay Mirroring" in system preference -> Display at all.
    I checked my mac serial number and it shows the model as below. As far as I understood this feature should be there from 2011 onwards.
    MacBook Pro (13-inch, Late 2011)
    Software  Mac OS X Lion 10.7.5 (11G63b)
    Please suggest!!
    Thanks and Regards

  • Do we have the chance to have a skin design features of a mobile.

    do we have the chance to have a skin design features of a mobile.

    Yes. Assuming you are using Flex and Flash Builder, in Flash Builder, create a new MXML Skin.
    Right click a directory in your profject (it is a good idea to create a new skins package. They multiply quickly)
    Choose a name for the skin
    Choose a Host Component for the skin (button, slider, scroller, videoplayer, etc.)
    Make sure you "Create As Copy Of" a specific skin class (whether it be the base skin, such as ScrollerSkin, or a skin subclass, such as VScrollBarSkin)
    Create
    Add in your own MXML Spark components. You can either use the ones already present in the skin as a base or overwrite them entirely. It's entirely up to you.

  • Have the web service API URLs changed?

    I'm currently in the beginning stages of working with the iTunes U Web Service API, and I'm running into an issue.
    Step 2 of uploading a web services document (pg 50 of the admin guide) says to request an upload URL. The base URL for this request:
    https://deimos.apple.com/WebObjects/Core.woa/API/GetUploadURL
    doesn't seem to be valid. I am receiving 404 errors:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>404 Not Found</title>
    <meta name="generator" content="Indigo">
    </head>
    <body>
    Not Found
    The requested URL /WebObjects/Core.woa/API/GetUploadURL was not found on this server.
    </body>
    </html>
    I've tried added the identifier path but still no luck. Just to be clear, I am generating and sending a proper authorization token; the issue is that the destination URL seems to be invalid.
    Have the API URLs changed or am I missing something?
    Thanks

    Hi Chris,
    A couple of things ...
    First is that you want to read page 54 of latest admin guide.
    Nextly, the basic way to access the API hasn't changed ... Apple has changed the XSD and the specifics of the API itself ... but not the way you call it. That's been pretty steady since I've been messing with it.
    The base URL should look like this:
    https://deimos.apple.com/WebObjects/Core.woa/API/GetUploadURL/your-university.ed u.111.222.333
    "111.222.333" is called a "handle" and it uniquely specifies a resource (track, cover image, etc.) within iTunes U. "111.222" is a path to the resource "333".
    After the base URL, you have to add the same kind of token string that you would for "Browsing" iTunes U ... that is a string in the form ...
    credentials=foo&identity=user&time=123456&signature =abc123abc&type=XMLControlFile
    A question mark "?" separates the base URL from the token string. Whatever you do, do -not- forget the type=XMLControlFile! The manual does not emphasize that you need to add this token, but you must to use the API.

  • Take part in our Wi-Fi survey and have the chance ...

    Hi Everyone
    I wanted to let you know about some research that BT is conducting around Wi-Fi that I thought you might be interested in.  You have the opportunity to be part of this research and to say thanks for taking part there is the chance to win an iPad 2 or tickets to an Arsenal v Man City football match!  For more details about this research and how to take part, read on below...
    Thx
    Kerry
    BT has a rapidly expanding network of over 3 million BT Openzone and BT FON hotspots, offering free unlimited access to BT Total Broadband customers.
    To improve the service that BT offers, we want to gain a better understanding of when people are within range of BT’s Wi-Fi coverage.
    If you have an Android smartphone then we need your help. We are looking for volunteers to run our survey application on your smartphone for up to four weeks as you go about your normal daily routine. We are hoping for a representative sample of volunteers across the country.
    As a thank you for helping us, volunteers who run the application will be entered into a prize draw, with a first prize of an Apple iPad 2, and second prize of a pair of tickets to the Arsenal versus Manchester City game on Saturday 7th April 2012.
    Click here to find out more about how to take part and the information we are gathering.
    Retired BTCare Community Manager - StephanieG and SeanD are your new Community Managers
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

    You have to enter the correct password to connect.
    Ask the person who setup the router for the password.

  • Notification Center should have the date too

    I have an iPod touch last generation and i have the  calendar app in the bottom deck so every time I have to check the date I just press the home button (if I am writing a email or something like that) but I think it could be a lot better if the notification center had the date too! Either in a place designated by apple or by the user. In fact I don't even use the weather app. I will really use the date instead of the weather. Right now I disable the weather.
    Also I don't get all the Facebook notifications (I get some) do I have to leave the app running to get all the notifications or can I close the app (closing app by tapping home button holding and taping red dot)?
    Does anyone else feels the same about the calendar app?
    (yes I am running ios5)

    Spot on. We need the date easily accessible from all apps. Notification center is the right place. Maybe a redesigned calendar widget with the date and the next appt will do.
    Little tweaks like this keep bringing us back to the JB year after year!
    Thanks.

  • HT201343 I have a Late 2011 model 13' Macbook Pro and i purchased Apple TV because it should support Airplay mirroring.  It says i should have the airplay icon on my menu bar but it does not appear.

    According to the help page i was viewing my Late 2011 13' MacBook Pro should support Airplay Mirroring.  However the airplay icon does not appear on my menu bar like i says it should and when i go to System prefereneces>Display nothing appears there about Mirroring as well (like it says it should).  The help page specifically says that Late 2011 MacBook Pros should support Mirroring etc... 
    Any suggestions?  I'm all ears...

    Welcome to the Apple Community.
    Airplay needs 10.8 or later, you need to update your operating system.

  • [All Platforms][Playlists] Decide who should have the right to add/remove songs on your playlist

    I got a playlist which i share with a couple of friends and everyone can add/remove songs.But i wanna spread this playlist but cant do that because people love to deleted the whole list.The solution to this is to somehow decide who will have the right to change songs.Just a little idea but shouldn't be impossible to do, in worst case i'll just make two different playlists.(Sorry for bad grammar etc.)

    Updated: 2015-07-17Hello and thanks for the feedback!
    A similar idea has also been suggested here:
    https://community.spotify.com/t5/Live-Ideas/Owner-controls-collaboration-playlist/idi-p/49229
    Add your kudos and comments there please! ;)

  • Should have the server "on" all the time?

    Hi,
    I would like to know if I have to leave my computer on all the time if I put the serveur solution on my computer? Or do we have a kind of cloud solution with it?
    Many thanks for your help.
    Manu

    Manu
    If you are changing a workstation to a server and plan to use it both ways, the day to day user of that workstation will see slowdowns to some extent because of the server activity.
    If you plan to have the computer turned off then you may want to look at file sharing hosts on the web if that type of service exists.
    Otherwise this can be done relatively easily.
    Set up the file sharing on the server.  Leave it on.  That way if you do what follows, anyone with proper access can get to the files at any time they might need it.
    Put the items to be shared in a "shared" folder in the server and set up the permissions for that folder to only allow access to the people you want.
    Set up VPN access for people off of the network to securely get into the network and server.  This step may be handled by a router or a router may need to be set up to port forward VPN connections to your server.
    This way a secure VPN is set up, the user outside of the network can connect to the server, and get the files needed at any time.

Maybe you are looking for

  • Adobe Touch Apps won't send to/open in Desktop Apps

    Summary: When I create anything is any of the Adobe Touch Apps (Draw, Line, Comp, Sketch) and then click the "send to Photoshop", "send to Illustrator", or "send to InDesign" (depending on the app/program) the app will say that it has sent but then n

  • How do I force Mail to use contact names in Address Book?

    I ~need~ Apple Mail to display sender names as I have them in Address Book. My students are Thai and have typed their sender names in Thai, so I can't recognise a thing. I've sorted all the names out in Address Book (in English) but Mail still displa

  • Where is the user.js file in my profile directory?

    I need to use Rich Text editor for work in echalk so I can cut, paste, copy, etc. I followed your support instructions at mozilla.org/editor/midasdemo/securityprefs.html and http://support.mozilla.com/en-US/kb/Profiles. I was able to find the profile

  • Report script export 0 KB file from BSO application

    HI, I am try to export budget data from classic planning application using report script in essbase. Report script is not giving any erros. After successful execution it is creating 0kb file. I am able to export data for the same combination using Ca

  • Auto unblock/release of Invoice for framework rder

    Hi All, I've a scenario in which the FO (Frame work) order has been created for limit of 500$, And invoice is posted for 700$, it is obvious that under tolerance key (Order price unit variance- IR before GR) it will block the invoice, and has to be r