Help reg. multipage form

Hi,
I am doing a project in multipage form. I have found similar web application and it has been implemented in JSP. I have gone through the code.Not able to get it. The guy who implemented it is using one controller.jsp. when the user clicks back button then the data already selected is also displayed. If I see the code of any page one html from will be there. If the url has been observed, always directed to controller.jsp. can anyone let me know how it was implemented. The following is the link.
http://donner.cs.uni-magdeburg.de:8080/elearning/modelschoice.jsp
kindly let me know the basic idea. Thanks alot.

Alright,people their are using View Controller pattern.
Here is how they could have done it.
They might have designed dedicated JSP for each and everyform their.
Including same .gif file in the header part.
However,they are calling a single JSP file/Servlet /Struts Dispatch Action/Or any backing bean(with url pattern controller.jsp).
All they are doing their is Trying to save details of all the form inputs as respective property in a bean which is used to render contents in repective JSP page and then finally the controller forwards the page to next jsp page at the server side therefore url in the browser would not change however,response regards to new page would changed with change in url and consequently the new response would again call the same controller again & again and updates the same View Object which is scoped under session and finally when application gets the complete data regards to form it updates it DB forwards or redirects to the confirmation page.
If you still don't understand what i'm trying to exaplain.
It would be a great idea for you to learn MVC pattern or what is MODEL 2 pattern.
hope the below link might be of some help :)
http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc.html
http://java.sun.com/blueprints/patterns/MVC-detailed.html
http://java.sun.com/blueprints/patterns/MVC.html
http://www.ftponline.com/javapro/2002_05/magazine/columns/weblication/
http://www.javapassion.com/j2ee/MVCPatternAndFrameworks_speakernoted.pdf
http://www.springframework.org/docs/reference/mvc.html
http://java.sun.com/developer/EJTechTips/2004/tt0324.html#1
http://www.developer.com/java/ent/article.php/3558501
http://www.csis.pace.edu/~bergin/mvc/mvcgui.html
REGARDS,
RaHuL

