Re: OptionsPage for my extension

2013-09-06 Thread Rajath Shashidhara
Hello,

My options page GUI doesn't show up If I include the value of the the
handler in xcu file.
If I make it blank, the GUI is shown. What is the problem with my
OptionsPageHandler?

It works if:
 
doesn't work for this:
 org.apache.aoo.cmisucp.dialog.OptionsPageDialogHandler


On Fri, Sep 6, 2013 at 1:29 PM, Rajath Shashidhara <
rajaths.raja...@gmail.com> wrote:

> Finally found the mistake.
>
> The configuration file entry was missing from the manifest file.
>



-- 
Rajath S,
M.Sc(Hons.) Physics, B.E.(Hons.) Computer Science
Birla Institute of Technology and Science - Pilani,
Pilani


Re: OptionsPage for my extension

2013-09-06 Thread Rajath Shashidhara
Finally found the mistake.

The configuration file entry was missing from the manifest file.


Re: OptionsPage for my extension

2013-09-06 Thread Rajath Shashidhara
Hello Jurgen,

I am not even receiving the "Options" button on the extension.
How can I debug?

Only If I click that "Options" Button, I'll be able to construct the
EventHandler after which I can debug.
Right?


On Fri, Sep 6, 2013 at 12:06 PM, Rajath Shashidhara <
rajaths.raja...@gmail.com> wrote:

> Hello Tsutomu,
>
> That did not work.
>
> This is my configuration file:
>
> 
>  oor:package="org.openoffice.Office" xmlns:oor="
> http://openoffice.org/2001/registry"; xmlns:xs="
> http://www.w3.org/2001/XMLSchema";>
> 
>  oor:op="fuse">
> 
> CMIS UCP Options
> 
> 
> true
> 
> 
>
> %origin%/../../../../../../dialogs/CMISUCPOptionsPage.xdl
> 
> 
>  oor:op="fuse">
>  oor:name="Id">org.apache.aoo.cmisucp.CMISContentProvider
> CMIS
> UCP Options
>  oor:name="OptionsPage">%origin%/../../../../../../dialogs/CMISUCPOptionsPage.xdl
>  oor:name="EventHandlerService">org.apache.aoo.cmisucp.dialog.OptionsDialogHandler
> 
> 
> 
> 
> 
>
> I have stored this as OptionsDialog.xcu in
> registry/data/org/openoffice/Office.
>
> My Extension identifier is :
> org.apache.aoo.cmisucp.CMISContentProvider
>
>
> On Fri, Sep 6, 2013 at 10:55 AM, Tsutomu Uchino wrote:
>
>> Hello,
>>
>> Id of the Leave of your OptionDialog setting should be the same with your
>> extension identifier.
>>
>> Regards
>>
>>
>> 2013/9/6 Rajath Shashidhara 
>>
>> > Hello,
>> >
>> > I'm not getting the "Options" Button for my extension on the extension
>> > manager.
>> > WHere am I going wrong?
>> >
>> >
>> > --
>> > Rajath S,
>> > M.Sc(Hons.) Physics, B.E.(Hons.) Computer Science
>> > Birla Institute of Technology and Science - Pilani,
>> > Pilani
>> >
>>
>
>
>
> --
> Rajath S,
> M.Sc(Hons.) Physics, B.E.(Hons.) Computer Science
> Birla Institute of Technology and Science - Pilani,
> Pilani
>



-- 
Rajath S,
M.Sc(Hons.) Physics, B.E.(Hons.) Computer Science
Birla Institute of Technology and Science - Pilani,
Pilani


Re: OptionsPage for my extension

2013-09-05 Thread Rajath Shashidhara
Hello Tsutomu,

That did not work.

This is my configuration file:


http://openoffice.org/2001/registry"; xmlns:xs="
http://www.w3.org/2001/XMLSchema";>



CMIS UCP Options


true



%origin%/../../../../../../dialogs/CMISUCPOptionsPage.xdl



