Announcement

Collapse
No announcement yet.

Design issue

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Design issue

    I need to select a person and display some data continuously while accessing functions on this person. I don't want a master-detail, in fact I need to add an iframe containing this data or put it somewhere in the header of the menu.

    I've created a form to search for persons. I have created a field link on name to start an application to store the selected person data. (I would like to have a buttonlink in the grid as the lookup functions within scriptcase 'select' button, but don't know how to do this).

    This application is showing the correct person. In this app I set a global variable containing the data I want to show continuously. I have set the menu header to this variable, but as the screen will not be refreshed the menuheader is not changed. So this is a no-go.

    I know I can create a container, but then I need to be able to update the container containing the fixed data when I select another person. What would be the best practice of this?
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

  • #2
    Re: Design issue

    In addition, it might be a solution if I'm able to refresh the menu iframe from the detail iframe. Is that possible, and if so, how?
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Re: Design issue

      I don't get what you want to achieve, what do you mean by "... display some data continuously while accessing functions on this person..." ?

      Comment


      • #4
        Re: Design issue

        I want to be able to create a block on the form which I can use in different applications. This block contains the current keydata like the person involved. All the functions I want to access will show data about this person. See it like the tree menu. It's always left no matter what app you run. I would like to be able to do something similar. Show primary data about a person and in the app area put the functions around this selected person.
        Albert Drent
        aducom software netherlands
        scriptcase partner, reseller, support and (turn-key) development
        www.scriptcase.eu / www.scriptcase.nl

        Comment


        • #5
          Hi Albert.

          What did you do to resolve this problem? I am trying to achieve a similar thing, if not the exact same thing. I created a Grid application which displays a single record at a time. I am happy with this idea but I would like the Search button to be within the row returned and not in the toolbar and I do not like the lack of control with the in-line Filter.

          Rod
          Rod - Developer

          Comment


          • #6
            Originally posted by Sardius View Post
            Hi Albert.

            What did you do to resolve this problem? I am trying to achieve a similar thing, if not the exact same thing. I created a Grid application which displays a single record at a time. I am happy with this idea but I would like the Search button to be within the row returned and not in the toolbar and I do not like the lack of control with the in-line Filter.

            Rod
            I didn't unfortunately.
            Albert Drent
            aducom software netherlands
            scriptcase partner, reseller, support and (turn-key) development
            www.scriptcase.eu / www.scriptcase.nl

            Comment


            • #7
              hi guys, sorry to interfere, i know you are the expert in this, just though to give a hint might be applicable, how about the master/detail form? wouldn't solve this? i mean to get the primary data of the user then display in the detail form the other data from different location

              Comment


              • #8
                Originally posted by itsme3 View Post
                hi guys, sorry to interfere, i know you are the expert in this, just though to give a hint might be applicable, how about the master/detail form? wouldn't solve this? i mean to get the primary data of the user then display in the detail form the other data from different location
                No, this is not what we mean We want to be able to have a fixed location on the form somewhere to put static information on. I.e. a patient name and status or the logged in person etc.
                Albert Drent
                aducom software netherlands
                scriptcase partner, reseller, support and (turn-key) development
                www.scriptcase.eu / www.scriptcase.nl

                Comment


                • #9
                  how about the title of the header of the template? it can be a value and you can place some variables there!?

                  Comment


                  • #10
                    Originally posted by itsme3 View Post
                    how about the title of the header of the template? it can be a value and you can place some variables there!?
                    Albert..
                    I was about to suggest the same thing..
                    I tested and you can show global variables in the header templates.
                    Special headers for where and what you want to display..

                    Kev

                    Comment


                    • #11
                      Hi Kevin, I tried that and it works. But it was not approved by my client then. Two issues: first you can use the main header. Under normal circumstances it is only presented once, the new apps run in the IFrame below and changes are not directly shown in the overall header. Second, to use the application header is not nice as this is directly above the form you show. The ideas was to have a containerlike layout with on the left upper corner a panel containing the basic info. Now I know you can direct the code behind an iframe so it should be doable to change a person in a form and then automatically refresh one of the iframe panels of the container to show the changes. Point is that I'm not a javascript guru and if I dive into the generated code I simply have no idea which container needs to be used. Sometimes I find an IFrame and try, but I never succeeded somehow. I have my limitations ;-) I try to avoid javascript as much as I can. But there I can learn something from you :-)
                      Albert Drent
                      aducom software netherlands
                      scriptcase partner, reseller, support and (turn-key) development
                      www.scriptcase.eu / www.scriptcase.nl

                      Comment


                      • #12
                        I did try the container idea. I feel that the container aspect of Scriptcase really needs a lot of enhancements. I don't mind JavaScript but I don't believe refreshing other widgets should require this degree of intervention.

                        One solution that worked was to create linked applications but this would require far too many repeated applications to be a practical solution for something so simple.

                        I also started on the header idea but figured that it isn't dynamic enough. Isn't the value set at load time? It isn't ajax capable so it won't change dynamically as the variable value changes?
                        Last edited by Sardius; 06-11-2014, 03:51 AM.
                        Rod - Developer

                        Comment

                        Working...
                        X