[jboss-user] [JBoss Seam] - Re: different behaviour when clicking on a button or using e

2008-01-29 Thread piotr.walczyszyn
Thank you, I found it but unfortunetly it only works with buttons 
(h:commandButton etc) and what I'm looking for is a solution that will work 
with h:commandLink also.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4124355#4124355

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124355
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: pojoCache is not injected with latest build from SVN

2008-01-29 Thread piotr.walczyszyn
It works now, thank you.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4124402#4124402

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124402
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: different behaviour when clicking on a button or using e

2008-01-29 Thread piotr.walczyszyn
I just gave it a vote up on JIRA.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4124397#4124397

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124397
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Invoke action on ENTER with h:commandLink

2008-01-28 Thread piotr.walczyszyn
How to invoke an action specified in h:commandLink when user presses ENTER 
button in text a field (enclosed in the same form). This works right with 
h:commandButton but doesn't with link. I know there is a s:defaultAction tag 
for s:link and s:button but it doesn't work for h:* tags. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4124068#4124068

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124068
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - pojoCache is not injected with latest build from SVN

2008-01-28 Thread piotr.walczyszyn
I just updated my project to run on latest source from SVN and current 
configuration doesn't inject pojoCache:

@In
  | private PojoCache pojoCache;

throws org.jboss.seam.RequiredException: @In attribute requires non-null value

Last SVN update that I did was 2-3 days ago and everything was fine. Any ideas 
what that can be?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4124208#4124208

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124208
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: pojoCache is not injected with latest build from SVN

2008-01-28 Thread piotr.walczyszyn
When I start JBoss everything is fine, when I run my application I get this 
stacktrace:
anonymous wrote : 08:22:26,444 ERROR [UICache] error accessing cache
  | java.lang.NullPointerException
  | at 
org.jboss.seam.ui.renderkit.CacheRendererBase.getFromCache(CacheRende
  | rerBase.java:80)
  | at 
org.jboss.seam.ui.renderkit.CacheRendererBase.doEncodeChildren(CacheR
  | endererBase.java:34)
  | at 
org.jboss.seam.ui.util.cdk.RendererBase.encodeChildren(RendererBase.j
  | ava:92)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.
  | java:812)
  | at 
org.jboss.seam.ui.util.cdk.RendererBase.renderChild(RendererBase.java
  | :186)
  | at 
org.jboss.seam.ui.util.cdk.RendererBase.renderChildren(RendererBase.j
  | ava:166)
  | at 
org.jboss.seam.ui.renderkit.FragmentRendererBase.doEncodeChildren(Fra
  | gmentRendererBase.java:29)
  | at 
org.jboss.seam.ui.util.cdk.RendererBase.encodeChildren(RendererBase.j
  | ava:92)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.
  | java:812)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.jav
  | a:592)
  | at 
org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWra
  | pper.java:108)
  | at 
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.j
  | ava:216)
  | at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha
  | se.java:106)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:206)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter
  | .java:83)
  | at 
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter
  | .java:69)
  | at 
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter
  | .java:69)
  | at 
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter
  | .java:69)
  | at 
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  | 
  | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  | at 
org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter
  | .java:69)
  | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter
  | .java:69)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.jav
  | a:68)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter
  | .java:69)
  | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
  | lter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
  | alve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
  | alve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
  | yAssociationValve.java:179)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
  | torBase.java:433)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
  | e.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
  | ava:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
  | ava:104)
  | at 

[jboss-user] [JBoss Seam] - Re: different behaviour when clicking on a button or using e

2008-01-27 Thread piotr.walczyszyn
Was this issue resolved, I can't find it in the latest 2.0.1.CR2 source code?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4123814#4123814

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123814
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Action execution upon page load

2008-01-15 Thread piotr.walczyszyn
Probably you could also use this:

  | ...
  | f:view beforePhase=#{pageLoadCallback.beforePhase}
  | ...
