Changeset 1007
- Timestamp:
- 11/08/07 20:25:36 (8 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/service/jsonrpc/stubJsonRpcProcessor.php
r984 r1007 342 342 } 343 343 344 $binder = stubRegistry::get( 'net.stubbles.ioc.stubBinder');344 $binder = stubRegistry::get(stubBinder::REGISTRY_KEY); 345 345 if (($binder instanceof stubBinder) === false) { 346 346 throw new stubRuntimeException('No instance of net.stubbles.ioc.stubBinder in registry.'); trunk/src/main/php/net/stubbles/websites/xml/stubXMLProcessor.php
r957 r1007 56 56 $formValues = array(); 57 57 58 if (stubRegistry::has( 'net.stubbles.ioc.stubBinder')) {59 $injector = stubRegistry::get( 'net.stubbles.ioc.stubBinder')->getInjector();58 if (stubRegistry::has(stubBinder::REGISTRY_KEY)) { 59 $injector = stubRegistry::get(stubBinder::REGISTRY_KEY)->getInjector(); 60 60 } else { 61 61 $injector = null; … … 67 67 $injector->handleInjections($element); 68 68 } 69 69 70 70 if ($element->isAvailable($prefixRequest, $this->session, $this->response) == false) { 71 71 continue; 72 72 } 73 73 74 74 $data = $element->process($prefixRequest, $this->session, $this->response); 75 75 if ($prefixRequest->isCancelled() === true) { 76 76 return; 77 77 } 78 78 79 79 $xmlSerializer->serialize($data, $xmlStreamWriter, array(stubXMLSerializer::OPT_ROOT_TAG => $name)); 80 80 if ($element instanceof stubXMLPageElement) {
