[jboss-user] [EJB 3.0] - @NamedNativeQuery and collection loading

2008-07-24 Thread koatto
I'm using a parametrized named native query to initialize a collection property.
Everything seems to work fine except for the fact that hibernate passes just 
one parameter to the query which is the bean's id.

Looking at the hibernate's NamedQueryCollectionInitializer sources i found that 
:

public void initialize(Serializable key, SessionImplementor session)
  | throws HibernateException {
  | if (log.isDebugEnabled())
  | log.debug("initializing collection: " + 
persister.getRole()
  | + " using named query: " + queryName);
  | AbstractQueryImpl query = (AbstractQueryImpl) session
  | .getNamedSQLQuery(queryName);
  | if (query.getNamedParameters().length > 0)
  | query.setParameter(query.getNamedParameters()[0], key, 
persister
  | .getKeyType());
  | else
  | query.setParameter(0, key, persister.getKeyType());
  | 
query.setCollectionKey(key).setFlushMode(FlushMode.MANUAL).list();
  | }

which confirms that just the first parameter is applied, referring its type as 
the key one.

Is there a way to pass more than one parameter?

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166353
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - http session after hot deployment

2008-01-16 Thread koatto
Hi,
what happens to an active sticky http session when the webapp is hot deplyed on 
 the /farm of any cluster node?

Does it ends forcing the user to login again?

thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120391
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Entity bean hot deploymeny

2008-01-07 Thread koatto
Is there any way to hot deploy an entity bean with seam/jboss?
If not yet supported, any plan to allow it?

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117557
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: jpa facet not show

2007-11-22 Thread koatto
i've tried to follow the "Getting Started with Red Hat Developer Studio" 
tutorial, expecting to get all the wizard screens described, but the jpa facet
selection form was missing. I refer to figure 3.4 : 

[img]http://www.redhat.com/developers/rhds/Getting_Started_Single/images/SeamNewProj04.png[/img]

Anyway everything seems to work greatly, by the seam side.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107173
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - jpa facet not show

2007-11-22 Thread koatto
when i create a new seam project i don't find the "JPA Facet" among
the project's facets list.
I use jboss 4.2.2.GA and the last version of jboss tools got by eclipse update.

Any idea?

Thanks, Ale.

[/img]

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107116
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - generating an entity bean at runtime.

2007-11-13 Thread koatto
Is there a way to generate an entity bean at runtime and to have
the underlying persistence manager (hibernate) to manage all the
related stuff such as schema generation and mapping?

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103976
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - s:selectDate slowing page rendering

2007-05-25 Thread koatto
I have a page with several date fields and pickers.
The pages loads slowly and blocks a little on every picker. Removing all the 
s:selectDate everything comes out immediately. 
Looking at the generated html i've noticed that for every picker stuff like 
this is repeated : 

//
  | 
  | 

[jboss-user] [JBoss Seam] - Re: adding permissions to user

2007-03-16 Thread koatto
Does this Identity overwrite the seam's RuleBasedIdentity?
Any way to get them cohexisting?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028696
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - adding permissions to user

2007-03-15 Thread koatto
how can i assign permissions to an an identity?
Is there a way other than using drools rules to implement permission checks?
Should i extend the Identity class? how can i have the Identity.instance() 
method to return my class? Is there a way to have more the one identity 
component? I'd like to use both RuleBasedIdentity and my custom Identity.
With two identities, how can i choose at runtime the one to check permissions 
with?

@Name("org.jboss.seam.security.identity")
  | @Scope(SESSION)
  | @Intercept(NEVER)
  | @Startup
  | public class MyIdentity extends Identity{
  | 
  | }

Is this the correct way to extend Identiy and have its instace returned at 
runtime?

Thanks.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028414
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: custom component's decode method

2007-03-07 Thread koatto
thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026001
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - custom component's decode method

2007-03-07 Thread koatto
i don't know why the decode method of my custom componed is never called by 
myfaces environment. All the rest works fine, encode gets called and the custom 
component renders, but values are obviously not applied.

Any idea? Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025861
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - h:dataTable feeded by an action method with params

2007-03-02 Thread koatto
is there a way to do something like :



Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024691
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: slow queries using lobs in entities

2007-02-16 Thread koatto
thank you very much, it helped me a lot for the moment.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017950
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: slow queries using lobs in entities

2007-02-16 Thread koatto
i modified the code as you suggested but nothing new happened.
The problem is that i cannot have hibernate to skip the blob column in the 
generated sql.

mmm. it seems a so easy issue to solve...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017737
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - slow queries using lobs in entities