where 
...
  | public class PageLoadCallback {
  | 
  | public void beforePhase(PhaseEvent event) {
  | ...
  | 

hope it helps

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4120171#4120171

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4120171
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Mail loads libraries every time I send a mail

2008-01-10 Thread piotr.walczyszyn
I know that this is just a workaround but you can use filter in your log4j 
configuration that helps ;)


  |appender name=CONSOLE class=org.apache.log4j.ConsoleAppender
  |   errorHandler class=org.jboss.logging.util.OnlyOnceErrorHandler/
  |   param name=Target value=System.out/
  |   param name=Threshold value=DEBUG/
  | 
  |   layout class=org.apache.log4j.PatternLayout
  |  !-- The default pattern: Date Priority [Category] Message\n --
  |  param name=ConversionPattern value=%d{ABSOLUTE} %-5p [%c{1}] 
%m%n/
  |   /layout
  |   
  |   filter class=org.apache.log4j.varia.StringMatchFilter
  |   param name=StringToMatch 
value=com.sun.facelets.compiler.TagLibraryConfig loadImplicit /
  |   param name=AcceptOnMatch value=false /
  |   /filter
  | 
  |/appender
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4118591#4118591

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4118591
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam 2 + JBoss Portal 2.6 portlets

2007-11-22 Thread piotr.walczyszyn
Actually I'm looking for the same thing. If anyone could share some ideas.

Best,
Piotr

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4107034#4107034

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107034
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seam-gen changes character

2007-10-04 Thread piotr.walczyszyn
THX it works now.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4091757#4091757

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091757
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: can't get it working: exception redirection

2007-10-04 Thread piotr.walczyszyn
I don't think this is fixed, I still get Tomcat error page. I'm running recent 
CVS version. It looks like org.jboss.seam.web.FileUploadException exception is 
not intercepted properly. In my pages.xml I have proper handling to redirect me 
to my own error page.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4091765#4091765

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091765
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - seam-gen changes character

2007-10-03 Thread piotr.walczyszyn
I'm running recent CVS version and I just found out (the hard way) that 
seam-gen when I run seam update-project command changes - to _ character in 
my project name and all the jars and updates end up in different folder than I 
expected.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4091187#4091187

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091187
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: can't get it working: exception redirection

2007-09-29 Thread piotr.walczyszyn
Did you manage to solve this problem. I'm facing same thing. It looks like Seam 
doesn't intercept the exception and I also get Tomcat web page with following 
stacktrace:

anonymous wrote : 
  | java.lang.NullPointerException
  | 
org.jboss.seam.web.ExceptionFilter.endWebRequestAfterException(ExceptionFilter.java:93)
  | org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:70)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
  | org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  | org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  | org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 

But when I look into log the full staktrace looks like this:
anonymous wrote : 
  | 09:49:41,937 ERROR [ExceptionFilter] handling uncaught exception
  | org.jboss.seam.web.FileUploadException: Multipart request is larger than 
allowed
  |  size
  | at org.jboss.seam.web.MultipartRequest.(MultipartRequest.java:280)
  | 
  | at 
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:80)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter
  | .java:69)
  | at 
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter
  | .java:69)
  | at 
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter
  | .java:69)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter
  | .java:73)
  | at 
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  | 
  | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  | at 
org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter
  | .java:69)
  | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter
  | .java:69)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.jav
  | a:68)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter
  | .java:69)
  | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
  | lter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
  | alve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
  | alve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
  | yAssociationValve.java:179)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
  | torBase.java:433)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
  | e.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
  | ava:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
  | ava:104)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC
  | onnectionValve.java:157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
  | ve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
  | a:241)
  | at 

[jboss-user] [JBoss Seam] - Re: Page Parameter not working

2007-09-17 Thread piotr.walczyszyn
Did you manage to solve this problem? I have a same issue with my application. 
I even tried to upgrade myfaces to 1.1.5 but it didn't help.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4085241#4085241

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4085241
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Page Parameter not working

2007-09-17 Thread piotr.walczyszyn
The strange thing about this problem is that its completely not deterministic. 
I have a few pages that are using same construct and are working fine.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4085247#4085247

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4085247
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: SEAM 2 and s:convertEntity

2007-06-29 Thread piotr.walczyszyn
I have the same problem in case: of one page with list of entities and 
checkboxes where entities are injected in an action component in MapMyEntity, 
Boolean object.


  | rich:dataTable d=userTasksList rows=30 value=#{userTasksList} 
var=task
  | f:facet name=header
  | rich:columnGroup
  | h:column
  | /h:column
  | h:column
  | h:outputText value=Name /
  | /h:column
  | /rich:columnGroup
  | /f:facet
  | 
  | h:column
  | h:selectBooleanCheckbox value=#{selectedTasks[task]} 
/
  | /h:column
  | 
  | h:column
  | #{task.name}
  | /h:column
  | /rich:dataTable
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4059152#4059152

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4059152
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: ASync calls stays in JBoss queue after restart

