[JBoss-user] [JBoss Seam] - Re: Error during model data update!

2006-04-17 Thread Shinerella
please if somebody has more information, can post here because I have this same 
error after some changes, and not a clue yet...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937748#3937748

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937748


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!

2006-02-24 Thread Shinerella
That's true ido,  I can bet that is the problem of davidgeary, anyway...  
For me it was very simple... I read what the guys told here about the 
jndiPattern and then I took a look on that example you r talking about and just 
change the "jboss-seam-registration" to the name of my ear as: 
 MY-EAR-NAME/#{ejbName}/local
 
#(ejbName} :  takes the value of where your ejb classes are 

and 

local : is the interface it looks for.. (in that way u can  use also remote).


I dont know if I explained thaaat clearly :) But it is how I understand it more 
or less :)

Regards;

Carolina 

PD: Of course im using jboss 4.0.4 and seam beta 2


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926241#3926241

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926241


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Offline for a week

2006-02-20 Thread Shinerella
omg! :S

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925168#3925168

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925168


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Could not find destroy method

2006-02-20 Thread Shinerella
This is the whole exception



18:51:34,203 WARN  [Contexts] could not find destroy method
java.lang.NoSuchMethodException: $Proxy371.remove()
at java.lang.Class.getMethod(Class.java:1581)
at org.jboss.seam.contexts.Contexts.callDestroyMethod(Contexts.java:203)
at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:187)
at 
org.jboss.seam.contexts.Lifecycle.flushAndDestroyContexts(Lifecycle.java:254)
at org.jboss.seam.contexts.Lifecycle.endRequest(Lifecycle.java:164)
at 
org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:107)
at 
org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.afterPhase(SeamExtendedManagedPersistencePhaseListener.java:52)
at 
org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersAfter(LifecycleImpl.java:536)
at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:359)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:23)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:44)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925167#3925167

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925167


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Could not find destroy method

2006-02-20 Thread Shinerella
 When I try to display a page with a certain entity atributes like 

#{caroEntity.codeAtribute}
#{caroEntity.descriptionAtribute}

| get this error:  

18:51:34,203 WARN  [Contexts] could not find destroy method
java.lang.NoSuchMethodException: $Proxy371.remove()

which ones could be the reasons? O_o 
 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925166#3925166

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925166


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Method not found: isJndiName

2006-02-15 Thread Shinerella
This afternoon I had exactly this problem, I have already recreate everything 
but I dont know where's the problem yet

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924052#3924052

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924052


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!

2006-02-08 Thread Shinerella
ohhh  you were so right!! thanksss a lott!! :) !!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922345#3922345

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922345


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!

2006-02-07 Thread Shinerella
ok.. ill check that again, thanks!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922149#3922149

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922149


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!

2006-02-07 Thread Shinerella
[img]http://www.wpg.com.py/stuff/result1058.png[/img]

result=NamingContext
  naming=NamingServer
  parser=NamingParser
   prefix=CompoundName

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922148#3922148

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922148


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!

2006-02-07 Thread Shinerella
sorry Gavin, when I stop at that line the type of result is NamingContext.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922145#3922145

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922145


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!

2006-02-07 Thread Shinerella

well result = Manager (id 10046)
  conversationIdEntryMap=null
  conversationTimeout=3000
  currentConversationId = "2"
  currentConversationIdStack=LinkedList (id=10052)
  dirty=false
   isLongRunningConversation=false

[img]http://www.wpg.com.py/stuff/result.gif[/img]
[img]http://www.wpg.com.py/stuff/result1058.png[/img]

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922142#3922142

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922142


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!

2006-02-07 Thread Shinerella
ok  ill take a look now

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922135#3922135

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922135


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!

2006-02-07 Thread Shinerella
Sorry the Title of this post is wrong :S  Should be : Uncaught exception 
handled by Seam  O_o !! 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922128#3922128

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922128


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Cannot Instantiate seam component O_o !!

2006-02-07 Thread Shinerella
I was working on a project  with jboss-4.0.3SP1 and a old version of seam (3 
month ago)  the project has some query stuff nicely working with datamodel and 
facelets, the thing is that we updated to jboss-4.0.4RC1 the last seam version  
1.0 beta 2 , to try it.

The problem now is that the action buttons of my pages cannot call the actions 
methods linked to them. So I made into the proyect a simple class with a simple 
xhtml page in order to find the trouble.  

They go like this:

The Page: 

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";
xmlns:ui="http://java.sun.com/jsf/facelets";
xmlns:h="http://java.sun.com/jsf/html";
xmlns:f="http://java.sun.com/jsf/core";>


