myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dvora <barak.ya...@gmail.com>
Subject MyFaces - can backing beans access native html elements?
Date Tue, 15 Sep 2009 12:41:22 GMT

Hello all,

I was wondering - is it possible for the server side to access html elements
(or the dom tree) that not rendered by myfaces tags? 

For example the following jsp:

<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>


<f:view>

.
.
.
<body>

   <h:form id="myForm">	
       <input id="bbb" name="bbb" type="text" value=""/>
   </h:form>

</body>

</f:view>


Can the backing bean access the 'bbb' input text element and its value? I
tried to debug and inspect the FacesContext instance, but found only Myfaces
elements.
-- 
View this message in context: http://www.nabble.com/MyFaces---can-backing-beans-access-native-html-elements--tp25453164p25453164.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message