org.apache.aoo.cmisucp.CMISContentProvider
CMIS UCP
Options
%origin%/../../../../../../dialogs/CMISUCPOptionsPage.xdl
org.apache.aoo.cmisucp.dialog.OptionsDialogHandler






I have stored this as OptionsDialog.xcu in
registry/data/org/openoffice/Office.

My Extension identifier is :
org.apache.aoo.cmisucp.CMISContentProvider


On Fri, Sep 6, 2013 at 10:55 AM, Tsutomu Uchino wrote:

> Hello,
>
> Id of the Leave of your OptionDialog setting should be the same with your
> extension identifier.
>
> Regards
>
>
> 2013/9/6 Rajath Shashidhara 
>
> > Hello,
> >
> > I'm not getting the "Options" Button for my extension on the extension
> > manager.
> > WHere am I going wrong?
> >
> >
> > --
> > Rajath S,
> > M.Sc(Hons.) Physics, B.E.(Hons.) Computer Science
> > Birla Institute of Technology and Science - Pilani,
> > Pilani
> >
>



-- 
Rajath S,
M.Sc(Hons.) Physics, B.E.(Hons.) Computer Science
Birla Institute of Technology and Science - Pilani,
Pilani


Re: OptionsPage for my extension

2013-09-05 Thread Tsutomu Uchino
Hello,

Id of the Leave of your OptionDialog setting should be the same with your
extension identifier.

Regards


2013/9/6 Rajath Shashidhara 

> Hello,
>
> I'm not getting the "Options" Button for my extension on the extension
> manager.
> WHere am I going wrong?
>
>
> --
> Rajath S,
> M.Sc(Hons.) Physics, B.E.(Hons.) Computer Science
> Birla Institute of Technology and Science - Pilani,
> Pilani
>


Re: OptionsPage for my extension

2013-09-05 Thread Rajath Shashidhara
Hello Jurgen,

I have been debugging the checkin and checkout feature.

Yes.. I used the example provided by you to write the xcu file.
I'll have to debug it more.


On Fri, Sep 6, 2013 at 10:40 AM, Jürgen Schmidt wrote:

> On 9/6/13 6:20 AM, Rajath Shashidhara wrote:
> > Hello,
> >
> > I'm not getting the "Options" Button for my extension on the extension
> > manager.
> > WHere am I going wrong?
>
> I gave you an example for an option page and without more information it
> is not possible to say what's going wrong.
>
> Check the config files if you use the correct extension identifier. Have
> you debugged your code already? If the entry points are correct you
> should at least be able to debug your constructor. Maybe some
> initialization gos wrong but this can checked by debugging.
>
> I am busy with the next snapshot and have limited time to dive in your
> code.
>
>
> Juergen
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>


-- 
Rajath S,
M.Sc(Hons.) Physics, B.E.(Hons.) Computer Science
Birla Institute of Technology and Science - Pilani,
Pilani


Re: OptionsPage for my extension

2013-09-05 Thread Jürgen Schmidt
On 9/6/13 6:20 AM, Rajath Shashidhara wrote:
> Hello,
> 
> I'm not getting the "Options" Button for my extension on the extension
> manager.
> WHere am I going wrong?

I gave you an example for an option page and without more information it
is not possible to say what's going wrong.

Check the config files if you use the correct extension identifier. Have
you debugged your code already? If the entry points are correct you
should at least be able to debug your constructor. Maybe some
initialization gos wrong but this can checked by debugging.

I am busy with the next snapshot and have limited time to dive in your
code.


Juergen

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



OptionsPage for my extension

2013-09-05 Thread Rajath Shashidhara
Hello,

I'm not getting the "Options" Button for my extension on the extension
manager.
WHere am I going wrong?


-- 
Rajath S,
M.Sc(Hons.) Physics, B.E.(Hons.) Computer Science
Birla Institute of Technology and Science - Pilani,
Pilani