Error in new version

View: New views
9 Messages — Rating Filter:   Alert me  

Error in new version

by Jolle Carlestam-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I get an error when trying to display a grid. It's when trying the new  
(ninefied version).

This error pops up:
No tag, type or constant was defined under the name pair->removeall  
with arguments: array: (-path)
at: url with params: -path='images/imageedit', '-
keyvalue'='###keyvalue###', -autoparams, -except=array: (-path)

And I've tracked to this code piece (I think):
                if(#nav -> isa('nav'));
                        iterate(#fields, #field);
                                if((#field -> find('url')) != '');
                                        #url = (#field -> find('url'));
                                        #keyparamname = (#field -> find('keyparamname'));
                                        #field -> insert('url_cached' = (#nav -> url(-path = #url,
                                                #keyparamname = '###keyvalue###',
                                                -autoparams,
                                                -except = array('-path'))));
                                /if;
                        /iterate;
                /if;

For the life of me I don't know what to change.

HDB
Jolle

--
#############################################################
This message is sent to you because you are subscribed to
the mailing list <knop@...>.
To unsubscribe, E-mail to: <knop-off@...>
Send administrative queries to  <knop-request@...>
List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
Project homepage http://montania.se/projects/knop/
Google Code has the latest downloads at http://code.google.com/p/knop/

Re: Error in new version

by Steve Piercy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Does it all work under 8.5?

I noticed that you quote -keyvalue, but not the other param
names.  Maybe that is the problem?

--steve


On 10/8/09 at 10:53 PM, list@... (Jolle Carlestam) pronounced:

>I get an error when trying to display a grid. It's when trying
>the new (ninefied version).
>
>This error pops up:
>No tag, type or constant was defined under the name
>pair->removeall with arguments: array: (-path)
>at: url with params: -path='images/imageedit',
>'-keyvalue'='###keyvalue###', -autoparams, -except=array: (-path)
>
>And I've tracked to this code piece (I think):
>if(#nav -> isa('nav'));
>iterate(#fields, #field);
>if((#field -> find('url')) != '');
>#url = (#field -> find('url'));
>#keyparamname = (#field -> find('keyparamname'));
>#field -> insert('url_cached' = (#nav -> url(-path = #url,
>#keyparamname = '###keyvalue###',
>-autoparams,
>-except = array('-path'))));
>/if;
>/iterate;
>/if;
>
>For the life of me I don't know what to change.
>
>HDB
>Jolle
>

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Steve Piercy               Web Site Builder              
Soquel, CA
<web@...>                  <http://www.StevePiercy.com/>


--
#############################################################
This message is sent to you because you are subscribed to
the mailing list <knop@...>.
To unsubscribe, E-mail to: <knop-off@...>
Send administrative queries to  <knop-request@...>
List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
Project homepage http://montania.se/projects/knop/
Google Code has the latest downloads at http://code.google.com/p/knop/

Re: Error in new version

by Jolle Carlestam-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is tested on 8.5. Figure I'd make sure it works there before I go  
for nine.
I don't quote anything. That's how it's presented in the error  
message. It's Knop who does the quoting.

Suspect that it's part of the ninefication. It's not like that in the  
working version.
I have tested the same page with exchanging the non-working new  
version of grid type with an old working so I'm pretty sure the error  
is in the grid somewhere.

HDB
Jolle

8 okt 2009 kl. 23.00 skrev Steve Piercy - Web Site Builder:

> Does it all work under 8.5?
>
> I noticed that you quote -keyvalue, but not the other param
> names.  Maybe that is the problem?
>
> --steve
>
>
> On 10/8/09 at 10:53 PM, list@... (Jolle Carlestam)  
> pronounced:
>
>> I get an error when trying to display a grid. It's when trying
>> the new (ninefied version).
>>
>> This error pops up:
>> No tag, type or constant was defined under the name
>> pair->removeall with arguments: array: (-path)
>> at: url with params: -path='images/imageedit',
>> '-keyvalue'='###keyvalue###', -autoparams, -except=array: (-path)
>>
>> And I've tracked to this code piece (I think):
>> if(#nav -> isa('nav'));
>> iterate(#fields, #field);
>> if((#field -> find('url')) != '');
>> #url = (#field -> find('url'));
>> #keyparamname = (#field -> find('keyparamname'));
>> #field -> insert('url_cached' = (#nav -> url(-path = #url,
>> #keyparamname = '###keyvalue###',
>> -autoparams,
>> -except = array('-path'))));
>> /if;
>> /iterate;
>> /if;
>>
>> For the life of me I don't know what to change.
>>
>> HDB
>> Jolle
>>
>
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> -- --
> Steve Piercy               Web Site Builder
> Soquel, CA
> <web@...>                  <http://www.StevePiercy.com/>
>
>
> --
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list <knop@...>.
> To unsubscribe, E-mail to: <knop-off@...>
> Send administrative queries to  <knop-request@...>
> List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
> Project homepage http://montania.se/projects/knop/
> Google Code has the latest downloads at http://code.google.com/p/knop/


--
#############################################################
This message is sent to you because you are subscribed to
the mailing list <knop@...>.
To unsubscribe, E-mail to: <knop-off@...>
Send administrative queries to  <knop-request@...>
List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
Project homepage http://montania.se/projects/knop/
Google Code has the latest downloads at http://code.google.com/p/knop/

Re: Error in new version

by Johan Solve-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The syntax error is in the ->url member tag. You quoted the code that calls the url tag.

Btw Steve, the '-keyvalue' string comes from using a dynamic parameter name #keyparamname. I don't want to think about if that's even possible in nine yet...



At 22.53 +0200 2009-10-08, Jolle Carlestam wrote:

>I get an error when trying to display a grid. It's when trying the new (ninefied version).
>
>This error pops up:
>No tag, type or constant was defined under the name pair->removeall with arguments: array: (-path)
>at: url with params: -path='images/imageedit', '-keyvalue'='###keyvalue###', -autoparams, -except=array: (-path)
>
>And I've tracked to this code piece (I think):
> if(#nav -> isa('nav'));
> iterate(#fields, #field);
> if((#field -> find('url')) != '');
> #url = (#field -> find('url'));
> #keyparamname = (#field -> find('keyparamname'));
> #field -> insert('url_cached' = (#nav -> url(-path = #url,
> #keyparamname = '###keyvalue###',
> -autoparams,
> -except = array('-path'))));
> /if;
> /iterate;
> /if;
>
>For the life of me I don't know what to change.
>
>HDB
>Jolle
>
>--
>#############################################################
>This message is sent to you because you are subscribed to
>the mailing list <knop@...>.
>To unsubscribe, E-mail to: <knop-off@...>
>Send administrative queries to  <knop-request@...>
>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
>Project homepage http://montania.se/projects/knop/
>Google Code has the latest downloads at http://code.google.com/p/knop/


--
     Johan Sölve    [FSA Member, Lasso Partner]
     Web Application/Lasso/FileMaker Developer
     MONTANIA SOFTWARE & SOLUTIONS
http://www.montania.se   mailto:joh-n@...
 (spam-safe email address, replace '-' with 'a')

--
#############################################################
This message is sent to you because you are subscribed to
the mailing list <knop@...>.
To unsubscribe, E-mail to: <knop-off@...>
Send administrative queries to  <knop-request@...>
List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
Project homepage http://montania.se/projects/knop/
Google Code has the latest downloads at http://code.google.com/p/knop/

Re: Error in new version

by Johan Solve-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bummer, I can't find anywhere in nav->url where a pair->removeall could happen.

Could you test this with the L8 branch as well?



At 14.28 +0200 2009-10-12, Johan Solve wrote:

>The syntax error is in the ->url member tag. You quoted the code that calls the url tag.
>
>Btw Steve, the '-keyvalue' string comes from using a dynamic parameter name #keyparamname. I don't want to think about if that's even possible in nine yet...
>
>
>
>At 22.53 +0200 2009-10-08, Jolle Carlestam wrote:
>>I get an error when trying to display a grid. It's when trying the new (ninefied version).
>>
>>This error pops up:
> >No tag, type or constant was defined under the name pair->removeall with arguments: array: (-path)
>>at: url with params: -path='images/imageedit', '-keyvalue'='###keyvalue###', -autoparams, -except=array: (-path)
>>
>>And I've tracked to this code piece (I think):
>> if(#nav -> isa('nav'));
>> iterate(#fields, #field);
>> if((#field -> find('url')) != '');
>> #url = (#field -> find('url'));
>> #keyparamname = (#field -> find('keyparamname'));
>> #field -> insert('url_cached' = (#nav -> url(-path = #url,
>> #keyparamname = '###keyvalue###',
>> -autoparams,
>> -except = array('-path'))));
>> /if;
>> /iterate;
>> /if;
>>
>>For the life of me I don't know what to change.
>>
>>HDB
>>Jolle
>>
>>--
>>#############################################################
>>This message is sent to you because you are subscribed to
>>the mailing list <knop@...>.
>>To unsubscribe, E-mail to: <knop-off@...>
>>Send administrative queries to  <knop-request@...>
>>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
>>Project homepage http://montania.se/projects/knop/
>>Google Code has the latest downloads at http://code.google.com/p/knop/
>
>
>--
>     Johan Sölve    [FSA Member, Lasso Partner]
>     Web Application/Lasso/FileMaker Developer
>     MONTANIA SOFTWARE & SOLUTIONS
>http://www.montania.se   mailto:joh-n@...
> (spam-safe email address, replace '-' with 'a')
>
>--
>#############################################################
>This message is sent to you because you are subscribed to
>the mailing list <knop@...>.
>To unsubscribe, E-mail to: <knop-off@...>
>Send administrative queries to  <knop-request@...>
>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
>Project homepage http://montania.se/projects/knop/
>Google Code has the latest downloads at http://code.google.com/p/knop/


--
     Johan Sölve    [FSA Member, Lasso Partner]
     Web Application/Lasso/FileMaker Developer
     MONTANIA SOFTWARE & SOLUTIONS
http://www.montania.se   mailto:joh-n@...
 (spam-safe email address, replace '-' with 'a')

--
#############################################################
This message is sent to you because you are subscribed to
the mailing list <knop@...>.
To unsubscribe, E-mail to: <knop-off@...>
Send administrative queries to  <knop-request@...>
List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
Project homepage http://montania.se/projects/knop/
Google Code has the latest downloads at http://code.google.com/p/knop/

Re: Error in new version

by Steve Piercy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've been getting the same error now on LP8.5 with the latest version of Knop:

No tag, type or constant was defined under the name pair->removeall with arguments: array: (-path)
at: url with params: -path='discounts/edit', '-keyvalue'='###keyvalue###', -autoparams, -except=array: (-path)
at: renderlisting with params: -inlinename=@'', -xhtml=false
at: renderhtml
at: /admin/_content/cnt_discounts_list.inc on line: 2 at position: 11
at: include with params: '/admin/_content/cnt_discounts_list.inc'
at: include with params: 'content'
at: /admin/index.lhtml with params: 'discounts/list/' on line: 79 at position: 10
Error Code:   -9948



Here is what I suspect:

        define_tag: 'renderlisting', -description='Outputs just the actual record listing. Is called by renderhtml. \

<snip>
                                        #field -> insert('url_cached' = (#nav -> (url: -path=#url,
                                                #keyparamname='###keyvalue###',
                                                -autoparams,
                                                -except=(array: -path))));


I suspect the -except parameter is the pair->removeall demon.

--steve

Johan Solve-2 wrote:
Bummer, I can't find anywhere in nav->url where a pair->removeall could happen.

Could you test this with the L8 branch as well?



At 14.28 +0200 2009-10-12, Johan Solve wrote:
>The syntax error is in the ->url member tag. You quoted the code that calls the url tag.
>
>Btw Steve, the '-keyvalue' string comes from using a dynamic parameter name #keyparamname. I don't want to think about if that's even possible in nine yet...
>
>
>
>At 22.53 +0200 2009-10-08, Jolle Carlestam wrote:
>>I get an error when trying to display a grid. It's when trying the new (ninefied version).
>>
>>This error pops up:
> >No tag, type or constant was defined under the name pair->removeall with arguments: array: (-path)
>>at: url with params: -path='images/imageedit', '-keyvalue'='###keyvalue###', -autoparams, -except=array: (-path)
>>
>>And I've tracked to this code piece (I think):
>> if(#nav -> isa('nav'));
>> iterate(#fields, #field);
>> if((#field -> find('url')) != '');
>> #url = (#field -> find('url'));
>> #keyparamname = (#field -> find('keyparamname'));
>> #field -> insert('url_cached' = (#nav -> url(-path = #url,
>> #keyparamname = '###keyvalue###',
>> -autoparams,
>> -except = array('-path'))));
>> /if;
>> /iterate;
>> /if;
>>
>>For the life of me I don't know what to change.
>>
>>HDB
>>Jolle
>>
>>--
>>#############################################################
>>This message is sent to you because you are subscribed to
>>the mailing list <knop@lists.montania.se>.
>>To unsubscribe, E-mail to: <knop-off@lists.montania.se>
>>Send administrative queries to  <knop-request@lists.montania.se>
>>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
>>Project homepage http://montania.se/projects/knop/
>>Google Code has the latest downloads at http://code.google.com/p/knop/
>
>
>--
>     Johan Sölve    [FSA Member, Lasso Partner]
>     Web Application/Lasso/FileMaker Developer
>     MONTANIA SOFTWARE & SOLUTIONS
>http://www.montania.se   mailto:joh-n@montania.se
> (spam-safe email address, replace '-' with 'a')
>
>--
>#############################################################
>This message is sent to you because you are subscribed to
>the mailing list <knop@lists.montania.se>.
>To unsubscribe, E-mail to: <knop-off@lists.montania.se>
>Send administrative queries to  <knop-request@lists.montania.se>
>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
>Project homepage http://montania.se/projects/knop/
>Google Code has the latest downloads at http://code.google.com/p/knop/


--
     Johan Sölve    [FSA Member, Lasso Partner]
     Web Application/Lasso/FileMaker Developer
     MONTANIA SOFTWARE & SOLUTIONS
http://www.montania.se   mailto:joh-n@montania.se
 (spam-safe email address, replace '-' with 'a')

--
#############################################################
This message is sent to you because you are subscribed to
the mailing list <knop@lists.montania.se>.
To unsubscribe, E-mail to: <knop-off@lists.montania.se>
Send administrative queries to  <knop-request@lists.montania.se>
List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
Project homepage http://montania.se/projects/knop/
Google Code has the latest downloads at http://code.google.com/p/knop/

Parent Message unknown Re: Error in new version

by Steve Piercy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I reverted to a Knop version I downloaded on June 27, 2009, and
the grid works with the -url parameter again.

If I comment out the -url parameter on the latest Knop version,
then the grid works, but of course there is no link to edit the record.

$list -> (addfield:
         -label=$lang_ui -> code,
         -dbfield='code',
         -name='f',
//      -url='discounts/edit',
         -width=150,
         -quicksearch,
         -defaultsort);

I hope this gives a little more information to narrow down the
issue.  Let me know if I can do further testing.

--steve


On 10/29/09 at 7:29 AM, Web@... (Steve Piercy) pronounced:

>I've been getting the same error now on LP8.5 with the latest version of
>Knop:
>
>No tag, type or constant was defined under the name pair->removeall with
>arguments: array: (-path)
>at: url with params: -path='discounts/edit', '-keyvalue'='###keyvalue###',
>-autoparams, -except=array: (-path)
>at: renderlisting with params: -inlinename=@'', -xhtml=false
>at: renderhtml
>at: /admin/_content/cnt_discounts_list.inc on line: 2 at position: 11
>at: include with params: '/admin/_content/cnt_discounts_list.inc'
>at: include with params: 'content'
>at: /admin/index.lhtml with params: 'discounts/list/' on line: 79 at
>position: 10
>Error Code:   -9948
>
>
>
>Here is what I suspect:
>
>define_tag: 'renderlisting', -description='Outputs just the actual record
>listing. Is called by renderhtml. \
>
><snip>
>#field -> insert('url_cached' = (#nav -> (url: -path=#url, #keyparamname='###keyvalue###',
>-autoparams,
>-except=(array: -path))));
>
>
>I suspect the -except parameter is the pair->removeall demon.
>
>--steve
>
>
>Johan Solve-2 wrote:
>>
>>Bummer, I can't find anywhere in nav->url where a pair->removeall could
>>happen.
>>
>>Could you test this with the L8 branch as well?
>>
>>
>>
>>At 14.28 +0200 2009-10-12, Johan Solve wrote:
>>>The syntax error is in the ->url member tag. You quoted the code that
>calls the url tag.
>>>
>>>Btw Steve, the '-keyvalue' string comes from using a dynamic parameter
>name #keyparamname. I don't want to think about if that's even possible in
>nine yet...
>>>
>>>
>>>
>>>At 22.53 +0200 2009-10-08, Jolle Carlestam wrote:
>>>>I get an error when trying to display a grid. It's when trying the new
>(ninefied version).
>>>>
>>>>This error pops up:
>>> >No tag, type or constant was defined under the name pair->removeall with
>>> arguments: array: (-path)
>>>>at: url with params: -path='images/imageedit',
>'-keyvalue'='###keyvalue###', -autoparams, -except=array: (-path)
>>>>
>>>>And I've tracked to this code piece (I think):
>>>>       if(#nav -> isa('nav'));
>>>>           iterate(#fields, #field);
>>>>               if((#field -> find('url')) != '');
>>>>                   #url = (#field -> find('url'));
>>>>                   #keyparamname = (#field -> find('keyparamname'));
>>>>                   #field -> insert('url_cached' = (#nav -> url(-path = #url,
>>>>                       #keyparamname = '###keyvalue###',
>>>>                       -autoparams,
>>>>                       -except = array('-path'))));
>>>>               /if;
>>>>           /iterate;
>>>>       /if;
>>>>
>>>>For the life of me I don't know what to change.
>>>>
>>>>HDB
>>>>Jolle
>>>>
>>>>--
>>>>#############################################################
>>>>This message is sent to you because you are subscribed to
>>>>the mailing list <knop@...>.
>>>>To unsubscribe, E-mail to: <knop-off@...>
>>>>Send administrative queries to  <knop-request@...>
>>>>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
>>>>Project homepage http://montania.se/projects/knop/
>>>>Google Code has the latest downloads at http://code.google.com/p/knop/
>>>
>>>
>>>--
>>>     Johan Sölve    [FSA Member, Lasso Partner]
>>>     Web Application/Lasso/FileMaker Developer
>>>     MONTANIA SOFTWARE & SOLUTIONS
>>>http://www.montania.se   mailto:joh-n@...
>>> (spam-safe email address, replace '-' with 'a')
>>>
>>>--
>>>#############################################################
>>>This message is sent to you because you are subscribed to
>>>the mailing list <knop@...>.
>>>To unsubscribe, E-mail to: <knop-off@...>
>>>Send administrative queries to  <knop-request@...>
>>>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
>>>Project homepage http://montania.se/projects/knop/
>>>Google Code has the latest downloads at http://code.google.com/p/knop/
>>
>>
>>--
>>Johan Sölve    [FSA Member, Lasso Partner]
>>Web Application/Lasso/FileMaker Developer
>>MONTANIA SOFTWARE & SOLUTIONS
>>http://www.montania.se   mailto:joh-n@...
>>(spam-safe email address, replace '-' with 'a')
>>
>>--
>>#############################################################
>>This message is sent to you because you are subscribed to
>>the mailing list <knop@...>.
>>To unsubscribe, E-mail to: <knop-off@...>
>>Send administrative queries to  <knop-request@...>
>>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
>>Project homepage http://montania.se/projects/knop/
>>Google Code has the latest downloads at http://code.google.com/p/knop/
>>
>>
>
>--
>View this message in context: http://www.nabble.com/Error-in-new-version-tp25811453p26114161.html
>Sent from the Knop Framework Discussion mailing list archive at Nabble.com.
>
>

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Steve Piercy               Web Site Builder              
Soquel, CA
<web@...>                  <http://www.StevePiercy.com/>


--
#############################################################
This message is sent to you because you are subscribed to
the mailing list <knop@...>.
To unsubscribe, E-mail to: <knop-off@...>
Send administrative queries to  <knop-request@...>
List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
Project homepage http://montania.se/projects/knop/
Google Code has the latest downloads at http://code.google.com/p/knop/

Re: Error in new version

by Steve Piercy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Spoke too soon.

Actually even with the June 27 version, the URL gets generated
just fine, but it omits the parameter to edit the record.  When
I click the link, I go to the edit form but it is for creating a
new record.  There must be something basic I am overlooking.

--steve


On 10/29/09 at 7:55 AM, Web@... (Steve Piercy - Web
Site Builder) pronounced:

>I reverted to a Knop version I downloaded on June 27, 2009, and
>the grid works with the -url parameter again.
>
>If I comment out the -url parameter on the latest Knop version,
>then the grid works, but of course there is no link to edit the record.
>
>$list -> (addfield:
>-label=$lang_ui -> code,
>-dbfield='code',
>-name='f',
>//      -url='discounts/edit',
>-width=150,
>-quicksearch,
>-defaultsort);
>
>I hope this gives a little more information to narrow down the
>issue.  Let me know if I can do further testing.
>
>--steve
>
>
>On 10/29/09 at 7:29 AM, Web@... (Steve Piercy) pronounced:
>
>>I've been getting the same error now on LP8.5 with the latest version of
>>Knop:
>>
>>No tag, type or constant was defined under the name pair->removeall with
>>arguments: array: (-path)
>>at: url with params: -path='discounts/edit', '-keyvalue'='###keyvalue###',
>>-autoparams, -except=array: (-path)
>>at: renderlisting with params: -inlinename=@'', -xhtml=false
>>at: renderhtml
>>at: /admin/_content/cnt_discounts_list.inc on line: 2 at position: 11
>>at: include with params: '/admin/_content/cnt_discounts_list.inc'
>>at: include with params: 'content'
>>at: /admin/index.lhtml with params: 'discounts/list/' on line: 79 at
>>position: 10
>>Error Code:   -9948
>>
>>
>>
>>Here is what I suspect:
>>
>>define_tag: 'renderlisting', -description='Outputs just the actual record
>>listing. Is called by renderhtml. \
>>
>><snip>
>>#field -> insert('url_cached' = (#nav -> (url: -path=#url,
>#keyparamname='###keyvalue###',
>>-autoparams,
>>-except=(array: -path))));
>>
>>
>>I suspect the -except parameter is the pair->removeall demon.
>>
>>--steve
>>
>>
>>Johan Solve-2 wrote:
>>>
>>>Bummer, I can't find anywhere in nav->url where a pair->removeall could
>>>happen.
>>>
>>>Could you test this with the L8 branch as well?
>>>
>>>
>>>
>>>At 14.28 +0200 2009-10-12, Johan Solve wrote:
>>>>The syntax error is in the ->url member tag. You quoted the code that
>>calls the url tag.
>>>>
>>>>Btw Steve, the '-keyvalue' string comes from using a dynamic parameter
>>name #keyparamname. I don't want to think about if that's even possible in
>>nine yet...
>>>>
>>>>
>>>>
>>>>At 22.53 +0200 2009-10-08, Jolle Carlestam wrote:
>>>>>I get an error when trying to display a grid. It's when trying the new
>>(ninefied version).
>>>>>
>>>>>This error pops up:
>>>>>No tag, type or constant was defined under the name pair->removeall with
>>>>arguments: array: (-path)
>>>>>at: url with params: -path='images/imageedit',
>>'-keyvalue'='###keyvalue###', -autoparams, -except=array: (-path)
>>>>>
>>>>>And I've tracked to this code piece (I think):
>>>>>      if(#nav -> isa('nav'));
>>>>>          iterate(#fields, #field);
>>>>>              if((#field -> find('url')) != '');
>>>>>                  #url = (#field -> find('url'));
>>>>>                  #keyparamname = (#field -> find('keyparamname'));
>>>>>                  #field -> insert('url_cached' = (#nav -> url(-path = #url,
>>>>>                      #keyparamname = '###keyvalue###',
>>>>>                      -autoparams,
>>>>>                      -except = array('-path'))));
>>>>>              /if;
>>>>>          /iterate;
>>>>>      /if;
>>>>>
>>>>>For the life of me I don't know what to change.
>>>>>
>>>>>HDB
>>>>>Jolle
>>>>>
>>>>>--
>>>>>#############################################################
>>>>>This message is sent to you because you are subscribed to
>>>>>the mailing list <knop@...>.
>>>>>To unsubscribe, E-mail to: <knop-off@...>
>>>>>Send administrative queries to  <knop-request@...>
>>>>>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
>>>>>Project homepage http://montania.se/projects/knop/
>>>>>Google Code has the latest downloads at http://code.google.com/p/knop/
>>>>
>>>>
>>>>--
>>>>    Johan Sölve    [FSA Member, Lasso Partner]
>>>>    Web Application/Lasso/FileMaker Developer
>>>>    MONTANIA SOFTWARE & SOLUTIONS
>>>>http://www.montania.se   mailto:joh-n@...
>>>>(spam-safe email address, replace '-' with 'a')
>>>>
>>>>--
>>>>#############################################################
>>>>This message is sent to you because you are subscribed to
>>>>the mailing list <knop@...>.
>>>>To unsubscribe, E-mail to: <knop-off@...>
>>>>Send administrative queries to  <knop-request@...>
>>>>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
>>>>Project homepage http://montania.se/projects/knop/
>>>>Google Code has the latest downloads at http://code.google.com/p/knop/
>>>
>>>
>>>--
>>>Johan Sölve    [FSA Member, Lasso Partner]
>>>Web Application/Lasso/FileMaker Developer
>>>MONTANIA SOFTWARE & SOLUTIONS
>>>http://www.montania.se   mailto:joh-n@...
>>>(spam-safe email address, replace '-' with 'a')
>>>
>>>--
>>>#############################################################
>>>This message is sent to you because you are subscribed to
>>>the mailing list <knop@...>.
>>>To unsubscribe, E-mail to: <knop-off@...>
>>>Send administrative queries to  <knop-request@...>
>>>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
>>>Project homepage http://montania.se/projects/knop/
>>>Google Code has the latest downloads at http://code.google.com/p/knop/
>>>
>>>
>>
>>--
>>View this message in context:
>http://www.nabble.com/Error-in-new-version-tp25811453p26114161.html
>>Sent from the Knop Framework Discussion mailing list archive at Nabble.com.
>>
>>
>
>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>Steve Piercy               Web Site Builder               Soquel, CA
><web@...>                  <http://www.StevePiercy.com/>
>
>

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Steve Piercy               Web Site Builder              
Soquel, CA
<web@...>                  <http://www.StevePiercy.com/>


--
#############################################################
This message is sent to you because you are subscribed to
the mailing list <knop@...>.
To unsubscribe, E-mail to: <knop-off@...>
Send administrative queries to  <knop-request@...>
List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
Project homepage http://montania.se/projects/knop/
Google Code has the latest downloads at http://code.google.com/p/knop/

Re: Error in new version

by Steve Piercy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ignore that last one.  Forgot to define a -keyfield.

Still have the -url issue with the latest version of Knop, however.

--steve


On 10/29/09 at 8:04 AM, Web@... (Steve Piercy - Web
Site Builder) pronounced:

>Spoke too soon.
>
>Actually even with the June 27 version, the URL gets generated
>just fine, but it omits the parameter to edit the record.  When
>I click the link, I go to the edit form but it is for creating
>a new record.  There must be something basic I am overlooking.
>
>--steve
>
>
>On 10/29/09 at 7:55 AM, Web@... (Steve Piercy - Web
>Site Builder) pronounced:
>
>>I reverted to a Knop version I downloaded on June 27, 2009,
>>and the grid works with the -url parameter again.
>>
>>If I comment out the -url parameter on the latest Knop
>>version, then the grid works, but of course there is no link
>>to edit the record.
>>
>>$list -> (addfield:
>>-label=$lang_ui -> code,
>>-dbfield='code',
>>-name='f',
>>//      -url='discounts/edit',
>>-width=150,
>>-quicksearch,
>>-defaultsort);
>>
>>I hope this gives a little more information to narrow down the
>>issue.  Let me know if I can do further testing.
>>
>>--steve
>>
>>
>>On 10/29/09 at 7:29 AM, Web@... (Steve Piercy) pronounced:
>>
>>>I've been getting the same error now on LP8.5 with the latest version of
>>>Knop:
>>>
>>>No tag, type or constant was defined under the name pair->removeall with
>>>arguments: array: (-path)
>>>at: url with params: -path='discounts/edit', '-keyvalue'='###keyvalue###',
>>>-autoparams, -except=array: (-path)
>>>at: renderlisting with params: -inlinename=@'', -xhtml=false
>>>at: renderhtml
>>>at: /admin/_content/cnt_discounts_list.inc on line: 2 at position: 11
>>>at: include with params: '/admin/_content/cnt_discounts_list.inc'
>>>at: include with params: 'content'
>>>at: /admin/index.lhtml with params: 'discounts/list/' on line: 79 at
>>>position: 10
>>>Error Code:   -9948
>>>
>>>
>>>
>>>Here is what I suspect:
>>>
>>>define_tag: 'renderlisting', -description='Outputs just the actual record
>>>listing. Is called by renderhtml. \
>>>
>>><snip>
>>>#field -> insert('url_cached' = (#nav -> (url: -path=#url,
>>#keyparamname='###keyvalue###',
>>>-autoparams,
>>>-except=(array: -path))));
>>>
>>>
>>>I suspect the -except parameter is the pair->removeall demon.
>>>
>>>--steve
>>>
>>>
>>>Johan Solve-2 wrote:
>>>>
>>>>Bummer, I can't find anywhere in nav->url where a pair->removeall could
>>>>happen.
>>>>
>>>>Could you test this with the L8 branch as well?
>>>>
>>>>
>>>>
>>>>At 14.28 +0200 2009-10-12, Johan Solve wrote:
>>>>>The syntax error is in the ->url member tag. You quoted the code that
>>>calls the url tag.
>>>>>
>>>>>Btw Steve, the '-keyvalue' string comes from using a dynamic parameter
>>>name #keyparamname. I don't want to think about if that's even possible in
>>>nine yet...
>>>>>
>>>>>
>>>>>
>>>>>At 22.53 +0200 2009-10-08, Jolle Carlestam wrote:
>>>>>>I get an error when trying to display a grid. It's when trying the new
>>>(ninefied version).
>>>>>>
>>>>>>This error pops up:
>>>>>>No tag, type or constant was defined under the name pair->removeall with
>>>>>arguments: array: (-path)
>>>>>>at: url with params: -path='images/imageedit',
>>>'-keyvalue'='###keyvalue###', -autoparams, -except=array: (-path)
>>>>>>
>>>>>>And I've tracked to this code piece (I think):
>>>>>>     if(#nav -> isa('nav'));
>>>>>>         iterate(#fields, #field);
>>>>>>             if((#field -> find('url')) != '');
>>>>>>                 #url = (#field -> find('url'));
>>>>>>                 #keyparamname = (#field -> find('keyparamname'));
>>>>>>                 #field -> insert('url_cached' = (#nav -> url(-path = #url,
>>>>>>                     #keyparamname = '###keyvalue###',
>>>>>>                     -autoparams,
>>>>>>                     -except = array('-path'))));
>>>>>>             /if;
>>>>>>         /iterate;
>>>>>>     /if;
>>>>>>
>>>>>>For the life of me I don't know what to change.
>>>>>>
>>>>>>HDB
>>>>>>Jolle
>>>>>>
>>>>>>--
>>>>>>#############################################################
>>>>>>This message is sent to you because you are subscribed to
>>>>>>the mailing list <knop@...>.
>>>>>>To unsubscribe, E-mail to: <knop-off@...>
>>>>>>Send administrative queries to  <knop-request@...>
>>>>>>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
>>>>>>Project homepage http://montania.se/projects/knop/
>>>>>>Google Code has the latest downloads at http://code.google.com/p/knop/
>>>>>
>>>>>
>>>>>--
>>>>>   Johan Sölve    [FSA Member, Lasso Partner]
>>>>>   Web Application/Lasso/FileMaker Developer
>>>>>   MONTANIA SOFTWARE & SOLUTIONS
>>>>>http://www.montania.se   mailto:joh-n@...
>>>>>(spam-safe email address, replace '-' with 'a')
>>>>>
>>>>>--
>>>>>#############################################################
>>>>>This message is sent to you because you are subscribed to
>>>>>the mailing list <knop@...>.
>>>>>To unsubscribe, E-mail to: <knop-off@...>
>>>>>Send administrative queries to  <knop-request@...>
>>>>>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
>>>>>Project homepage http://montania.se/projects/knop/
>>>>>Google Code has the latest downloads at http://code.google.com/p/knop/
>>>>
>>>>
>>>>--
>>>>Johan Sölve    [FSA Member, Lasso Partner]
>>>>Web Application/Lasso/FileMaker Developer
>>>>MONTANIA SOFTWARE & SOLUTIONS
>>>>http://www.montania.se   mailto:joh-n@...
>>>>(spam-safe email address, replace '-' with 'a')
>>>>
>>>>--
>>>>#############################################################
>>>>This message is sent to you because you are subscribed to
>>>>the mailing list <knop@...>.
>>>>To unsubscribe, E-mail to: <knop-off@...>
>>>>Send administrative queries to  <knop-request@...>
>>>>List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
>>>>Project homepage http://montania.se/projects/knop/
>>>>Google Code has the latest downloads at http://code.google.com/p/knop/
>>>>
>>>>
>>>
>>>--
>>>View this message in context:
>>http://www.nabble.com/Error-in-new-version-tp25811453p26114161.html
>>>Sent from the Knop Framework Discussion mailing list archive at Nabble.com.
>>>
>>>
>>
>>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>Steve Piercy               Web Site Builder               Soquel, CA
>><web@...>                  <http://www.StevePiercy.com/>
>>
>>
>
>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>Steve Piercy               Web Site Builder               Soquel, CA
><web@...>                  <http://www.StevePiercy.com/>
>
>

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Steve Piercy               Web Site Builder              
Soquel, CA
<web@...>                  <http://www.StevePiercy.com/>


--
#############################################################
This message is sent to you because you are subscribed to
the mailing list <knop@...>.
To unsubscribe, E-mail to: <knop-off@...>
Send administrative queries to  <knop-request@...>
List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html
Project homepage http://montania.se/projects/knop/
Google Code has the latest downloads at http://code.google.com/p/knop/