13.07.2015 Views

IBM WebSphere Portlet Factory Overview - Lotus

IBM WebSphere Portlet Factory Overview - Lotus

IBM WebSphere Portlet Factory Overview - Lotus

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

I want to implement a details pagetriggered by clicking on a row in a table.I want to create an input page for mydata service operation, which does notreturn result data.I have some existing HTML (or JSP)that I want to use in my portlet and adddata or other elements to.I want to create a chart.Use the View & Form builder to create yourtable and select the choice for “Create linkto details”. You then have three choices forhow to handle the link action:• The details page can show the dataalready retrieved in that table row.• The details page can show data fromanother operation, such as a serviceoperation that retrieves details data. Inthis case, you will need to use the InputOverrides feature of the ServiceConsumer builder to specify theservice inputs needed to retrieve thedetails data. These inputs can typicallycome from the SelectedRowDatavariable created by the View & Formbuilder.• The link can be used to execute anyaction you specify, such as an ActionList or a page.With any of these link types, the View &Form builder automatically creates a_SelectedRowData variable that ispopulated with all the contents of the rowthat was clicked. Typically you will selectvalues from this variable when choosing theinputs you need for your row action.Input FormCreates an input page for a data serviceoperation or a method. It is much like View& Form input page support, but the nextaction after submitting the input form is auser-specified action. This builder issuitable for operations that do not haveresult data to display.Imported PageAdds an existing HTML or JSP page to thecurrent Model. By using Imported Pagebuilders, you can develop your HTML orJSP code in your favorite editor and thenimport the results into the Designer. Afteryou import a page into the Designer, youcan use builders to modify those pages.Web ChartsThe Web Charts builder adds a chart to apage at a specified location. The data forthe chart can come from a variable, aservice operation, or any other data sourcein the model.<strong>WebSphere</strong> <strong>Portlet</strong> <strong>Factory</strong> V6.0.1 Getting Started Guide - 19 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!