Yeah that may be less needed with WO 5.4 though.
I used it as follows:
<td class="style">
</td>
That would turn into:
[ .html ]
<webobject name = "MyTD"></webobject>
[ .wod ]
MyTD : WOGenericContainer {
elementName = "td";
class = "style";
}
Then I could bind the class attribute to a method in my component to
have the class be something more interesting at run-time:
MyTD : WOGenericContainer {
elementName = "td";
class = myStyle;
}
But in WO 5.4.x you can now simply do this:
<td class="[myStyle]">
</td>
On Mar 5, 2008, at 7:39 PM, David LeBer wrote:
>
> On 5-Mar-08, at 9:23 PM, Mike Schrag wrote:
>
>> I never used wob and I've always wondered what that button did when
>> I see it in screenshots. Can you give me an example?
>
> It turned a static html element into a dynamic one:
>
> ie:
>
> <td>Stuff</td>
>
> became:
>
> <wo:WOGenericContainer elementName = "td">Stuff</
> wo:WOGenericContainer>
>
> or
>
> <input type="submit" value="save" />
>
> became:
>
> <wo:submit value="save"/>
>
>> On Mar 5, 2008, at 6:41 PM, William Hatch <wh7..ornell.edu> wrote:
>>
>>> Wow, this is really great stuff; thanks Mike. Any shot we could
>>> get the old "Make Dynamic/Static" functionality implemented?
>>> Personally, I really liked the flow of starting with static mark
>>> up and converting the elements I needed with a simple click. Maybe
>>> a right click on the breadcrumb perhaps... Not that it's critical,
>>> just my personal "most missed WOBuilder feature"; the current .wod
>>> editor beats the hell out of WOBuilder already, even without the
>>> drag connection thing. Thanks again for such a great set of tools!!
>>>
>>> Bill
>>>
>>>
>>> On Mar 3, 2008, at 11:20 PM, Ricardo Parada wrote:
>>>
>>>> Ohh, I see... that's great.
>>>>
>>>> I'm not using inline bindings for this app yet. I guess that's
>>>> why I hadn't noticed. :-)
>>>>
>>>>
>>>> On Mar 3, 2008, at 7:45 PM, Mike Schrag wrote:
>>>>
>>>>> for instance:
>>>>>
>>>>> <Picture 1.png>
>>>>>
>>>>> On Mar 3, 2008, at 9:30 PM, Ricardo Parada wrote:
>>>>>
>>>>>> Is that available for the template (i.e. html file)? I use it
>>>>>> in the wod file. I press command and put the mouse on top of
>>>>>> most things to open them. I knew that one and I like it very
>>>>>> much too. However, I don't seem to be able to do that in the
>>>>>> template file.
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mar 3, 2008, at 7:22 PM, Mike Schrag wrote:
>>>>>>
>>>>>>> btw, you can hold down the cmd-key and rollover most things in
>>>>>>> the template (and wod) editors, clicking on anything will open
>>>>>>> it as well.
>>>>>>>
>>>>>>> ms
>>>>>>>
>>>>>>> On Mar 3, 2008, at 9:16 PM, Ricardo Parada wrote:
>>>>>>>
>>>>>>>> Hi Mike,
>>>>>>>>
>>>>>>>> I've been trying the latest WOLips 3.3 and I just wanted to
>>>>>>>> thank you. I find the bread crumbs so useful and I like
>>>>>>>> double-clicking on a component in the bread crumbs to open it.
>>>>>>>>
>>>>>>>> So.... Thank you very much for the great work. I can't wait
>>>>>>>> until the sneaky peeks materialize. :-)
>>>>>>>>
>>>>>>>> Ricardo J. Parada
>>>>>>>> Medical Present Value, Inc.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
> ;david
>
> --
> David LeBer
> Codeferous Software
> 'co-def-er-ous' adj. Literally 'code-bearing'
> site: http://codeferous.com
> blog: http://davidleber.net
> profile: http://www.linkedin.com/in/davidleber
> --
> Toronto Area Cocoa / WebObjects developers group:
> http://tacow.org
>
>
This archive was generated by hypermail 2.0.0 : Wed Mar 05 2008 - 21:53:08 EST