Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yracnet/hiska-hskframe
JSF POPUP FRAME IFRAME JAVA SERVER FACES
https://github.com/yracnet/hiska-hskframe
Last synced: 5 days ago
JSON representation
JSF POPUP FRAME IFRAME JAVA SERVER FACES
- Host: GitHub
- URL: https://github.com/yracnet/hiska-hskframe
- Owner: yracnet
- License: apache-2.0
- Created: 2014-04-25T11:29:27.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-04-25T21:20:34.000Z (over 10 years ago)
- Last Synced: 2024-04-24T12:28:02.763Z (7 months ago)
- Homepage:
- Size: 176 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
hiska-HskFrame
==============Sample web application using Java Server Faces and Popup / IFrame navegation JSF2.0 + POPUP / IFRAME java
Hsk - Frame Navegation - Java Server Faces navegation into iframe an return to parent page
Please, help me to test this component for JSF 2.0, 2.1 and 2.2
CommandLink with arget can open a iframe(name reference) and navegate in this iframe until, the case negation toViewId is equals to ViewId caller.
Idea: uses for opene finder page for select a parameter's, this can share paremeters in SESSION SCOPE and FLASH SCOPE.
- index.xhtml : neet 2 params then click "open" link, and define targer attribure
- index.xhtml : automatic ajax-refresh to hsk:panelFrame with name equals to target attribute of command link invoked
- hsk:panelFrame : create a basic estructure for include a iframe in the page, with a simple javascript.(you can modify this estructure for your cusstom project)
- hsk:panelFrame/java script : detected a this navegation-case is equals to parent opener (window.parent/window.top).
- TRUE: close the frame an call to ajax event defined in the commandLink invoked( parent.currentViewId and parent.eventAjax )
- FALSE: open the iframe with url equals to navegation-case, and define 2 methods
- Method 1: currentViewId(), define the viewId caller to iframe (view.viewId)
- Method 2: eventAjax(), define a hack script to simulete click in the commandLink invoked
The HskFrame is a java project for lib the hsk:panelFrame and has all configuration and class for use-alone
The HskTest is a java-web project for test the hsk-jsf-frame_1.5.jar in a simple test, when we need get 2 parameters (session, flash scope) from the popupX.xhtml pages to parent page (main is index.xhtml)