[jboss-user] [JBoss Seam] - Seam Booking portlet not working?

2007-08-23 Thread dgallego
Hi all, has someone tried the seam booking portlet? I can't run it. The server (Jboss AS + Portal 2.6 bundled) throws this exception: org.jboss.portal.portlet.container.PortletInitializationException: Portlet class not found org.apache.myfaces.portlet.MyFacesGenericPortlet I've tried adding

[jboss-user] [JBoss Seam] - JBoss Seam UI - component/html components missing

2007-07-31 Thread dgallego
Hi all, where is the source code of the package: org.jboss.seam.ui.component.html I can't find it. Thanks ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069078#4069078 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Serializable is needed

2007-01-31 Thread dgallego
I'm trying to outject a new Category instance from a method markes as a factory method. Category is my entity POJO. | @Out(scope=ScopeType.CONVERSATION,required=false) | Category selectedCategory; | This is my factory method: | @Factory(categoryArticles) | public void

[jboss-user] [JBoss Seam] - Serializable is needed

2007-01-30 Thread dgallego
Hi all, I have a question about JPA's entities (with hibernate as JPA provider) Why do they need to implement Serializable interface? I'm getting a NoSerializableException when working with some entities (not all, unfortunately) Thanks :) View the original post :

[jboss-user] [JBoss Seam] - Re: custom JSF component with facelets

2006-12-04 Thread dgallego
OK, if i move the tomahawk.taglib.xml to tomahawk.jar!META-INF , it works, but with my tags this doesn't work :( any idea? My my.jar!META-INF content: taglib.tld (tags for MyFaces without facelets, for example). faces-config.xml (the JSF components). nt.taglib.xml (the link between the

[jboss-user] [JBoss Seam] - Re: custom JSF component with facelets

2006-12-04 Thread dgallego
This is the structure of the jar under my /WEB-INF/lib/: META-INF: - faces-config.xml - nt.taglib.xml - taglib.tld and the packets structure containing my tags and JSF components. My tags work only if I specify facelets.LIBRARIES option under web.xml. faces-config.xml: | ?xml

[jboss-user] [JBoss Seam] - Re: custom JSF component with facelets

2006-12-04 Thread dgallego
Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991006#3991006 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991006 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss Seam] - custom JSF component with facelets

2006-12-03 Thread dgallego
Hi, all! I am trying to run my JSF custom component with facelets. Is it necessary to reference de XX.taglib.xml from web.xml with this code?: | context-param |param-namefacelets.LIBRARIES/param-name |param-valueXX.taglib.xml/param-value | /context-param | because JBoss

[jboss-user] [JBoss Seam] - Re: Migration to Seam 1.1.CR1

2006-11-29 Thread dgallego
None of the hibernate examples runs on my jboss 4.0.5 AS (JEMS) installation: They launch this exception: java.lang.IllegalStateException: No application context active I executed successfully all the examples in the 1.0 Seam version, but I can't run these... Thanks. View the original post :

[jboss-user] [JBoss Seam] - Migration to Seam 1.1.CR1

2006-11-28 Thread dgallego
Hi, I'm trying to run hibernate under seam 1.1, but I can't (with seam 1.0 yes) Here is my components.xml: | component name=hibernateSessionFactory class=org.jboss.seam.core.HibernateSessionFactory/ | component name=databaseComponent auto-create=true

[jboss-user] [JBoss Seam] - Create component from pageflow

2006-09-20 Thread dgallego
I can't create a component within a seam pageflow: The following code works if the 'contactAction' seam component has already been created, for example when viewing a facelet using it. | start-page name=contactPage view-id=/pages/contacto/index.seam | redirect/ |

[jboss-user] [JBoss Seam] - Re: Create component from pageflow

2006-09-20 Thread dgallego
Thanks Gavin for the response, but where do I need to put that VariableResolver? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3972878#3972878 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972878

[jboss-user] [JBoss Seam] - Timers with EL expressions

2006-09-12 Thread dgallego
Hi, I want to execute an action inside a timer. No problem, the action executes. But I want to be able to insert the values of EL expressions in the process definition file, just like when using DroolsActionHandler. | /* #{messageId} is resolved from outside a timer. */ | timer

[jboss-user] [JBoss Seam] - Don't deploy a process definition when restarting

2006-09-08 Thread dgallego
Hi, when JBoss AS restarts Seam deployes process definitions into database, invoking installProcessDefinitions() from org.jboss.seam.core.Jbpm. Is it really necessary? Seam should redeploy it if it has changed... Correct me if I'm wrong... thanks :). View the original post :

[jboss-user] [JBoss Seam] - Re: Injecting @Unwrap'ed component

2006-09-07 Thread dgallego
Thanks. Finally I could inject it. Should I use ManagedJbpmContext to get the tasks of my current Actor? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3970016#3970016 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3970016

[jboss-user] [JBoss Seam] - Injecting @Unwrap'ed component

2006-09-05 Thread dgallego
Is it possible to inject a component marked with @Unwrap? I want to inject the taskInstanceListForType component, but I can't. . | @In(required=false, scope=ScopeType.APPLICATION) | TaskInstanceListForType taskInstanceListForType; | An exception is thrown: @In attribute requires value

[jboss-user] [JBoss Seam] - Re: JBoss Rules problem (where else to post?)

