Re: Having trouble with JSTL inside JSF

2005-08-26 Thread Martin Marinschek
in fact, you would use the alias bean like this: but in any case, you are right, the JSF expression is not there any more when you close the t:panel tag. regards, Martin On 8/26/05, Udo Schnurpfeil <[EMAIL PROTECTED]> wrote: > Hmmm, I worry about this will not solve

Re: Having trouble with JSTL inside JSF

2005-08-26 Thread Udo Schnurpfeil
Hmmm, I worry about this will not solve my problem. I understand the t:aliasBean to use like this: page.jsp begin -- page.jsp end -- and use in the custom tag. So far, so good. But, I want to use, of course, the tobago layout man

Re: Having trouble with JSTL inside JSF

2005-08-26 Thread Martin Marinschek
Well, there is a way in MyFaces to do so. check out the t:aliasBean! regards, Martin On 8/26/05, Udo Schnurpfeil <[EMAIL PROTECTED]> wrote: > > * The fact that you can use a value binding expression on nearly > > every attribute makes using rt expressions redundant ... you can > > do anythi

Re: Having trouble with JSTL inside JSF

2005-08-26 Thread Udo Schnurpfeil
* The fact that you can use a value binding expression on nearly every attribute makes using rt expressions redundant ... you can do anything you need with a value binding anyway. A very powerful feature in JSP 2.0 are "Custom Tags". Having a bean Foo in your application with several instan

Re: Having trouble with JSTL inside JSF

2005-08-24 Thread Craig McClanahan
On 8/24/05, Bernd Bohmann <[EMAIL PROTECTED]> wrote: > One question: > > why the value attribute of x:outputText doesn't accept rtexpressions? > It's not just this attribute ... the restriction is pretty much universal across all attributes on all component tags. There are two reasons for this:

Re: Having trouble with JSTL inside JSF

2005-08-24 Thread Bernd Bohmann
One question: why the value attribute of x:outputText doesn't accept rtexpressions? regards Bernd Martin Marinschek wrote: Another suggestion: use the x:dataList of Apache MyFaces for each occurence of forEach. Handles this problem pretty well. regards, Martin On 8/23/05, Matthias Wess

Re: Having trouble with JSTL inside JSF

2005-08-24 Thread Martin Marinschek
Another suggestion: use the x:dataList of Apache MyFaces for each occurence of forEach. Handles this problem pretty well. regards, Martin On 8/23/05, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > On 8/23/05, Matt Raible <[EMAIL PROTECTED]> wrote: > > Unfortunately, JSP EL and JSF EL don't p

Re: Having trouble with JSTL inside JSF

2005-08-24 Thread Bernd Bohmann
Hello, unfortunately, the value attribute of h:outputText does not accept any rtexpressions. In jsp 2.1 and if h:outputText would allow any expression you could write this: In tobago you can write this: you can find

Re: Having trouble with JSTL inside JSF

2005-08-23 Thread Matthias Wessendorf
On 8/23/05, Matt Raible <[EMAIL PROTECTED]> wrote: > Unfortunately, JSP EL and JSF EL don't play nicely together. This will be > fixed in JSF 1.2 with the Unified EL. In the meantime, here's a hack that > should work: It also needs JSP 2.1 to work well.

Re: Having trouble with JSTL inside JSF

2005-08-23 Thread Matt Raible
Unfortunately, JSP EL and JSF EL don't play nicely together.  This will be fixed in JSF 1.2 with the Unified EL. In the meantime, here's a hack that should work:<%-- Step 1: Use a non-displayed dataTable to pull userList into request --%>           You could also use an h:dataTable

Having trouble with JSTL inside JSF

2005-08-23 Thread Rick Reumann
I understand the below won't work as is without the backing bean put in scope with a useBean construct...but I'm more curious why I can not get c:out to evaluate (or really I should also just be able to use ${..} without the c:out since using tomcat5). What I end up getting is the literal text ${st