Java Doc for IFrameAction.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » web » tool » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.sakaiproject.web.tool 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.sakaiproject.cheftool.VelocityPortletPaneledAction
   org.sakaiproject.web.tool.IFrameAction

IFrameAction
public class IFrameAction extends VelocityPortletPaneledAction (Code)

IFrameAction is the Sakai tool to place any web content in an IFrame on the page.

Three special modes are supported - these pick the URL content from special places:

  • "site" - to show the services "server.info.url" configuration URL setting
  • "workspace" - to show the configured "myworkspace.info.url" URL, introducing a my workspace to users
  • "worksite" - to show the current site's "getInfoUrlFull()" setting


Field Summary
final protected static  StringCUSTOM_HEIGHT
    
final protected static  StringHEIGHT
     The height, in state, config and context.
final protected static  StringHIDE_OPTIONS
    
final protected static  StringMACRO_SESSION_ID
    
final protected static  StringMACRO_SITE_ID
    
final protected static  StringMACRO_USER_EID
    
final protected static  StringMACRO_USER_FIRST_NAME
    
final protected static  StringMACRO_USER_ID
    
final protected static  StringMACRO_USER_LAST_NAME
    
final protected static  StringMACRO_USER_ROLE
    
final protected static  StringSAKAI_PROPERTIES_URL_KEY
     Support an external url defined in sakai.properties, in state, config and context.
final protected static  StringSOURCE
     The source URL, in state, config and context.
final protected static  StringSPECIAL
     The special attribute, in state, config and context.
final protected static  StringSPECIAL_SITE
     Special value for site.
final protected static  StringSPECIAL_WORKSITE
     Special value for worksite.
final protected static  StringSPECIAL_WORKSPACE
     Special value for myworkspace.
final protected static  StringTITLE
     The title, in state and context.
final protected static  StringURL
     The value in state and context for the source URL to actually used, as computed from special and URL.
final protected static  StringVALID_DIGITS
    
public  String[]ourPixels
    
protected static  ResourceLoaderrb
    


Method Summary
public  StringbuildMainPanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)
     Setup the velocity context and choose the template for the response.
public  StringbuildOptionsPanelContext(VelocityPortlet portlet, Context context, RunData data, SessionState state)
     Setup the velocity context and choose the template for options.
protected  StringconvertReferenceUrl(String url)
     If the url is a valid reference, convert it to a URL, else return it unchanged.
public  voiddoCancel(RunData data, Context context)
    
public  voiddoConfigure_update(RunData data, Context context)
    
protected  StringgetCurrentSitePageId()
     Get the current site page our current tool is placed on.
protected  voidinitState(SessionState state, VelocityPortlet portlet, JetspeedRunData rundata)
    
protected  StringsourceUrl(String special, String source, String context, boolean macroExpansion, boolean passPid, String pid, String sakaiPropertiesUrlKey)
    

Field Detail
CUSTOM_HEIGHT
final protected static String CUSTOM_HEIGHT(Code)
The custom height from user input *



HEIGHT
final protected static String HEIGHT(Code)
The height, in state, config and context.



HIDE_OPTIONS
final protected static String HIDE_OPTIONS(Code)
If set, always hide the OPTIONS button



MACRO_SESSION_ID
final protected static String MACRO_SESSION_ID(Code)
Macro name: Session



MACRO_SITE_ID
final protected static String MACRO_SITE_ID(Code)
Macro name: Site id (GUID)



MACRO_USER_EID
final protected static String MACRO_USER_EID(Code)
Macro name: User enterprise id



MACRO_USER_FIRST_NAME
final protected static String MACRO_USER_FIRST_NAME(Code)
Macro name: First name



MACRO_USER_ID
final protected static String MACRO_USER_ID(Code)
Macro name: User id



MACRO_USER_LAST_NAME
final protected static String MACRO_USER_LAST_NAME(Code)
Macro name: Last name



MACRO_USER_ROLE
final protected static String MACRO_USER_ROLE(Code)
Macro name: Role



SAKAI_PROPERTIES_URL_KEY
final protected static String SAKAI_PROPERTIES_URL_KEY(Code)
Support an external url defined in sakai.properties, in state, config and context.



SOURCE
final protected static String SOURCE(Code)
The source URL, in state, config and context.



SPECIAL
final protected static String SPECIAL(Code)
The special attribute, in state, config and context.



SPECIAL_SITE
final protected static String SPECIAL_SITE(Code)
Special value for site.



SPECIAL_WORKSITE
final protected static String SPECIAL_WORKSITE(Code)
Special value for worksite.



SPECIAL_WORKSPACE
final protected static String SPECIAL_WORKSPACE(Code)
Special value for myworkspace.



TITLE
final protected static String TITLE(Code)
The title, in state and context.



URL
final protected static String URL(Code)
The value in state and context for the source URL to actually used, as computed from special and URL.



VALID_DIGITS
final protected static String VALID_DIGITS(Code)
Valid digits for custom height from user input *



ourPixels
public String[] ourPixels(Code)
Choices of pixels displayed in the customization page



rb
protected static ResourceLoader rb(Code)
Resource bundle using current language locale





