on 11-29-2004 6:54 AM
Dear all,
If I wanna develop a set of custom iViews which will make use of the EPCM (client side code), is it a must to develop a JSPDynPage? Can I use DynPage only?
Besides, when developing a JSPDynPage, can I generate / construct the page layout by HTMLB from the java class and pass it to the jsp page?
Thanks for your kindly help
Sam
Hi Sam,
for working with EPCF, you just have to care that the JavaScript code exists on the client side - so it doesn't matter whether you choose JSPDynPage, DynPage, AbstractPortalComponent...
I hope that with this the second question is out of matter. If you build the HTMLB by java classes, JSPDynPage is just the wrong choice. The only advantage you have from JSPDynPage is somehow seperating content / design from logic. If you create the design programatically, this advantage (which might be a disadvantage sometimes, yo the decision to build the HTMLB by using the Java classes may be the better choice) has gone.
Hope it helps
Detlev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Detlev again,
Hope you won't mind here comes a following question. How can I output the client script for EPCF from DynPage?
Besides, how can I use EPCF to control an iView content from another iView? For example, I want to click a link in iView A and show the corresponding reference in iView B.
Thanks a lot
Sam
Hi Sam,
> Hope you won't mind here comes a following question
As long as two answers mean double points - no...
> How can I output the client script for EPCF from DynPage?
Within a DynPage, you can do it as follows
HTMLFragment htmlf = new HTMLFragment("ScriptFragment");
String jScript = "<Script [...]";
htmlf.setHtml(EditCtrlSrc);
outerComp.addComponent(htmlf);
with outerComp the most outest component (it works with Form form = getForm(); form.addComponent(htmlf)). Maybe also using document instead of form works, didn't test it.
Hope it helps
Detlev
Hi Sam,
I forgot the last question:
> how can I use EPCF to control an iView content from another iView
Use EPCF event API, see https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/enterpris... portal client.pdf
Hope it helps
Detlev
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.