Similar Messages

  • Help with multiple forms

    I'm new to the forums (and Java!) so please forgive me if this has already been asked or is a stupid question.
    I'm using the Netbeans IDE to create a series of forms that collect user input. The project is a similar to a "wizard" that asks a series of questions, collects the user input, then performs a query on a database based on the user provided answers to the questions.
    I assume that each question should be displayed on a new form, and when the user clicks "next", the data is added to an ArrayList until the wizard is complete. There are around 10-15 steps in this wizard (I know, it seems long but that's what my boss wants!), and I've drawn all the forms as separate .java files with JFrames in Netbeans.
    I also have one wizard.java file that has a main() method and creates a wizard object that has an ArrayList used to store the data, and a get() and set() method to access the ArrayList.
    The problem is when an action is performed on each of the steps' "next" button, I am trying to add to the ArrayList belonging to the wizard object. The compiler is complaining about it though. I think there's a problem with scope, but I really don't know for sure. I've butchered my code trying to figure out a way to do this. I come from a procedural programming background, and objects and interaction between classes just isn't making much sense to me.
    Any ideas and help are greatly appreciated!!

    I have have made a few wizards in my time as a freelancer and had it up to here with coding around JSP forms that I settled for a forms generation framework. There are a few out there that you might want to look at the next time you have to build web forms for your JSP application.
    Creating multipage forms, and generating form elements should no longer be a heavy duty task. All forms do only 1 thing, and that's to collect user input.
    A library like Formular (http://formular.redeye.no) or Devsphere Mapping Framework (http://www.devsphere.com/mapping/) should do the trick.
    I personally like the way Formular handles wizards and takes care of all the navigation between screens. The other advantage of Formular is of course that you do not bloat your JSP with form handling code that would handle preselection of checkboxes and radio buttons, looping through arrays to generate option tags, displaying exceptions and form messages, etc.

  • How to add Help in a Form?

    I want to add help in my forms application.
    Is it possible to add customized help in a form under Help Menu ?
    Can anybody 'help' me in this regard :)
    It will be a great favour !

    Thanks
    But I don't think winhelp will work for web based application.
    Do I have to use html format help.
    or any other better solution for web based app using form server?
    null

  • F4 help in Interactive forms with Webdynpro abap

    Hi All,
    How to create a f4 help in interactive adobe form by using  Webdynpro ABAP.

    Ameer,
    Check if these blogs help you:-
    /people/community.user/blog/2006/11/20/search-help-in-isr-adobe-forms
    /people/community.user/blog/2007/01/16/a-simple-search-help-in-isr-form--contd
    Chintan

  • How to implement Search Help in Interacive Form based on WebDynpro Java?

    Hi Experts,
    How to implement Search Help in Interacive Form based on WebDynpro Java?
    Could someone please provide the prerequisites and the code for the same.
    Regards,
    Shobhit

    Extend the controller and get the handle of the current row of the VO. Set set the attribute context filed accordingly. Also get the handle fo the flexbean and set the context. According rendering would change.
    Regards
    Sumit

  • Creating help in a form

    Hi,
    I need writing a help in a form and I have some informations to put in the help.
    I tried, this but I get an error at the end indicationg a @ is missing:
    $x = @"
     -Nom du produit tel que publié par le fabricant
     - Ne doit pas contenir d'espace
     - Débuter les mots avec des majuscules Exemple: Office
     $helpprovider1.SetHelpString($TxtNomLogiciel, $x)
    Also, I give a try to that but the text is not well format and the help box will be off the form probably because the string is too long.
    $helpprovider1.SetHelpString($TxtNomLogiciel, "-Nom du produit tel que publié par le fabricant
     - Ne doit pas contenir d'espace - Débuter les mots avec des majuscules Exemple: Office")
    What should I do?

    Hi,
    Finally I found out this will be working:
    $x
    =@'
    -Nomduproduittelquepubliéparlefabricant
    -Nedoitpascontenird'espace 
    -DébuterlesmotsavecdesmajusculesExemple:
    Office
    $helpprovider1.SetHelpString($TxtNomLogiciel,
    $x)
    I was doing something wrong with a tab before '@

  • How to use F4 help on PDF form

    Hello,
    I'm using Adobe Interactive Form with WebDynpro for Java.
    I'd like to use F4 value help on Adobe Form.
    Does anyone know how to implement F4 help on PDF form ?
    Regards,
    Koji.

    Hi,
    SAP Note: 1013227.
    But you should have ZCI based forms. Note: 1055911 and 1042394.
    It always makes sense if you specify the NetWeaver SP release you are on along with any other information that you think is important.
    Best Regards,
    Krish

  • Value Help on Adobe Forms

    Hi,
    I'm trying to implement one search help (F4 on sap) on adobe forms. I just do this process
    For standard value help in Adobe forms:
    1) In layout chose UI element 'Value Help Drop-down List' from WebDynpro Native Controls of Library Palette.
    2) In Object pallete ->Binding tab, update Default binding with corresponding field .
    For ex: You have context like below
    -NODE
    -FIELD(type LAND1)
    In Default binding, $record.NODE.FIELD
    since LAND1 is a standard type, you will get all the values in value table T005 in the F4 help
    3) Make sure the 'Type' of the field in Object pallete ->Field tab is drop-down list.
    But i can't see any action on adobe. May the properties of the the attribute field on context are wrong.
    Anyone can help please.
    Thank you.

    This is the code that the program create:
                    var processingValueHelp = ContainerFoundation_JS.getGlobalValue(event.target, "processingValueHelp");
                       if(processingValueHelp == false) {
                           ContainerFoundation_JS.setGlobalValue(event.target, "processingValueHelp", true);
                           this.rawValue = "";
                           this.clearItems();
                           ContainerFoundation_JS.SendMessageToContainer(event.target,
                                                                         "valueHelp",
                                                                         this.dataNode.somExpression.replace(/(xfa.?\.)(datasets.?\.)(data.*?\.)/, ""),
                                                                         this.rawValue,
                                                                         event.target.mouseX,
                                                                      event.target.mouseY);
    What is suppose to change ?
    Thank you

  • Field Level Help on Tabular forms

    Hi,
    Is there any easy way I can add field level help to tabular forms?
    If I create a form on a table I can add help for each field, however if I create a tabular form there seems to be no way I can associate field level help with a column.
    I know that I can add page level help and could describe all of the columns there, but it would be nicer to add individual help to each column.
    Any ideas?
    Thanks,
    Martin

    Hi Martin!
    Take a look at these sites which will provide you more information about your problem.
    [http://apex-at-work.blogspot.com/2008/10/apex-select-list-with-dynamic-help-text.html|http://apex-at-work.blogspot.com/2008/10/apex-select-list-with-dynamic-help-text.html]
    TRICK: Dynamic Item Help Text as Tooltip
    [http://apex.oracle.com/pls/otn/f?p=11933:121|http://apex.oracle.com/pls/otn/f?p=11933:121]
    Regards,
    Tobias
    [http://apex-at-work.blogspot.com/]

  • Multipages Form: JSF or Struts?

    Hi! :) I'm italian so sorry in advance for my poor english! :P
    I would like to know, as your experience, if, to create multipage forms, is more simple using Struts or Java Server Faces (jsf)....
    In my opinion jsf is more simple becouse i cuold use one JavaBean only, and the different jsp pages could refer to that bean (scope request or other also?)...while using struts I must create an ActionForm, and so on...making more laborious job.
    I don't have much experience with this 2 frameworks...so in your opinion which is the most simple to this kind of forms?
    Thanks in advance! :)

    JSF is better than Sturts. ("Until now there is no sucess story on JSF.")
    Becoz, Struts inventor has been hired by SunMicroSystems to work with JSF. The same guy mentioned in an interview, that struts developement will be stopped in future.
    Also..,
    Until now there is no sucess story on JSF. Only time can decide which is best.
    My suggestion is, better spend your time in learning more jsp and servlets specifications, XML/XSLT, JMS, Webservices rather JSF/Struts.
    All these frameworks like JSF/Sturts will depends on your project requirement. There is a nice book and online document in this website about design patterns. Read those things if you have time. You will get good idea.
    Well.., this is all my personal opinions.

  • Help with Custom Forms Report

    Hi there,
    I recently created a new custom web form in BC that appears to be working fine.
    My problem is that when I go to custom reports, in filter criteria I can't see my new form under the 'Custom CRM Form Filter'. All my other forms are appearing here however.
    Am I just missing one small step?
    Thanks for the help!

    Yor form must not have any custom fields, which is why it isn't in that
    dropdown. You can use the case subject to filter the cases where the case
    subject is the webform name.
    Cheers,
    Mario
    www.twoblokeswithapostie.com

  • Help fix my form

    Hello everyone,
         I have been reading the forms for a couple weeks now and I have learned greatly from them. I have experimented, tried to implement different things on my form and I have in my limited Adobe experience came close to what I am trying to achieve.
         However; I am still having a couple issues and I am asking for help again. I have created my form and have created dynamic fields that duplicate when you choose the "add row" button to my table. It will also delete the added row with the delete row button. This works successfully. After that I have a text field that I have told to allow multiple lines and that works successfully and I will need it to expand to multiple pages if necessary. I think this might work however have not fully tested that feature. The issue I am having is when my table rows are added they cross over the text field just below duplicating table row. I know that the form can be told to push down the fields as rows are added so this will not happen however I just can not seem to figure it out. I am not sure if it is something in my subform settings, hierarchy structure or what.
    I have also created a second table at the bottom of the form which I need to add rows on demand also. I used the same java code for that table and row adjusting for the second table name ( ) (Table2._Row1.addinstance(1);) however it is not adding the rows on demand.
    I have seen many people post their form on here and others "fix" them and provide helpful guidance. I would like to ask for help with my form and would like to post it so it can be reviewed by any kind person that is willing to help but I do not know how to link my form.
    Can anyone help me with my first issue of telling me how to post my form and then possibly help with fixing my form??
    Thanks,
    Shane

    Shane,
    You need to configure your subform as Flowed. By doing this when you add rows, it pushes the other fields automatically.
    Let's say, for example, that you have in your page a group of textfields then a table and finally another group of fields:
    Page 1
    textfield1
    textfield2
    textfield3
    table
    row1
    row2
    textfield4
    textfield5
    You should put all of this in subforms and set up as follows:
    Page 1 -> Flowed
    Subform1 -> Positioned
    textfield1
    textfield2
    textfield3
    table -> Flowed
    row1
    row2
    subform2 -> Positioned
    textfield4
    textfield5
    The subform1 and 2 you can either set as Flowed os leave as Positioned, but have in mind that when you want some field to have dynamic behavior, like grow, you need to set up it parent subform as Flowed. Thus your dynamic fields won't grow up in front of other fields.
    This is how I work, if anyone has another idea, please come up
    Hope this helps.
    Diego

  • Multipage forms- best workflow for future editing

    I'm struggling with understanding the proper workflow for creating and editing multipage forms.  I need to create a medical history form (PDF) where patients can enter their medical history and patient info. 
    This form is usually 6+ pages.  Each page has a header (logo and office address) and a footer (page number). 
    The problem I'm running into is when we need to make a change like add a question or change the wording of a question.  Is there a way we can edit the form (either in Word or an Adobe product) and not have to recreate the form in Acrobat Pro?
    I've hired contract workers from Odesk and each one I've hiried claims they can edit the questions after the form is created.  But each time this happens, the form looks worse after each edit.  I'm pretty sure this is the problem because they are editing the text in Acrobat Pro, which has very limited text editing capabilites.
    I'm wasting so much time going back and forth with contractors explaining to them that the text format looks like crap.
    I'm very capable of designing and editing these forms myself, but I just don't have the time.  So I'm contracting this work out. 
    I'd greatly appreciate any advice on the best workflow for PDF forms.
    Thanks!

    Yes, there is a way. You need to edit the original file format (Word, in
    this case), and then create a new PDF.
    You then open the old version (that has the form fields in it), and use the
    Replace Pages command to replace the old pages with the ones from the new
    file. This will maintain the form fields in place, although you might need
    to rename them and align them with the new page contents.
    This is a much better approach than trying to edit the PDF directly
    (although this option has been greatly improved in Acrobat XI).

  • Reg : Value Help in interactive forms

    Hi,
         I am trying to fill the ValueHelp drop down list Ui Element in the interactive form design. I am able to get the value in the dropdownbykey UI element of the view but i couldn't get it in the Interactive form. Could anyone please help me to solve it.
    Thanks,
    Mugu

    Hi Mugunda,
    I am krishna Balaji(Pollachi).I am also working in Web dynpro java.
    In which area in SAP are you working.

  • Please I Need Forms Personalization Help Reg AP invoice entry

    Hi All,
    I am new to form personalization,
    my client wants do a form personalization for ap invoice entry form ,in that i need to check duplicate invoices and put those invoices into hold
    I got a API which puts invoices in hold : ap_holds_pkg.insert_single_hold
    and i have done a procedure with that API ,the procedure contains the conditions like checking the duplication and API
    which i defined above
    My doubts are what is the trigger event i have to take
    is there any apps initialization required in a procedure
    Thanks
    SABR

    This forum is for general Oracle Forms questions. Forms Personalization is a feature of the Oracle Enterprise Business Suite (EBS). Please post your question in the General EBS Discussion forum. If you have a general Forms question, by all means, ask it here! ;-)
    Craig...

Maybe you are looking for