Thursday, April 15, 2010

Episode Where Vegeta And Bulma Interact

Struts2 - date without taking into account the time's locale settings

After experimenting just something I like my blog and its entries can be found on google, I noticed that there always my Blog Name "mr678" is displayed in the search results.


in this form is not just beautiful and for's SEO also not ideal ... (at least what I've researched just that, currently I am with the positioning of my blog entry but pretty happy ;-) - but this has of course other reasons: google blogspot with google adsense + new releases ...)
Google shows here simply to the HTML title. This can readily be adapted at will. In blogspot, this works as follows:
layout à edit HTML Now the line
\u0026lt;title> \u0026lt;data:blog.title/> \u0026lt;/ title>
replace with the following snippet:
\u0026lt;b:if cond='data:blog.pageType == "item"'>

\u0026lt; ; title> \u0026lt;data:blog.pageName/>

\u0026lt;b:else/> \u0026lt;title> \u0026lt;data:blog.pageTitle/> \u0026lt;/ title>


\u0026lt;/ b : if>

will now display only the name of the blog articles.

on the following websites I have copied this approach:

· http://www.bloggertricks.com/2008/08/how-to-swap-your-blogger-blogspot-blog.html

·         

http://www.bloggerplugins.org/2007/09/optimise-blog-title-for-search-engine.html
·         
http://www.marketingspiritual.com/2010/google-blogspot-seo/

Wednesday, April 14, 2010

Pic16f877 Transceiver

JSF2.0 AJAX Support - jsf.js is not loaded

If you are caught in the "AJAX lifecycle" of a JSF2 will call, which entails the onEvent attributes are set.

\u0026lt;h: CommandButton
styleClass =

"button large"
action
= "# {} schlagView.addWorking" value
= "$ {msg.buttonAddWorkStep}" >
\u0026lt; f: ajax render =
"@ form"
execute
=
onevent =
"newRowEvent"

/ >
\u0026lt;/ h: command button> The JSF2 Spec (Javadoc) writes about this following. "The name of the JavaScript function that will handle UI events." All clear: In the above example, then the JavaScript function newRowEvent called.
looks at me the JS function like this: newRowEvent function (data) { if (data.status = 'success'
!)
return
;



/ / new line //...

}

The method is called 3 times in total - for each Ajax call state once. is interesting Here, the parameter data
. The Property status of data provides information about the current state of Ajax Calls: ·
; begin
·
complete
·
success

more property values of data, for example, ResponseCode
,
responseText , responseXML or source. The available properties vary depending on the status value. - reflects This behavior occurs to me exactly as to when using Mojarra JSF implementation in the out-of-the-box version for Glassfish v3