<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>between 1/0</title>
	<atom:link href="http://www.gremoz.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gremoz.net</link>
	<description>Linux, Typo3, Joomla, PHP and a few other gentle words</description>
	<lastBuildDate>Tue, 23 Feb 2010 10:45:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>VMWare Infrastructure Client auf Windows 7</title>
		<link>http://www.gremoz.net/2009/12/20/vmware-infrastructure-client-auf-windows-7/</link>
		<comments>http://www.gremoz.net/2009/12/20/vmware-infrastructure-client-auf-windows-7/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 22:11:01 +0000</pubDate>
		<dc:creator>gremoz</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.gremoz.net/?p=98</guid>
		<description><![CDATA[Es wurde festgestellt, dass der aktuelle VMWare Infrastructure Client &#8211; VMWare Sphere 4.0 auf Windows 7 nicht korrekt arbeiten kann. Das Problem erscheint, wenn man sich mit dem Virtual Center verbinden will. Der Fehler lautet wie folgt:&#8221;Error parsing the server &#8220;server&#8221; &#8220;clients.xml&#8221; file. Login will continue, contact your system administrator.&#8221; Wenn man danach auf &#8220;Ok&#8221; clickt, [...]]]></description>
			<content:encoded><![CDATA[<p>Es wurde festgestellt, dass der aktuelle VMWare Infrastructure Client &#8211; VMWare Sphere 4.0 auf Windows 7 nicht korrekt arbeiten kann. Das Problem erscheint, wenn man sich mit dem Virtual Center <strong></strong>verbinden will. Der Fehler lautet wie folgt:&#8221;<em>Error parsing the server &#8220;server&#8221; &#8220;clients.xml&#8221; file. Login will continue, contact your system administrator.</em>&#8221; Wenn man danach auf &#8220;Ok&#8221; clickt, erscheint folgende Fehlermeldung:&#8221;<em>The type initializer for &#8220;VirtualInfrastructure.Utils.HttpWebRequestProxy&#8221; threw an exception</em>.&#8221; Das Problem wird gelöst in dem man VMWare Infrastructure Client im Dev-Modus betreibt. Um das Ganze zu automatisieren habe ich ein PowerShell-Script zusammengeschrieben. Man muss folgende Schritte durchgehen, damit VMWare Infrastructure Client auf einer Windows 7-Maschine korrect läuft:</p>
<ol>
<li>VMWare Sphere 4.0 installieren.</li>
<li>PowerShell als Administrator starten.</li>
<li>Folgende Anweisung ausführen(wird nur einmal je Rechner ausgeführt, um selbstgeschriebene Scripte ausführen zu können)<em>: Set-ExecutionPolicy RemoteSigned</em></li>
<li><em>cd &#8216;Patch VMWare &#8211; Windows 7&#8242;</em></li>
<li><em>.\vmware.ps1</em></li>
</ol>
<p>Wenn man damit fertig ist, lässt sich VMWare Infrastructure Client prima mit Virtual Center verbinden. Patch ist in attachment zu finden.</p>
<p><a href="../wp-content/uploads/2009/12/Patch-VMWare-Windows-7.zip">Patch VMWare &#8211; Windows 7.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gremoz.net/2009/12/20/vmware-infrastructure-client-auf-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ajax-Extension für Typo3 mit Prototype und eID</title>
		<link>http://www.gremoz.net/2009/11/10/ajax-extension-fuer-typo3-mit-prototype-und-eid/</link>
		<comments>http://www.gremoz.net/2009/11/10/ajax-extension-fuer-typo3-mit-prototype-und-eid/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 10:38:26 +0000</pubDate>
		<dc:creator>gremoz</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Exten]]></category>
		<category><![CDATA[Extension Development]]></category>
		<category><![CDATA[Prototype]]></category>

		<guid isPermaLink="false">http://localhost/blog/?p=27</guid>
		<description><![CDATA[Im Folgenden möchte ich eine der einfachsten Methoden zum Erstellen von Ajax-Erweiterungen für Typo3, die auf einer seit Typo3 Version 4.x integrierten Prototype-Bibliothek basiert, beschreiben. Um mehr Informationen über die API dieser überraschend einfachen, aber sehr nützlichen Bibliothek zu bekommen, ist ein Besuch von der Prototype-Homepage zu empfehlen. Weiter werden wir eine einfache und kleine Erweiterung erstellen, die eine Begrüßung "#NAME# Wazzzup!!!" angezeigt, wobei #NAME# wird durch die Zeichenkette, die wir mit Hilfe von Ajax absenden, ersetzt.]]></description>
			<content:encoded><![CDATA[<p>Im Folgenden möchte ich eine der einfachsten Methoden zum Erstellen von Ajax-Erweiterungen für <a href="http://www.typo3.org">Typo3</a>, die auf einer seit Typo3 Version 4.x integrierten <a href="http://www.prototypejs.org/">Prototype</a>-Bibliothek basiert, beschreiben. Um mehr Informationen über die API dieser überraschend einfachen, aber sehr nützlichen Bibliothek zu bekommen, ist ein Besuch von der <a href="http://www.prototypejs.org/">Prototype-Homepage</a> zu empfehlen. Weiter werden wir eine einfache und kleine Erweiterung erstellen, die eine Begrüßung &#8220;#NAME# Wazzzup!!!&#8221; angezeigt, wobei #NAME# wird durch die Zeichenkette, die wir mit Hilfe von Ajax absenden, ersetzt.</p>
<p><span id="more-27"></span> Und so geht&#8217;s los. Erstellen Sie eine einfache Erweiterung für Typo3 mit Kickstarter, dabei erwarte ich, dass es für die Menschen, die ans Erstellen von Ajax-Erweiterungen interessiert sind, keine Probleme bereitet. Ich habe eine Erweiterung mit dem Namen <strong>prototype_ajax</strong> erstellt, damit ist der interne Name <strong>tx_prototype_ajax</strong> und die frisch erstellte Erweiterung befindet sich in dem Verzeichnis <em>/typo3conf/ext/prototype_ajax</em>. Öffnen Sie die Datei <em>/typo3conf/ext/prototype_ajax/ext_localconf.php</em> und fügen Sie am Ende der Datei folgende Zeile hinzu:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"> <span style="color: #000088;">$TYPO3_CONF_VARS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'FE'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'eID_include'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'my_prototype_ajax'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'EXT:prototype_ajax/ajax/ajax.php'</span><span style="color: #339933;">;</span></pre></div></div>

<p>Das Parameter <strong>eID_include</strong> weist darauf hin, dass es die Datei definiert wird, auf die Typo3 beim Erhalten vom Parameter <strong>eID=my_prototype_ajax</strong> zugreift. Dabei ist <strong>eID</strong> jede beliebige Ziechenkette. Diese wird später für die Übertragung von Parametern von <em>index.php</em> verwendet. Würden wir <strong>my_prototype_ajax</strong> durch <strong>mycoolstring</strong> in der Datei <em>ext_localconf.php</em> ersetzen, so müssten wir selbstverständlich <strong>eID=mycoolstring </strong>an <em>index.php</em> übergeben, um die Datei für die Behandlung von weitergehenden Parametern zu identifizieren. In unserem Fall ist es <em>ajax.php</em>, die sich bald in <em>/typo3conf/ext/prototype_ajax/ajax/</em> befindet. Lassen Sie uns ein Verzeichnis <em>ajax</em> in <em>/typo3conf/ext/prototype_ajax/</em> und eine Datei ajax.php in deisem Verzeichnis erstellen. Diese Datei wird für die Verarbeitung von Ajax-Anfragen und die Erstellung von Response-Daten verwendet. Diese ist einfach eine Server-Komponente unserer Ajax-Anwendung. Es ist nicht unbedingt notwendig, die Bearbeitung von Anfragen in einer separaten Datei zu platzieren und kann auch in der Master-Datei <em>/typo3conf/ext/prototype_ajax/pi1/tx_prototype_ajax.php</em> geschehen. Aber an dieser Stelle möchte ich das nicht weiterdiskutieren.</p>
<p><em>Ajax.php</em>:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Error if script used directly not over index.php and eID</span>
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">defined</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'PATH_typo3conf'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #990000;">die</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Could not access this script directly!'</span><span style="color: #009900;">&#41;</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">//Get name from GET-Array over Ajax</span>
  <span style="color: #000088;">$myname</span> <span style="color: #339933;">=</span> t3lib_div<span style="color: #339933;">::</span>_GET<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'myname'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">//Generate output</span>
  <span style="color: #000088;">$res</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'&lt;strong&gt;Wazzzup '</span><span style="color: #339933;">.</span><span style="color: #000088;">$myname</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'!!!&lt;/strong&gt;'</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">//Serialize data to xml</span>
  <span style="color: #000088;">$ajax_return_data</span> <span style="color: #339933;">=</span> t3lib_div<span style="color: #339933;">::</span><span style="color: #004000;">array2xml</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'data'</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span><span style="color: #000088;">$res</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">//Generate HTTP-headers</span>
  <span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Expires: Mon, 26 Jul 1997 05:00:00 GMT'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Cache-Control: no-cache, must-revalidate'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Pragma: no-cache'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Content-Length: '</span><span style="color: #339933;">.</span><span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ajax_return_data</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Content-Type: text/xml'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">//Send response data</span>
  <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$ajax_return_data</span><span style="color: #339933;">;</span>
  <span style="color: #990000;">exit</span><span style="color: #339933;">;</span></pre></div></div>

<p>Erstellen Sie einen Ordner im Verzeichnis <em>js</em> in <em>/typo3conf/ext/prototype_ajax/</em>, wo sich unsere Datei mit Javascript, die fürs Senden und Anzeigen von Daten mit Hilfe von Prototype verantwortlich ist, in der Zukunft befindet. Die Datei heißt bei mir <em>sendData.js</em>. In <em>sendData.js</em> befinden sich folgende Funktionen:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"> <span style="color: #003366; font-weight: bold;">function</span> getDataOverAjax<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
  <span style="color: #006600; font-style: italic;">//All data going to serverside app over index.php. </span>
&nbsp;
  <span style="color: #003366; font-weight: bold;">var</span> url <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;&quot;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #006600; font-style: italic;">//Get name from field with id=myname</span>
  <span style="color: #003366; font-weight: bold;">var</span> myname <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;myname&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">value</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #006600; font-style: italic;">//Generate parameters to send to serverside app over GET</span>
&nbsp;
  <span style="color: #003366; font-weight: bold;">var</span> pars <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;eID=my_prototype_ajax&amp;amp;myname=&quot;</span> <span style="color: #339933;">+</span> myname<span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #006600; font-style: italic;">//Send data over GET and define function to handle servers response</span>
&nbsp;
  <span style="color: #003366; font-weight: bold;">var</span> myAjax <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Ajax.<span style="color: #660066;">Request</span><span style="color: #009900;">&#40;</span>url<span style="color: #339933;">,</span> <span style="color: #009900;">&#123;</span>method<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;get&quot;</span><span style="color: #339933;">,</span> parameters<span style="color: #339933;">:</span> pars<span style="color: #339933;">,</span> onComplete<span style="color: #339933;">:</span> updateDivData<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
 <span style="color: #009900;">&#125;</span>
&nbsp;
 <span style="color: #003366; font-weight: bold;">function</span> updateDivData<span style="color: #009900;">&#40;</span>orgRequest<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
   <span style="color: #006600; font-style: italic;">//Get data in xml-Format</span>
   <span style="color: #003366; font-weight: bold;">var</span> xmldoc <span style="color: #339933;">=</span> orgRequest.<span style="color: #660066;">responseXML</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #006600; font-style: italic;">//Get needed parameters from xml</span>
  <span style="color: #003366; font-weight: bold;">var</span> result <span style="color: #339933;">=</span> xmldoc.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;data&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">firstChild</span>.<span style="color: #660066;">data</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #006600; font-style: italic;">//Display content in our div</span>
  $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;workplace&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> result<span style="color: #339933;">;</span>
 <span style="color: #009900;">&#125;</span></pre></div></div>

<p>Bearbeiten Sie die Funktion main() der Hauptdatei unserer Erweiterung <em>/typo3conf/ext/prototype_ajax/pi1/tx_prototype_ajax.php</em>. Nach der Erstellung mit dem Kickstarter sieht Funktion main() wie folgt aus:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> main<span style="color: #009900;">&#40;</span><span style="color: #000088;">$content</span><span style="color: #339933;">,</span> <span style="color: #000088;">$conf</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>conf <span style="color: #339933;">=</span> <span style="color: #000088;">$conf</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>pi_setPiVarDefaults<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>pi_loadLL<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #000088;">$content</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'&lt;strong&gt;This is a few paragraphs:&lt;/strong&gt;
                 This is line 1
                 This is line 2
&lt;h3&gt;This is a form:&lt;/h3&gt;
&lt;form action=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>pi_getPageLink<span style="color: #009900;">&#40;</span><span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'TSFE'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>id<span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; method=&quot;POST&quot;&gt;
&lt;input name=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>prefixId<span style="color: #339933;">.</span><span style="color: #0000ff;">'[input_field]&quot; type=&quot;text&quot; value=&quot;'</span><span style="color: #339933;">.</span><span style="color: #990000;">htmlspecialchars</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>piVars<span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'input_field'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; /&gt;
&lt;input name=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>prefixId<span style="color: #339933;">.</span><span style="color: #0000ff;">'[submit_button]&quot; type=&quot;submit&quot; value=&quot;'</span><span style="color: #339933;">.</span><span style="color: #990000;">htmlspecialchars</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>pi_getLL<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'submit_button_label'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; /&gt;
&lt;/form&gt;
&nbsp;
You can click here to '</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>pi_linkToPage<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'get to this page again'</span><span style="color: #339933;">,</span><span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'TSFE'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>id<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">return</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>pi_wrapInBaseClass<span style="color: #009900;">&#40;</span><span style="color: #000088;">$content</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Wir ändern main(), damit sie wie folgt aussieht:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> main<span style="color: #009900;">&#40;</span><span style="color: #000088;">$content</span><span style="color: #339933;">,</span> <span style="color: #000088;">$conf</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>conf <span style="color: #339933;">=</span> <span style="color: #000088;">$conf</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>pi_setPiVarDefaults<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>pi_loadLL<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">// include Prototype-Library</span>
  <span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'TSFE'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>additionalHeaderData<span style="color: #009900;">&#91;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>prefixId<span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'&lt;script src=&quot;typo3/contrib/prototype/prototype.js&quot; type=&quot;text/javascript&quot;&gt;&lt;!--mce:0--&gt;&lt;/script&gt;'</span><span style="color: #339933;">;</span>  
&nbsp;
  <span style="color: #666666; font-style: italic;">//Include our script</span>
  <span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'TSFE'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>additionalHeaderData<span style="color: #009900;">&#91;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>prefixId<span style="color: #009900;">&#93;</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&lt;script src=&quot;typo3conf/ext/rqmng/js/get.js&quot; type=&quot;text/javascript&quot;&gt;&lt;!--mce:1--&gt;&lt;/script&gt;'</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">//include div to display response information and fields to send data on serverside app </span>
&nbsp;
  <span style="color: #000088;">$content</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'
&lt;div id=&quot;workplace&quot;&gt;
&lt;input id=&quot;myname&quot; name=&quot;myname&quot; type=&quot;text&quot; value=&quot;MyName&quot; /&gt;
&lt;input onclick=&quot;getDataOverAjax();&quot; name=&quot;Get Data over Ajax!&quot; type=&quot;button&quot; value=&quot;Get Data over Ajax!&quot; /&gt;&lt;/div&gt;
&nbsp;
'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">return</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>pi_wrapInBaseClass<span style="color: #009900;">&#40;</span><span style="color: #000088;">$content</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Damit sind wir fertig und Sie können jetzt die von uns erstellte Erweiterung von TER oder von uns herunterladen, oder das live-Beispiel anschauen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gremoz.net/2009/11/10/ajax-extension-fuer-typo3-mit-prototype-und-eid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
