Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OLAT CI-CD Testing Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Oliver Dam
OLAT CI-CD Testing Project
Commits
e56b6e8e
Commit
e56b6e8e
authored
12 years ago
by
srosse
Browse files
Options
Downloads
Patches
Plain Diff
OO-242: make the TitledWrapper pass the activation further
parent
025b88e0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/olat/core/gui/control/generic/title/TitledWrapperController.java
+13
-1
13 additions, 1 deletion
...re/gui/control/generic/title/TitledWrapperController.java
with
13 additions
and
1 deletion
src/main/java/org/olat/core/gui/control/generic/title/TitledWrapperController.java
+
13
−
1
View file @
e56b6e8e
...
@@ -26,6 +26,8 @@
...
@@ -26,6 +26,8 @@
package
org.olat.core.gui.control.generic.title
;
package
org.olat.core.gui.control.generic.title
;
import
java.util.List
;
import
org.olat.core.gui.UserRequest
;
import
org.olat.core.gui.UserRequest
;
import
org.olat.core.gui.components.Component
;
import
org.olat.core.gui.components.Component
;
import
org.olat.core.gui.components.velocity.VelocityContainer
;
import
org.olat.core.gui.components.velocity.VelocityContainer
;
...
@@ -34,7 +36,10 @@ import org.olat.core.gui.control.Event;
...
@@ -34,7 +36,10 @@ import org.olat.core.gui.control.Event;
import
org.olat.core.gui.control.WindowControl
;
import
org.olat.core.gui.control.WindowControl
;
import
org.olat.core.gui.control.controller.BasicController
;
import
org.olat.core.gui.control.controller.BasicController
;
import
org.olat.core.gui.control.generic.clone.CloneableController
;
import
org.olat.core.gui.control.generic.clone.CloneableController
;
import
org.olat.core.gui.control.generic.dtabs.Activateable2
;
import
org.olat.core.gui.control.generic.spacesaver.ToggleBoxController
;
import
org.olat.core.gui.control.generic.spacesaver.ToggleBoxController
;
import
org.olat.core.id.context.ContextEntry
;
import
org.olat.core.id.context.StateEntry
;
import
org.olat.core.util.Formatter
;
import
org.olat.core.util.Formatter
;
import
org.olat.core.util.StringHelper
;
import
org.olat.core.util.StringHelper
;
...
@@ -48,7 +53,7 @@ import org.olat.core.util.StringHelper;
...
@@ -48,7 +53,7 @@ import org.olat.core.util.StringHelper;
* Initial Date: 21.06.2007 <br>
* Initial Date: 21.06.2007 <br>
* @author Lavinia Dumitrescu, Florian Gnägi
* @author Lavinia Dumitrescu, Florian Gnägi
*/
*/
public
class
TitledWrapperController
extends
BasicController
implements
CloneableController
{
public
class
TitledWrapperController
extends
BasicController
implements
CloneableController
,
Activateable2
{
private
static
final
String
COMPONENT_NAME
=
"child"
;
private
static
final
String
COMPONENT_NAME
=
"child"
;
//Velocity variable
//Velocity variable
...
@@ -136,6 +141,13 @@ public class TitledWrapperController extends BasicController implements Cloneabl
...
@@ -136,6 +141,13 @@ public class TitledWrapperController extends BasicController implements Cloneabl
contentController
=
null
;
contentController
=
null
;
}
}
@Override
public
void
activate
(
UserRequest
ureq
,
List
<
ContextEntry
>
entries
,
StateEntry
state
)
{
if
(
contentController
instanceof
Activateable2
)
{
((
Activateable2
)
contentController
).
activate
(
ureq
,
entries
,
state
);
}
}
public
void
event
(
UserRequest
ureq
,
Component
source
,
Event
event
)
{
public
void
event
(
UserRequest
ureq
,
Component
source
,
Event
event
)
{
// nothing to catch
// nothing to catch
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment