# style sheet selection

**URL:** <https://techcommunity.softwareag.com/t/style-sheet-selection/90315>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, NaturalONE, Natural-for-AJAX\
**Created:** [May 28, 2009, 9:31pm UTC](https://techcommunity.softwareag.com/t/style-sheet-selection/90315 "2009-05-28T21:31:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [May 28, 2009, 9:31pm UTC](https://techcommunity.softwareag.com/t/style-sheet-selection/90315/1 "2009-05-28T21:31:44Z")

</div>

Is there a control or way that I can use to allow the user to dynamically change the style sheet in the say way that NATLOGON uses. I looked at the natlogon.xml file and it uses a combo box with a named method etc.

What I would like to do is (from Natural) to allow the user to select a new style sheet like we do for the terminal emulation.

---

<div class="post-metadata">

**Author:** ![Christine\_Zimmermann](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@Christine\_Zimmermann](https://techcommunity.softwareag.com/u/Christine_Zimmermann)\
**Post date:** [June 2, 2009, 1:20pm UTC](https://techcommunity.softwareag.com/t/style-sheet-selection/90315/2 "2009-06-02T13:20:53Z")

</div>

When starting an Application Designer page you can pass the stylesheet as a parameter. Example:

```auto
SESSIONCSS=../cis/styles/CIS_WM.css
```

A complete example url looks like the following:

```auto

http://localhost:8080/cisnatural/servlet/StartCISPage?PAGEURL=/cisnatural/NatLogon.html&SESSIONCSS=../cis/styles/CIS_WM.css
```

This is supported for all Application Designer pages in the current NJX versions.

Additionally Application Designer supports to dynamically switch stylesheets from within the server-side applications. This feature is currently supported for Java Adapters. There is an enhancement request for Natural Adapters but this is not yet supported in NJX123.

Best Regards,  
Christine

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [June 2, 2009, 5:54pm UTC](https://techcommunity.softwareag.com/t/style-sheet-selection/90315/3 "2009-06-02T17:54:11Z")

</div>

Perfect - works well.

Thanks!

Demos

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:57pm UTC](https://techcommunity.softwareag.com/t/style-sheet-selection/90315/4 "2021-04-02T14:57:06Z")

</div>