2007-05-23 Thread piotr.walczyszyn
I found some info here: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ChangeTheDatabase

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4047821#4047821

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4047821
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Is it possible to send mail from asynchronous method

2007-03-11 Thread piotr.walczyszyn
I can do it mid of next week. I'm out for few days. I will post my results.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026986#4026986

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026986
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: StringIndexOutOfBoundsException when using selectDate

2007-03-04 Thread piotr.walczyszyn
I have Polish [pl] locale. I will checkout CVS and let you know if it works.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4024903#4024903

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024903
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Problem updating model values with ajax4jsf

2007-03-04 Thread piotr.walczyszyn
Thank you, it solved my problem (I had other fields) :)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4024904#4024904

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024904
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: StringIndexOutOfBoundsException when using selectDate

2007-03-04 Thread piotr.walczyszyn
I just checked CVS version, it works great :)
Thank you.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4024905#4024905

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024905
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - StringIndexOutOfBoundsException when using selectDate

2007-03-03 Thread piotr.walczyszyn
I get an exception when using s:selectDate, my code looks like this:

  | s:decorate
  | h:inputText
  | id=jobstartdate
  | value=#{job.start}
  | required=true
  | size=10
  | styleClass=textfield
  | s:convertDateTime pattern=MM/dd/ /
  | a:support
  | event=onblur
  | reRender=startErrors /
  | /h:inputText
  | s:selectDate for=jobstartdate
  | img src=../images/calendar.gif /
  | /s:selectDate
  | br /
  | a:outputPanel id=startErrors
  | s:message /
  | /a:outputPanel
  | /s:decorate
  | 
And the exception like this:
anonymous wrote : 
  | 16:25:32,863 ERROR [STDERR] Mar 3, 2007 4:25:32 PM 
com.sun.facelets.FaceletViewH
  | andler handleRenderException
  | SEVERE: Error Rendering View[/jobs/createjob.xhtml]
  | java.lang.StringIndexOutOfBoundsException: String index out of range: 2
  | at java.lang.String.substring(String.java:1935)
  | at 
org.jboss.seam.ui.UISelectDate.commaSeparate(UISelectDate.java:141)
  | at 
org.jboss.seam.ui.UISelectDate.writeLocaleInformation(UISelectDate.ja
  | va:118)
  | at org.jboss.seam.ui.UISelectDate.writeScript(UISelectDate.java:98)
  | at org.jboss.seam.ui.UISelectDate.encodeBegin(UISelectDate.java:70)
  | at org.jboss.seam.ui.JSF.renderChild(JSF.java:341)
  | at org.jboss.seam.ui.JSF.renderChildren(JSF.java:323)
  | at org.jboss.seam.ui.UIDecorate.encodeChildren(UIDecorate.java:355)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSu
  | pport.java:244)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSu
  | pport.java:249)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSu
  | pport.java:249)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSu
  | pport.java:249)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.jav
  | a:573)
  | at 
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapp
  | er.java:101)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandle
  | r.java:221)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:
  | 384)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl...

Any ideas what could it be?



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4024845#4024845

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024845
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Problem updating model values with ajax4jsf

2007-03-03 Thread piotr.walczyszyn
I have a problem with updating model values using ajax4jsf. It looks like it 
does only validation phase but skips data model update phase. I'm trying to run 
simplest example of ajax4jsf:

  | s:decorate
  | h:inputText value=#{mybean.textField} styleClass=textfield
  | a:support event=onkeyup reRender=repeater /
  | /h:inputText
  | h:outputText id=repeater value=#{mybean.textField} /
  | /s:decorate
  | 

I get no error, I can see that there is asynch request done to the server but 
my bean doesn't get updated.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4024880#4024880

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024880
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Is it possible to send mail from asynchronous method

2007-02-28 Thread piotr.walczyszyn
I checked it with myfaces, still there is a problem, I posted stack trace in 
JIRA issue.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4023969#4023969

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4023969
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Is it possible to send mail from asynchronous method

2007-02-27 Thread piotr.walczyszyn
I will build seam source from CVS and will try to test it today. I will post my 
results on JIRA.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4023174#4023174

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4023174
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Is it possible to send mail from asynchronous method

2007-02-27 Thread piotr.walczyszyn
Yes unfortunetly it doesn't work with JSF 1.2, I will try to switch tomorrow to 
myfaces and test it in thi environment.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4023326#4023326

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4023326
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Is it possible to send mail from asynchronous method

2007-02-21 Thread piotr.walczyszyn
Issue is posted: http://jira.jboss.com/jira/browse/JBSEAM-892

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4020102#4020102

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4020102
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Is it possible to send mail from asynchronous method

