weekly theme update-
Topic: general, photography| 32 Comments »
ok, the shot didn’t get selected for the final 12(login reqd), in the weekly theme, but it was fun first assignment
this week’s theme - ‘Ancient Technology’ ![]()
ideas welcome!
ok, the shot didn’t get selected for the final 12(login reqd), in the weekly theme, but it was fun first assignment
this week’s theme - ‘Ancient Technology’ ![]()
ideas welcome!
Question ![]()
I have a simple JSF page for user login; it has two <h :inputText> for userName and password.
There is a <h :commandButton> to submit the login request. However, I want to validate the inputs first on the client-side using a JavaScript method (checkInputs) to validate for non-empty inputs, as shown below.
<h :commandButton value=”Login” action=”login”
onclick=”checkInputs(this.form)”/>
the question is howto do JSF actions based on javascript validation?
i want to do the ‘login’ action only if checkInputs returns TRUE, if it returns FALSE
the same page should stay (after an alert() from checkInputs).
update Sep 27, 2004 17.34I decided to submit ‘united we stand’. Thanks for all your votes…see you in next week’s theme

click on the images for the original size.
please vote for the shot that you think best fits the theme/most creative/well executed…in that order.
1. well oiled
|
2. the missing
|
3. united_We_stand
|
4. got wine?
|
5. the light
|
6. strongest link
|
I am getting a headstart for christmas this year; please bookmark my wishlist as I will be updating the list quite often
here is my wishlist, in no particular order
I have been using Eclipse as my IDE and Tomcat as the servlet container for my previous web development. I used the Sysdeo Tomcat plugin to debug servlets/JSP in Eclipse IDE. I had no problems with it, that is till yesterday…
I am currently evaluating JavaServer Faces (JSF) as a server-side framework for a new web app project and am building a little prototype app with it. The first thing I was wanting to make sure was I could debug JSF apps using the Sysdeo plugin. I quickly found out that I could not.
JSF apps require a ‘faces-config.xml’ file that must be at the WEB-INF level (sibling of the ‘classes’ directory) and the Sysdeo-Tomcat wiring was not picking up this file…and was not even able to initialise the Faces Servlet.
I was quite frustrated…and quickly got dabNADD ![]()
I googled for a solution to this problem but didnt get far. Then as I was browsing thru the docs of MyEclipse IDE (I use it for all the editors it provides) to check some issues with the JSF project settings, I found that it has a Tomcat connector!
I quickly configured it and ran my JSF app within the Debug Perspective…and voila it breakpointed! It did not complain or stutter with the JSF config files and works like a charm. The Tomcat connector also has its own deploy utility which needed some meddling for JSF apps…I didnt go there; just used my Ant build.xml for the deploy.
Even though MyEclipse IDE costs $29.95/yr (Sysdeo is free), I highly recommend it for your Eclipse IDE not only for its seamless connection with Tomcat, but for its numerous editors and wizards.
i am reading Rands article about N.A.D.D Nerd Attention Deficiency Disorder. I must admit i am deeply affected by NADD (dabNADD).
These are the stuff I am flipping back-forth right now-
The good news is dabNADD is pretty prevalant (if you are reading this, you are probably dabNADD), the bad news its only gonna get worse…
Last night i watched the documentary winged migration. It was stunning to say the least. The cinematagraphy was simply out-of-the-world (in fact, there were 15 different cinematographers). There are never-before-seen lengthy, close-up shots of birds in flight at high altitude against spectacular backdrops. As I was watching it I realized that I was watching a documentary with no people/dialogues (just off-on narration) and that I was not bored!
There were some great action shots of the weirdest birds (like the greater sage grouse) I have ever seen.
After I was done, I was curious about how they managed to get so close to the birds in the air…they must have been on a plane, but dont birds fly away from a plane? well, I checked out imdb comments and sure enough it was from a plane but I also learned that the birds used in those shots were all trained! It definitely takes away the soaring feeling I had after watching the movie, but nonetheless, they were real birds, really flying, really migrating…I highly recommend it.
I never thought I would want to bird-watch (the real birds;-) but just thinking might be worthwhile to get into for my photography…
I have an inherant interest in photography. I have been wanting to take it to the next level for a while now - here is a site fredmiranda.com that is getting me started on that next level…
OK, so I just thought why not put my own blogs for nobody but me to see-just to
satify my own ego.
Just need to wait and see how far my patience-for-my-ego will go…