|
Can any one give me some example how to use seam tags in my jsf page in seam3,
for ex:
s:decorate
s:selection
s:span
s:taskId
s:validate
s:validateAll
s:selectItems
Thanks... |
|
How to use LocaleSelector class in seam3, please help me out this
/org/jboss/seam/international/LocaleSelector.class
Thanks
Regards
Mohan |
|
I need to migrate my application from Seam2 to Seam3, which has some pdf and excel reports.
How can I create them in Seam3. ie. create excel and pdf in seam3 |
|
I trying to migrate my project from Seam2 to Seam3. I did not get an equivalent for @Factory. @Produces and @Unwraps are quite different than @Factory.
Please suggest an equivalent for @Factory annotation, so that it creates an instance only once.
Thanks. |
|
In Seam2 I used 'In' to inject a string. Now when I migrate to seam3 Inject annotation throws deployment error "WELD-001408 Unsatisfied dependencies for type [String] with qualifiers [@Default] at injection point [[field] @Inject....".
How can a String be injected? |
|
Hi.
I have some questions regarding conversation timeouts in Seam3 and hope that someone can answer it,
1. Where can I see what the current default/global timeout is for conversation in the current Seam 3?
2. Where and how can I set the default/global timeout?
3. What is a good timeout for conversations? Should conversations have a shorter timeout than sessions and how much shorter?
Thank you.
Louis Engelbrecht |
|
Hello...
I have some apps based on Seam2 running on Tomcat Servlet container and now I need to migrate them to Seam3. I was able to put Weld, JSF2 and Primefaces running together on Tomcat, but now I need some other issues, as Persistence and Security and I can't find many examples using the Servlet container.
Could anyone help me to run Seam3 examples on Tomcat or give me some directions to do it before I quitting it all and migrate to Spring?
|
|
Annotation Begin flushMode is equal to FlushModeType dot MANUAL equivalent Seam3 |
|
|I am having a problem with using seam3 on Jboss as 7. when i inject the EntityManager, it throws Exceptions . But injecting Logger is OK.
Then, i tried it on Tomcat 7, but it also can not work.
This is my code and profile:
--------------------------------------------------------------
import javax.enterprise.context.ConversationScoped;
import javax.enterprise.inject.Produces;
import javax.persistence.EntityManagerFactory;
import javax.persistence.PersistenceUnit;
import |
|
I migrated my seam2 project to seam3. Here the session timeout doesn't work in seam3 project. Added the following to web.xml.
`
<session-config>
<session-timeout>2</session-timeout>
</session-config>
<error-page>
<exception-type>?</exception-type>
<location>/Error.xhtml</location>
</error-page> `
|
|
Annotation Begin(flushMode \= FlushModeType.MANUAL) equivalent in Seam3 |
|
any more examples for pdf and excel. When will the next version of seam3 be released? Will it be integrated with xhtml/jsf like it was in seam2 |
|
<blockquote>
_Louis Engelbrecht wrote on Nov 24, 2011 06:32:_<br/>
Hi.
I have some questions regarding conversation timeouts in Seam3 and hope that someone can answer it,
1. Where can I see what the current default/global timeout is for conversation in the current Seam 3?
</blockquote>
I believe that's specified either in the CDI spec or in the CDI implementation.
<blockquote>
2. Where and how can I set the default/global timeout?
</blockquote>
I don't recall, but you can manually change |
|
I guess the EntityManagerProducer did not work.
`public class EntityManagerProducer
{
@PersistenceUnit(unitName="JBossSeam3")
@ConversationScoped
@Produces
@ExtensionManaged
EntityManagerFactory emf;
}
`
According to the Seam3 reference implementation, I tried adding a interceptors in the beans.xml
`<interceptors>
<class>org.jboss.seam.transaction.TransactionInterceptor</class>
</interceptors>`
And what do i want to do that can let Seam managed |
|
<blockquote>
_Feng J wrote on Sep 27, 2011 20:46:_<br/>
I guess the EntityManagerProducer did not work.
`public class EntityManagerProducer
{
@PersistenceUnit(unitName="JBossSeam3")
@ConversationScoped
@Produces
@ExtensionManaged
EntityManagerFactory emf;
}
`
According to the Seam3 reference implementation, I tried adding a interceptors in the beans.xml
`<interceptors>
<class>org.jboss.seam.transaction.TransactionInterceptor</class>
</interceptors |