Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion
Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion
- Subject: Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion
- From: Timothy Worman <email@hidden>
- Date: Sat, 20 Jul 2013 14:37:32 -0700
Super stoked. Appreciate your JS talents and efforts.
T
On Jul 20, 2013, at 2:06 PM, Johnny Miller <email@hidden> wrote:
> I guess this would be a bad time to mention I'm working on a JQAjaxTabbedPanel?
>
> On Jul 19, 2013, at 7:34 PM, Timothy Worman <email@hidden> wrote:
>
>> On Jul 19, 2013, at 9:53 PM, Ray Kiddy <email@hidden> wrote:
>>
>>>
>>> On Jul 15, 2013, at 7:21 AM, Chuck Hill wrote:
>>>
>>>> Yes, AjaxTabbedPanel is going to fight you here.
>>>>
>>>> Chuck
>>>
>>> Really? AjaxTabbedPanel does not do repetitions? This seems odd. And undocumented.
>>>
>>> Just for fun, can anyone take a stab at how one would decide to use one of these and not one of the others?
>>>
>>> AjaxTabbedPanel
>>>
>>> MTAjaxTabbedPanel
>>>
>>> CCAjaxTabPanel
>>>
>>> CCTabPanel
>>>
>>> ERLITTabPanel
>>>
>>> ERXAjaxTabPanel
>>>
>>> ERXColoredTabPanel
>>>
>>> ERXImageTabPanel
>>>
>>> ERXTabPanel
>>>
>>> WOTabPanel
>>>
>>> These all exist in the Wonder frameworks.
>>>
>>> I mean, hey, I looked for an ERXWOTabPanel, an ERDTabPanel, and a BTTabPanel and they are not there. What's up? We're falling down on the job here.
>>>
>>> And what about IERXTabPanel. Where is David Avendasora when we need him?
>>>
>>> - ray
>>
>> Well, anything with Ajax or MT in front of it is pretty self-explanatory. Thank you Johnny Miller for MT! I think I can understand from the naming that a bunch of them are non-ajax? But the CC naming convention - where’d that come from?
>>
>> Tim
>> UCLA GSE&IS
>>
>>>
>>>> On 2013-07-15, at 5:07 AM, Paul Yu wrote:
>>>>
>>>>> Raymond
>>>>>
>>>>> I had better success using CCTabPanel for dynamically creating tabs.
>>>>>
>>>>> .html
>>>>>
>>>>> <wo:CCAjaxTabPanel id = "tabs" selectedTab="$tabSelection" tabs = "$tabs" tabNameKey="tabLabel" useFormSubmit="$true">
>>>>> <!-- <wo:str value = "$selectedTabsWOComponent" /> -->
>>>>>
>>>>> <wo:AjaxUpdateContainer id = "ccTabContentContainer">
>>>>> <wo:switch WOComponentName="$selectedTabsWOComponent" accessController="$accessController" evaluation = "$evaluation" />
>>>>> </wo:AjaxUpdateContainer>
>>>>>
>>>>> </wo:CCAjaxTabPanel>
>>>>>
>>>>>
>>>>> .java
>>>>>
>>>>> private NSArray<NSDictionary> _tabs;
>>>>>
>>>>> public NSArray<NSDictionary> tabs() {
>>>>> if (_tabs == null) {
>>>>> // the evaluation has a method for getting the districtDomains
>>>>> NSMutableArray<NSDictionary> tabs = new NSMutableArray<NSDictionary>();
>>>>>
>>>>> NSMutableDictionary<Object, String> myTab1 = new NSMutableDictionary<Object, String>("My Tab Title", "tabLabel");
>>>>> observationsTab.takeValueForKey(ObservationSubTab.class.getName(), "wocomponent");
>>>>>
>>>>> // More tabs here
>>>>>
>>>>> tabs.add(myTab1);
>>>>>
>>>>> _tabs = tabs.immutableClone();
>>>>> }
>>>>>
>>>>> return _tabs;
>>>>> }
>>>>>
>>>>> Paul
>>>>> On Jul 15, 2013, at 4:18 AM, Raymond NANEON <email@hidden> wrote:
>>>>>
>>>>>> Hi List,
>>>>>>
>>>>>> I don't understand why item is null when I want to dynamically create tabs in AjaxTabbedPanel using WORepetion.
>>>>>> What's wrong in my codes?
>>>>>> Envoyé depuis iCloud
>>>>>>
>>>>>> Le 12 jul 2013 à 07:08, Raymond NANEON <email@hidden> a écrit :
>>>>>>
>>>>>>> Hi List,
>>>>>>>
>>>>>>> I want to create many of AjaxTabbedPanelTab from WORepetition in AjaxTabbedPanel.
>>>>>>>
>>>>>>> html :
>>>>>>>
>>>>>>> <webobject name = "Tabs">
>>>>>>> <webobject name = "repeatTabbedPanelTab">
>>>>>>> <webobject name = "DynamiqueTab"><webobject name = "template" /></webobject>
>>>>>>> </webobject>
>>>>>>> </webobject>
>>>>>>>
>>>>>>> wod :
>>>>>>>
>>>>>>> Tabs : AjaxTabbedPanel {
>>>>>>> id = tabsId;
>>>>>>> }
>>>>>>>
>>>>>>> repeatTabbedPanelTab : WORepetition {
>>>>>>> list = competences;
>>>>>>> item = competenceItem;
>>>>>>> identifier = dynaTabId;
>>>>>>> }
>>>>>>>
>>>>>>> DynamiqueTab : AjaxTabbedPanelTab {
>>>>>>> name = libelle;
>>>>>>> isSelected = false;
>>>>>>> id = dynaTabId;
>>>>>>> }
>>>>>>>
>>>>>>> template : TemplateCompTierBase {
>>>>>>> competence = competenceItem;
>>>>>>> domaine = competenceItem.domaine;
>>>>>>> editingContext = competenceItem.editingContext;
>>>>>>> updateContainerID = TRCompoementId;
>>>>>>> }
>>>>>>>
>>>>>>>
>>>>>>> In this case (WORepetition in AjaxTabbedPanel) in the repetition item is always NULL.
>>>>>>>
>>>>>>> So when I put the AjaxTabbedPanel in the WORepetition, it works fine but I have many of AjaxTabbedPanel instead of many tabs.
>>>>>>>
>>>>>>> Thanks for your help
>>>>>>> Envoyé depuis iCloud
>>>>>>> _______________________________________________
>>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>>> Webobjects-dev mailing list (email@hidden)
>>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>>
>>>>>>> This email sent to email@hidden
>>>>>>>
>>>>>> _______________________________________________
>>>>>> Do not post admin requests to the list. They will be ignored.
>>>>>> Webobjects-dev mailing list (email@hidden)
>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>>
>>>>>> This email sent to email@hidden
>>>>>
>>>>> _______________________________________________
>>>>> Do not post admin requests to the list. They will be ignored.
>>>>> Webobjects-dev mailing list (email@hidden)
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>
>>>>> This email sent to email@hidden
>>>>
>>>> --
>>>> Chuck Hill
>>>> Executive Managing Partner, VP Development and Technical Services
>>>>
>>>> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
>>>> http://www.global-village.net/gvc/practical_webobjects
>>>>
>>>> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C!
>>>>
>>>> Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list (email@hidden)
>>>> Help/Unsubscribe/Update your Subscription:
>>>>
>>>> This email sent to email@hidden
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden