The past two posts covered parsing the address parameters, and generating a new address with changed parameter values. It turns out that links from a page to the same page are suppressed, unless you include the code below. Continue reading
Monthly Archives: January 2015
Reflecting State in the URL – Angular JS Tip
In the last post I outline a method for parsing parameters to a page, but as people work on the page, they can sometimes modify the parameters. Consider a page that accepts a query value as a parameter, but also allows the user to modify the query value. If you update the page’s address, then bookmarks by the user will always bring them back to the same place/mode. Continue reading
Parsing Parameters – AngularJS Tip
I recently got up to speed on AngularJS and I must admit it is pretty amazing. Probably should give an overview but I don’t have time for that today. This post is specifically some Java code to parse parameters that can be passed in links between pages allowing for a natural page-flow behavior. Continue reading
Making an eBook with LaTeX
Having completely finished with the layout of my new book using XeLaTeX, I now want to make an eBook. The error messages with LaTeX are always completely cryptic, so you normally have to debug by adding a single line of source and rebuilding to see if that break anything. It is slow and tedious work, and this post contains a list of things I discovered using this method. Continue reading
Content Free Documentation
I was trying to use an open source tool, and reading the documentation, I was frustrated by more content free documentation. Here is the example. Continue reading
Java Servlet URL Parsing Best Practice
I write Java servlets a lot, and every single time I waste time trying to get the URL value that the servlet was invoked with in the right way. The methods provided on HTTPServletRequest simply are no the right ones for all situation. Continue reading