Hi James,
Thanks for the tip, I managed to solve it in the end !!
Peter
James Carman wrote:
No, leave the id as "PortfoliosInterface" and just refer to it as
"com.albourne.web.PortfoliosInterface" (that would be its new,
fully-qualified id).
On 11/2/06, Peter Stavrinides <[EMAIL PROTECTED]> wrote:
Hi James,
Thanks for the response, I tried it and it throws an exception:
/"Schema and extension point ids should be simple names with no
punctuation."/
Is this what you meant?
<module id="com.albourne.web" version="1.0.0"
package="com.albourne.web">
<service-point
id="com.albourne.web.services.hfdb.PortfoliosInterface"
interface="com.albourne.web.services.hfdb.PortfoliosInterface">
<invoke-factory>
<construct class="services.hfdb.PortfoliosInterface" >
<set-service property="appStateManager"
service-id="tapestry.state.ApplicationStateManager"/>
</construct>
</invoke-factory>
</service-point>
</module>
James Carman wrote:
> Try com.albourne.web.PortfoliosInterface as the service id. It's
> fully qualified by using the module id followed by '.' and then the
> service id.
>
> On 11/2/06, Peter Stavrinides <[EMAIL PROTECTED]> wrote:
>> Hi
>>
>> I am busy upgrading a working 4.02 application to Tapestry 4.1. but I
>> would also like to change some of the namespaces, but when I do, I
break
>> the application and I can no longer find many of my service points. I
>> suspect that my packages may be incorrectly mapped, can anyone PLEASE
>> point me in the right direction:
>>
>> This is the error: /
>> "Service point com.albourne.web.services.hfdb.PortfoliosInterface
does
>> not exist."/
>>
>> .application file:
>> <application name="TestApplication"
>> engine-class="org.apache.tapestry.engine.BaseEngine">
>> <meta key="org.apache.tapestry.home-page" value="Portfolio" />
>> <meta key="org.apache.tapestry.page-class-packages"
>> value="com.albourne.web.pages"/>
>> <meta key="org.apache.tapestry.component-class-packages"
>> value="com.albourne.web.components"/>
>> <library id="Contrib"
>> specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
>> </application>
>>
>> Packages:
>> com.albourne.web.components.ui
>> com.albourne.web.pages
>> com.albourne.web.services.castle
>> com.albourne.web.services.hfdb
>> com.albourne.web.application
>> etc...
>>
>> hivemodule.xml:
>> <?xml version="1.0" encoding="UTF-8"?>
>>
>>
>> <!-- A hivemind service to supply HFDB portfolio information -->
>> <service-point id="PortfoliosInterface"
>> interface="com.albourne.web.services.hfdb.PortfoliosInterface">
>> <invoke-factory>
>> <construct class="services.hfdb.PortfoliosInterface" >
>> <set-service property="appStateManager"
>> service-id="tapestry.state.ApplicationStateManager"/>
>> </construct>
>> </invoke-factory>
>> </service-point>
>> </module>
>>
>> Thanks,
>> Peter
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
Peter Stavrinides
Albourne Partners (Cyprus) Ltd
Tel: +357 22 750652
If you are not an intended recipient of this e-mail, please notify
the sender, delete it and do not read, act upon, print, disclose,
copy, retain or redistribute it. Please visit
http://www.albourne.com/email.html for important additional terms
relating to this e-mail.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Peter Stavrinides
Albourne Partners (Cyprus) Ltd
Tel: +357 22 750652
If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Please visit http://www.albourne.com/email.html for important additional terms relating to this e-mail.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]