[oXygen-user] Read from database?
Radu Coravu
Mon Aug 15 01:41:16 CDT 2011
Hi Roderik,
You should try to run Oxygen from the command line (using "oxygen.bat"
on Windows for example) as you might receive more information in the
console. For example you can use System.err's or System.out's in your
code for some primitive debugging.
Or you can use the Apache Log4j Logging capabilities (which are also
used in our own classes) for printing debug information in the Oxygen
console.
There are probably two possibilities:
1) The code throws an unguarded exception at some point so maybe you
should also try to surround your code with:
> try{
> //YOUR CODE HERE
> }catch(Throwable t){
> t.printStackTrace();
> }
2) The code blocks or times out in an Input/Output operation over the
network.
As Oxygen is a Java application you can also debug it:
> http://www.oxygenxml.com/forum/post18565.html?hilit=debug%20oxygen#p18565
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
On 8/12/2011 11:49 AM, Roderik Dernison wrote:
> Hi,
>
> I’m trying to write a plugin to select data from a popup screen. This
> works – more or less - for static data. But when I try (with Spring and
> Hibernate) to read from a database the popup screen doesn’t show up.
>
> The first thing I tried was to make a connection in Oxygen and my data
> is shown there.
>
> How can I insert data from my database into my (Dita) document?
>
> Kind regards
>
> Roderik Dernison
>
> INL
>
>
> ------------------------------------------------------------------------
>
> ----------------------------------------------------------
> Aan dit bericht kunnen geen rechten worden ontleend.
> Het bericht is alleen bestemd voor de geadresseerde.
> Indien het bericht niet voor u is bestemd, verzoeken wij
> u dit aan ons te melden en het bericht te verwijderen.
>
> This message shall not constitute any obligations.
> This message is intended solely for the addressee.
> If you have received this message in error, please
> inform us and delete the message.
> ----------------------------------------------------------
>
>
>
> _______________________________________________
> oXygen-user mailing list
>
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
More information about the oXygen-user
mailing list