TEST




  







My stateless bean


  | package py.com.caro.seam;
  | 
  | import javax.ejb.Interceptors;
  | import javax.ejb.Stateless;
  | 
  | import org.jboss.seam.annotations.*;
  | import org.jboss.seam.ejb.SeamInterceptor;
  | 
  | /**
  |  * @author carolina
  |  *
  |  */
  | @Stateless
  | @Name("test")
  | @Interceptors(SeamInterceptor.class)
  | public class TestAction implements Test
  |   {
  |   
  |   
  | public String test()
  |   {
  |return "success";
  |   }
  |   }
  | 
  | 


And its interface


  | 
  | package py.com.caro.seam;
  | 
  | import javax.ejb.Local;
  | 
  | @Local
  | public interface Test
  |   {
  | 
  |   public String test();
  | 
  |   }
  | 


And as in all the others pages, I get this error when I try to execute that 
action button:


ERROR [SeamExceptionFilter] uncaught exception handled by Seam
javax.servlet.ServletException: Error calling action method of component with 
id _id0:test
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:23)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:44)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)


14:58:30,625 INFO  [SeamExceptionFilter] killing transaction


14:58:30,625 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces 
Servlet threw exception
javax.faces.FacesException: Error calling action method of component with id 
_id0:test
at 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:79)
at javax.faces.component.UICommand.broadcast(UICommand.java:106)
at 
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
at 
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
at 
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316)
at 
org.apache.myfaces.lifecycle.LifecycleImpl.

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: DetachedCriteria Query

2006-01-17 Thread Shinerella
Remark:

In debugging time into the first step getSearchCriteria()

what happens is the following

My "contains"  variable has a string value: "DEPP"  , so it seems to go ok 
adding the restriction, and it also returns me that "searchCriteria" .


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917923#3917923

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917923


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - DetachedCriteria Query

2006-01-17 Thread Shinerella
Im trying to use a Detached Criteria to make my queries. But I ran into a 
problem. Here I describe the situation 


I have this class with the parameters to make the search, where I also define a 
Detached Criteria . that later on I 'll use on my session bean 

@Name("searchParameters")


  | public DetachedCriteria getSearchCriteria() 
  |  {
  | 
  | searchCriteria = DetachedCriteria.forClass(CAROPrince.class);
  | 
  | if (contains != null) 
  |   {
  | searchCriteria.add(Restrictions.ilike("code", contains, 
MatchMode.ANYWHERE));
  |   }
  | 
  | return searchCriteria;
  | }
  | 


then I have a bean PrinceSearchAction


  | 
  | public class PrinceSearchAction implements Serializable, PrinceSearch
  |   {
  | @PersistenceContext(unitName = "princes")
  | private Session session;
  | 
  | @PostConstruct
  | public void setSession()
  |   {
  |   HibernateUtil.setSession(session);
  |   }
  | 
  |@In(required = false, create = true)
  | private CAROPrince prince;
  | 
  | @In(required = false, create = true)
  | PrinceSearchParameters searchParameters;
  | 
  | @Out(required = false)
  | private List returnprinces;
  | 
  | 
  |  public String findPrinces()
  |   {
  | try
  |   {
  | DetachedCriteria searchCriteria =
searchParameters.getSearchCriteria();
  | Criteria crit = 
searchCriteria.getExecutableCriteria(session);
  | crit.setMaxResults(100);
  | returnprinces = crit.list();
  |  }
  | 
  |  if (returnprinces.size()>0)
  |   {
  | return "found";
  |   }
  | else
  |   {
  | return "notfound";
  |   }
  | 
  | catch ( Exception e )
  |   {/**
  |  * TODO:Implement error handeling when looking for princes in 
the future :)
  |  */
  |  e.printStackTrace();
  | return "error";
  |   }
  | } 
  |
  | 

WELL, there is always problems when we search for a prince, but my problem is 
exacly in this line
 -> Criteria crit = searchCriteria.getExecutableCriteria(session);

And I get the following exception :


INFO  [STDOUT] java.lang.ClassCastException: 
org.jboss.ejb3.entity.InjectedHibernateSession
17:31:38,015 INFO  [STDOUT] at 
org.hibernate.criterion.DetachedCriteria.getExecutableCriteria(DetachedCriteria.java:52)
17:31:38,015 INFO  [STDOUT] at 
py.com.wpg.CooPy.contractManagement.ejb.ContractSearchAction.findContracts(ContractSearchAction.java:103)
17:31:38,015 INFO  [STDOUT] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
17:31:38,015 INFO  [STDOUT] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
17:31:38,015 INFO  [STDOUT] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
17:31:38,015 INFO  [STDOUT] at 
java.lang.reflect.Method.invoke(Method.java:585)
17:31:38,015 INFO  [STDOUT] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:109)


