You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Adrian Grealish (JIRA)" <be...@incubator.apache.org> on 2005/01/14 21:25:16 UTC
[jira] Created: (BEEHIVE-171) Ability to add parameters to the pager query
Ability to add parameters to the pager query
--------------------------------------------
Key: BEEHIVE-171
URL: http://issues.apache.org/jira/browse/BEEHIVE-171
Project: Beehive
Type: Improvement
Components: NetUI
Versions: V1Alpha
Environment: Beehive Alpha 1.0 snapshot
Reporter: Adrian Grealish
What I need is to be able to add parameters to the pager query strings.
I have a parent child relationship where the parent record has many
children records. I have a data grid that displays all the child records given the parent record's primary key.
The page flow method, 'viewGrid', that displays the data grid checks for
the request parameter 'parentId' and then does a select * from child_table where
foreign_key_to_parent_table = <parentId>. When I click on the 'next'
link of the data grid the same page flow method, 'viewGrid', is called
again but this time without the URL encoded parameter causing the SQL
query to fail.
As a test I hard coded the parameter into the pageAction attribute (pageAction="viewGrid?testSuiteRunId=1") but his results in the mal-formed URL "...viewGrid.do?testSuiteRunId=1?netui_page=TestCaseResults~2" which
does not work.
If I manually type the correct URL (".../viewGrid.do?netui_page=TestCaseResults~2&testSuiteRunId=1") into a browser it works.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Assigned: (BEEHIVE-171) Ability to add parameters to the pager query
Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-171?page=history ]
Eddie O'Neil reassigned BEEHIVE-171:
------------------------------------
Assign To: Eddie O'Neil
> Ability to add parameters to the pager query
> --------------------------------------------
>
> Key: BEEHIVE-171
> URL: http://issues.apache.org/jira/browse/BEEHIVE-171
> Project: Beehive
> Type: Improvement
> Components: NetUI
> Versions: V1Alpha
> Environment: Beehive Alpha 1.0 snapshot
> Reporter: Adrian Grealish
> Assignee: Eddie O'Neil
>
> What I need is to be able to add parameters to the pager query strings.
>
> I have a parent child relationship where the parent record has many
> children records. I have a data grid that displays all the child records given the parent record's primary key.
> The page flow method, 'viewGrid', that displays the data grid checks for
> the request parameter 'parentId' and then does a select * from child_table where
> foreign_key_to_parent_table = <parentId>. When I click on the 'next'
> link of the data grid the same page flow method, 'viewGrid', is called
> again but this time without the URL encoded parameter causing the SQL
> query to fail.
> As a test I hard coded the parameter into the pageAction attribute (pageAction="viewGrid?testSuiteRunId=1") but his results in the mal-formed URL "...viewGrid.do?testSuiteRunId=1?netui_page=TestCaseResults~2" which
> does not work.
> If I manually type the correct URL (".../viewGrid.do?netui_page=TestCaseResults~2&testSuiteRunId=1") into a browser it works.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Assigned: (BEEHIVE-171) Ability to add parameters to the pager query
Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-171?page=history ]
Eddie O'Neil reassigned BEEHIVE-171:
------------------------------------
Assign To: Scott Symmank (was: Eddie O'Neil)
> Ability to add parameters to the pager query
> --------------------------------------------
>
> Key: BEEHIVE-171
> URL: http://issues.apache.org/jira/browse/BEEHIVE-171
> Project: Beehive
> Type: Improvement
> Components: NetUI
> Versions: V1Alpha
> Environment: Beehive Alpha 1.0 snapshot
> Reporter: Adrian Grealish
> Assignee: Scott Symmank
> Fix For: V1Beta
>
> What I need is to be able to add parameters to the pager query strings.
>
> I have a parent child relationship where the parent record has many
> children records. I have a data grid that displays all the child records given the parent record's primary key.
> The page flow method, 'viewGrid', that displays the data grid checks for
> the request parameter 'parentId' and then does a select * from child_table where
> foreign_key_to_parent_table = <parentId>. When I click on the 'next'
> link of the data grid the same page flow method, 'viewGrid', is called
> again but this time without the URL encoded parameter causing the SQL
> query to fail.
> As a test I hard coded the parameter into the pageAction attribute (pageAction="viewGrid?testSuiteRunId=1") but his results in the mal-formed URL "...viewGrid.do?testSuiteRunId=1?netui_page=TestCaseResults~2" which
> does not work.
> If I manually type the correct URL (".../viewGrid.do?netui_page=TestCaseResults~2&testSuiteRunId=1") into a browser it works.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Closed: (BEEHIVE-171) Ability to add parameters to the pager query
Posted by "Nathan Jantz (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-171?page=all ]
Nathan Jantz closed BEEHIVE-171:
--------------------------------
Assign To: Nathan Jantz (was: Scott Symmank)
This is verified to be working now. Adding it as a BVT to the datagrid paging test suite.
> Ability to add parameters to the pager query
> --------------------------------------------
>
> Key: BEEHIVE-171
> URL: http://issues.apache.org/jira/browse/BEEHIVE-171
> Project: Beehive
> Type: Improvement
> Components: NetUI
> Versions: V1Alpha
> Environment: Beehive Alpha 1.0 snapshot
> Reporter: Adrian Grealish
> Assignee: Nathan Jantz
> Fix For: V1Beta
>
> What I need is to be able to add parameters to the pager query strings.
>
> I have a parent child relationship where the parent record has many
> children records. I have a data grid that displays all the child records given the parent record's primary key.
> The page flow method, 'viewGrid', that displays the data grid checks for
> the request parameter 'parentId' and then does a select * from child_table where
> foreign_key_to_parent_table = <parentId>. When I click on the 'next'
> link of the data grid the same page flow method, 'viewGrid', is called
> again but this time without the URL encoded parameter causing the SQL
> query to fail.
> As a test I hard coded the parameter into the pageAction attribute (pageAction="viewGrid?testSuiteRunId=1") but his results in the mal-formed URL "...viewGrid.do?testSuiteRunId=1?netui_page=TestCaseResults~2" which
> does not work.
> If I manually type the correct URL (".../viewGrid.do?netui_page=TestCaseResults~2&testSuiteRunId=1") into a browser it works.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Assigned: (BEEHIVE-171) Ability to add parameters to the pager query
Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-171?page=history ]
Eddie O'Neil reassigned BEEHIVE-171:
------------------------------------
Assign To: Scott Symmank (was: Eddie O'Neil)
> Ability to add parameters to the pager query
> --------------------------------------------
>
> Key: BEEHIVE-171
> URL: http://issues.apache.org/jira/browse/BEEHIVE-171
> Project: Beehive
> Type: Improvement
> Components: NetUI
> Versions: V1Alpha
> Environment: Beehive Alpha 1.0 snapshot
> Reporter: Adrian Grealish
> Assignee: Scott Symmank
> Fix For: V1Beta
>
> What I need is to be able to add parameters to the pager query strings.
>
> I have a parent child relationship where the parent record has many
> children records. I have a data grid that displays all the child records given the parent record's primary key.
> The page flow method, 'viewGrid', that displays the data grid checks for
> the request parameter 'parentId' and then does a select * from child_table where
> foreign_key_to_parent_table = <parentId>. When I click on the 'next'
> link of the data grid the same page flow method, 'viewGrid', is called
> again but this time without the URL encoded parameter causing the SQL
> query to fail.
> As a test I hard coded the parameter into the pageAction attribute (pageAction="viewGrid?testSuiteRunId=1") but his results in the mal-formed URL "...viewGrid.do?testSuiteRunId=1?netui_page=TestCaseResults~2" which
> does not work.
> If I manually type the correct URL (".../viewGrid.do?netui_page=TestCaseResults~2&testSuiteRunId=1") into a browser it works.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Assigned: (BEEHIVE-171) Ability to add parameters to the pager query
Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-171?page=history ]
Eddie O'Neil reassigned BEEHIVE-171:
------------------------------------
Assign To: Eddie O'Neil (was: Scott Symmank)
> Ability to add parameters to the pager query
> --------------------------------------------
>
> Key: BEEHIVE-171
> URL: http://issues.apache.org/jira/browse/BEEHIVE-171
> Project: Beehive
> Type: Improvement
> Components: NetUI
> Versions: V1Alpha
> Environment: Beehive Alpha 1.0 snapshot
> Reporter: Adrian Grealish
> Assignee: Eddie O'Neil
> Fix For: V1Beta
>
> What I need is to be able to add parameters to the pager query strings.
>
> I have a parent child relationship where the parent record has many
> children records. I have a data grid that displays all the child records given the parent record's primary key.
> The page flow method, 'viewGrid', that displays the data grid checks for
> the request parameter 'parentId' and then does a select * from child_table where
> foreign_key_to_parent_table = <parentId>. When I click on the 'next'
> link of the data grid the same page flow method, 'viewGrid', is called
> again but this time without the URL encoded parameter causing the SQL
> query to fail.
> As a test I hard coded the parameter into the pageAction attribute (pageAction="viewGrid?testSuiteRunId=1") but his results in the mal-formed URL "...viewGrid.do?testSuiteRunId=1?netui_page=TestCaseResults~2" which
> does not work.
> If I manually type the correct URL (".../viewGrid.do?netui_page=TestCaseResults~2&testSuiteRunId=1") into a browser it works.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Resolved: (BEEHIVE-171) Ability to add parameters to the pager query
Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-171?page=history ]
Eddie O'Neil resolved BEEHIVE-171:
----------------------------------
Resolution: Fixed
Fix Version: V1Beta
The pager URLs now maintain the existing query parameters. Note, this doesn't allow you to *add* new query parameters to the URL, but it does 'carry along' the query parameters from the previous request.
> Ability to add parameters to the pager query
> --------------------------------------------
>
> Key: BEEHIVE-171
> URL: http://issues.apache.org/jira/browse/BEEHIVE-171
> Project: Beehive
> Type: Improvement
> Components: NetUI
> Versions: V1Alpha
> Environment: Beehive Alpha 1.0 snapshot
> Reporter: Adrian Grealish
> Assignee: Eddie O'Neil
> Fix For: V1Beta
>
> What I need is to be able to add parameters to the pager query strings.
>
> I have a parent child relationship where the parent record has many
> children records. I have a data grid that displays all the child records given the parent record's primary key.
> The page flow method, 'viewGrid', that displays the data grid checks for
> the request parameter 'parentId' and then does a select * from child_table where
> foreign_key_to_parent_table = <parentId>. When I click on the 'next'
> link of the data grid the same page flow method, 'viewGrid', is called
> again but this time without the URL encoded parameter causing the SQL
> query to fail.
> As a test I hard coded the parameter into the pageAction attribute (pageAction="viewGrid?testSuiteRunId=1") but his results in the mal-formed URL "...viewGrid.do?testSuiteRunId=1?netui_page=TestCaseResults~2" which
> does not work.
> If I manually type the correct URL (".../viewGrid.do?netui_page=TestCaseResults~2&testSuiteRunId=1") into a browser it works.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira