[ 
https://issues.apache.org/jira/browse/TAPESTRY-1906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546640
 ] 

Ulrich Stärk commented on TAPESTRY-1906:
----------------------------------------

No, I noticed that my Dropdown*Pickers were put on a new line although I 
specified a <span> element to be used as the anchor. When I inspected the DOM 
tree in Firefox I saw, that Dojo replaces the anchor element with a span 
element and I was even more puzzled because there shouldn't be a line break 
with a <span> element. It seems that Firefox (haven't tested IE or any other 
browser) puts the <div> element on a new line because it's a block element and 
leaves it there although it gets replaced with a <span> element (non-block) 
later on. So I either need to force the <div> elements to be non-block 
(display: inline) or even better make Tapestry use the HTML element I provide 
which in my case is <span>.

Uli

> DropdownDatePicker and DropdownTimePicker overwrite html tag used in template
> -----------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1906
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1906
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Core Components, XHR/dhtml/Ajax
>    Affects Versions: 4.1.3
>            Reporter: Ulrich Stärk
>            Assignee: Andreas Andreou
>             Fix For: 4.1.4
>
>         Attachments: TAPESTRY-1906.txt
>
>
> The DropdownDatePicker and DropdownTimePicker components overwrite the HTML 
> tag specified in the page template with <div>. Instead they should use the 
> tag specified in the template.
> DropdownTimePicker.java line 61:
> writer.begin("div");
> should be
> writer.begin(getTemplateTagName());
> DropdownDatePicker.java line 75:
> writer.begin("div");
> should be
> writer.begin(getTemplateTagName());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to