2007-02-16 Thread koatto
I have a problem querying an entity with a lob property, thats my entity's 
definition :


  | @Entity
  | public class File{
  | @Id @GeneratedValue(strategy=GenerationType.AUTO)
  | longcode;
  | @ManyToOne
  | Person  person  = null;
  | Datetimestamp   = Calendar.getInstance().getTime();
  | String  fileName= "";
  | @OneToOne
  | Usercreator = null;
  | @OneToOne
  | UserlastUpdater = null;
  | String  description = "";
  | @Lob @Basic(fetch = FetchType.LAZY)
  | Blobcontents= null;
  | 
  | ...geters/setters
  | }
  | 

and that's the way a query the objects : 

List results =entityManager.createQuery(" from File f").getResultList();

entityManager is injected from the seam's context.
I'm using mysql with mysql inno dialect, the query is very very slow and  very 
memory consuming cause hibernate includes the lob field into the sql.

What am i not doing in the right way?

thanks.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017550
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - asynchronous invokations

2007-02-14 Thread koatto
i tryied to make a synchronous calls to ejb methods following the doc 
guidelines and after i reverted my code, removing dispatcher and all the stuff 
i continue to get events every 10 seconds, that's the debug log:

16:19:34,656 DEBUG [SessionBeanInterceptor] post construct phase for component 
instantiated outside Seam, assu
  | ming default role: org.jboss.seam.core.dispatcher
  | 16:19:34,656 ERROR [TimerImpl] Error invoking ejbTimeout: 
java.lang.RuntimeException: java.lang.NullPointerExc
  | eption

after 2 days of searching i really dont know where to continue looking for.
Does anybody have a suggestion?

thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016425
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - selectOneMenu and processValidation

2007-02-08 Thread koatto
I'm using a selectOneMenu with a custom converter, feeded by a f:selectItems 
which returns selectItems containing my custom objects.
It seems that the jsf lifecycle stops at the processValidation phase, without 
upating my model, event if my page does not define any validator :

  | 16:43:57,593 TRACE [LifecycleImpl] entering processValidations in 
org.apache.myfaces.lifecycle.LifecycleImpl
  | 16:43:57,734 DEBUG [LifecycleImpl] exiting from lifecycle.execute in 
processValidations because getRenderResponse is true from one of the after 
listeners
  | 16:43:57,734 TRACE [LifecycleImpl] entering renderResponse in 
org.apache.myfaces.lifecycle.LifecycleImpl

No exception is thrown and  i can't undertand what prevents the validation.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013090
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: exceptions.xml

2007-02-05 Thread koatto
After the exception has redirected the response, how can i have access the the 
exception at page level? I just need to print the exception's message...

thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011662
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - exceptions.xml

2007-02-05 Thread koatto
i configured redirect on exception with exceptions.xml but my app is always 
redirected to the seam's debug page, it seems everything is working fine :

  | 23:07:44,312 ERROR [AbstractSeamPhaseListener] Swallowing exception thrown 
by page action

but the right page never appears.
That's the config : 

http://jboss.com/products/seam/exceptions-1.1.dtd";>
  | 
  | 
  |
  |   
  |   
  |
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011617
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: EntityManager and manual flush mode

2007-01-30 Thread koatto
allowing seam to control the persistence context means having a pc for each 
converstaion, correct? Then calling the flush  within one of the objects tied 
to that conversation causes the synchronization with db modifications occurred 
only inside that  conv, correct?

thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008355
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - ending a session

2007-01-30 Thread koatto
How can i end a session, represented by a user logged in, and have all
statefull beans clean up?
Should i use a converstation instead?

thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008249
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: EntityManager and manual flush mode

2007-01-29 Thread koatto
I just need a full control over flushes, but i think i'm not completely 
understanding what such a setting could involve :)

Why is a so bad idea?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007797
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: EntityManager and manual flush mode

2007-01-29 Thread koatto
what i mean is to set some option via persistence.xml or components.xml to
enable manual flushmode everywhere.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007784
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - EntityManager and manual flush mode

2007-01-29 Thread koatto
How can i setup the EM config to have it start with manual flush mode?

thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007750
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: start and kill a conversation

2007-01-05 Thread koatto
Thanks, it clarifies a lot.
So the only way to implement what i need is to explicitly create a new 
onversation within the method body, is it correct?

does the following link code  begin a conversation before the select method of 
searchResults component is called?


Bye.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998461
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - start and kill a conversation

