Hello,
these are still my first steps with MyFaces, Facelets an Seam, but the problems really overwhelm me.
Here is another one:
| begin method invoked from a long running conversation, try using @Begin(join=true)
|
I don't understand anything. I'm using a stateful session bean annotated like this:
| @Stateful
| @Scope(ScopeType.CONVERSATION)
| @Name("leistungsschein")
|
It has a method
| public @Create @Begin void init() {
| kontozeilen_vorbereiten();
| }
|
There is no other method annotated "@Begin". And, as expected, the init() method is called exactly once.
Which "begin method" is meant by the error message? There is none ...
Regards,
Marcus.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959480#3959480
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959480
Your navigation outcomes contain *.seam and *.jsp, but it should be *.xhtml. But I don't know if this is the problem.
Well, in my opinion it's not that nice to have a selector. I prefer injecting the list directly into the edit bean and unpacking it in an action method. But that's something you can argue about ;).
However, something else: In the edit bean the ware needs to be outjected, too. Otherwise you cannot access the ware in your edit jsf page. Or am I off the track here?
PS: When reading posts like yours I'd really like to write in our native language since that would be easier ;).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959476#3959476
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959476
Set the "Append" attribute of the appender to "true". Here's an example:
| <!-- A size based rolling appender -->
| <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
| <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
| <param name="File" value="${jboss.server.home.dir}/log/server.log"/>
| <param name="Append" value="true"/>
| <param name="MaxFileSize" value="50MB"/>
| <param name="MaxBackupIndex" value="20"/>
|
| <layout class="org.apache.log4j.PatternLayout">
| <param name="ConversionPattern" value="%d{ISO8601} [%X{TAPUSERNAME}] %-5p [%c] %m%n"/>
| </layout>
| </appender>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959470#3959470
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959470