Menu

#26 GET parameter list.

1.2
closed
Blady
None
2015-08-14
2015-08-02
Blady
No

Hello,

The function Gnoga.GUI.Window. Form_Parameter returns only one GET parameter of the given name:
function Form_Parameter (Window : Window_Type; Name : String)
return String;

How to get the whole parameter list of GET parameters as for POST parameters in Gnoga.Types.Data_Map_Type?
For instance parsing 3 parameters in: ?cat=42053&s=date&npk=1
So I propose to add a new parsing function.

Regards, Pascal.

Related

Tickets: #26

Discussion

  • Blady

    Blady - 2015-08-12

    Hello, I propose to put the parse function in Gnoga.Gui.Location after search function.
    function Parse (URL : in String; Encoding : String := "") return Gnoga.Types.Data_Map_Type;
    Is it ok?
    Thanks, Pascal.

     
    • David Botton

      David Botton - 2015-08-12

      Ok

      On Wed, Aug 12, 2015, 2:54 PM Blady blady-com@users.sf.net wrote:

      Hello, I propose to put the parse function in Gnoga.Gui.Location after
      search function.
      function Parse (URL : in String; Encoding : String := "") return
      Gnoga.Types.Data_Map_Type;
      Is it ok?
      Thanks, Pascal.


      Status: open
      Milestone: 1.2
      Created: Sun Aug 02, 2015 09:22 AM UTC by Blady
      Last Updated: Sun Aug 02, 2015 09:22 AM UTC
      Owner: Blady

      Hello,

      The function Gnoga.GUI.Window. Form_Parameter returns only one GET
      parameter of the given name:
      function Form_Parameter (Window : Window_Type; Name : String)
      return String;

      How to get the whole parameter list of GET parameters as for POST
      parameters in Gnoga.Types.Data_Map_Type?
      For instance parsing 3 parameters in: ?cat=42053&s=date&npk=1
      So I propose to add a new parsing function.

      Regards, Pascal.

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/gnoga/tickets/26/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #26

  • Blady

    Blady - 2015-08-13

    Parsing URL form GET parameters with encodings ISO-8859-1 (default) and UTF-8 support added with commit 84485e4.

     
  • Blady

    Blady - 2015-08-14
    • status: open --> closed
     
  • Blady

    Blady - 2015-08-14

    Support for parsing URL form GET parameters with encodings ISO-8859-1 (default) and UTF-8 added with commit 84485e4.

     

Log in to post a comment.