Custom Query (423 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (34 - 36 of 423)

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Ticket Resolution Summary Owner Reporter
#468 fixed Read of setting from windows registry Maxim Reznik Maxim Reznik
Description

This code doesn't work under windows:

with Ada.Wide_Wide_Text_IO;

with League.Application;
with League.Settings;
with League.Strings;
with League.String_Vectors;
with League.Holders;

procedure Main is

   Args : League.String_Vectors.Universal_String_Vector :=
     League.Application.Arguments;
   
   function "+"
    (Item : Wide_Wide_String) return League.Strings.Universal_String
       renames League.Strings.To_Universal_String;

begin
   --  Set organization name and domain, application name.

   League.Application.Set_Organization_Name (+"Ada Forge");
   League.Application.Set_Organization_Domain (+"forge.ada-ru.org");
   League.Application.Set_Application_Name (+"Ada Servlet Server");

   declare
      S : League.Settings.Settings;
      V : League.Holders.Holder;

   begin
      --  Setting value

      V := League.Holders.To_Holder (Args.Element (2));
      S.Set_Value (Args.Element (1), V);

      --  Getting value

      Ada.Wide_Wide_Text_IO.Put_Line
       (League.Holders.Element
         (S.Value (Args.Element (1))).To_Wide_Wide_String);
   end;
end Main;
raised CONSTRAINT_ERROR : invalid type of value

I tried with such arguments:

  • '/detabase/name' 'value'
  • 'name' 'value'
#467 fixed else and elsif in template engine Maxim Reznik Maxim Reznik
Description

I would like else and elsif instruction in XML template engine:

I propose next syntax:

<mtl:if expression="x">
  aaa
<mtl:elsif expression="x"/>
  bbb
<mtl:else/>
  ccc
</mtl:if>
#464 fixed Oracle DB driver doesn't report an error Maxim Reznik Maxim Reznik
Description

Executing statement like this:

declare
  x number;
begin
  select 1 into x from dual where 0=1;
end;

doesn't return any error.

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Note: See TracQuery for help on using queries.