Method Detail
buildMainPanelContext
public String buildMainPanelContext(VelocityPortlet portlet, Context context, RunData rundata, SessionState state)(Code)
Setup the velocity context and choose the template for the response.



buildOptionsPanelContext
public String buildOptionsPanelContext(VelocityPortlet portlet, Context context, RunData data, SessionState state)(Code)
Setup the velocity context and choose the template for options.



convertReferenceUrl
protected String convertReferenceUrl(String url)(Code)
If the url is a valid reference, convert it to a URL, else return it unchanged.



doCancel
public void doCancel(RunData data, Context context)(Code)
doCancel called for form input tags type="submit" named="eventSubmit_doCancel" cancel the options process



doConfigure_update
public void doConfigure_update(RunData data, Context context)(Code)
Handle the configure context's update button



getCurrentSitePageId
protected String getCurrentSitePageId()(Code)
Get the current site page our current tool is placed on. The site page id on which our tool is placed.



initState
protected void initState(SessionState state, VelocityPortlet portlet, JetspeedRunData rundata)(Code)
Populate the state with configuration settings



sourceUrl
protected String sourceUrl(String special, String source, String context, boolean macroExpansion, boolean passPid, String pid, String sakaiPropertiesUrlKey)(Code)
Compute the actual URL we will used, based on the configuration special and source URLs



Fields inherited from org.sakaiproject.cheftool.VelocityPortletPaneledAction
final protected static String ATTR_CONFIG(Code)(Java Doc)
final protected static String ATTR_CONTEXT(Code)(Java Doc)
final public static String ATTR_FRAME_FOCUS(Code)(Java Doc)
final public static String ATTR_FRAME_REFRESH(Code)(Java Doc)
final protected static String ATTR_PORTLET(Code)(Java Doc)
final protected static String ATTR_RUNDATA(Code)(Java Doc)
final public static String ATTR_TOP_REFRESH(Code)(Java Doc)
final protected static String BUTTON(Code)(Java Doc)
final protected static String CONTEXT_SITE_COLLECTION_ID(Code)(Java Doc)
final protected static String CONTEXT_SITE_COLLECTION_URL(Code)(Java Doc)
final protected static String LAYOUT_MAIN(Code)(Java Doc)
protected MyLogger Log(Code)(Java Doc)
final public static String MODE_OPTIONS(Code)(Java Doc)
final protected static String STATE_ACTION(Code)(Java Doc)
final public static String STATE_FLOAT(Code)(Java Doc)
final public static String STATE_HELPER(Code)(Java Doc)
final public static String STATE_MESSAGE(Code)(Java Doc)
final protected static String STATE_MODE(Code)(Java Doc)
final protected static String STATE_OBSERVER(Code)(Java Doc)
final public static String STATE_OBSERVER2(Code)(Java Doc)
final public static String STATE_PRESENCE_OBSERVER(Code)(Java Doc)
final public static String STATE_TOOL(Code)(Java Doc)

Methods inherited from org.sakaiproject.cheftool.VelocityPortletPaneledAction
protected void actionDispatch(String methodBase, String methodExt, HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc)
public static void addAlert(SessionState state, String message)(Code)(Java Doc)
protected void addOptionsMenu(Menu bar, JetspeedRunData data)(Code)(Java Doc)
protected boolean allowedToOptions()(Code)(Java Doc)
protected void cancelOptions()(Code)(Java Doc)
protected String clientWindowId(SessionState state, String toolId)(Code)(Java Doc)
public static void disableObservers(SessionState state)(Code)(Java Doc)
protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException(Code)(Java Doc)
public void doOptions(RunData runData, Context context)(Code)(Java Doc)
public void doReset(RunData runData, Context context)(Code)(Java Doc)
public static void enableObservers(SessionState state)(Code)(Java Doc)
protected Map getContext(RunData data)(Code)(Java Doc)
protected void helperActionDispatch(String methodBase, String methodExt, HttpServletRequest req, HttpServletResponse res, String className)(Code)(Java Doc)
protected void initState(SessionState state, VelocityPortlet portlet, JetspeedRunData rundata)(Code)(Java Doc)
protected void initState(SessionState state, HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc)
public static void justDelivered(SessionState state)(Code)(Java Doc)
public static String mainPanelUpdateId(String toolId)(Code)(Java Doc)
protected String panelMethodName(String panel)(Code)(Java Doc)
public void processAction(HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc)
protected void resetTool(SessionState state)(Code)(Java Doc)
protected void saveOptions()(Code)(Java Doc)
protected void scheduleFocusRefresh(String[] path)(Code)(Java Doc)
protected void schedulePeerFrameRefresh(String id)(Code)(Java Doc)
protected void scheduleTopRefresh()(Code)(Java Doc)
protected void setVmCourier(HttpServletRequest request, int refresh)(Code)(Java Doc)
protected void setVmStdRef(HttpServletRequest request, HttpServletResponse response)(Code)(Java Doc)
public static String titlePanelUpdateId(String toolId)(Code)(Java Doc)
protected void toolModeDispatch(String methodBase, String methodExt, HttpServletRequest req, HttpServletResponse res) throws ToolException(Code)(Java Doc)
protected void updateState(SessionState state, HttpServletRequest req, HttpServletResponse res)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.