Sponsor

berita plastik internasional

Autocomplete in Ajax-Forms

Advertising Page - 6 February 2012 - 11:50pm

Hi,

I try to develop a dynamic ajax form containig an autocomplete field. Here is the idea:

I want to load a form dynamically via a link_to_remote function:


                                ‘url’=>’myModule/addEvent’);
link_to_remote(‘addEvent’,array(‘update’=>’myForm’,Select allCode:

myForm is a hidden div field which has to be update by my form workflow.

Now my addEvent action has a template addEventSuccess.php


            array(   ’use_style’ => ‘true’)); ?>
            array(   ’autocomplete’ => ‘off’),
<?php echo  input_auto_complete_tag(‘select_autocomplete_title’,”,’myModule/autocompleteEvent’,Select allCode:

If I call the action directly through my browser, the autocomplete field works fine. But calling it through the link_to_remote function has no success.

Any ideas how to fix this problem?

If I use it directly within my main template, there is no problem at all, but for a complex workflow I want to use the autocomplete field within different action templates.

Kind regards,
Christian


Related posts:

  1. Url Rewrite with data from the object
  2. My simple configuration for tinymce
  3. JSON tutorial does not work with IE

Jquery Plugin history

Advertising Page - 6 February 2012 - 11:50pm

Hi,
I am a newbie in using jquery.Please excuse me if similar query has been posted earlier.

I am building a maillist with extensive use of jquery.This list displays the list of emails as in Inbox (in slot of 15) and has Next and Prev links to traverse next or prev set of mails.
I want my mailist to be cached and so that if user is in slot 31-45,can get slots 16-30 on click of browser’s back button.
i searched and found the jquery plugin history but not getting exactly how to use it in my situation.

flow of my code how next and prev links work using ajax is as follows

1)on click of next link(href is set to [removed]void(0) ~ ~ ,call a function Next() that sets the startcount and call loadmaillist(); inside it.

2)in loadmaillist(),makes a url ,makes a json call,gets the jsondata and call displaymaillisthtml(datajson);

3)in displaymaillisthtml(),builds the html for maillist thru javascript .

I hope u r not getting confused ~ ~

now my question is,where should i use the $.(history) bla..bla.bla and how??as discussed in most of tutorials.

Regards
Rupam


Related posts:

  1. Simple Jquery modal window and AJAX
  2. Evidence of the church of Christ in History

JSON tutorial does not work with IE

Advertising Page - 6 February 2012 - 11:50pm

Hello every one,
I followed the tutorial on how to do json calls from; It works perfectly in FF but with IE I get JS error saying “Object doesn’t support this property or method”

Here is what I did

