[ 
http://issues.apache.org/jira/browse/TOMAHAWK-571?page=comments#action_12427213 
] 
            
Gerald Müllan commented on TOMAHAWK-571:
----------------------------------------

You should not need the styleClass attribute, all needed styling stuff is 
already in your input_suggest.css file.

In case of this Dojo widget, its only possible to style the component through 
these predefined styles.
A styleClass doesn`t make any sense because under the hood, the widget consists 
of many DOM-nodes, and not of one input field.
Length can also be defined there:

table.dojoComboBox {
        border: 1px solid #afafaf;
width:200px;
}

or take the style attribute.

Why not defining the input_suggest.css file like other resources in the header, 
and leaving out the styleLocation?
Have not considered this attribute, maybe Dojo has some problems with alternate 
location.



> inputSuggestAjax not correctly rendered in IE
> ---------------------------------------------
>
>                 Key: TOMAHAWK-571
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-571
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: InputSuggestAjax
>    Affects Versions: 1.1.4-SNAPSHOT, 1.1.5-SNAPSHOT
>         Environment: Windows XP SP2, Tomcat 5.5.16, 
> IE 6.0.2900.2180.xpsp_sp2_gdr.050301-1519, Firefox 1.5.0.4
> JARs: myfaces-api-1.1.5-SNAPSHOT.jar, myfaces-impl-1.1.5-SNAPSHOT.jar, 
> tomahawk-1.1.5-SNAPSHOT.jar, tomahawk-sandbox-1.1.5-SNAPSHOT.jar
>            Reporter: Bruno Marti
>         Attachments: inputsuggestajaxFirefox.jpg, inputsuggestajaxIE.jpg, 
> myfaces_ajax.zip
>
>
> IE: The inputSuggestAjax Element is always displayed in a size of 0, even if 
> the size="100" attribute is set.
> Userinputs aren't possible.
> Firefox: works fine
> code:
> <h:panelGrid columns="2" id="myfaces_ajaxPanel">
>       <h:outputText value="Enter a value: " />
>       <s:inputSuggestAjax 
> suggestedItemsMethod="#{myCountryBean.getCountries}" 
>               required="true" maxSuggestedItems="10"  id="inputSuggest1" 
> size="100"
>               value="#{mySelectedCountryRecord.selectedCountry}" />
> </h:panelGrid>
> Tested with nightly build of 1.1.5 from 27. July 2006 or also existing in 
> tomahawk-sandbox-examples-1.1.4-SNAPSHOT.war
> Is there a render problem or have I misconfigured something?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to