2007-01-05 Thread koatto

  | http://java.sun.com/jsf/html";
  | xmlns:f="http://java.sun.com/jsf/core";
  | xmlns:s="http://jboss.com/products/seam/taglib";
  | xmlns:t="http://myfaces.apache.org/tomahawk";
  | xmlns="http://www.w3.org/1999/xhtml"; version="2.0">
  | 
  | search
  | 
  | 
  | 
  | 
  | id: 
  | managed: 
  | 
  | 
  | name: 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |  
  | 
That's the code of my page, i cant understand why clicking the first 
commandLink   the conversation does not sart. Obviusly clicking the first 
button everything goes fine.

I have another problem, i need to kill the active conversation when a click a 
link on a dataTable, invoke a bean's method wich has to start a new 
conversation and inject objects. 
I procedeed this way:
 1 - the s:link in the table's row have propagation="end"
 2 - the invoked method has @Begin annotation
 3 - the method body gets the conversation context and pushes objects into.

The conversation ends an starts againg, with the same id, but the behaviour 
it's not the one i was expecting for. 
Is the conversation started just when leaving the @Begin annotated method? If 
this is true i'm pushing objects into a zombie conv...

What's the best way to solve this issue?

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998415
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - h:commandButton vs s:button

2006-12-29 Thread koatto
i'd need help understanding the behaviour of my application cause it seems that 
when i use a s:button component the backing components are not updated. If i 
use h:commandButton everything goes fine. I'm sure everything runs within the 
scope of a conversation. That's the code :



in place of :



In the first case, using the persist method i found in the db a row with a null 
in every column.

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996811
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - explorer page rendering

2006-12-21 Thread koatto
accessing seam's pages from explorer i get the xml markup instead of the 
rendered html, while mozilla correctly renders the pages.
What's wrong?

 
  | - http://java.sun.com/JSP/Page"; 
xmlns:t="http://myfaces.apache.org/tomahawk"; 
xmlns="http://www.w3.org/1999/xhtml"; version="2.0">
  |   http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"; /> 
  |
  | - 
  |
  |
  | - 
  | -  
  |   
  | 
  | 

thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995665
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: components.xml

2006-12-21 Thread koatto
are you meaning to  put configuration for all classes in the com.helloworld  
package in com/helloworld/components.xml or put configuration for a class named 
com.helloworld.Hello in a resource named com/helloworld/Hello.component.xml ?

:)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995527
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - components.xml

2006-12-20 Thread koatto
is it possible to include another external fiile containing component 
definitions inside the components.xml file?

thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995284
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: action=

2006-12-18 Thread koatto
updating to 1.1.0 GA seems to solved the previous issue, but i always get a 
null value in the entityHome.setId method, maybe cause the p.id param isn't 
evaluated till the render phase while the action is called before.

is this correct?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994627
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: action=

2006-12-17 Thread koatto
this is my faces-config :


  | 
  | 
  | 
org.jboss.seam.ui.facelet.SeamFaceletViewHandler
  | 
  | 
  | 
  | messages
  | com.sun.facelets.FaceletViewHandler
  | 
  | 
  | 
  | 
  | 
org.jboss.seam.jsf.TransactionalSeamPhaseListener
  | 
  | 
  | 
  | 
  | 
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994529
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - action=

2006-12-17 Thread koatto
i'm trying to set the id of a framework's entityhome object direcly from a link 
action, but i'm actually getting a wrong EL error.
That's my code:

List of people
  | 
  | 
  | 
  | 
  | 
  | 


com.sun.facelets.tag.TagAttributeException: /search.jspx @21,125 
action="#{personHome.setId(p.id)}" Error Parsing: #{personHome.setId(p.id)}

is this possible? 

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994526
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - DataModel - DataModelSelection

2006-12-05 Thread koatto
Is there a way to wire together a Datamodel and a datamodelselection
programmatically, without using any annotation
I've collections persisted through hibernate i'd like to use in h:datatable in
conjunction with row selection listeners.
Guidelines and patterns widely accepted.

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991280
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - seam fileupload

2006-12-01 Thread koatto
the fileupload solution proposed by the seam wiki gives me the following error, 
what's wrong?

/upload.jspx @11,67 value="#{uploadBean.file}": Exception setting property file 
of base with class test.seam.UploadBackingBean$$EnhancerByCGLIB$$957e2ee1, 
Bean: test.seam.UploadBackingBean$$EnhancerByCGLIB$$957e2ee1, property: file, 
argument type mismatch

thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990539
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - persistence layer

2006-11-27 Thread koatto
i've an old hibernate+jsf app and i want to move to seam.
I'm planning to setup one or more session beans accessing hibernate and 
implementing crud for my persistent objects.

Should be better to convert all my data object to ejb3? what could be the best 
advantage of having ejb3 instead of normal pojos?

thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988811
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user