19 declare(strict_types=1);
37 $factory = $DIC->ui()->factory();
39 $df = new \ILIAS\Data\Factory();
40 $here_uri = $df->uri($DIC->http()->request()->getUri()->__toString());
44 $content = $factory->input()->container()->form()->standard(
45 $url_builder->buildURI()->__toString(),
46 [$factory->input()->field()->text(
"Text Input")]
49 $response = $factory->prompt()->state()->show($content);
53 $example_namespace = [
'prompt',
'response'];
54 list($url_builder, $url_token) = $url_builder->acquireParameters(
58 $query = $DIC->http()->wrapper()->query();
59 if ($query->has($url_token->getName())) {
65 $prompt = $factory->prompt()->standard($url_builder->buildURI());
66 $show_button = $factory->button()->standard(
'Show Prompt', $prompt->getShowSignal());
70 $txt_response = $factory->legacy()->content(
base()
description: > The example displays the HTML of a State.
exit
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...