in my indexSuccess.php



            )) ?>
                                 ’complete’   => “updateJSON(request)”))
                                 ’with’      => “‘DistrictId=’ + this.getValue()”,
                                 ’url’      => ‘search/ajax?method=getAreasByDistrict’,
               ’onChange’    =>  remote_function(array(
            <?php echo select_tag(‘districts’,options_for_select($districts, 0), array(Select allCode:

then i made a JSON.js file and included the file in my view.yml on app level


}
    }
      Element.update(elId, json[elId]);
    {
    for (elId in json)
    var elId;
    json = ajax.responseJSON;
  {
function updateJSON(ajax)Select allCode:

then, inside the searchActions.php i did the following:


}
  }
     
     
        return json_encode(array(‘search-area-list-label’ => ‘Areas’, ‘search-area-list’ => select_tag(‘area’,$array)));
     else
        return json_encode(array(‘search-area-list-label’ => ”, ‘search-area-list’ => ”));
     if (count($objs)==0)
     }
        $array[$obj->getId()]=$obj->getName();
     foreach ($objs as $obj) {
     $array=array();
     $objs = AreaPeer::doSelect($c);
     
     $c->add(AreaPeer::DISTRICTS_ID, $id);
     
     $c = new Criteria();
     
     sfContext::getInstance()->getConfiguration()->loadHelpers(array(‘form’, ‘tag’));
     
  private function getAreasByDistrict($id) {

  }
           );
           call_user_func(array($this, $request->getParameter(‘method’)), $request->getParameter(‘DistrictId’))
        $this->renderText(
     return
     
     $this->getResponse()->setHttpHeader(‘Content-Type’,'text/javascript’);
     
     $this->setTemplate(‘blank’);
     $this->forward404Unless($request->isXmlHttpRequest());
  public function executeAjax($request) {
 

{
class searchActions extends sfActionsSelect allCode:

The whole thing works perfectly with FF but when ran with IE it fails with the error i mentioned above.

Can anyone advice on this issue?


Related posts:

  1. Problem to download a file in IE
  2. Problem with integrated Ajax-Function
  3. Symfony and Doctrine select query doesn’t work properly

U-Boats & Kiel Canal

Advertising Page - 6 February 2012 - 11:49pm

How long was the Kiel Canal?

How deep was it?

At what speed did U-Boats travel it?

Was it safe to use throughout the war, or was there a date after which U-Boats no longer used it?

Vielen dank!

Dare Furor
<uuuUkuuu>


Related posts:

  1. U-Boats at Lisahally 1945-1949
  2. U-Boats in Bermuda Triangle?
  3. U-Boats in September 1939

Are these photos of U-boats under construction

Advertising Page - 6 February 2012 - 11:49pm

Hello all I have had these photos for a while and they come from one soldier. I feel these are French as they are amoungst his photos of the western campaign. Any help are thoughts would be greatly appreciated. Thanks! Mike


Related posts:

  1. I search photos of U 519 and U 525
  2. Hitler portrait photos
  3. Panoramic Photos?

The mascot of U-953

Advertising Page - 6 February 2012 - 11:49pm

Hi to all


Peter the cat mascot of the U-953 in the Pallice in the end of one patrols

From Here
http://www.thelongestpatrol.com/u-953.html


Related posts:

  1. Hitler almost drowned as a child?

I search photos of U 519 and U 525

Advertising Page - 6 February 2012 - 11:48pm

Gentlemen’s,
I search for any photos of boats U 519 and U 525 and their captains (Kptlt. Günther Eppen und Kptlt. Hans-Joachim Drewitz).
Probably, somebody has in archive these photos?
Thanks.
Igor.


Related posts:

  1. Hitler portrait photos
  2. Lucene Search Fields
  3. Panoramic Photos?

Rolf Dau of U 42

Advertising Page - 6 February 2012 - 11:48pm

If Rolf Dau was captured when U 42 was sunk in 1939, how did he manage two promotions while in captivity, as listed on the u-boat.net page? http://www.uboat.net/men/commanders/189.html


Related posts:

  1. Questions about U 534
  2. The U 109. A brief story.
  3. U-864 will be raised

Fieseler Fi 167

Advertising Page - 6 February 2012 - 11:47pm

http://en.wikipedia.org/wiki/Fieseler_Fi_167
How would this have stacked up as a land based torpedo bomber for the Germans?


Related posts:

  1. Temple Area of Glasgow
  2. How to Value Land
  3. Channel Mixer

Germany’s potential supersonic design

Advertising Page - 6 February 2012 - 11:47pm

Hi, my first post. I’m interested which designs from all of these from luft46 site have supersonic potential. Aside from Ho-13B.http://www.luft46.com/horten/ho13b.html Take all engines into consideration including Jumo 004H, and make an ideal top speed candidate. Though obviously some of these look good when it comes to top speed but also might suffer in maneuverability, so if one adds a good “dog-fighter” prerequisite, list would get shortened.


No related posts.

Different German Air Strategy 1940

Advertising Page - 4 February 2012 - 2:57pm

Lets say that Goering actually bothers to consult with Raeder on how best to bring Britain down and together they proposes an alternative to the obviously unworkable Sea Lion Plan to Hitler and convince him its the best way to knock out Britain with minimal loss of German lives.

The plan works on the fact that Britain as an Island must import most of its food, raw materials, etc, for its factories by ship and this is Britain’s Achilles Heel, shipping.

The strategy:

Ascertain the most important ports and subject them to nightly bombing by He-111s.

Stukas with Bf-109 escort shall prowl the channel to deny shipping.

Submarines with Ju-88s, and FW-200s will roam the sea lanes and attack all merchant shipping heading to Britain, with priority going to fuel tankers. Kriegsmarine vessels shall assist in any way possible.

Weapons:

….


Related posts:

  1. German tank Neubaufahrzeug (NbFz) info

Northrop N-3PB

Advertising Page - 4 February 2012 - 2:56pm

A couple of photos for your pleasure. The N-3PB wasn’t the greatest patrol bomber of WWII, but it sure was the best looking. It has something of the same symbolic flair in Norway the Spitfire has in the UK, probably because it was only used by a Norwegian manned squadron, originally ordered by the Norwegian Navy, but delivered too late for Norwegian service and placed under the control of Coastal Command, operating from Iceland. A rare bird, this is the only one left.



Related posts:

  1. Info on U 874 and U 875
  2. U-864 will be raised
  3. A380 tyre-burst accident

German tank Neubaufahrzeug (NbFz) info

Advertising Page - 4 February 2012 - 2:56pm

Hi at All,
I search books or other references that show me if this tank can fire simultaneously or not with your gun.
I think that it’s possible but I need a confirmation.

Can You help me ?

Thanks from Italy !


Davide “Mr. Clark” Botta
http://www.icsm.it – Military History


Related posts:

  1. WWII Tank development survey.
  2. Info on U 874 and U 875
  3. Tank Of The Week #11,Chech LT-35

Chevrolet Type C15A CMP

Advertising Page - 4 February 2012 - 2:55pm

Ok, so this Canadian-built workhorse of the British army was given an interesting feature for service in the African desert – a front windscreen that leaned inwards.

This was a deliberate feature to prevent the sun glinting off the windscreen and thus alerting enemy troops to the vehicle’s existance.
My question is – was this innovation ever copied in other service vehicles (either in or after WW2), and if not, why not?


Related posts:

  1. WWII Tank development survey.
  2. Tiger with 2 lateral boxes 250003
  3. Da Vinci Code Mistake??

Soviet BA-6 interior?

Advertising Page - 4 February 2012 - 2:55pm

I just got UM 1/72 BA-6 armoured car kit No.318. It is a good model with some problems most notably with missing rivets on the body and turret.

Since i’m sucker for interiors i need some pic’s of it’s interior. My intention is to open the turret, side doors and possibly engine compartment (model has a very rudementray engine block without other details). All i found in this regard is BA-3 and BA-3M interior on which BA-6 was based. Since turret is identical to T-26 and BA-3 i only need the details of body interior. What i’m asking here is basicly:
Did interior of BA-6 much differ from interior of BA-3?

BA-3 & BA-3M interior info i managed to find:
http://rkkaww2.armchairgeneral.com/galleries/armored_cars/BA_3.htm

My intention is this one (still under consideration as there is a good number of interesting camos):
BA-6 from the 1st Recon Battalion /1st Tank Division/1st Mechcorps. The North-western Front. Krasnogvardeysk (Gatchina) region, August 1941:

big pic:
http://rkkaww2.armchairgeneral.com/galleries/armored_cars/BA_6/BA_6_pic3.jpg


Related posts:

  1. Tank of the Month #2 – The Soviet T-20 and ZiS-30
  2. Tiger with 2 lateral boxes 250003
  3. PST Soviet 1/72 122mm howitzer M-30

Tank of the Month #2 – The Soviet T-20 and ZiS-30

Advertising Page - 4 February 2012 - 2:54pm

Slightly delayed, this month’s Tank of the Month follows the same concept as last month’s 7TP.

The T-20 armoured artillery tractor (also known as Komsomolets) was a light (3,5 ton) armoured tractor build early in the war. The T-20 only had a machine gun, however, it also was used to build the ZiS-30, an open-topped tank destroyer, mounting a 57 mm anti-tank gun.


T-20


ZiS-30


Related posts:

  1. Tank MkVI
  2. Largest Guns on a WW2 Tank
  3. M-3 Stuart tank serial number

Largest Guns on a WW2 Tank

Advertising Page - 4 February 2012 - 2:53pm

Hi guys, just wondering if you can help me out!

I have for quite a while thought that the Largest Gun fitted to any Tank in WW2 was the 128CM gun fitted to the JagdTiger. Closely followed by the JS2 at a huge 122CM.

However watching a programme on the KV series of tanks I was reminded the the KV2 was armed with a huge, sorry……HUGE 152CM gun!

I have read quite a few publications that have stated the the gun on the JagdTiger was the biggest fitted to any tank. But this can’t be the case, can it?

Am I getting something wrong here?


Related posts:

  1. Tank MkVI
  2. M-3 Stuart tank serial number
  3. WWII Tank Engines – The Ford GAA?

WWII Tank development survey.

Advertising Page - 4 February 2012 - 2:53pm

Hi, basically I am doing a major project for my last year of school on ‘The development of tanks during WWII’ and I have to conduct a survey. I figured the best results would be from a forum such as this as it has an array of people from different countries of different ages and knowledge levels. So if you could take the time to answer the questions in lots or little detail it would be greatly appreciated. Thanks heaps.

I have set up a online survey form here: https://spreadsheets.google.com/embedde … dHRlZmc6MQ
or just copy past the questions below with a reply.

How has the technology that was developed and applied to land combat vehicles during WWII influenced the vehicles (both military and commercial) we have today?


How were the combat vehicles developed by the countries involved in WWII different, and how did these differences account for their success. Was this success due to the design or the amount of vehicles produced? (eg. Heavy Tanks)


How did tank prototypes designed during the war influence the development of military vehicles in the future?


Why did Germany’s production numbers decrease towards the end of the war and what do you think the reasons were for that?


In relation to the previous question do you think had Germany been able to keep up production of their tanks could they have won the war or at the least been able to successfully defend themselves?


Oh and if I have posted this in the wrong place feel free to move it to where it needs to go. Thanks again.


Related posts:

  1. WWII shotguns
  2. WWII Tank Engines – The Ford GAA?
  3. Japan and the Sub-Machine Gun in WWII?

How to Copy/Backup a DVD to Your Mac?

Advertising Page - 4 February 2012 - 2:51pm

DVD Copy Mac is a powerful DVD copy software for Mac users, which helps copy DVD movie (D5 to D5, D9 to D9) with the entire movie in 1:1 ratio perfectly. It can also compress DVD-9 (dual-layer DVD) to one DVD-5 disc with high quality.

Worried about children scratching your favorite DVD movie disc? Want to play your treasured movie again and again without damage the original DVD disc? Try this powerful and handy Copy DVD on Mac. It is able to copy DVD to DVD, you can choose to backup DVD to ISO file or DVD folder on your computer or directly burn DVD to a blank DVD disc.

DVD Copy Mac has an intuitive interface, it lets you copy DVD movies to new DVD disc or backup DVD to PC with a few clicks. And Mac DVD Copy does no harm to the original DVD disc. DVD copy Mac is such an tool that can copy DVD on Mac to DVD, to computers or to devices with perfect output quality and high speed. It can also compress DVD-9 (dual-layer DVD) to one DVD-5 disc. It is a very useful and convenient tool. Now let me give you a show of how to use DVD Copy Mac.
….


Related posts:

  1. Online Backup
  2. How to Convert DVD to MPEG Mac
  3. Digital Download of PC Pro

How to burn avi to dvd on Mac OS X?

Advertising Page - 4 February 2012 - 2:50pm

I just want to enjoy my favorite AVI files With my portable players, but failed. I heard the burner of AVI to DVD Mac is the best choice, then how to burn DVD from AVI Mac os x? Free download thr AVI to DVD Mac, and then refer the following guide.

The AVI to DVD Mac is a professional but easy to use burn software, which not only can convert and burn AVI to DVD but also can convert other popular formats to DVD on Mac, such a DVD from s MPA, ASF, DIF, H261, YUV, NUT and so on. It’s so powerful, let’s free download and learn how to burnAVI Mac OS X.

AVI to DVD Mac,How to burn DVD from AVI Mac os x,DivX to DVD Converter Mac,MPEG to DVD Converter for Mac,VOB to DVD Converter for Mac,MOV to DVD Converter for Mac,M4V to DVD Converter for Mac,MP4 to DVD Converter for Mac

How to burn DVD from AVI Mac OS X:

Whether you want to convert AVI to DVD, MP4 to DVD, MPG to DVD, MOV to DVD, 3GP to DVD, FLV to DVD, VOB to DVD, DAT to DVD, TS to DVD, TP to DVD, TRP to DVD, M2TS to DVD, or burn DVD , the convert AVI to DVD for Mac can realize your dream.

How useful and easy-to-use! If you have any questions in how to Burn DVD from AVi Mac OS X, why not free download the powerful AVI to DVD Mac and refer the guide “How to Burn DVD from AVI Mac OS X?

….


Related posts:

  1. How to Convert DVD to MPEG Mac
  2. How to Convert DVD to MKV Mac
  3. How to Convert M4V Files to MP4?