2006-09-04 Thread dgallego
You shouldn't use an absolute path to load your rules. Instead, use this method (extracted from Drools examples and modified). | public static RuleBase readRule(Class readerClass, String rulesFile, String rulesDslFile) throws Exception | { | if

[jboss-user] [JBoss Seam] - Re: Calling a @CreateProcess method

2006-09-01 Thread dgallego
I can't see the BusinessProcess class, only the BusinessProcessContext. If I try to inject the businessProcessContext built-in seam component, it fails. But businessProcessContext can't create process instances. Thanks. View the original post :

[jboss-user] [JBoss Seam] - Re: Calling a @CreateProcess method

2006-09-01 Thread dgallego
Thanks. I'll wait for the new Seam version. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3968865#3968865 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3968865 ___ jboss-user

[jboss-user] [JBoss Seam] - @StartTask and @EndTask in different methods

2006-09-01 Thread dgallego
Hi, I'm modifying the TODO-list example in order to start and end tasks with different s:link. I want a button to start the task (invoking @StartTask method) and a method to stop the task. If I hit the startTask method, the task is started (I see it in jbpm database), but if then I hit the

[jboss-user] [JBoss Seam] - Re: @StartTask and @EndTask in different methods

2006-09-01 Thread dgallego
The TODO-list method: | @StartTask @EndTask | public void done {} | My option (different methods activated withint different s:link's): | @StartTask | public void startTask() {} | @EndTask | public void endTask() {} | View the original post :

[jboss-user] [JBoss Seam] - Calling a @CreateProcess method

2006-08-31 Thread dgallego
Hi, I'm trying to build a website with pageflows and process definitions (together). I have a method called withing a transition in the pageflow (like in the numberguess example app...). Inside this method, I want to create a new process instance (invoking the method with the @CreateProcess

[jboss-user] [JBoss Seam] - Re: Calling a @CreateProcess method

2006-08-31 Thread dgallego
This is the bean invoked within the transition in the pageflow. The method isMessageSent is used to redirect (evaluate decision in pageflow) to different webpages if the message has been successfully sent. | import org.jboss.seam.ScopeType; | import org.jboss.seam.annotations.*; | import

[jboss-user] [JBoss Seam] - Re: Calling a @CreateProcess method

2006-08-31 Thread dgallego
And how could I create a process instance manually from sendMessage()? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3968576#3968576 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3968576

[jboss-user] [JBoss Seam] - Re: Testing pages within JBoss / Seam

2006-08-23 Thread dgallego
If you use JBoss IDE you can configure the debugger to reload your classes. See the JBoss IDE tutorial for more info. Yes, I think PHP is better for fast development :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3966884#3966884 Reply to the post :

[jboss-user] [JBoss Seam] - Pageflow and Component instantiation

2006-08-23 Thread dgallego
Hi all, I'm using a jBPM pageflow definition to use the Seam navigation model. It works well in the examples, because the pageflow definition (.jpdl.xml) executes an EL expression (in for example) and the referenced component has already been created (in the template or .jsp) Is it possible

[jboss-user] [JBoss Seam] - Re: Pageflow and Component instantiation

2006-08-23 Thread dgallego
(in for example) = (in for example) ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3966890#3966890 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3966890 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Re: Pageflow and Component instantiation

2006-08-23 Thread dgallego
shit... action tag, for example View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3966891#3966891 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3966891 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Seam + jBPM: cancelling tasks

2006-08-21 Thread dgallego
Hi I'm modifying the TODO list example, the one that uses Seam and jBPM to create a TODO list. I want to cancel the business process creation if a task with the same description already exists, cancel the recently created task in createTodo() method... How can I cancel the creation of a task

[jboss-user] [JBoss Portal] - Re: Hiding a portlet

2006-07-27 Thread dgallego
Hehehe. I have tried launching an UnavailableException, but when I execute the page for the first time, it displayes: No portlet available. If I refresh the page, the portlet dissappears, good, but I can't make it visible again. Thanks ;) View the original post :

[jboss-user] [JBoss Portal] - Java Portlet Tools

2006-07-27 Thread dgallego
Hi, I'm trying to insert an application written with JSF as a portlet. I've found the Java portlet Tools, which modify the tags of my App to get it running without problems, but I don't know if it is possible to use them in JBoss Portal (the requirement is Plumtree Portal) Thanks. View the

[jboss-user] [JBoss Portal] - Hiding a portlet

2006-07-26 Thread dgallego
Hi, is it possible to hide a portlet dynamically? I have tried overriding the render() method, but it doesn't work at all. Thanks :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3960933#3960933 Reply to the post :

[jboss-user] [JBoss Portal] - Portlets and Rules integration

2006-07-24 Thread dgallego
Hi I am trying to integrate a simple Hello World Portlet with a rule. In order to get it running I have to copy the drools library file into my WEB-INF/lib/... but my portlet raises exception. Has someone tried building a portlet with JBOss Rules? Thanks View the original post :

[jboss-user] [Beginners Corner] - Drools and Portlets integration problem

2006-07-24 Thread dgallego
Hi, I'm trying to load a rules file from a portlet. I have copied the Eclipse Rules example (DroolsTest.java) and tried working with it from a Portlet class. The problem appears when I try to create a new PacakgeBuilder. Everything works well: read the DRL file (file with the rules) and create a