Salut,

the static assignment with a true/false 
seems to work, but the evaluation during runtime
seems to fail. So i can not enter a #{} expression.

http://myfaces.apache.org/tobago/tobago-core/tlddoc-1.0.20/index.html

is telling me a different thing!

Does there exist a workaround for this??

Thanks groovie





>>
Volker Weber-5 wrote:
> 
>>>Hi GroovieMan,
> 
> Hy Volker,
> 
>>>you can't use jstl inside a tc:sheet, because it evaluates not at
>>>rendering time.
> 
> snif ..
> 
> 
> you can use the rendered attribute of tc:column :
> 
> <tc:sheet value="#{listviewer.showLines}" id="sheet"
>    columns="1*;1*;1*;1*;1*;1*"
>    var="currentLine"
>    [... deleted...]
>    selectable="single" >
> 
>      <tc:column rendered="#{currentLine.booleanBeanAttrib1}"
>        label="#{overviewBundle.selsyslst_lst_nameId}"
> 
> Yeah, i tried to figured out, who this works, but stopped
> after 2 hours of testing. Later i inserted:
> 
>      <tc:column rendered="#{grandMa}"
>        label="#{overviewBundle.selsyslst_lst_nameId}"
> 
>      <tc:column rendered="#{pussycat}"
>        label="#{overviewBundle.selsyslst_lst_nameId}"
> 
>      <tc:column rendered="#{nonsense}"
>        label="#{overviewBundle.selsyslst_lst_nameId}"
> 
> and i had to figure  out, that this mechanism does not
> work at all, cause when i show the page, the classloader
> will not recognize, that the method does not exist.
> It looks like, that tc:column does not evaluate the
> expression!
> 
> Does somebody has a work-a-round for this problem?
> 
> Groovy
> 

-- 
View this message in context: 
http://www.nabble.com/-TOBAGO--Usging-jstl-tags-inside-a-tobago-sheet-tag-tp20297480p20312451.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to