[JBoss-user] [JBoss Seam] - Re: Strange behavior using JSTL (MyFaces)

2006-05-17 Thread drVillo
Thanks petemuir. using forEach works:) I still don't have clear the reason BTW... Does this has anything to do with the following? http://java.sun.com/products/jsp/reference/techart/unifiedEL.html In the dvd store example jstl tests access components' methods, while I was trying to use

[JBoss-user] [JBoss Seam] - Re: Strange behavior using JSTL (MyFaces)

2006-05-17 Thread drVillo
thanks for the answer, I finally have it clear! cheers Freancesco View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3944147#3944147 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3944147

[JBoss-user] [JBoss Seam] - Re: Strange behavior using JSTL (MyFaces)

2006-05-16 Thread drVillo
sorry to pull this up... I've been struggling for a while on a similar problem, and I would like to figure out how seam context variables work. I can get the above working, given that the items come from a seam component, i.e declared with @Name. But I can't get the following working |

[JBoss-user] [JBoss Seam] - Context variables for JSTL test

2006-05-10 Thread drVillo
I've been stuck with this issue for a while now, without understanding if it's supposed to be like this or if I'm doing something wrong. I have a dataTable element, that lists questions of a survey. A stripped down version of it follows: | h:dataTable var=section

[JBoss-user] [JBoss Seam] - Re: Security Framework w/Seam

2006-04-28 Thread drVillo
Well, Acegi seems to have a JBoss adapter as well. Unfortunately I haven't had the time to look at it. But looking at it from another point of view: what is that j2ee security is lacking that you would need Acegi for? I'm no expert of Acegi but at a first glance it seems to address the same

[JBoss-user] [JBoss Seam] - Dynamically generate form elements

2006-04-28 Thread drVillo
Hi probably this is not a strictly Seam related question, but here it is... Displaying a form i need to display the proper input type (textarea, checkbox,radio etcetc) based on the type of the element. One possibility I see is to use for example jstl tags to create an if-else sequence. Given

[JBoss-user] [EJB 3.0] - Re: Binding to a bean in a jsp page

2006-04-28 Thread drVillo
Have you checked that the jstl implementation is within your classpath? if you use the jakarta impl. ensure that the standard.jar is there... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3940149#3940149 Reply to the post :

[JBoss-user] [JBoss Seam] - Re: Dynamically generate form elements

2006-04-28 Thread drVillo
Ok, I have been trying the jstl way... Nevertheless I have been running into the following problem: In my jsp I have | %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % | ... | | h:dataTable var=question value=#{section.questions} |

[JBoss-user] [JBoss Seam] - Re: Security Framework w/Seam

2006-04-28 Thread drVillo
perwik wrote : | I don't understand. How is what you are describing different to @RolesAllowed in EJB3? | | @RolesAllowed(ContentAdmin) | public void doSomething() {} | would only let you check if the current user belongs to one of the groups (roles) that you allow to access that

[JBoss-user] [JBoss Seam] - Re: Security Framework w/Seam

2006-04-28 Thread drVillo
Sorry for the bad formatting:S I was adding that if using JAAS, your LoginModule is responsible of mapping principals coming from your identity manager to the application roles. Cheers Francesco View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3940157#3940157

[JBoss-user] [JBoss Seam] - Re: Security Framework w/Seam

2006-04-27 Thread drVillo
Using seam doesn't prevent you using standard j2ee security models. You can plug JAAS security domains trasparently for example. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3939782#3939782 Reply to the post :

[JBoss-user] [JBoss Seam] - Re: Seam Architectural Questions

2006-04-27 Thread drVillo
This is a topic I have been thinking of opening as well. It is still unclear to me to which extent using Seam pays off when you have to deal with multiple presentations for example. I would like to see something like sun's blueprints for scoping and injecting Seam into a layered application.

[JBoss-user] [JBoss Seam] - Re: Cant use EntityManager into Converter

2006-04-26 Thread drVillo
anonymous wrote : | Quote: | Actually I did this since I hadn't managed to get the Converter working through faces-config.xml...Is this supposed to be so? | | | I don't understand. I mean that I wasn't able to use the Converter by registering it with | converter |

[JBoss-user] [JBoss Seam] - Cant use EntityManager into Converter

2006-04-25 Thread drVillo
Hi there I'm experimenting a bit with seam, but I'm currently stuck on this issue... I building a simple questionaire page; one has a list of questions with radio answers. In order to display answers like: | h:column | f:facet name=Answer |

[JBoss-user] [JBoss Seam] - Re: Cant use EntityManager into Converter

2006-04-25 Thread drVillo
anonymous wrote : | What happens if you use: | | Code: | | @PersistenceContext | EntityManager em; | | | | And remove (type=EXTENDED)? | It fails similarly, the same NullPointerException | at