myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Marinschek <martin.marinsc...@gmail.com>
Subject Re: getting value from #{backing_test.resultSet}
Date Thu, 01 Sep 2005 19:25:47 GMT
try:

((BackingTest) FacesContext.getCurrentInstance().             
getApplication().getVariableResolver().resolveVariable(FacesContext.getCurrentInstance(),
                        "backing_test")).getKood();

regards,

Martin

On 9/1/05, Nikita Koselev <koselev@gmail.com> wrote:
> I know it's VERY stupid question,
> but anyway...
> 
> On my page I set element values like this:
> 
> <h:outputText value="#{backing_test.kood}"/>
> 
> 
> 
> How can I put these value from "backing_test" to String, without help
> of "middle elements"?
> Things like String s = "#{backing_test.kood}"; do not work :(
> 


-- 

http://www.irian.at
Your JSF powerhouse - 
JSF Trainings in English and German

Mime
View raw message