dev@jsftemplating.java.net

Re: JSFTemplating: Weird problem with div tag

From: Karam Singh Badesha <Karam.Badesha_at_Sun.COM>
Date: Thu, 25 Jan 2007 16:16:40 -0800

On to another question :)
Is there a way to provide the current date (or any date for that matter)
using jsf/jsftemplating to the sun:calendar without using a bean?

thanks
Karam

Ken Paulsen wrote:
>
> Great! I'm glad to hear it's working well.
>
> Ken
>
> Karam Singh Badesha wrote:
>> Great. Changing it to span fixes the problem. I finally have a fully
>> functional ajax with 3 dropdowns. Feeling pretty good :)
>>
>> Thanks for all the help Ken.
>> -Karam
>>
>> Ken Paulsen wrote:
>>>
>>> You can use "span" instead of "div". You most likely do not need a
>>> <div> around this component at all, I think Woodstock adds one for
>>> you. But you may have different "input" vs. "execute" names to
>>> identify the component b/c Woodstock may not name the HTML input
>>> element the same as the clientId.
>>>
>>>
>>> Ken
>>>
>>> Karam Singh Badesha wrote:
>>>> Hi,
>>>> I am using the div tag using the sun:markup tag like following:
>>>> <sun:markup tag="div" id="ajaxBuild">
>>>>
>>>> Now the problem is that I originally had all the labels, dropdowns
>>>> in a single row. I had to add ajax to the page and hence the above
>>>> div tags. Now div tag is resulting in a <br> kind of behavior which
>>>> I don't want. Anyone know how this can be avoided?
>>>>
>>>> thanks
>>>> Karam