Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-28 Thread Johnny Miller
Hi Ray,

I was thinking the same thing.  Maybe you could even just have a component that 
just contains a switch component whose name gets resolved by a property and or 
a binding?  Then the individual implementations wouldn't get too big and you 
could call them specifically if you wanted to.  I guess the tricky part is that 
the bindings can deviate a little bit?

Aloha,
Mr. Johnny Miller
Web Development Manager
Kahalawai Media Company
Lahaina, HI 96761
tel: (808) 661-7962 | mobile: (808) 283-0791
website | e-mail

On Jul 28, 2013, at 11:28 AM, Ray Kiddy  wrote:

> 
> On Jul 20, 2013, at 2:06 PM, Johnny Miller  wrote:
> 
>> I guess this would be a bad time to mention I'm working on a 
>> JQAjaxTabbedPanel?
>> 
> 
> Sigh…….
> 
> Well, no. People implementing good stuff is always appreciated.
> 
> I guess two questions come to mind. If we are developing new components to do 
> things better, can we start deprecating and getting rid of older components 
> that do not have this new good-ness?
> 
> Also, I wonder if there is a way to combine components. I mean, it seems 
> obvious that if you have 5 components that all something in different ways, 
> you _could_ actually package this as one component with a 5-way switch. 
> Imagine if a component was named after what it did instead of being named 
> with a prefix specific to when it was designed. We _could_ have just one 
> Accordion component and have switches for Ajax or no, for JQuery or no, for 
> animated or no. I can see this may be complicated to actually implement, but 
> we could suggest some complication can be shouldered by our developers and 
> not load all of the complexity onto our users….
> 
> - ray
> 
> 
>> On Jul 19, 2013, at 7:34 PM, Timothy Worman  wrote:
>> 
>>> On Jul 19, 2013, at 9:53 PM, Ray Kiddy  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
>>>>>> 
>>>>>>  >>>>> = "$tabs" tabNameKey="tabLabel" useFormSubmit="$true">
>>>>>>  
>>>>>>  
>>>>>>  
>>>>>>  >>>>> accessController="$accessController" evaluation = "$evaluation" />
>>>>>>  
>>>>>>  
>>>>>>  
>>>>>> 
>>>>>> 
>>>>>> .java
>>>>>> 
>>>>>> private NSArray _tabs;
>>>>>> 
>>>>>> public NS

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-28 Thread Ray Kiddy

On Jul 20, 2013, at 2:06 PM, Johnny Miller  wrote:

> I guess this would be a bad time to mention I'm working on a 
> JQAjaxTabbedPanel?
> 

Sigh…….

Well, no. People implementing good stuff is always appreciated.

I guess two questions come to mind. If we are developing new components to do 
things better, can we start deprecating and getting rid of older components 
that do not have this new good-ness?

Also, I wonder if there is a way to combine components. I mean, it seems 
obvious that if you have 5 components that all something in different ways, you 
_could_ actually package this as one component with a 5-way switch. Imagine if 
a component was named after what it did instead of being named with a prefix 
specific to when it was designed. We _could_ have just one Accordion component 
and have switches for Ajax or no, for JQuery or no, for animated or no. I can 
see this may be complicated to actually implement, but we could suggest some 
complication can be shouldered by our developers and not load all of the 
complexity onto our users….

- ray