2007-02-20 Thread piotr.walczyszyn
Sorry I was out yestarday and I didn't have access to my dev environment where 
I have this problem. Unfortunetly the stack trace is super short and maybe it 
will tell you more then me:
anonymous wrote : 
  | 15:02:31,623 ERROR [TimerImpl] Error invoking ejbTimeout: 
javax.ejb.EJBTransacti
  | onRolledbackException: java.lang.NullPointerException

Running the same mail template but within SFSB works fine.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4019340#4019340

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019340
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Is it possible to send mail from asynchronous method

2007-02-20 Thread piotr.walczyszyn
I got it:
anonymous wrote : 
  | 18:04:44,723 ERROR [STDERR] java.lang.NullPointerException
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.ui.facelet.FaceletsRenderer.wr
  | apResponseWriter(FaceletsRenderer.java:95)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.ui.facelet.FaceletsRenderer.re
  | nder(FaceletsRenderer.java:52)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.ui.facelet.FaceletsRenderer.re
  | nder(FaceletsRenderer.java:38)
  | 18:04:44,723 ERROR [STDERR] at 
org.alterapps.community.mail.RegistrationMail
  | HandlerBean.processRegistrationMail(RegistrationMailHandlerBean.java:83)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(
  | Native Method)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(N
  | ativeMethodAccessorImpl.java:39)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invo
  | ke(DelegatingMethodAccessorImpl.java:25)
  | 18:04:44,723 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:5
  | 97)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invo
  | keNext(MethodInvocation.java:112)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.ejb3.interceptor.InvocationContextI
  | mpl.proceed(InvocationContextImpl.java:166)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.intercept.EJBInvocationContext
  | .proceed(EJBInvocationContext.java:37)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.intercept.SeamInvocationContex
  | t.proceed(SeamInvocationContext.java:55)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.interceptors.BijectionIntercep
  | tor.bijectNonreentrantComponent(BijectionInterceptor.java:79)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.interceptors.BijectionIntercep
  | tor.bijectComponent(BijectionInterceptor.java:58)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor143.invoke
  | (Unknown Source)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invo
  | ke(DelegatingMethodAccessorImpl.java:25)
  | 18:04:44,723 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:5
  | 97)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.util.Reflections.invoke(Reflec
  | tions.java:18)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.intercept.Interceptor.aroundIn
  | voke(Interceptor.java:169)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.intercept.SeamInvocationContex
  | t.proceed(SeamInvocationContext.java:64)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.interceptors.OutcomeIntercepto
  | r.interceptOutcome(OutcomeInterceptor.java:21)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor142.invoke
  | (Unknown Source)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invo
  | ke(DelegatingMethodAccessorImpl.java:25)
  | 18:04:44,723 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:5
  | 97)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.util.Reflections.invoke(Reflec
  | tions.java:18)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.intercept.Interceptor.aroundIn
  | voke(Interceptor.java:169)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.intercept.SeamInvocationContex
  | t.proceed(SeamInvocationContext.java:64)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.interceptors.ConversationInter
  | ceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:52)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor141.invoke
  | (Unknown Source)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invo
  | ke(DelegatingMethodAccessorImpl.java:25)
  | 18:04:44,723 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:5
  | 97)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.util.Reflections.invoke(Reflec
  | tions.java:18)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.intercept.Interceptor.aroundIn
  | voke(Interceptor.java:169)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.intercept.SeamInvocationContex
  | t.proceed(SeamInvocationContext.java:64)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.interceptors.MethodContextInte
  | rceptor.aroundInvoke(MethodContextInterceptor.java:27)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor140.invoke
  | (Unknown Source)
  | 18:04:44,723 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invo
  | ke(DelegatingMethodAccessorImpl.java:25)
  | 18:04:44,723 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:5
  | 97)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.util.Reflections.invoke(Reflec
  | tions.java:18)
  | 18:04:44,723 ERROR [STDERR] at 
org.jboss.seam.intercept.Interceptor.aroundIn
  | voke(Interceptor.java:169)
  | 18:04:44,723 ERROR [STDERR] at 

[jboss-user] [JBoss Seam] - Re: Is it possible to send mail from asynchronous method

2007-02-20 Thread piotr.walczyszyn
I just checked also one thing. I removed from my mail template all referances 
to my components. Now it is completely static template with hardcoded 
receipient, subject and body. Unfortunelty I get same error when rendering - I 
guess this proves that my problem is not about properly scoped components this 
is something deeper I think.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4019488#4019488

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019488
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Is it possible to send mail from asynchronous method

