I have tried removing the method call to getNextTeaserRecipes() from pages.xml
and the problem is still the same.
The only solution is still setting the session timeout to 2 minutes.
I discovered that the growth rate of number of instances is higher with a
longer session timeout, like between
Hi!
I upgraded to Seam 2.0.0.GA and it is running on JBoss 4.2.2.
I have a SFSB in Session scope. The SFSB has an ObjectPool, which is really
just a Collection of Entities. The entities in the collection are of type
TeaserRecipe which just maps to a table in my database.
For each httpRequest
It would be nice if someone would like to post a complete example for this
including caching.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4099654#4099654
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4099654
When I read the nabble forum for facelets there seems to still be bugs in this,
but I didn't really get which version it concerns, only that there are open
bugs.
If the bug in ui:repeat is solved i want to use it but if it is not i have read
in serveral places that you should use tomahawk
I found out the problem why it did not work using tomahawk dataList for me. The
problem was that i use JBoss 4.2 in my new seam project and then you also have
to include the commons-el.jar to your webapp lib.
Here is a complete tutorial on how to use tomahawk dataList in a Seam project
on
Thank you very much! This code solved the problem:
String page = /pages/articles/xyz.xhtml;
|
| RenderNavigationHandler navHandler = new RenderNavigationHandler(page,
null, null);
| navHandler.navigate (FacesContext.getCurrentInstance ());
View the original post :
I have an action method which gets which view i want to redirect to. I return
this as a String.
Then i get a browser redirect. I read in the manual: Note that when you use a
view id as an outcome, Seam always performs a browser redirect. so this is the
way it should be.
My question is: How
Well it's the same in outlook, gmail and squirrelmail. It is also the same
whether i send it from my production server (Jboss 4.0.5. Linux, ) or my
desktop (JBoss 4.0.5, Windows) which are using different smtp servers.
If i don't use the m:headers I don't get this --=_Part..etc texts, but
I almost succeeded in solving this problem with this code:
| @In
| private FacesContext facesContext;
|
| public void navigate () {
|
| String page = /pages/articles/xyz.xhtml; // This could be any page,
collected from database
|
| UIViewRoot root =
I wonder why my emails look like this:
--=_Part_8_21777063.1180128429593 Content-Type: multipart/alternative;
boundary==_Part_9_28910288.1180128429609
--=_Part_9_28910288.1180128429609 Content-Type: text/plain;
charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit
Have you configured mail-service.xml in /jboss/.../deploy ?
Set debug = true in mail-service.xml and you will get some more debugging logs
to help you.
Have you included jboss-seam-mail.jar in both war-module /lib and ejb-module
/lib ?
View the original post :
Do you have
listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class
in your web.xml ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4046938#4046938
Reply to the post :
I had the same problem with Tomcat 5.5 running inside Eclipse. So it is not a
JBoss specific problem. I think I remember it was some bug in Log4j. So I
switched and used the built in java jdk logging: java.util.logging.
View the original post :
My Exception class:
| @ApplicationException(rollback=true)
| @HttpError (errorCode=HttpServletResponse.SC_NOT_FOUND)
| public class PageNotFoundException extends Exception {
|
|
| /** Creates a new instance of PageNotFoundException */
| public PageNotFoundException () {
In web.xml I also have:
| filter
| filter-nameSeam Filter/filter-name
| filter-classorg.jboss.seam.web.SeamFilter/filter-class
| /filter
|
| filter-mapping
| filter-nameSeam Filter/filter-name
| url-pattern/*/url-pattern
| /filter-mapping
|
When I
I think what you are looking for is the @Out annotation and also @Factory. Read
more about these and look at the examples and I think you will figure out how
to use seam in a nice and straightforward way.
If you want to pass a param when you click on a button you could use s:button
or s:link
If I put
| exception
| end-conversation/
| redirect view-id=/pages/error/error404.xhtml
| messageUnexpected Failure. /message
| /redirect
| /exception
|
in pages.xml, it does not work either. The exception just falls through and an
ugly error message
I wonder if there is an EntityManager to use to get java persistence (EJB3) to
work with an LDAP Directory, persisting directory objects.
What is best practise for building an application to administrate data in an
ldap directory server (e.g. Siemens DirX server, SunOne), using JBoss and EJB3
I also want to know when you think this feature will be available.
I am really looking forward to it!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3988613#3988613
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3988613
But in the meantime i could use exploded deployment?
Is there som changes to that approach with JBossIDE 2.0 than earlier versions?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3983200#3983200
Reply to the post :
Well i found an explanation how to fix this in the meantime here:
http://wiki.jboss.org/wiki/Wiki.jsp?page=DeployTipsAndBuildSampleScripts
But i'm still curious when the 2.0 final is planned to be released. Is it
within a mounth, 3 month, 6 month, a year?
View the original post :
[EMAIL PROTECTED] wrote : Changing of jsp and css files and automatically
deploying them to an exploded directory is not yet implemented, but is planned
for the 2.0 final release.
Sounds nice. When is it planned to be released?
In the meantime, how do i fix this? I read somewhere that you
When i use this jboss-as version and start jboss in debug mode and make a
change in a jsp file or a css file then the changes does not fall through
automatically. It seems i have to republish my project first.
Is it really suppose to be like that? Is there som setting how to deploy in
23 matches
Mail list logo