Give it a go - if its still not working there, file a JIRA issue.
Btw I would suggest doing a simple test with a clean seam-gen project and your
converter before going through a full upgrade.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104997#4104997
Repl
Pete, do you think I should upgrade to Seam 2 to resolve this issue?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104195#4104195
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104195
__
Pete, thanks for taking interest. no luck yet though. still going to seam debug
page when exception is thrown.
new code below as you suggested. this time I have attached all exception
messages. For info, I'm using seam 1.2.1GA RHDS beta2 setup.
| package au.edu.tisc.converter;
|
| import
Try
@org.jboss.seam.annotations.jsf.Converter
| @Intercept(InterceptionType.NEVER)
| @Name("memberSourceConverter")
| public class MemberSource implements Converter {
|
|@Override
|public Object getAsObject(FacesContext facesContext, UIComponent
uiComponent, String value) thr
please let me know if need further info. my xhtml file is pretty big so I have
only pasted relevent sections.
Converts class
package au.edu.tisc.session;
import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.f
please let me know if need further info. my xhtml file is pretty big so I have
only pasted relevent sections.
Converts class
package au.edu.tisc.session;
import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.f
please let me know if need further info. my xhtml file is pretty big so I have
only pasted relevent sections.
Converts class
package au.edu.tisc.session;
import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.f
Ok, start again from the beginning, post all the code relevant to the
converter, including class level annotations and any wiring code you use, the
xhtml your using to test it and the exception thrown.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102176#410
correction in last post "...I have now added
@org.jboss.seam.annotations.jsf.Converter...'
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102084#4102084
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102084
___
In addition to my last post, I have not added as below but still it goes to
debug page.
Can it be because my converter class is actually a subclass? (please code in
previous post).
|
| @org.jboss.seam.annotations.jsf.Converter
| @Intercept(InterceptionType.NEVER)
| public class Memb
No luck for me yet, its still going to seam debug page. please see my code
below...
| @Name("onlineConverters")
| @Scope(ScopeType.APPLICATION)
| public class Converters {
|
| private Converter memberSource;
|
| @Create
| public void init() {
| this.memberSourc
In 1.2.1GA it is something like:
@Intercept(NEVER)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102047#4102047
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102047
___
j
Pete does it exist in seam 1.2.1GA? Seems it can't find it.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102045#4102045
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102045
___
You need to use @BypassInterceptors on the Converter.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102044#4102044
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102044
___
j
14 matches
Mail list logo