What Im doing wrong? Is that a correct way to use the detachedCriteria?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917922#3917922

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917922


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Very very Newbie question about datamodel

2005-12-30 Thread Shinerella
 :) thanks    

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914958#3914958

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914958


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Very very Newbie question about datamodel

2005-12-28 Thread Shinerella
And finally my problem solution is: 

The @Factory anotation is needed, this is not found in the old doc, i guess..

@Begin
  | @Factory("groups")
  | public String findCaroGroups() {
  | groups = session.createCriteria(caroTypeGroup.class).list();
  | return "success";
  | }

thanks ivan :)



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914610#3914610

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914610


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Very very Newbie question about datamodel

2005-12-28 Thread Shinerella
Marobashi 

* Into my  groups this is what I have in running Time:
(setting a breakpoint on the following return statement  and inspecting what 
"groups" contents after the session.createCriteria)

 groups = ArrayList
- elementData=Object[10]
- CAROTypeGroup
+ code="NAME001"
+ subTypes=PersistenceSet(id 602)
+ description="description 1"
+ id="id001"

- CAROTypeGroup
+ code="NAME002"
+ subTypes=PersistenceSet(id 603)
+ description="description 2"
+ id="id002"
... etc 

So As u can see... I have a list of caroTypegroup, and those objects have 
atributtes like "code",  "description", etc... 

What I think is may be that somehow the variables are no longer in Scope so 
that's why them cannot be resolved... but why? 

I already changed the "Begin" of the conversation to the Method 
findCaroGroups()  where I set the value to groups ... but anyway... not good 
results yet

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914605#3914605

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914605


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Very very Newbie question about datamodel

2005-12-28 Thread Shinerella
ok, this is the thing gavin.King, SORRY i wrote jsp because I was very used to 
it, but im using facelets now, should have wrote xhtml page instead.

Indeed, today Im trying the new version of seams and the error log is :

12:42:21,984 WARN  [VariableResolverImpl] Variable 'caroGroups' could not be 
resolved.
12:42:22,265 WARN  [VariableResolverImpl] Variable 'groups' could not be 
resolved.

thank u both for your answers!! I already tried the   tag, but I 
did not have the expected results yet, im trying other things out, if i find my 
error I will post it back  :) 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914579#3914579

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914579


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Very very Newbie question about datamodel

2005-12-27 Thread Shinerella
Hi guys!

I 'm just starting to learn how to develop using jboss seams & facelets ejb3 
and i ran into some problems, so im posting here if somebody can help this 
little girl

If I have a list of objects "CaroTypeGroup"  as I describe here, (this is when 
u check the object with the eclipse inspector)

 - groups=ArrayList
  - elementData=Object[10]
   - CAROTypeGroup
 + code="NAME001"
 + subTypes=PersistenceSet(id 602)
 + description="description 1"
 + id="id001" 

   - CAROTypeGroup
 + code="NAME002"
 + subTypes=PersistenceSet(id 603)
 + description="description 2"
 + id="id002" 
  ... etc


Well this is my ejb Bean 


  | @Stateful
  | @Name("caroGroups")
  | @Scope(ScopeType.CONVERSATION)
  | @Interceptor(SeamInterceptor.class)
  | public class CaroTypeGroupListAction implements Serializable,
  | CaroTypeGroupList {
  | 
  | @PersistenceContext
  | private Session session;
  | 
  | @DataModel
  | private List groups;
  | 
  | @DataModelSelectionIndex
  | private int groupsIndex;
  | 
  | @DataModelSelection
  | private CaroTypeGroup selectedGroup;
  | 
  | @Out(required = false)
  | private CaroTypeGroup group;
  | 
  | public String findCaroGroups() {
  | groups = session.createCriteria(CaroTypeGroup.class).list();
  | return "success";
  | }
  | 
  | @Begin
  | public String setCaroGroup() {
  | group = selectedGroup;
  | return "success";
  | }
  | 


As a Starting point, I just want to print that list (groups)  to a page with a 
data table that contains the following code:


  | 
  |  
  |
  | Code
  |#{g.code}
  |
  |  
  |
  |  Actions
  |
  |
  | 
  | 
  | 


The problem is that  it doesn't print anything, like the atribute code is 
empty, so I dunno if im using seam datamodel in the correct way or... what 
could be my problem here? what am i doing wrong?..
Thanks 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914467#3914467

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914467


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user