ConceptFeedback.com, expected to launch next month, will host an active community of professionals dedicated to offering quick, actionable feedback on marketing concepts. Concepts, ranging from websites and landing pages to logos and advertisements, can be posted for free and reviewed by peers. Registered users will have access to free third-party insight, private concept sharing tools and networking opportunities. (From PrWeb)
Web application R&D notes, from the world of Java, Flex, CSS, XHTML, Flash, .NET, cross-browser compatibility, JavaScript, AJAX, ADA compliance, Photoshop, and any and all things related to Web development!
11 May 2009
Get feedback on your designs
A new site promises to provide feedback to design and marketing professionals for their concepts:
09 May 2009
08 May 2009
Flex Error 2032: Stream Error
While building your Flex apps, if you run into Error 2032, a great resource is Juda's Blog. It has helped me and folks are continuing to post to it.
Create abstract Photoshop effects
Here are some great tutorials on creating abstract backgrounds in Photoshop: http://www.tutorialmagazine.com/15-best-photoshop-abstract-tutorials. Thanks to Robin Cannon on LinkedIn.com.
04 May 2009
JSF ViewExpiredException fix
After spending some time wrestling with this beast, I might have found a solution. Here's the scenario:
After a lot of research on the web, the following context parameter in the web.xml file resolves it:
To see it in action, set your session timeout to 1 minute in web.xml:
However, be careful using this setting: You will cause the entire UI component tree to be serialized and passed to the client. This can increase download lag time, especially on more complex layouts. Also, there are times when sessions must expire (authenticated sessions), so you'd want to stick with the server for your state saving method in most cases.
- Launch a very simple JSF app consisting of two pages, as described by the Select example from Chapter 4 of the Core JavaServer Faces book by D. Geary and C. Horstmann (no database calls).
- Allow the session to time out.
- Use your browser's back button to return to the index.faces page.
- Re-submit the form.
- Watch the app blow up with this exception:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: viewId:/index.faces - View /index.faces could not be restored.
javax.faces.webapp.FacesServlet.service(FacesServlet.java:270)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
javax.faces.application.ViewExpiredException: viewId:/index.faces - View /index.faces could not be restored.
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:186)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:104)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
After a lot of research on the web, the following context parameter in the web.xml file resolves it:
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
To see it in action, set your session timeout to 1 minute in web.xml:
<session-config>
<session-timeout>1</session-timeout>
</session-config>
However, be careful using this setting: You will cause the entire UI component tree to be serialized and passed to the client. This can increase download lag time, especially on more complex layouts. Also, there are times when sessions must expire (authenticated sessions), so you'd want to stick with the server for your state saving method in most cases.
30 April 2009
Run Mono in Visual Studio
Visual Studio uses the Microsoft .NET Framework and doesn't seem to provide an easy way to use Mono. Well, here's an article to lead the way to easier Mono and Visual Studio integration. Part 2 of the article addresses some common errors. Thanks, Christopher Cyvas, for the great articles and templates!
23 April 2009
See the auto-starting apps in Windows
Autoruns for Windows is a free tool from Microsoft to let you see what processes start up when you boot the OS. You can also disable individual items, though you should proceed with caution.
Subscribe to:
Posts (Atom)