Mailing List webobjects-dev@wocommunity.org Message #413
From: Markus Ruggiero (rucotec) <markus.ruggiero@rucotec.ch>
Subject: Re: [WO-DEV] D2W Tabbed Edit Pages
Date: Wed, 25 Jan 2023 22:04:38 -0500
To: WebObjects & WOnder Development <webobjects-dev@wocommunity.org>
Signed Data (Text SHA256)
Thanks René,

found a solution in a list server posting from around 2013!

For the record:

create a rule like this
pageConfiguration = “EditMyEO” => subTask = “tab”

then you can can specify your displayPropertyKeys like this
(
“[tab_1]”,
“field_a”,
“field_b”,
“[tab_2]”,
“another_field”
)

NOTE 
You need square brackets [ ] to denominate the tabs, not round parentheses like you do when you want to have sub-sections!

I was not able to also specify sections inside one tab panel. Using round parentheses resulted in a keyNotFound exception. Is this not possible or is there something else / different I need to do?

And another problem: localization of the tab names. 
Given the above displayPropertyKeys I have in Localizable.strings

“xxx.tab_1” = “Tab One”;

What do I use for xxx?

None of the prefixes Nav, TabKey, SectionKey for the keypath in Localizable.strings helped. Nav and SectionKey work for the D2W navigation tabs and section titles inside an edit page. SectionKey gives either a section title when used with a regular nob-tabbed edit page or it is used for the tab name when using a wizard create page. But it seems not to work for edit pages with subTask tab. How would I specify the proper key. Is there documentation? I think I have seen some once but again I am not able to find it. 





On 24 Jan 2023, at 03:22, René Bock <bock@salient-doremus.de> wrote:

Hi Markus,

You may look at  the following Rule in ERDirectToWeb/Resources/d2w.d2wmodel:


165: {"author" = "10"; "class" = "com.webobjects.directtoweb.Rule"; "rhs" = {"class" = "er.directtoweb.ERDTabDictionaryComputer"; "keyPath" = "tabContents"; "value" = "<ERDTabDictionaryComputer>"; }; },  

Am 24.01.2023 um 04:02 schrieb Markus Ruggiero (rucotec) <markus.ruggiero@rucotec.ch>:

Folks,

I could swear I did see somewhere that it is possible to have Edit-pages in D2W split over several tabs similar to wizard creation pages but I cannot find any doc or example how to do this. Am I blind or am I dumb or am I just confusing things and it is not possible?

Please enlighten me
---markus---



Regards,

René
#############################################################
This message is sent to you because you are subscribed to
 the mailing list <webobjects-dev@wocommunity.org>.
To unsubscribe, E-mail to: <webobjects-dev-off@wocommunity.org>
To switch to the DIGEST mode, E-mail to <webobjects-dev-digest@wocommunity.org>
To switch to the INDEX mode, E-mail to <webobjects-dev-index@wocommunity.org>
Send administrative queries to  <webobjects-dev-request@wocommunity.org>









Content Unaltered as verified By:
<markus.ruggiero@rucotec.ch>
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster