You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Wolf Benz (JIRA)" <de...@myfaces.apache.org> on 2008/01/04 19:51:34 UTC

[jira] Commented: (TOMAHAWK-1145) t:input calendar adds whitespace to page layout

    [ https://issues.apache.org/jira/browse/TOMAHAWK-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556019#action_12556019 ] 

Wolf Benz commented on TOMAHAWK-1145:
-------------------------------------

I'm sorry Simon, but I'd have to disagree with you one this one. 

1/ The popup just didn't work (i.e. even with "popup = true")
2 & 3/ Dep'ing on the taglib used, often the cal icon isn't even rendered (-> just an input field is visible). This itself means there also is another problem: doesn't ship with a correct param description in the taglib
4/ The (white) spaces added, if the icon shows, is a cosmetic issue (least problematic)

So... reducing this to "adds whitespace" really seems a bit short to my taste. 
No matter what config I tried, also with help of others, I never got it functional (not even talking about the cosmetic Nr 4).
Hence the original title: "t:calendar unstable to disfunctional".

-Wolf

> t:input calendar adds whitespace to page layout
> -----------------------------------------------
>
>                 Key: TOMAHAWK-1145
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1145
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Calendar
>    Affects Versions: 1.1.7-SNAPSHOT
>         Environment: Myfaces 1.2.1 - Tomahawk 2.0 Snapshot (also previous versions) - Facelets 1.1.13
>            Reporter: Wolf Benz
>             Fix For: 1.1.7-SNAPSHOT
>
>         Attachments: screenshot-1.jpg, screenshot-2.jpg, screenshot-3.jpg
>
>
> First of all: I have correctly set up my extension filter, nothing wrong there. Problems started when I "upgraded' to MF 1.2 and Tomahwak116, later Tomahawk 2.0 snapshot.
> Secondly: I don't know to what extend the problems I'm having are caused by using it n combination with Facelets, but I expect a correct taglib to be a central part of the problem as I get very different results, depending on the taglib used. (-> Cf. mailing list: repeated request to include the taglib in teh META-Inf dir for faclets users!!!!!!!!!!!)
> What happens is: 
> When using this: 
> <t:inputCalendar 	 
> 	renderAsPopup="true"
> 	renderPopupButtonAsImage="true" 
> 	popupDateFormat="dd/MM/yyyy" 
> 	popupButtonString="Click here to show Calendar"
> 	value="#{studyOverviewBean.study.plannedStartDate}" 
> />
> ... several things happen: 
> 1/ the layout is screwed: there is an anormous space between the "input text field" where the date is pasted and the actual icon one can click to have the calendar pop up. 
> What makes it worse: this space is a vertical one...
> 2/ The whole popup thing just doesn't work. It pasts a sortof in-line calendar-rendering below the inputfield, which pushes everything underneath away, and even after picking a date(after which the inline rendering is gone), never corrects this space.  
> I had diffrent behavior depeding on what was declared in the various taglibs I used (for facelets). I tried one from Google (provided by Bruno) and one other (provided by skalasoft) , which gave me the "best" results but even these were largely inappropriate. 
> Hope this gets corrected soon in one of the intermediate MY1.2.1/Toma2.0 releases. (by including a correct and complete taglib!!)
> -Wolf.
>  

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