SID-00381: Creating Complex Table with Template
| Status: |
Answered |
TWiki version: |
4.1.1 |
Perl version: |
|
| Category: |
CategoryAutomation |
Server OS: |
|
Last update: |
16 years ago |
Hi,
I Would like to do the following in Twiki:
Have a page ("CreateNewTestMatrix") with a form where a user would input:
- Test Variables or Axis
- For each test variables, possible values of this variable
- name of new topic to create
Upon submitting the form, a new Topic will be created with a new static multi-axis table which can be filled up.
| X | Linux | Solaris | MacOS | Windows | Server OS |
| 1.0 | 2.3 | 1.0 | 2.3 | 1.0 | 2.3 | 1.0 | 2.3 | Apache Version |
| 4.0 | 4.3.1 | 4.0 | 4.3.1 | 4.0 | 4.3.1 | 4.0 | 4.3.1 | 4.0 | 4.3.1 | 4.0 | 4.3.1 | 4.0 | 4.3.1 | 4.0 | 4.3.1 | TWiki Version |
| PATA | ATT | Intel | Ok | Fail | Ok | Fail | N/A | N/A | N/A | N/A | Ok | Ok | Ok | Ok | Ok | Ok | Fail | Fail |
| AMD | Fail | Ok | Ok | Fail | Ok | Fail | Ok | Ok | Fail | Fail | N/A | N/A | N/A | N/A | Fail | Fail |
| Comcast | Intel | Fail | Fail | Fail | Ok | N/A | N/A | Ok | Ok | N/A | N/A | N/A | Fail | Fail | Ok | Ok | N/A |
| AMD | Ok | Fail | Ok | Fail | Ok | Ok | Fail | N/A | Fail | N/A | Ok | Fail | Ok | N/A | Fail | Ok |
| SATA | ATT | Intel | Ok | N/A | Ok | Ok | Fail | Fail | Ok | N/A | Ok | Fail | Fail | Ok | Fail | Fail | Fail | Ok |
| AMD | N/A | Ok | Fail | Ok | Ok | Fail | Ok | Fail | Fail | N/A | N/A | Fail | Fail | Fail | Ok | N/A |
| Comcast | Intel | Ok | Ok | Ok | Ok | N/A | Fail | Fail | N/A | N/A | Fail | N/A | Fail | N/A | N/A | Ok | Ok |
| AMD | N/A | Fail | Ok | Ok | N/A | Fail | Ok | N/A | Fail | N/A | N/A | Ok | N/A | Fail | Ok | Fail |
| Disk | Provider | CPU |
|---|
I can write javascript to render such a table, but I would like not to need a special plugin (as I dont have access to install plugins) Also, while I can write the javascript to render such table, that table is not editable.
Is there anyway to do this without requiring a plugin ?
Thanks
--
TWikiGuest - 2009-06-19
Discussion and Answer
First, please do not use screen names. As indicated in the registration page, please register with your real name, also for the
WikiName.
I am not sure I understand your goal, but assuming you want a form that asks for the values of one table row in above table, I'd use this approach:
- create a TWikiForms based application where you store all values of a table row in a form attached to a page
- use a FormattedSearch to build your table dynamically
--
PeterThoeny - 2009-06-20
Closing this after more than 30 days idle time.
--
PeterThoeny - 2009-08-12
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.