Just a note of jQuery fragment.
// cancel the default event action for input and move to the next element jQuery(‘input’).keydown(function(e){ if (e.keyCode == 13 && (e.target.type == ‘text’ || e.target.type == ‘password’)){ var elements = jQuery(this).parents(‘form’).get(0).elements; var i = 0; for (; i < elements.length; i++) { if (elements[i] [...]
Problem:
After configuring messageSource with ResourceBundleMessageSource, messages output by webApplicationContext.getMessage are in wrong language version. But this issue doesn’t appear in spring message tag.
Solution:
Replace ResourceBundleMessageSource with ReloadableResourceBundleMessageSource, add property fallbackToSystemLocale and set to false.
<bean id=”messageSource” class=”org.springframework.context.support.ReloadableResourceBundleMessageSource”> <property name=”fallbackToSystemLocale” value=”false”/> <property name=”basenames”> <list> <value>classpath:messages</value> </list> </property> </bean>
Refer to: http://day-to-day-stuff.blogspot.com/2008/07/spring-message-resource-weirdness.html
jQuery(document).ready(function(){ jQuery(‘form’).submit(function(e){ jQuery(this).find(‘input[@type=submit],button[@type=submit]‘).attr(‘disable’, ‘true’).css(‘color’, ‘#ddd’).css(‘background’, ‘#aaa’); }) }
Well known issus that IE6 can not display transparency for PNG picture. But now here comes the IFixPNG from http://jquery.khurshid.com/ifixpng.php. It’s really a perfect fix for this issue…
The most commonly seen icon collections are free from WikiMedia!
select * from SYSOBJECTS where TYPE = ‘U’ order by NAME
equals to the one in mysql
show tables
Or we can use sp_help, for exmple:
exec sp_help database_name
refer to http://msdn.microsoft.com/en-us/library/aa933429.aspx
-
Articles
- October 2012
- May 2012
- April 2012
- March 2012
- February 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
-
Meta