> On Jul 19, 2013, at 7:34 PM, Timothy Worman  wrote:
> 
>> On Jul 19, 2013, at 9:53 PM, Ray Kiddy  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
>>>>> 
>>>>>   >>>> = "$tabs" tabNameKey="tabLabel" useFormSubmit="$true">
>>>>>   
>>>>>   
>>>>>   
>>>>>   >>>> accessController="$accessController" evaluation = "$evaluation" />
>>>>>   
>>>>>   
>>>>>   
>>>>> 
>>>>> 
>>>>> .java
>>>>> 
>>>>> private NSArray _tabs;
>>>>> 
>>>>> public NSArray tabs() {
>>>>>   if (_tabs == null) {
>>>>>   // the evaluation has a method for getting the districtDomains
>>>>>   NSMutableArray tabs = new 
>>>>> NSMutableArray();
>>>>>   
>>>>>   NSMutableDictionary myTab1 = new 
>>>>> NSMutableDictionary("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  wrote:
>>>>> 
>>>>>> H

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-22 Thread Johnny Miller
Hi Timmy,

I've got a long way to go before the JQuery framework is finished but here is a 
sneak peek: 
http://www.kahalawai.com/cgi-bin/WebObjects/JQueryExample.woa/wa/PageAction/AjaxTabTestPage

Any condemnation, critiques, advice or assistance would be greatly appreciated 
;)

Aloha,
Mr. Johnny Miller
Web Development Manager
Kahalawai Media Company
Lahaina, HI 96761
tel: (808) 661-7962 | mobile: (808) 283-0791
website | e-mail

On Jul 20, 2013, at 11:37 AM, Timothy Worman  wrote:

> Super stoked. Appreciate your JS talents and efforts.
> 
> T
> 
> On Jul 20, 2013, at 2:06 PM, Johnny Miller  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  wrote:
>> 
>>> On Jul 19, 2013, at 9:53 PM, Ray Kiddy  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
>>>>>> 
>>>>>>  >>>>> = "$tabs" tabNameKey="tabLabel" useFormSubmit="$true">
>>>>>>  
>>>>>>  
>>>>>>  
>>>>>>  >>>>> accessController="$accessController" evaluation = "$evaluation" />
>>>>>>  
>>>>>>  
>>>>>>  
>>>>>> 
>>>>>> 
>>>>>> .java
>>>>>> 
>>>>>> private NSArray _tabs;
>>>>>> 
>>>>>> public NSArray tabs() {
>>>>>>  if (_tabs == null) {
>>>>>>  // the evaluation has a method for getting the districtDomains
>>>>>>  NSMutableArray tabs = new 
>>>>>> NSMutableArray();
>>>>>>  
>>>>>>  NSMutableDictionary myTab1 = new 
>>>>>> NSMutableDictionary("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  wr

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-20 Thread James Cicenia
+1

Thanks

Ps: funny thread

Sent from my iPhone

> On Jul 20, 2013, at 4:37 PM, Timothy Worman  wrote:
> 
> Super stoked. Appreciate your JS talents and efforts.
> 
> T
> 
>> On Jul 20, 2013, at 2:06 PM, Johnny Miller  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  wrote:
>>> 
 On Jul 19, 2013, at 9:53 PM, Ray Kiddy  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
>> 
>>> "$tabs" tabNameKey="tabLabel" useFormSubmit="$true">
>>   
>>  
>>
>>
>>> accessController="$accessController" evaluation = "$evaluation" />
>>
>>
>>
>> 
>> 
>> .java
>> 
>> private NSArray _tabs;

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-20 Thread Timothy Worman
Super stoked. Appreciate your JS talents and efforts.

T

On Jul 20, 2013, at 2:06 PM, Johnny Miller  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  wrote:
> 
>> On Jul 19, 2013, at 9:53 PM, Ray Kiddy  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
>>>>> 
>>>>>   >>>> = "$tabs" tabNameKey="tabLabel" useFormSubmit="$true">
>>>>>   
>>>>>   
>>>>>   
>>>>>   >>>> accessController="$accessController" evaluation = "$evaluation" />
>>>>>   
>>>>>   
>>>>>   
>>>>> 
>>>>> 
>>>>> .java
>>>>> 
>>>>> private NSArray _tabs;
>>>>> 
>>>>> public NSArray tabs() {
>>>>>   if (_tabs == null) {
>>>>>   // the evaluation has a method for getting the districtDomains
>>>>>   NSMutableArray tabs = new 
>>>>> NSMutableArray();
>>>>>   
>>>>>   NSMutableDictionary myTab1 = new 
>>>>> NSMutableDictionary("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  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  a écrit :
>>>>>> 
>>>>>>> Hi List,
>>>>>>> 
>>>>>>> I want to create many of AjaxTabbedPanelTab from WORepetition in 
>>>>>>> AjaxTabbedPanel.
>>>>>>> 
>>>>>>> html : 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>>   

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-20 Thread Johnny Miller
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  wrote:

> On Jul 19, 2013, at 9:53 PM, Ray Kiddy  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
>>>> 
>>>>>>> = "$tabs" tabNameKey="tabLabel" useFormSubmit="$true">
>>>>
>>>>
>>>>
>>>>>>> accessController="$accessController" evaluation = "$evaluation" />
>>>>
>>>>
>>>>
>>>> 
>>>> 
>>>> .java
>>>> 
>>>>  private NSArray _tabs;
>>>> 
>>>>  public NSArray tabs() {
>>>>if (_tabs == null) {
>>>>// the evaluation has a method for getting the districtDomains
>>>>NSMutableArray tabs = new 
>>>> NSMutableArray();
>>>>
>>>>NSMutableDictionary myTab1 = new 
>>>> NSMutableDictionary("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  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  a écrit :
>>>>> 
>>>>>> Hi List,
>>>>>> 
>>>>>> I want to create many of AjaxTabbedPanelTab from WORepetition in 
>>>>>> AjaxTabbedPanel.
>>>>>> 
>>>>>> html : 
>>>>>> 
>>>>>> 
>>>>>>  
>>>>>>>>>>> name = "template" />
>>>>>>  
>>>>>>
>>>>>> 
>>>>>> wod : 
>>>>>> 
>>>>>> Tabs : AjaxTabbedPanel {
>>>>>>  id = tabsId;
>>>>>> }
>>>>>> 
>>>>>> repeatTabbedPanelTab : WORepetition {
>>>>>>  list = competences;
>>>>>>  item = competenceItem;
>>>>>>  identifier = dynaTabId;
&g

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-20 Thread Chuck Hill

On 2013-07-19, at 9:53 PM, Ray Kiddy 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.

That depends on what you read into the documentation:

 * This implements the tabs and the main control of a tabbed panel display as an
 * unordered list (UL and LI elements). The tab contents go in AjaxTabbedPanel
 * components contained within this component. The tab contents are loaded on
 * demand so only the selected tab is rendered when the page is displayed.

:-)

Chuck

> 
> 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
> 
> 
> 
>> 
>> On 2013-07-15, at 5:07 AM, Paul Yu wrote:
>> 
>>> Raymond
>>> 
>>> I had better success using CCTabPanel for dynamically creating tabs.
>>> 
>>> .html
>>> 
>>> >> = "$tabs" tabNameKey="tabLabel" useFormSubmit="$true">
>>> 
>>> 
>>> 
>>> >> accessController="$accessController" evaluation = "$evaluation" />
>>> 
>>> 
>>> 
>>> 
>>> 
>>> .java
>>> 
>>>   private NSArray _tabs;
>>> 
>>>   public NSArray tabs() {
>>> if (_tabs == null) {
>>> // the evaluation has a method for getting the districtDomains
>>> NSMutableArray tabs = new 
>>> NSMutableArray();
>>> 
>>> NSMutableDictionary myTab1 = new 
>>> NSMutableDictionary("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  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  a écrit :
>>>> 
>>>>> Hi List,
>>>>> 
>>>>> I want to create many of AjaxTabbedPanelTab from WORepetition in 
>>>>> AjaxTabbedPanel.
>>>>> 
>>>>> html : 
>>>>> 
>>>>> 
>>>>>   
>>>>> >>>> name = "template" />
>>>>>   
>>>>> 
>>>>> 
>>>>> 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; 
>&g

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-19 Thread Chuck Hill

On 2013-07-19, at 10:34 PM, Timothy Worman wrote:
> 
> 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?

Mr. Schrag's CoolComponents, which are way cooler than mine, if I do say so.  
The AjaxTabbedPanel was a nasty, nasty, nasty hack.  It works.   But

Chuck



 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-19 Thread Timothy Worman
On Jul 19, 2013, at 9:53 PM, Ray Kiddy  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
>>> 
>>> >> = "$tabs" tabNameKey="tabLabel" useFormSubmit="$true">
>>> 
>>> 
>>> 
>>> >> accessController="$accessController" evaluation = "$evaluation" />
>>> 
>>> 
>>> 
>>> 
>>> 
>>> .java
>>> 
>>>   private NSArray _tabs;
>>> 
>>>   public NSArray tabs() {
>>> if (_tabs == null) {
>>> // the evaluation has a method for getting the districtDomains
>>> NSMutableArray tabs = new 
>>> NSMutableArray();
>>> 
>>> NSMutableDictionary myTab1 = new 
>>> NSMutableDictionary("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  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  a écrit :
>>>> 
>>>>> Hi List,
>>>>> 
>>>>> I want to create many of AjaxTabbedPanelTab from WORepetition in 
>>>>> AjaxTabbedPanel.
>>>>> 
>>>>> html : 
>>>>> 
>>>>> 
>>>>>   
>>>>> >>>> name = "template" />
>>>>>   
>>>>> 
>>>>> 
>>>>> 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;
>>>>> }
>>>>> 
>>>>> 
>>>>

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-19 Thread Ray Kiddy

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



> 
> On 2013-07-15, at 5:07 AM, Paul Yu wrote:
> 
>> Raymond
>> 
>> I had better success using CCTabPanel for dynamically creating tabs.
>> 
>> .html
>> 
>>  > = "$tabs" tabNameKey="tabLabel" useFormSubmit="$true">
>>  
>>  
>>  
>>  > accessController="$accessController" evaluation = "$evaluation" />
>>  
>>  
>>  
>> 
>> 
>> .java
>> 
>>private NSArray _tabs;
>> 
>>public NSArray tabs() {
>>  if (_tabs == null) {
>>  // the evaluation has a method for getting the districtDomains
>>  NSMutableArray tabs = new 
>> NSMutableArray();
>>  
>>  NSMutableDictionary myTab1 = new 
>> NSMutableDictionary("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  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  a écrit :
>>> 
>>>> Hi List,
>>>> 
>>>> I want to create many of AjaxTabbedPanelTab from WORepetition in 
>>>> AjaxTabbedPanel.
>>>> 
>>>> html : 
>>>> 
>>>> 
>>>>
>>>>  >>> name = "template" />
>>>>
>>>>  
>>>> 
>>>> 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 (Webobjects-dev@lists.apple.com)
>>>> Help/Unsubscribe/Update your Subscription:
>>>> https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
>>>> 
>>>> This email sent to rnan...@me.com
>>>> 
&g

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-15 Thread Raymond NANEON
Hey Chuck,AjaxTabbedPanel don't like loop it seems. I tried the method of Paul and I solved my problem.ThanksEnvoyé depuis iCloudLe 15 jul 2013 à 07:21, Chuck Hill  a écrit :Yes, AjaxTabbedPanel is going to fight you here.  Chuck  On 2013-07-15, at 5:07 AM, Paul Yu wrote: RaymondI had better success using CCTabPanel for dynamically creating tabs..html.javaprivate NSArray _tabs;public NSArray tabs() {if (_tabs == null) {// the evaluation has a method for getting the districtDomainsNSMutableArray tabs = new NSMutableArray();NSMutableDictionary myTab1 = new NSMutableDictionary("My Tab Title", "tabLabel");observationsTab.takeValueForKey(ObservationSubTab.class.getName(), "wocomponent");// More tabs heretabs.add(myTab1);_tabs = tabs.immutableClone();}return _tabs;}PaulOn Jul 15, 2013, at 4:18 AM, Raymond NANEON <rnan...@me.com> 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 iCloudLe 12 jul 2013 à 07:08, Raymond NANEON <rnan...@me.com> a écrit :Hi List,I want to create many of AjaxTabbedPanelTab from WORepetition in AjaxTabbedPanel.html :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 helpEnvoyé depuis iCloud___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com This email sent to rnan...@me.com ___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com This email sent to p...@mac.com ___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net  --  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  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

[SOLVED] - Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-15 Thread Raymond NANEON
leDictionary("My Tab Title", "tabLabel");        observationsTab.takeValueForKey(ObservationSubTab.class.getName(), "wocomponent");// More tabs here        tabs.add(myTab1);        _tabs = tabs.immutableClone();    }       return _tabs;}PaulOn Jul 15, 2013, at 4:18 AM, Raymond NANEON <rnan...@me.com> 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 iCloudLe 12 jul 2013 à 07:08, Raymond NANEON <rnan...@me.com> a écrit :Hi List,I want to create many of AjaxTabbedPanelTab from WORepetition in AjaxTabbedPanel.html :             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 helpEnvoyé depuis iCloud___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com  This email sent to rnan...@me.com ___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.comThis email sent to p...@mac.com  ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-15 Thread Chuck Hill
Yes, AjaxTabbedPanel is going to fight you here.

Chuck

On 2013-07-15, at 5:07 AM, Paul Yu wrote:

> Raymond
> 
> I had better success using CCTabPanel for dynamically creating tabs.
> 
> .html
> 
>= "$tabs" tabNameKey="tabLabel" useFormSubmit="$true">
>   
>   
>   
>accessController="$accessController" evaluation = "$evaluation" />
>   
>   
>   
> 
> 
> .java
> 
> private NSArray _tabs;
> 
> public NSArray tabs() {
>   if (_tabs == null) {
>   // the evaluation has a method for getting the districtDomains
>   NSMutableArray tabs = new 
> NSMutableArray();
>   
>   NSMutableDictionary myTab1 = new 
> NSMutableDictionary("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  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  a écrit :
>> 
>>> Hi List,
>>> 
>>> I want to create many of AjaxTabbedPanelTab from WORepetition in 
>>> AjaxTabbedPanel.
>>> 
>>> html : 
>>> 
>>> 
>>> 
>>>   >> name = "template" />
>>> 
>>>   
>>> 
>>> 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 (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
>>> 
>>> This email sent to rnan...@me.com
>>>  
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com
>> 
>> This email sent to p...@mac.com
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to ch...@global-village.net

-- 
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  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-15 Thread Paul Yu
private NSArray _tabs;
>>>> 
>>>> public NSArray tabs() {
>>>> if (_tabs == null) {
>>>> // the evaluation has a method for getting the districtDomains
>>>> NSMutableArray tabs = new 
>>>> NSMutableArray();
>>>>
>>>>     NSMutableDictionary myTab1 = new 
>>>> NSMutableDictionary("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  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  a écrit :
>>>>> 
>>>>>> Hi List,
>>>>>> 
>>>>>> I want to create many of AjaxTabbedPanelTab from WORepetition in 
>>>>>> AjaxTabbedPanel.
>>>>>> 
>>>>>> html : 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>   >>>>> "DynamiqueTab">
>>>>>> 
>>>>>>   
>>>>>> 
>>>>>> 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 (Webobjects-dev@lists.apple.com)
>>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>> https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
>>>>>> 
>>>>>> This email sent to rnan...@me.com
>>>>>>  
>>>>> ___
>>>>> Do not post admin requests to the list. They will be ignored.
>>>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>> https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com
>>>>> 
>>>>> This email sent to p...@mac.com
>>>>>  
>>>> 
>> 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-15 Thread Raymond NANEON
Hi Paul,Your example is great but very confused with all variables. Can I have a clean .java example.Sorry for the mess.Envoyé depuis iCloudLe 15 jul 2013 à 06:19, Paul Yu  a écrit :RaymondobservationsTab is myTab1.  Sorry.  Cut and paste and clean, not too good.private NSDictionary _tabSelection;public NSDictionary tabSelection() {        return_tabSelection;    }    public void setTabSelection(NSDictionary tabSelection) {        _tabSelection = tabSelection;        String tabLabelString = (String) _tabSelection.valueForKey("tabLabel");    }        public Object selectedTabsWOComponent() {        return _tabSelection.valueForKey("wocomponent");    }On Jul 15, 2013, at 9:09 AM, Raymond NANEON <rnan...@me.com> wrote:Hi Paul,Thanks for your help.Can I have detail of .java ? tabSelection nature?  observationsTab ?? where do you use this component?Envoyé depuis iCloudLe 15 jul 2013 à 05:07, Paul Yu <p...@mac.com> a écrit :RaymondI had better success using CCTabPanel for dynamically creating tabs..html<wo:CCAjaxTabPanelid="tabs"selectedTab="$tabSelection"tabs="$tabs"tabNameKey="tabLabel"useFormSubmit="$true"><wo:AjaxUpdateContainerid="ccTabContentContainer">    <wo:switchWOComponentName="$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 myTab1 = new NSMutableDictionary("My Tab Title", "tabLabel");        observationsTab.takeValueForKey(ObservationSubTab.class.getName(), "wocomponent");// More tabs here        tabs.add(myTab1);        _tabs = tabs.immutableClone();    }       return _tabs;}PaulOn Jul 15, 2013, at 4:18 AM, Raymond NANEON <rnan...@me.com> 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 iCloudLe 12 jul 2013 à 07:08, Raymond NANEON <rnan...@me.com> a écrit :Hi List,I want to create many of AjaxTabbedPanelTab from WORepetition in AjaxTabbedPanel.html :             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 helpEnvoyé depuis iCloud___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com  This email sent to rnan...@me.com ___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.comThis email sent to p...@mac.com  ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-15 Thread Paul Yu
Raymond

observationsTab is myTab1.  Sorry.  Cut and paste and clean, not too good.

private NSDictionary _tabSelection;

public NSDictionary tabSelection() {
return _tabSelection;
}

public void setTabSelection(NSDictionary tabSelection) {
_tabSelection = tabSelection;
String tabLabelString = (String) _tabSelection.valueForKey("tabLabel");

}

public Object selectedTabsWOComponent() {
return _tabSelection.valueForKey("wocomponent");
}

On Jul 15, 2013, at 9:09 AM, Raymond NANEON  wrote:

> Hi Paul,
> 
> Thanks for your help.
> 
> Can I have detail of .java ? tabSelection nature?  observationsTab ?? where 
> do you use this component?
> Envoyé depuis iCloud
> 
> Le 15 jul 2013 à 05:07, Paul Yu  a écrit :
> 
>> Raymond
>> 
>> I had better success using CCTabPanel for dynamically creating tabs.
>> 
>> .html
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> .java
>> 
>> private NSArray _tabs;
>> 
>> public NSArray tabs() {
>> if (_tabs == null) {
>> // the evaluation has a method for getting the districtDomains
>> NSMutableArray tabs = new 
>> NSMutableArray();
>>
>> NSMutableDictionary myTab1 = new 
>> NSMutableDictionary("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  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  a écrit :
>>> 
>>>> Hi List,
>>>> 
>>>> I want to create many of AjaxTabbedPanelTab from WORepetition in 
>>>> AjaxTabbedPanel.
>>>> 
>>>> html : 
>>>> 
>>>> 
>>>> 
>>>>   >>> name = "template" />
>>>> 
>>>>   
>>>> 
>>>> 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 (Webobjects-dev@lists.apple.com)
>>>> Help/Unsubscribe/Update your Subscription:
>>>> https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
>>>> 
>>>> This email sent to rnan...@me.com
>>>>  
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com
>>> 
>>> This email sent to p...@mac.com
>> 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-15 Thread Raymond NANEON
Hi Paul,Thanks for your help.Can I have detail of .java ? tabSelection nature?  observationsTab ?? where do you use this component?Envoyé depuis iCloudLe 15 jul 2013 à 05:07, Paul Yu  a écrit :RaymondI had better success using CCTabPanel for dynamically creating tabs..html<wo:CCAjaxTabPanelid="tabs"selectedTab="$tabSelection"tabs="$tabs"tabNameKey="tabLabel"useFormSubmit="$true"><wo:AjaxUpdateContainerid="ccTabContentContainer">    <wo:switchWOComponentName="$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 myTab1 = new NSMutableDictionary("My Tab Title", "tabLabel");        observationsTab.takeValueForKey(ObservationSubTab.class.getName(), "wocomponent");// More tabs here        tabs.add(myTab1);        _tabs = tabs.immutableClone();    }       return _tabs;}PaulOn Jul 15, 2013, at 4:18 AM, Raymond NANEON <rnan...@me.com> 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 iCloudLe 12 jul 2013 à 07:08, Raymond NANEON <rnan...@me.com> a écrit :Hi List,I want to create many of AjaxTabbedPanelTab from WORepetition in AjaxTabbedPanel.html :             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 helpEnvoyé depuis iCloud___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com  This email sent to rnan...@me.com ___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.comThis email sent to p...@mac.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-15 Thread Paul Yu
Raymond

I had better success using CCTabPanel for dynamically creating tabs.

.html











.java

private NSArray _tabs;

public NSArray tabs() {
if (_tabs == null) {
// the evaluation has a method for getting the districtDomains
NSMutableArray tabs = new 
NSMutableArray();

NSMutableDictionary myTab1 = new 
NSMutableDictionary("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  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  a écrit :
> 
>> Hi List,
>> 
>> I want to create many of AjaxTabbedPanelTab from WORepetition in 
>> AjaxTabbedPanel.
>> 
>> html : 
>> 
>> 
>> 
>>   > name = "template" />
>> 
>>   
>> 
>> 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 (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
>> 
>> This email sent to rnan...@me.com
>>  
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com
> 
> This email sent to p...@mac.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-15 Thread Raymond NANEON
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 iCloudLe 12 jul 2013 à 07:08, Raymond NANEON  a écrit :Hi List,I want to create many of AjaxTabbedPanelTab from WORepetition in AjaxTabbedPanel.html :             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 helpEnvoyé depuis iCloud___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com  This email sent to rnan...@me.com  ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-12 Thread Raymond NANEON
Hi List,I want to create many of AjaxTabbedPanelTab from WORepetition in AjaxTabbedPanel.html :             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 helpEnvoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Rép : Re: tinyMCE and AjaxTabbedPanel, AjaxTabbedPanelTab [RESOLVED]

2011-12-09 Thread Raymond NANEON
Hi Alex,Your example work fine with a little modification : ProblematiqueTab : AjaxTabbedPanelTab {    name = "Problematique";    isSelected = problematiqueTabSelected;    id = tabProblematiqueId;    _onLoad_ = "tinyMCE.execCommand('mceAddControl', false, 'problematik'); ";Thanks}Envoyé depuis iCloudLe 09 déc 2011 à 04:43, Alexis Tual  a écrit :Hi Raymond, when doing ajax, you have to re-init the tinymce editor, in your case something like should work :ProblematiqueTab : AjaxTabbedPanelTab {    name = "Problematique";    isSelected = problematiqueTabSelected;    id = tabProblematiqueId;    _onLoad_ = "function() { tinyMCE.execCommand('mceAddControl', false, 'problematik'); }";}Cheers,AlexLe 9 déc. 2011 à 12:43, Raymond NANEON a écrit :Hi All,I introduced AjaxTabbedPanel (range textareas in tabs) to my app but I am surprised to see AjaxTabbedPanel disabled tinyMCE in  textareas. So how can I reactivate tinyMCE ?Html :...                    ...in WOD :...tinyMCE : ERXJavaScript {    id="tinyMCE";    filename = "tiny_mce/tiny_mce.js";}tinyMCEInit : ERXJavaScript {    id="tinyMCEInit";    filename = "tiny_mce/tinyMCEInit.js";}Tabs : AjaxTabbedPanel {    id = tabsId;}ContexteTab : AjaxTabbedPanelTab {    name = "Contexte";    isSelected = contexteTabSelected;    id = tabContexteId;}ctx : WOText {    value = session.contexte;    name="ctx";    rows = "30";    cols = "120";    _onKeyDown_ = "limitText(declaration.ctx,4000);";    _onKeyUp_ = "limitText(declaration.ctx,4000);";}ProblematiqueTab : AjaxTabbedPanelTab {    name = "Problematique";    isSelected = problematiqueTabSelected;    id = tabProblematiqueId;}ObjectifsTab : AjaxTabbedPanelTab {    name = "Objectifs";    isSelected = objectifsTabSelected;    id = tabObjectifId;}MethodologieTab : AjaxTabbedPanelTab {    name = "Methodologie";    isSelected = methodologieTabSelected;    id = tabMethodologieId;}metho : WOText {    value = session.metho;    name="metho";    rows = "30";    cols = "120";    _onKeyDown_ = "limitText(declaration.metho,4000);";    _onKeyUp_ = "limitText(declaration.metho,4000);";}...ThanksEnvoyé depuis iCloud___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:http://lists.apple.com/mailman/options/webobjects-dev/alexis.tual%40gmail.comThis email sent to alexis.t...@gmail.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Rép : Re: tinyMCE and AjaxTabbedPanel, AjaxTabbedPanelTab

2011-12-09 Thread Raymond NANEON
Hey Alex,what great news to see you there (I have lot of questions for you). I have used onLoad attribute but my bindings was not a fonction but the tinyMCE.js file.Thanks for your example, I try it now.Envoyé depuis iCloudLe 09 déc 2011 à 04:43, Alexis Tual  a écrit :Hi Raymond, when doing ajax, you have to re-init the tinymce editor, in your case something like should work :ProblematiqueTab : AjaxTabbedPanelTab {    name = "Problematique";    isSelected = problematiqueTabSelected;    id = tabProblematiqueId;    _onLoad_ = "function() { tinyMCE.execCommand('mceAddControl', false, 'problematik'); }";}Cheers,AlexLe 9 déc. 2011 à 12:43, Raymond NANEON a écrit :Hi All,I introduced AjaxTabbedPanel (range textareas in tabs) to my app but I am surprised to see AjaxTabbedPanel disabled tinyMCE in  textareas. So how can I reactivate tinyMCE ?Html :...                    ...in WOD :...tinyMCE : ERXJavaScript {    id="tinyMCE";    filename = "tiny_mce/tiny_mce.js";}tinyMCEInit : ERXJavaScript {    id="tinyMCEInit";    filename = "tiny_mce/tinyMCEInit.js";}Tabs : AjaxTabbedPanel {    id = tabsId;}ContexteTab : AjaxTabbedPanelTab {    name = "Contexte";    isSelected = contexteTabSelected;    id = tabContexteId;}ctx : WOText {    value = session.contexte;    name="ctx";    rows = "30";    cols = "120";    _onKeyDown_ = "limitText(declaration.ctx,4000);";    _onKeyUp_ = "limitText(declaration.ctx,4000);";}ProblematiqueTab : AjaxTabbedPanelTab {    name = "Problematique";    isSelected = problematiqueTabSelected;    id = tabProblematiqueId;}ObjectifsTab : AjaxTabbedPanelTab {    name = "Objectifs";    isSelected = objectifsTabSelected;    id = tabObjectifId;}MethodologieTab : AjaxTabbedPanelTab {    name = "Methodologie";    isSelected = methodologieTabSelected;    id = tabMethodologieId;}metho : WOText {    value = session.metho;    name="metho";    rows = "30";    cols = "120";    _onKeyDown_ = "limitText(declaration.metho,4000);";    _onKeyUp_ = "limitText(declaration.metho,4000);";}...ThanksEnvoyé depuis iCloud___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:http://lists.apple.com/mailman/options/webobjects-dev/alexis.tual%40gmail.comThis email sent to alexis.t...@gmail.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: tinyMCE and AjaxTabbedPanel, AjaxTabbedPanelTab

2011-12-09 Thread Alexis Tual
Hi Raymond, 

when doing ajax, you have to re-init the tinymce editor, in your case something 
like should work :

ProblematiqueTab : AjaxTabbedPanelTab {
name = "Problematique";
isSelected = problematiqueTabSelected;
id = tabProblematiqueId;
onLoad = "function() { tinyMCE.execCommand('mceAddControl', false, 
'problematik'); }";
}

Cheers,

Alex

Le 9 déc. 2011 à 12:43, Raymond NANEON a écrit :

> Hi All,
> 
> I introduced AjaxTabbedPanel (range textareas in tabs) to my app but I am 
> surprised to see AjaxTabbedPanel disabled tinyMCE in  textareas. So how can I 
> reactivate tinyMCE ?
> 
> Html :
> ...
> 
> 
> 
> 
> 
>   
>"$session.problematik" id = "problematik" rows = "30" cols = "120" onKeyDown 
> = "limitText(declaration.problematik,4000);" onKeyUp = 
> "limitText(declaration.problematik,4000);" />
>"$session.objectifs" id = "objectifs" rows = "30" cols = "120" onKeyDown = 
> "limitText(declaration.objectifs,4000);" onKeyUp = 
> "limitText(declaration.objectifs,4000);" />
>   
> 
> ...
> 
> in WOD :
> ...
> tinyMCE : ERXJavaScript {
> id="tinyMCE";
> filename = "tiny_mce/tiny_mce.js";
> }
> 
> tinyMCEInit : ERXJavaScript {
> id="tinyMCEInit";
> filename = "tiny_mce/tinyMCEInit.js";
> }
> 
> Tabs : AjaxTabbedPanel {
> id = tabsId;
> }
> 
> ContexteTab : AjaxTabbedPanelTab {
> name = "Contexte";
> isSelected = contexteTabSelected;
> id = tabContexteId;
> }
> 
> ctx : WOText {
> value = session.contexte;
> name="ctx";
> rows = "30";
> cols = "120";
> onKeyDown = "limitText(declaration.ctx,4000);";
> onKeyUp = "limitText(declaration.ctx,4000);";
> }
> 
> ProblematiqueTab : AjaxTabbedPanelTab {
> name = "Problematique";
> isSelected = problematiqueTabSelected;
> id = tabProblematiqueId;
> }
> 
> ObjectifsTab : AjaxTabbedPanelTab {
> name = "Objectifs";
> isSelected = objectifsTabSelected;
> id = tabObjectifId;
> }
> 
> MethodologieTab : AjaxTabbedPanelTab {
> name = "Methodologie";
> isSelected = methodologieTabSelected;
> id = tabMethodologieId;
> }
> 
> metho : WOText {
> value = session.metho;
> name="metho";
> rows = "30";
> cols = "120";
> onKeyDown = "limitText(declaration.metho,4000);";
> onKeyUp = "limitText(declaration.metho,4000);";
> }
> 
> ...
> 
> Thanks
> Envoyé depuis iCloud
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/alexis.tual%40gmail.com
> 
> This email sent to alexis.t...@gmail.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


tinyMCE and AjaxTabbedPanel, AjaxTabbedPanelTab

2011-12-09 Thread Raymond NANEON
Hi All,I introduced AjaxTabbedPanel (range textareas in tabs) to my app but I am surprised to see AjaxTabbedPanel disabled tinyMCE in  textareas. So how can I reactivate tinyMCE ?Html :...                    ...in WOD :...tinyMCE : ERXJavaScript {    id="tinyMCE";    filename = "tiny_mce/tiny_mce.js";}tinyMCEInit : ERXJavaScript {    id="tinyMCEInit";    filename = "tiny_mce/tinyMCEInit.js";}Tabs : AjaxTabbedPanel {    id = tabsId;}ContexteTab : AjaxTabbedPanelTab {    name = "Contexte";    isSelected = contexteTabSelected;    id = tabContexteId;}ctx : WOText {    value = session.contexte;    name="ctx";    rows = "30";    cols = "120";    _onKeyDown_ = "limitText(declaration.ctx,4000);";    _onKeyUp_ = "limitText(declaration.ctx,4000);";}ProblematiqueTab : AjaxTabbedPanelTab {    name = "Problematique";    isSelected = problematiqueTabSelected;    id = tabProblematiqueId;}ObjectifsTab : AjaxTabbedPanelTab {    name = "Objectifs";    isSelected = objectifsTabSelected;    id = tabObjectifId;}MethodologieTab : AjaxTabbedPanelTab {    name = "Methodologie";    isSelected = methodologieTabSelected;    id = tabMethodologieId;}metho : WOText {    value = session.metho;    name="metho";    rows = "30";    cols = "120";    _onKeyDown_ = "limitText(declaration.metho,4000);";    _onKeyUp_ = "limitText(declaration.metho,4000);";}...ThanksEnvoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: AjaxTabbedPanelTab

2009-03-20 Thread Ricardo J. Parada


I guess another alternative would be to have each component displayed  
under each tab to use its own editing context.


Then just let the user switch tabs at will.

Hmm... I think I like this better.  :-)


On Mar 20, 2009, at 1:27 PM, Ricardo J. Parada wrote:



Hi,

Is there a good way to prevent switching from one tab to another if  
there are pending edits in the editing context?


I'm thinking of handling this when the tab tries to set the property  
bound to the isSelected binding.  And then set a message in the  
request's user info object which gets displayed when the tab's pane  
is displayed.



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/rparada 
%40mac.com


This email sent to rpar...@mac.com


___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


AjaxTabbedPanelTab

2009-03-20 Thread Ricardo J. Parada


Hi,

Is there a good way to prevent switching from one tab to another if  
there are pending edits in the editing context?


I'm thinking of handling this when the tab tries to set the property  
bound to the isSelected binding.  And then set a message in the  
request's user info object which gets displayed when the tab's pane is  
displayed.



___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com