Friday March 07, 2003
Struts-JSF Demo I've setup another demo - this time it's the struts-example app ported to use JSF and Struts. Nothing ground breaking here that I can tell, and after looking at the code, I don't know what to think of JSF. It seems to make it much harder to code a JSP page.
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@ taglib prefix="s" uri="http://jakarta.apache.org/struts/tags-faces" %>
<f:use_faces>
<s:html locale="true">
<head>
<title><
<s:message key="registration.title.edit"/>
</title>
<s:base/>
<s:stylesheet path="/stylesheet.css"/>
</head>
<body bgcolor="white">
<s:errors/>
<s:form action="/saveRegistration" focus="username"
onsubmit="return validateRegistrationForm(this);">
<h:input_hidden id="action" modelReference="registrationForm.action"/>
<h:panel_grid
columns="2"
panelClass="form-background"
headerClass="form-header"
columnClasses="form-prompt,form-field">
.
.
.
Ugh, a whole new set of Tag Libraries to learn? Seems like JSF is a lot of bloat, while JSP 2.0 has been made things simpler. One interesting thing is the use of the single-letter (i.e. "h", "s") for the tag libraries. I suggested this a while ago on the struts-dev list, and it looks like it's been implemented. Bravo! I doubt I'm the reason for it, but it's always nice to see your ideas implemented.
I apologize that this site was down most of the day today. It seems that the monitoring/restarting scripts were not running and this should/will be fixed shortly. I need a gig where I can restart this site when it goes down. Anyone know of a way to telnet/ssh via an HTTP Proxy?
Posted in Java
at Mar 07 2003, 03:38:29 PM MST
1 Comment
Debugging JUnit tests in Eclipse - how? Does anyone know how to run JUnit tests using Ant and debug them in Eclipse? I have the JUnit/Ant part figured out, it's the debugging I'm having issues with. I'm able to run debug (using breakpoints) in Eclipse while running Tomcat, but not while running a simple JUnit test from Ant. Man that would be cool. If I could run Ant (from w/in Eclipse or on the command line) and set breakpoints in Eclipse - I could sure speed up my development time. Posted in Java at Mar 07 2003, 09:15:09 AM MST 2 Comments
Russell: Here's your hookup The Butt Ugly Weblog (Scaring little kids since 2003) has offered Russ some love. Since I like Russ, here's your hookup baby!
Russell Beattie wants to be #1 Russell
.
Since he's a good guy and posts and discovers an insane amount of interesting stuff
, I've gotta help him :-). Google
, here you go!
To Janne Jalkanen: I dig the name of your blog, I LOL'ed when I first read the title. Also, you're Finnish, so that means you've got to be cool. My Grandparents (last name: Hill) were Finnish and I'm about 35%; the rest being German, Dutch and Irish. Posted in General at Mar 07 2003, 09:06:15 AM MST Add a Comment
Search This Site
Recent Entries
- Choosing an Ajax Framework
- R.I.P. Giant FCR3
- Happy Birthday Mom!
- 2008 - A Year in Review
- Portland Tech Meetup Tomorrow Night
- My "almost slept in a snow cave" Adventure with Clint Foster
- My Christmas Travel Adventure
- AppFuse Light converted to Maven modules, upgraded to Tapestry 5 and Stripes 1.5
- Dojo/Comet support in Java Web Frameworks
- Abbie is a Blue Skier!