2007-02-19 Thread piotr.walczyszyn
I guess I wasn't clear in my previous posts. This is exactly what I'm doing, I 
tried to stick it in to all possible contexts that are available throug 
Contexts class. Everytime I get NPE when running Renderer.render() method and I 
understand that this is because my objects are not found in those contexts.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018890#4018890

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4018890
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Is it possible to send mail from asynchronous method

2007-02-18 Thread piotr.walczyszyn
In my scenario I would like to send mails using seam-mail from asynchronous 
methods. The problem is that context of asynchronous method doesn't contain my 
objects that I would like to use within the body of my message and also for 
recipients address. I tried to inject manually using any of the following 
Contexts methods. 
Contexts.getEventContext().set(newUser, user);
  | 
  | Contexts.getConversationContext().set(newUser, user);
  | 
  | Contexts.getSessionContext().set(newUser, user);
  | 
  | Contexts.getPageContext().set(newUser, user);
  | 
  | Contexts.getBusinessProcessContext().set(newUser, user);
  | 
  | Contexts.getMethodContext().set(newUser, user);

Anyone has any idea how to solve this issue?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018478#4018478

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4018478
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Is it possible to send mail from asynchronous method

2007-02-18 Thread piotr.walczyszyn
I'm already passing my objects as parameters to asynch method and it works 
great. The problem begins when I want to render mail using Renderer.render 
method because my objects are not within conversation context of renderer. And 
in my email template I need to access my user object to get his address, name 
etc.. That's why I was trying to programatically set these inside of asynch 
method just before calling renderer, unfotunetly I keep getting NPE.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4018617#4018617

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4018617
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Problem injecting DataModelSelection between two SFSB

2007-02-15 Thread piotr.walczyszyn
I have a problem with injection of DataModelSelection in following scenario:

anonymous wrote :  SFSB A builds DataModel and begins new conversation, this 
DataModel  is displayed on the page within dataTable and with each table row 
there is s:link that has action pointing to SFSB B method.
  | 
  | SFSB B is running within same conversation context as SFSB A but 
unfortunetly has DataModelSelection null after navigation from dataTable.
  | 

Anybody has an idea what could be wrong in my scenario?



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4016943#4016943

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4016943
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam security adds default messages

2007-02-09 Thread piotr.walczyszyn
I think fernando_jmt is right, for example in my case I link graphical icon 
with messages. 
Icon is rendered when #{! empty facesContext.maximumSeverity}, unfortunetly 
when I set org.jboss.seam.loginSuccessful to be an empty string my icon is also 
rendered.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4013540#4013540

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4013540
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam security adds default messages

2007-02-08 Thread piotr.walczyszyn
I just installed seam-1.1.6 and I can see that seam-secuity adds default 
messages (this is new behaviour since 1.1.5), when user logs in it adds: 
anonymous wrote : Welcome, %username% and when user fails to authenticate it 
adds: anonymous wrote : Invalid login Is it possible to turn off this behaviour 
because I want to display my own messages in different language and in case of 
successful login I don't want any message.

Best,
Piotr

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4013182#4013182

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4013182
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - seam-security required jars

2007-02-03 Thread piotr.walczyszyn
Hi this is great to see security implementation in Seam.
I have one question regarding this new feature, what jars are required in my 
ear in order to work with seam-security and use only roles part without 
permissions. Do I also need all drools jars and security.drl file?

p.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4010381#4010381

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4010381
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - EntityManager injection in Authenticator class

2007-02-03 Thread piotr.walczyszyn
I have a problem with injection of EntityManager in my Authenticator class. 
When I login my EntityManager variable is null and I get NPE. In my environment 
I'm using jboss-4.0.5 and JSF 1.2 RI. I'm wondering if my authenticator class 
shouldn't be SFSB or SLSB in this case?

Here is part of my Authenticator class:
@Name(authenticator)
  | public class Authenticator {
  | 
  | @Logger
  | Log log;
  | 
  | @Out(required = false, scope = SESSION)
  | private User user;
  | 
  | @PersistenceContext
  | private EntityManager em;
  | 
  | public boolean authenticate(String username, String password,
  | SetString roles) {
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4010417#4010417

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4010417
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: EntityManager injection in Authenticator class

2007-02-03 Thread piotr.walczyszyn
Thank you it works when i changed my Authenticator class to be a SLSB.
p.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4010425#4010425

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4010425
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user