Results 1 to 7 of 7

Thread: URL dynamic parameters

  1. #1
    Join Date
    Mar 2010
    Posts
    360

    URL dynamic parameters

    Hello,
    Let me explain what I want to do: I want to call a jsp running report and takes into account the parameters of the HTTP request passed in the url. In fact my problem lies in the fact that my settings are incorrect when it runs the report but it displays an empty array instead of myself out the window of the report settings. I do not know if I've been very clear in my explanation. If however you are missing elements to understand what I want, do not hesitate to ask.

  2. #2
    Join Date
    Mar 2010
    Posts
    162

    Re: URL dynamic parameters

    If I understand you want to return the user to the page parameter if the input was wrong and that the report is empty? You can use the JSP page of BIRT Viewer, which manages the settings and make a list of values type Drop Down etc.. I implement a validation of parameters via dynamic lists and form validation to prevent it from mistakes.

  3. #3
    Join Date
    Mar 2010
    Posts
    360

    Re: URL dynamic parameters

    Let's say I have a first page where the user searches for a person. Then I post information about that person in another jsp page. This page contains a link to allow the user to view a report containing various information. If unfortunately the identification number or website was not good then the report shows no information at sites such as saying "Site incorrect" and then myself out the window of the report settings. What should I do this in case?

  4. #4
    Join Date
    Dec 2009
    Posts
    192

    Re: URL dynamic parameters

    I will do this via a count and the visibility property of the table and a dynamic text.
    Code:
    Table whether hidden Absorbed Count (row [foo]) = 0
    Dynamic text shown if Absorbed Count (row [foo]) = 0
    with the text 'Wrong number, please re-enter the correct value for the parameter "+ click on a URL link to the page in question.

  5. #5
    Join Date
    Dec 2009
    Posts
    202

    Re: URL dynamic parameters

    You can add a validation on the parameters. In this case, they are not correct and if you use the BIRT WebViewer then the setting window should be displayed. If you do not use the BIRT WebViewer is for you to control settings before sending. BIRT do not know where your application is

  6. #6
    Join Date
    Mar 2010
    Posts
    372

    Re: URL dynamic parameters

    I can not find how to check if my table contains values. I've never used scripts in Birt, the documentation on the site of eclipse is not very clear I think I look bad or so. If the doc, I'm interested.

  7. #7
    Join Date
    Nov 2009
    Posts
    67

    Re: URL dynamic parameters

    Foo = any column of your dataset (I do not know your data so I put foo) You have a property "Visibility" with a button to build the script. Or as stated BiM without foo poor foo he has taken many in this thread.

Similar Threads

  1. Dynamic and static parameters in database
    By spuff in forum Software Development
    Replies: 4
    Last Post: 22-02-2010, 08:29 PM
  2. VBA Recordset / Parameters
    By Gunner 1 in forum Software Development
    Replies: 5
    Last Post: 17-02-2010, 12:38 AM
  3. How to Pass Parameters via URL
    By Paramartha in forum Software Development
    Replies: 4
    Last Post: 23-09-2009, 06:13 AM
  4. Ghost Parameters
    By Ayush in forum Operating Systems
    Replies: 1
    Last Post: 03-02-2009, 01:34 PM
  5. BIOS parameters
    By bayz in forum Overclocking & Computer Modification
    Replies: 4
    Last Post: 01-01-2009, 10:48 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,053,784.01645 seconds with 17 queries