You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Ted Leung (JIRA)" <de...@myfaces.apache.org> on 2011/09/02 01:00:10 UTC

[jira] [Reopened] (MYFACES-3297) h:inputText ignores style tag

     [ https://issues.apache.org/jira/browse/MYFACES-3297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Leung reopened MYFACES-3297:
--------------------------------


yes, I'm sure, I just reproduced it again this morning by changing my pom.xml and doing a rebuild. 

here's an ls of my lib folder : 

-------------

activation-1.1.jar                   commons-collections-3.2.1.jar        geronimo-jms_1.1_spec-1.1.1.jar      mysql-connector-java-5.1.16.jar      spring-tx-3.0.5.RELEASE.jar
antlr-2.7.2.jar                      commons-dbcp-1.4.jar                 geronimo-jpa_2.0_spec-1.1.jar        openjpa-2.1.1.jar                    sslext-1.2-0.jar
aopalliance-1.0.jar                  commons-digester-1.8.jar             geronimo-jta_1.1_spec-1.1.1.jar      oro-2.0.8.jar                        struts-core-1.3.8.jar
avalon-framework-4.1.3.jar           commons-email-1.2.jar                html5-comp-lib-core-0.0.3.jar        serp-1.13.1.jar                      struts-taglib-1.3.8.jar
batik-awt-util-1.6-1.jar             commons-fileupload-1.2.1.jar         jcs-1.3.jar                          spring-aop-3.0.5.RELEASE.jar         struts-tiles-1.3.8.jar
batik-ext-1.6-1.jar                  commons-io-2.0.1.jar                 jstl-1.2.jar                         spring-asm-3.0.5.RELEASE.jar         tomahawk20-1.1.11.jar
batik-gui-util-1.6-1.jar             commons-lang-2.5.jar                 log4j-1.2.16.jar                     spring-beans-3.0.5.RELEASE.jar       velocity-1.7.jar
batik-util-1.6-1.jar                 commons-logging-1.1.jar              logkit-1.0.1.jar                     spring-context-3.0.5.RELEASE.jar     velocity-tools-2.0.jar
cglib-nodep-2.2.jar                  commons-pool-1.5.4.jar               mail-1.4.1.jar                       spring-core-3.0.5.RELEASE.jar        xmlParserAPIs-2.0.2.jar
commons-beanutils-1.7.0.jar          commons-validator-1.3.1.jar          myfaces-api-2.1.2.jar                spring-expression-3.0.5.RELEASE.jar  
commons-chain-1.1.jar                concurrent-1.0.jar                   myfaces-impl-2.1.2.jar               spring-jdbc-3.0.5.RELEASE.jar        
commons-codec-1.3.jar                dom4j-1.1.jar                        myfaces-shared-html5-0.0.3.jar       spring-orm-3.0.5.RELEASE.jar       

-------------

Note both API and IMPL are 2.1.2 and there's no 2.1.1's lying around.

Here's a copy of the exact line in my xhtml file : 
<h:inputText style="width:5em" value="#{editPatientNote.newCode}" />

Here's a copy of the view source from the browser for that line :
<input id="j_id433304499_5b169c32:j_id433304499_5b169c64" name="j_id433304499_5b169c32:j_id433304499_5b169c64" value="" type="text">

-------------

It's entirely possible that some other lib is conflicting, I don't know which it would be off hand or anything. I realise I have the html5 libs in the path as well but those are mapped to different name spaces, I used hx: for those, h: is mapped to xmlns:h="http://java.sun.com/jsf/html"

I'm not entirely sure how to effectively debug from here which other library maybe causing the conflict. The only way I can think would be a long tedious start from 0 other libraries and adding the ones I have until I see the conflict or similar. I might try that later if I get time and if there's no other suggestions on how to better determine the problem.

> h:inputText ignores style tag
> -----------------------------
>
>                 Key: MYFACES-3297
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3297
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.1.2
>         Environment: Linux version 2.6.35.10-74.fc14.x86_64 (mockbuild@x86-11.phx2.fedoraproject.org) (gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC) ) #1 SMP Thu Dec 23 16:04:50 UTC 2010
> java version "1.6.0_26"
> Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
> Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
> apache-tomcat-7.0.14
> org.apache.myfaces.core myfaces-api/myfaces-impl 2.1.2
> javax.servlet.jstl 1.2
> javax.el.javax.el-api 2.2.1
> org.apache.myfaces.tomahawk.tomahawk20 1.1.11
>            Reporter: Ted Leung
>            Assignee: Leonardo Uribe
>
> <h:inputText style="width:5em" value="#{foo.bar}" />
> works as expected in version 2.1.1,
> I upgraded to version 2.1.2 and the style tag no longer shows up in the rendered html tag. Reverting back to version 2.1.1 resolves the problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira