Ir para o conteúdo

 Voltar a Ginga-NCL Vi...
Tela cheia

importNCL pelo canal de retorno

30 de Setembro de 2010, 20:54 , por Desconhecido - | Ninguém seguindo este artigo por enquanto.
Visualizado 20 vezes

Boa noite pessoal,

estou começando a desenvolver no Ginga e estou com várias dúvidas com relação ao canal de retorno. Abaixo segue um arquivo NCL que desenvolvi, nele utilizo dois importNCL, um para baixar o arquivo e outro para utiliza-lo.  Gostaria de saber se é possível fazer somente um importNCL.

 

<?xml version="1.0" encoding="ISO-8859-1"?>

<ncl id="GarbesTV" xmlns="http://www.ncl.org.br/NCL3.0/EDTVProfile">

<head>

<connectorBase>

<causalConnector id="onBeginStart">

<simpleCondition role="onBegin"/>

<simpleAction role="start" max="unbounded"/>

</causalConnector>

</connectorBase>

<importedDocumentBase>

       <importNCL documentURI="http://www.bolaodageral.com.br/AAAD.ncl" alias="tempIndex"/>

       <importNCL documentURI="AAAD.ncl" alias="index"/>

<importNCL documentURI="http://www.bolaodageral.com.br/AAAD.lua" alias="tempIndexLua"/>

</importedDocumentBase>

</head>


<body>

<context id="indexContext" refer="index#AAAD"/>

<port id="pIndex" component="indexMain"/>

<media id="indexMain" src="AAAD.lua"/>

<link xconnector="onBeginStart">

<bind role="onBegin" component="indexMain"/>

<bind role="start"   component="indexContext"/>

</link>

</body>

</ncl>

 

Autor: Sílvio Garbes


1Um comentário

  • B7e564e309b5980aaea0c33579eed768?only path=false&size=50&d=404Sílvio Garbes(usuário não autenticado)
    5 de Outubro de 2010, 21:20

     

    Abaixo segue as mensagens do shell: ⁞InputManager::initializeInputIntervalTime imperative = '0' declarative = '200'ginga main() NCLFILE = /misc/ncl30/GarbesTV/GarbesTV.nclPresentationEngineManager::openNclFile document process time: 0FormatterMediator::printData(0x807a3a8) baseId: -1 playerId: /misc/ncl30/GarbesTV/GarbesTV.ncl devClass: 0 x: 0 y: 0 w: 640 h: 480 enableGfx: 1 parentDocId:  docId: (!) Direct/Interface: Unable to dlopen `/usr/local/lib/directfb-1.4-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_pnm.so'!    --> /usr/local/lib/directfb-1.4-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_pnm.so: undefined symbol: direct_config(!) Direct/Interface: Unable to dlopen `/usr/local/lib/directfb-1.4-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_bmp.so'!    --> /usr/local/lib/directfb-1.4-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_bmp.so: undefined symbol: direct_config(*) Direct/Interface: Loaded 'PNG' implementation of 'IDirectFBImageProvider'.ComponentManager::releaseComponentFromObject 'ImageProvider'BroadcastSocketService::buildClientAddress Warning! can't bind socket (ret == -1)PresentationContext::initializeSystemValues PresentationContext::getPropertyValue prop 'default.focusBorderColor' == 'blue'PresentationContext::getPropertyValue prop 'default.focusBorderWidth' == '3'PresentationContext::getPropertyValue prop 'default.selBorderColor' == 'green'FormatterFocusManager::setKeyHandler(0x8228920) isHandler '1' this->isHandler '0' parentManager '0'FormatterMediator::FormatterMediator(0x807a3a8) isEmbedded = '0'CurlInteractiveChannel::setSourceTarget creating '/misc/ncl30/GarbesTV/' local pathRESERVE 'http://www.bolaodageral.com.br/AAAD.ncl'CurlInteractiveChannel::performUrl 'http://www.bolaodageral.com.br/AAAD.ncl'(*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.ComponentManager::releaseComponentFromObject 'FontProvider'ComponentManager::releaseComponentFromObject 'FontProvider'CurlInteractiveChannel::performUrl 'http://www.bolaodageral.com.br/AAAD.ncl' all done, notifying listenersCurlInteractiveChannel::positiveResponse received code is '200' for 'http://www.bolaodageral.com.br/AAAD.ncl'CurlInteractiveChannel::setSourceTarget creating '/misc/ncl30/GarbesTV/' local pathRESERVE 'http://www.bolaodageral.com.br/AAAD.lua'CurlInteractiveChannel::performUrl 'http://www.bolaodageral.com.br/AAAD.lua'ComponentManager::releaseComponentFromObject 'FontProvider'ComponentManager::releaseComponentFromObject 'FontProvider'CurlInteractiveChannel::performUrl 'http://www.bolaodageral.com.br/AAAD.lua' all done, notifying listenersCurlInteractiveChannel::positiveResponse received code is '200' for 'http://www.bolaodageral.com.br/AAAD.lua'Fatal Error at file "", line 0, column 0   Message: An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=/http:/www.bolaodageral.com.br/AAAD.nclParsing /http:/www.bolaodageral.com.br/AAAD.ncl error count: 1NclLinkingConverter::createBind FOUND GOT 'get'NclLinkingConverter::createBind FOUND GOT 'get'Fatal Error at file "", line 0, column 0   Message: An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=/http:/www.bolaodageral.com.br/AAAD.luaParsing /http:/www.bolaodageral.com.br/AAAD.lua error count: 1TimeStamp: 7.444ComponentManager::releaseComponentFromObject 'NclDocumentConverter'PrivateBaseContext::addDocument id='GarbesTV' url='/misc/ncl30/GarbesTV/GarbesTV.ncl' all doneComponentManager::releaseComponentFromObject 'FontProvider'ComponentManager::releaseComponentFromObject 'ImageProvider'

Concurso ITU-T de Aplicações para IPTV 2012

13 de Agosto de 2012, 19:38, por Desconhecido

Gostaríamos de lembrar aos possíveis interessados que o prazo de registro para participação no Concurso ITU-T de Aplicações para IPTV 2012 (IPTV Application Challenge) se encerra nesta semana, dia 15 de agosto de 2012. Já o prazo para a submissão de aplicações se encerra no dia 07 de setembro de 2012.



NCL Eclipse 1.6 disponível

10 de Janeiro de 2012, 21:19, por Desconhecido

Caros membros da Comunidade Ginga,



Concursos de Aplicações Ginga-NCL

22 de Setembro de 2011, 3:22, por Desconhecido

    Gostaríamos de relembra-los de que há dois concursos de aplicações Ginga-NCL com inscrições ainda abertas. O convite é aberto a toda a comunidade de desenvolvedores de aplicações para o Middleware Ginga-NCL, em nível internacional. São os seguintes concursos:



Novas versões: Ginga e Ginga-NCL Virtual Set-top Box (v.0.12.3)

1 de Agosto de 2011, 20:58, por Desconhecido



Algumas Boas Notícias da Comunidade Ginga

28 de Julho de 2011, 21:31, por Desconhecido

Autor: Roberto Azevedo