New HikiCulture VIPs
Here's the latest batch of HikiCulture members I've given VIP status to:
GlassesPorygon
FONEternal
LyricalIllusions
Hitori
Carruthers
Knots
shorelinetrance
gloomba
MobiusBrain
sibirskaya_koshka
geegorCongrats.
Here's the latest batch of HikiCulture members I've given VIP status to:
GlassesQuipuKit 1.6.2: JSF library with a set of advanced UI components and clientside validation http://bit.ly/eLJum
Sometime ago I was fighting with Hibernate Validator, trying to implement an unique constraint and I could not figure out how to create one that requires database access:
The problem is that your validators can't access sessionFactory or any other interface to the database. I know that I can break some rules and instantiate a sessionFactory/session/connection directly inside the Validator, but I dislike to do wrong things consciously. So, I looking for alternatives.
By default, theLocalValidatorFactoryBeanconfigures aSpringConstraintValidatorFactorythat uses Spring to create ConstraintValidator instances. This allows your custom ConstraintValidators to benefit from dependency injection like any other Spring bean.
W3C says <link> and <style> should only be in the <head>. Why am i concerned with validation? I'm not; so I was originally alright with my first attempt to reduce code repetition.
Each page has a very similar top and an identical bottom.The problem with the top is in the included scripts and styles. All pages load corners. Some load fancy box. one loads visualize. Each of these has its own style sheet. Additionally each page has a different title, some custom style, and a unique position in the navigation display. I'd like include both in one gutted file and then load the meat on demand from external files. I could take care of loading uncommon styles and scrips simply by including them in the body. This works on firefox at least. The title and nav display could easily be handled by on click action, passing an argument or (as is the current implementation) deducing from the url. Also, broken up like this, I could add fancy effects by loading with the data via $.ajax in jQuery. So I did all of this, the whole time thinking hash marks in the url would add sufficient browser aware navigation (a working back button). This was not the case.
/*ugly ugly ugly way to set get current location for sytling navigation*/
$current = preg_replace("/.*\/(.*).php.*/", "$1", $_SERVER["REQUEST_URI"], 1);
$hascurrent= array( 'home' => '', 'dashboard' => '', 'new' => '', 'edit' => '', 'publish' => '' );
$hascurrent[$current] = ' class="current" ';
<li style="padding-left:0px"> <?php echo $hascurrent['home']?>>My Account</li> <li><?php echo $hascurrent['new'] . $hascurrent['edit']. $hascurrent['publish']?> >Build a Case</li> <li><?php echo $hascurrent['dashboard']?>>Case Dashboard</li> <li>Help</li>
I get a name from the url, removing the junk before and after the relevant part of the file name using preg_replace. Where all value are otherwise ' ', I add 'class=curernt' to the element of the hascurrent array called by that name of the file. Then I ask for the value of each array by this name in on the approprate link in the navigation portion. Nothing but whitespace will be added unless the current file name is called. Then the class=current is injected. Ugly, but functioning.

Apple is known for their innovation and support. It is clear that there is a very specific development cycle within the software group. This process is very guarded and up until right before release, the features are typically unknown. This makes it tough for application developers to plan products that have and longevity, if they aren't immediately included in an OS release.
I quote below from an American nerd athlete artist. He's relieved at the American electorate's ability to choose the intellectual candidate. But his comment intends to celebrate neither American nor Chinese culture.
We live in a country where the nerd gets beaten up in middle school. In China, the nerd is the bully.
I did not know this about China when I lived there. I never saw it happen, never heard stories about it until today. But it does make sense. Good grades earn big teacher love and, with it, positions of authority in classrooms. And there doesn't exist a school-connected athletic infrastructure to balance the power. Validation comes first for the successfully academic minds and significantly later, if at all, for anyone else.
Anyone have any experience with this? I'd love to know more.