[jboss-user] [JBoss Seam] - Re: array or list and restful or bookmarkable

2008-02-13 Thread kooudy
Post here jsp and java code.

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

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


[jboss-user] [JBoss Seam] - Re: pages.xml param

2008-02-13 Thread kooudy
even in seam 1.2.1 switching STATE_SAVING_METHOD to server breaks URLs to be 
bookmarkable

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

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


[jboss-user] [JBoss Seam] - Re: pages.xml param

2008-02-11 Thread kooudy
I have just discovered that:

1. redirect filter must be enabled to append parameters to URL

2. javax.faces.STATE_SAVING_METHOD must be set to client - according to BLOG 
example (when I tried to set to server , then it stops work)

It is required to save state on client?

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

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


[jboss-user] [JBoss Seam] - Re: Request param acquire

2008-02-11 Thread kooudy
I have just discovered that:

1. redirect filter must be enabled to append parameters to URL

2. javax.faces.STATE_SAVING_METHOD must be set to client - according to BLOG 
example (when I tried to set to server, then it stops work)

It is required to save state on client?

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

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


[jboss-user] [JBoss Seam] - Re: pages.xml param

2008-02-11 Thread kooudy
I can't use 1.2.1 unfortunately, because of companys politics.

I've tried to switch STATE_SAVING_METHOD to server in seam blog example and it 
stop works.

Scenario:
I've tried to find blog according to a string, this results in URL:

anonymous wrote : 
http://localhost:8082/seam-blog/seam/search.xhtml?conversationId=2searchPattern=example

then i tried to change example to test i URL (I typed test there manually in 
browser and press enter):

anonymous wrote : 
http://localhost:8082/seam-blog/seam/search.xhtml?conversationId=2searchPattern=test

but input field doesn't change a results' haven't been found.

thanks for previous reply

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

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


[jboss-user] [JBoss Seam] - Re: Request param acquire

2008-02-11 Thread kooudy
sorry previous comment belongs to other thread

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

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


[jboss-user] [JBoss Seam] - Re: pages.xml param

2008-01-04 Thread kooudy
I have discovered following:

1. When I come to page detail.jsp for the first time, param name is included in 
URL (but I don't need that here :) ).

2. When param tag isn't as a child of redirect tag, then after invoking 
search.actionSearch param name isn't included in URL although it is defined in 
page tag.

Reference guide:

anonymous wrote : Any navigation rule with a redirect to the view id 
transparently includes the request parameter. The
  | value of the parameter is determined by evaluating the value binding at the 
end of the invoke application
  | phase.

3. Model isn't updated according to param name (GET request with name param).

Reference guide:

anonymous wrote : 
  | The param declaration is bidirectional, just like a value binding for a JSF 
input
  | When a non-faces (GET) request for the view id occurs, Seam sets the value 
of the named request parameter
  | onto the model object, after performing appropriate type conversions.

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

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


[jboss-user] [JBoss Seam] - Request param acquire

2008-01-04 Thread kooudy
How to acquire request parameter values, if there are multiple same parameter 
names?

Example (I want values Gavin and Pete):

http://localhost:8080/detail.seam?name=Gavinname=Pete

Map params = FacesContext.getCurrentInstance()
  | .getExternalContext().getRequestParameterMap();

There is is only one param name in params.

thanks a lot


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

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


[jboss-user] [JBoss Seam] - pages.xml param

2008-01-03 Thread kooudy
Hello,
there is snippet of my pages.xml:


  | page view-id=/detail.jsp
  | param name=name value=#{form.name}/
  |  
  | navigation from-action=#{search.actionSearch}
  | redirect view-id=/detail.jsp
  | param name=name value=#{form.name}/
  | /redirect
  | /navigation
  | /page
  | 

Param name is successfully added to URL query but model is not updated when I 
change name in URL manualy and query server.

Form is session POJO object. There is setter in form object.
I use seam 1.1.6.

Do I need some Filter? Or what I am doing wrong?



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

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


[jboss-user] [JBoss Seam] - Re: pages.xml param

2008-01-03 Thread kooudy
anonymous wrote : How do you mean query server? 

When I type in a browser:

http://localhost:8080/appl/detail.seam?name=John

then I expect form.name to be updated to value John, but isn't (it does work in 
blog example).



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

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


[jboss-user] [JBoss Tools (users)] - Hibernate Configurations

2007-12-14 Thread kooudy
I encounter problem with adding configuration in Hibernate Configurations view.

When I try to add new Configuration then following exception is thrown:

org.hibernate.console.HibernateConsoleRuntimeException: Persistence unit not 
found: 'userDatabase'.
  | at 
org.hibernate.console.ConsoleConfiguration.buildJPAConfiguration(ConsoleConfiguration.java:134)
  | at 
org.hibernate.console.ConsoleConfiguration.buildConfiguration(ConsoleConfiguration.java:496)
  | at 
org.hibernate.console.ConsoleConfiguration.access$0(ConsoleConfiguration.java:484)
  | at 
org.hibernate.console.ConsoleConfiguration$2.execute(ConsoleConfiguration.java:203)
  | at 
org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:65)
  | at 
org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:185)
  | at 
org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:106)
  | at 
org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:38)
  | at 
org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:97)
  | at 
org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:103)
  | at 
org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:196)
  | at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

I have tried to add persistence.xml to src/META-INF but got same exception.
Project was created as usual project in Eclipse (not SEAM project), but have 
enabled SEAM support.

persistence.xml:

?xml version=1.0 encoding=UTF-8?
  | persistence xmlns=http://java.sun.com/xml/ns/persistence;
  |  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |  xsi:schemaLocation=http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd;
  |  version=1.0
  | persistence-unit name=userDatabase
  | providerorg.hibernate.ejb.HibernatePersistence/provider
  | jta-data-sourcejava:/project/jta-data-source!-- DefaultDS --
  | /persistence-unit
  | /persistence

I there somtihgi have missed?

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

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


[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations

2007-12-14 Thread kooudy
Sorry, I don't understand.

What you mean with anonymous wrote : is the project built ??

Project is deployed to JBoss, but JBoss deosn't now about Eclipse respectively.

thanks

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

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


[jboss-user] [JBoss Seam] - Stafull session bewn - set new reference

2007-07-26 Thread kooudy
I have a question:

I have statefull bean:

@Stateful
  | @Scope(ScopeType.SESSION)
  | @Name(hotelSearch)
  | public class HotelSearch implements HotelSearchLocalIF {
  |   @DataModelSelection
  |   private Hotel hotel;
  | 
  |   @DataModel
  |   private ListHotel hotelList;
  | 
  |   /**
  |* Set new hotel.
  |*/
  |   public void setHotel(Hotel hotel) {
  | this.hotel = hotel;
  |   }
  | 
  |   private void logHotel() {
  | log.debug(this.hotel);
  |   }
  | 
  | }

I call hotel.setHotel(newHotel) from another stateless bean to set new detail.

Then I call logHotel() but there is original hotel logged 
(which was in variable hotel before setting new one).
It looks like method setHote(hotel) sets new detail only for setHotel() method 
duration. But after this method ends, original hotel is injected.

When I want to change hotel, I have to change attributes of hotel, but not 
whole instance (reference):

  public void setHotel(Hotel hotel) {
  | //this.hotel = hotel;  //not works, after methodends, there is original 
hotel injected
  | 
  | //ne approach to update hotel detail
  | this.hotel.setId(hotel.getId);
  | this.hotel.setName(hotel.getName);
  | ...
  |   }

Can I force HotelSearch to set new hotel reference for HotelSearch?

I have met this several times and I don't now the right solution.

I have tried the same with @In and behaviour is similar.

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

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


[jboss-user] [JBoss Seam] - Re: facesMessages and element id

2007-06-29 Thread kooudy
update:

FacesMessages.addFromResourceBundle()
assign to specific element using ID,

doesn't work only in places where I am using jPDL.

I use the same page (include) and same mechanism to add FacesMessagesand and it 
works in places where navigation is defined by pages.xml.

Is there someone who has the same experience?

thanks

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

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


[jboss-user] [Installation, Configuration Deployment] - Exception during request processing: Transaction is not acti

2007-06-11 Thread kooudy
After method invocation (several seconds) I get this Exception:

I dont know, what this mean, but I expect this is some problem with long time 
method invocation.

Thanks for help

anonymous wrote : Exception during request processing: Transaction is not 
active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=test.cz/200, 
BranchQual=, localId=200]
  | 
  | 
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:290)
  | 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
  | 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
  | 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
  | 
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47)
  | 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:417)
  | 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
  | 
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
  | org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1560)
  | org.hibernate.loader.Loader.doQuery(Loader.java:661)
  | 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
  | org.hibernate.loader.Loader.doList(Loader.java:2144)
  | org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2028)
  | org.hibernate.loader.Loader.list(Loader.java:2023)
  | org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:393)
  | org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
  | org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
  | org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
  | org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  | org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64)
  | cz.test.Project.select(Project.java:625)
  | sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | java.lang.reflect.Method.invoke(Method.java:597)
  | 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | 
org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37)
  | 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  | 
org.jboss.seam.interceptors.BijectionInterceptor.bijectNonreentrantComponent(BijectionInterceptor.java:79)
  | 
org.jboss.seam.interceptors.BijectionInterceptor.bijectComponent(BijectionInterceptor.java:58)
  | sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
  | 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | java.lang.reflect.Method.invoke(Method.java:597)
  | org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  | 
org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:21)
  | sun.reflect.GeneratedMethodAccessor120.invoke(Unknown Source)
  | 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | java.lang.reflect.Method.invoke(Method.java:597)
  | org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  | 
org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:52)
  | sun.reflect.GeneratedMethodAccessor119.invoke(Unknown Source)
  | 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | java.lang.reflect.Method.invoke(Method.java:597)
  | org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  | 
org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:51)
  | sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source)
  | 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | java.lang.reflect.Method.invoke(Method.java:597)
  | org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | 

[jboss-user] [Installation, Configuration Deployment] - Re: Exception during request processing: Transaction is not

2007-06-11 Thread kooudy
I complete listing:
anonymous wrote : 
  | Caused by: javax.ejb.EJBException: nested exception is: 
javax.persistence.PersistenceException: 
org.hibernate.exception.GenericJDBCException: Cannot o
  | pen connection
  | at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:102)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:203)
  | at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
  | at $Proxy244.findFast(Unknown Source)
  | at cz.test.ProjectLocalIF$$FastClassByCGLIB$$35d70d44.invoke()
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
  | at 
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:74)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  | at 
org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:40)
  | at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - Re: facesMessages and element id

2007-06-08 Thread kooudy
I use SEAM 1.1.6 and there is no such method ... yeah I can see, possible from 
version 1.2.

anonymous wrote : public void addFromResourceBundle(String id,  
   javax.faces.application.FacesMessage.Severity severity,  
String key, Object... params)
  | 
  | Add a templated FacesMessage to a particular component id by looking 
for the message template in the resource bundle.

It is possible in this method is to add message to particular component, isn't?
Or parameter id means something else?

thanks

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

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


[jboss-user] [JBoss Seam] - facesMessages and element id

2007-06-07 Thread kooudy
I want add error message to a html input, but without success:

  |   @In
  |   private FacesMessages facesMessages;
  | 
  | this.facesMessages.addFromResourceBundle(
  |   testInputID,
  |   value.missing,
  |   (Object[]) null
  | );
  | 
  | h:selectOneMenu value=#{someValue} id=testInputID
  |   f:selectItems value=#{someSelectItems}/
  | /h:selectOneMenu
  | h:message for=testInputID styleClass=error/

something wrong?

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

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


[jboss-user] [JBoss Seam] - Re: Conversation recovery or destroy

2007-06-07 Thread kooudy
please, when I switch from no-long-running conversation to 
long-running-conversation using seam switcher (defined by jPDL - pageflow) then 
in seam debug page I can see:

java.lang.IllegalStateException[pageflow is not currently at a page or 
start-page node (note that pageflows that begin during the RENDER_RESPONSE 
phase should use start-page instead of start-state)]

there have to be a bug ... help

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

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


[jboss-user] [JBoss Seam] - RepositoryClassLoader.findClass NullPointerException

2007-06-04 Thread kooudy
Sometimes I see this exception:

javax.faces.el.EvaluationException: Cannot get value for expression 
'#{project.type == 1}'
  | at 
org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:402)
  | at 
javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:1075)
  | 
  | Caused by: java.lang.NullPointerException
  | at 
org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:620)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  | at 
org.jboss.seam.jsf.SeamApplication11.getPropertyResolver(SeamApplication11.java:168)
  | at 
org.apache.myfaces.el.ELParserHelper$MyPropertySuffix.evaluate(ELParserHelper.java:532)
  | at 
org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
  | at 
org.apache.commons.el.BinaryOperatorExpression.evaluate(BinaryOperatorExpression.java:154)
  | at 
org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:383)
  | ... 97 more

I have googled, but haven't found any solution.

Please help

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

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


[jboss-user] [JBoss Seam] - Re: conversations, nested conversations

2007-05-29 Thread kooudy
I have forgot:

Conversation.pop();

before


  | Pageflow.instance.reposition(detail);
  | 

to reposition parent pageflow.



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

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


[jboss-user] [JBoss Seam] - Conversation recovery or destroy

2007-05-29 Thread kooudy
Hello,
I have conversation, which is in inconsistent state:

anonymous wrote : java.lang.IllegalStateException[pageflow is not currently at 
a  or start-page node (note that pageflows that begin during the 
RENDER_RESPONSE phase should use start-page instead of start-state)]

Is there any possibility to get rid of this conversation? Or recovery it?

Conversation is visible in SEAM conversations switcher, it is possible to 
switch to this conversation, but it is impossible to continue in pageflow, no 
actions are invoked on buttons clicks, no transitions.

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

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


[jboss-user] [JBoss Seam] - Re: Conversation recovery or destroy

2007-05-29 Thread kooudy
I see this in seam debug page even after i switch conversation by the help of 
conversation switcher (no further actions, only switch workspace, from no long 
running conversation to long running conversation):

anonymous wrote :java.lang.IllegalStateException[pageflow is not 
currently at a  or start-page node (note that pageflows that begin during the 
RENDER_RESPONSE phase should use start-page instead of start-state)]

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

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


[jboss-user] [JBoss Seam] - Re: s:conversationPropagation with t:navigationMenuItem

2007-05-28 Thread kooudy
Has anyone solved this problem? I need stop conversation with jscookmenu item, 
like propagation=end.

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: s:conversationPropagation with t:navigationMenuItem

2007-05-28 Thread kooudy
see demo at http://livedemo.exadel.com/richfaces-demo/
there is drop down menu

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

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


[jboss-user] [JBoss Seam] - Re: conversations, nested conversations

2007-05-28 Thread kooudy
Hi,
my solution isn't best but it works: with component Conversation I end up 
nested conversation, then Redirect to required view a then define transitions 
for previous node, or reposition pageflow to new view (node):


  | public void endAndRedir() {
  |   Conversation.instance().endBeforeRedirect();
  |   Redirect.instance.setViewId(/projectDetail.jsp);
  | 
  |   //Pageflow.instance.reposition(detail);
  | }
  | 

I commented out last line, because nested conversation doesn't ended.

So I have to define transitions for previous node (/search.jsp, where pageflow 
is still situated, after redirect) even if this view doesn't have transitions 
(like new view /projectDetail.jsp).

Hopefully helps.

Hope you find better solution and post it.

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

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


[jboss-user] [JBoss Seam] - Form, back button

2007-05-23 Thread kooudy
I have wizard, which runs in conversation. User goes through pages and fill 
additional values. Problem occur when user press BACK button a goes to previous 
page then change some value and then press submit. Values in corresponding form 
don't change according to html inputs. In form stays values from first step.

Plot:

anonymous wrote : 
  | HTML page 1
  |   - user fill 'Hello'
  |   - submit
  | 
  | HTML page 2
  |   - browser back
  | 
  | HTML page 1
  |   - change input to 'Good bye'
  |   - submit
  | 
  | HTML page 2
  |  - in form stays first input 'Hello'
  | 

What I am doing wrong?
Please help

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

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


[jboss-user] [JBoss Seam] - Exception definition in pages.xml

2007-05-21 Thread kooudy
Hello,
I have defined in pages.xml page exception:

  exception class=cz.test.TestException
  | end-conversation /
  | redirect view-id=/error.seam /
  |   /exception

In places, where jpdl is not defined it works well.

But when exception occurs in pageflow defined by jpdl, new Exception is thrown:


  | 10:41:31,656 INFO  [Exceptions] reading exception mappings from 
/WEB-INF/pages.xml
  | 10:41:31,703 ERROR [SeamPhaseListener] uncaught exception
  | java.lang.IllegalStateException: pageflow has not yet started
  | at org.jboss.seam.core.Pageflow.getNode(Pageflow.java:156)
  | at org.jboss.seam.core.Pageflow.getPage(Pageflow.java:189)
  | at org.jboss.seam.core.Pageflow.validatePageflow(Pageflow.java:99)
  | ...
  | 
  | Caused by: cz.test.TestException: Bla
  | at cz.test.NewProject.createProject(NewProject.java:377)
  | ... 169 more
  | 


10:41:31,703 ERROR [DebugPageHandler] redirecting to debug page
  | java.lang.IllegalStateException: pageflow has not yet started
  | at org.jboss.seam.core.Pageflow.getNode(Pageflow.java:156)
  | at org.jboss.seam.core.Pageflow.getPage(Pageflow.java:189)
  | at org.jboss.seam.core.Pageflow.validatePageflow(Pageflow.java:99)

When TestException is not (manually) thrown, pageflow definition and 
transitions works, so I believe the pageflow is started in spite of 
IllegalStateException.

Where I did mistake?



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

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


[jboss-user] [JBoss jBPM] - Redirect, Pageflow, jPDL, manually node reposition

2007-05-09 Thread kooudy
Hello,
when I manually redirect to another view, then I see new view but the pageflow 
stays on previous node.
Previous node doesn't have defined transitions like new displayed page, so 
transitions doesn't work.

Should I reposition Pageflow manually or it should do component Redirect (bug).

Am I able to reposition parent conversation pageflow?

(pageflow is defined via jPDL)

thanx

example:
Redirection

Redirect redir = Redirect.instance();
  | redir.setViewId(/detail.jsp);
  | redir.execute();

I must reposition pageflow to new node:

Pageflow.instance().reposition(detail);


And when I do this (reposition parent pageflow):

  | Conversation.instance().pop();
  | Pageflow.instance().reposition(detail);

then nested conversation isn't ended

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

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


[jboss-user] [JBoss Seam] - Redirect, Pageflow, jPDL, manually node reposition

2007-05-09 Thread kooudy
Hello,
when I manually redirect to another view, then I see new view but the pageflow 
stays on previous node.
Previous node doesn't have defined transitions like new displayed page, so 
transitions doesn't work.

Should I reposition Pageflow manually or it should do component Redirect (bug).

Am I able to reposition parent conversation pageflow?

(pageflow is defined via jPDL)

thanx

example:
Redirection

Redirect redir = Redirect.instance();
  | redir.setViewId(/detail.jsp);
  | redir.execute();

I must reposition pageflow to new node:

Pageflow.instance().reposition(detail);


And when I do this (reposition parent pageflow):

  | Conversation.instance().pop();
  | Pageflow.instance().reposition(detail);

then nested conversation isn't ended

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

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


[jboss-user] [JBoss jBPM] - Re: Redirect, Pageflow, jPDL, manually node reposition

2007-05-09 Thread kooudy
ok thanks :)

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

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


[jboss-user] [JBoss Seam] - 'Modal' in terms of pageflow

2007-05-07 Thread kooudy
Hello,
in Seam's tutorial is

anonymous wrote : The stateful/stateless navigation distinction is quite 
similar to the traditional view of modal/modeless interaction. Now, Seam 
applications are not usually modal in the simple sense of the word - indeed, 
avoiding application modal behavior is one of the main reasons for having 
conversations! However, Seam applications can be, and often are, modal at the 
level of a particular conversation. It is well-known that modal behavior is 
something to avoid as much as possible; it is very difficult to predict the 
order in which your users are going to want to do things! However, there is no 
doubt that the stateful model has its place.

What does mean 'modal' there?

It is something in terms of accessibility lower window under above window, 
I am little confused
thanks


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

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


[jboss-user] [JBoss Seam] - Re: 'Modal' in terms of pageflow

2007-05-07 Thread kooudy
thanks

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

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


[jboss-user] [JNDI/Naming/Network] - Re: Difference between 'java: Namespace' and 'Global JNDI Na

2007-05-04 Thread kooudy
It seems that it works :)
thanks

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

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


[jboss-user] [EJB 3.0] - Could not find Stateful bean

2007-05-02 Thread kooudy
What I am doing wrong?

07:59:19,562 ERROR [GraphElement] action threw exception: couldn't evaluate 
expression '#{treeBacker.createTomahawkTreeModel}'
  | org.jbpm.JbpmException: couldn't evaluate expression 
'#{treeBacker.createTomahawkTreeModel}'
  | at 
org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.evaluate(JbpmExpressionEvaluator.java:38)
  | at org.jbpm.graph.def.Action.execute(Action.java:119)
  | at 
org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:235)
  | at 
org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:212)
  | at 
org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:182)
  | at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:166)
  | at org.jbpm.graph.def.Transition.take(Transition.java:106)
  | at org.jbpm.graph.def.Node.leave(Node.java:383)
  | at org.jbpm.graph.exe.Token.signal(Token.java:174)
  | at org.jbpm.graph.exe.Token.signal(Token.java:137)
  | at 
org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:229)
  | at 
org.jboss.seam.pageflow.PageflowHelper.signal(PageflowHelper.java:47)
  | at org.jboss.seam.core.Pageflow.navigate(Pageflow.java:298)
  | at 
org.jboss.seam.jsf.SeamNavigationHandler.handleNavigation(SeamNavigationHandler.java:30)
  | at 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:84)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:106)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:274)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:250)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:405)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
cz.proj.om.service.filters.AuthorizationFilter.doFilter(AuthorizationFilter.java:76)
  | 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.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
  | 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.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | 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:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 

[jboss-user] [EJB 3.0] - Re: Could not find Stateful bean

2007-05-02 Thread kooudy
treeBacker is Statefull Session Bean, schouldn't be removed at the end of the 
session? 

This exception occurs when I end nested conversation and want use this session 
bean.

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

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


[jboss-user] [EJB 3.0] - Re: Could not find Stateful bean

2007-05-02 Thread kooudy
http://wiki.jboss.org/wiki/Wiki.jsp?page=JbossTimeoutSettingForSeam

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

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


[jboss-user] [JBoss Seam] - Conversation endpop

2007-04-30 Thread kooudy
Hello,
I want to end nested conversation and then reposition parent conversation 
pageflow:

  public void repositionPageflow() {
  | //end nested
  | Conversation.instance().endBeforeRedirect();
  | //reposition parent
  | Conversation.instance().pop();
  | Pageflow.instance().reposition(detail);
  |   }

But nested conversation isn't ended.
What I am doing wrong?


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

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


[jboss-user] [JNDI/Naming/Network] - Re: Difference between 'java: Namespace' and 'Global JNDI Na

2007-04-27 Thread kooudy
By using java context:

16:40:16,964 ERROR [NewProject] project not bound
  | com.test.ProjectException: project not bound
  | at com.test.Project.getConnection(Project.java:208)
  | at com.test.Project.getNextID(Project.java:177)
  | at com.test.Project.create(Project.java:99)


Project DS is present in jndi namespace:

java: Namespace
  | 
  |   +- jaas (class: javax.naming.Context)
  |   |   +- HsqlDbRealm (class: 
org.jboss.security.plugins.SecurityDomainContext)
  |   |   +- jbossmq (class: org.jboss.security.plugins.SecurityDomainContext)
  |   |   +- JmsXARealm (class: 
org.jboss.security.plugins.SecurityDomainContext)
  |   +- TransactionPropagationContextImporter (class: 
org.jboss.tm.TransactionPropagationContextImporter)
  |   +- JmsXA (class: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl)
  |   +- comp.ejb3 (class: javax.naming.Context)
  |   |   NonContext: null
  |   +- worksheet (class: javax.sql.DataSource)
  |   +- project (class: javax.sql.DataSource)
  |   +- JBossCorbaNaming (class: org.omg.CosNaming.NamingContextExt)


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

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


[jboss-user] [JBoss Seam] - The conversation ended, timed out or was processing another

2007-04-26 Thread kooudy
Hello,
sometimes, in my application appears message:

anonymous wrote : The conversation ended, timed out or was processing another 
request

Then any action (button sumbit) cause conversationID incrementation (+1) and 
pageflow stays on same page.

Can anyone help me, please



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

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


[jboss-user] [JNDI/Naming/Network] - Re: Difference between 'java: Namespace' and 'Global JNDI Na

2007-04-24 Thread kooudy
Sorry, I am late, but no email notification have received


  | xa-datasource
  | jndi-nameproject/jndi-name
  | use-java-contextfalse/use-java-context
  | track-connection-by-tx/
  | 
xa-datasource-classorg.postgresql.xa.PGXADataSource/xa-datasource-class
  | xa-datasource-property 
name=ServerNamelocalhost/xa-datasource-property
  | xa-datasource-property name=PortNumber5432/xa-datasource-property
  | xa-datasource-property 
name=DatabaseNametest/xa-datasource-property
  | xa-datasource-property name=Userabc/xa-datasource-property
  | xa-datasource-property name=Passwordcba/xa-datasource-property
  |   /xa-datasource
  | 

Getting datasource (from Stateless EJB 3.0):


  | Context ctx = new InitialContext();
  | DataSource ds = (DataSource) ctx.lookup(project);
  | 

Without use-java-contextfalse/use-java-contexttrack-connection-by-tx/ I 
am not able to get DS.

thanks



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

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


[jboss-user] [Security JAAS/JBoss] - Enable logging ldap

2007-04-24 Thread kooudy
Hello,
1. how I enable logging for LdapExtLoginModule?

2. I have user in LDAP, which have no roles. This user can't login in 
application (I get 403).
When I assign this user's group some role, the user is able to login. But this 
role don't give user any permission - it is only new role, added to web.xml and 
properties file (e.g. group1=role1, user is member of group1; when I remove 
group1=role1, user is still member group1, group one has no role, but role 
isn't in application checked, then user is not able to login - 403).
thanks for help

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

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


[jboss-user] [JBoss jBPM] - pagflow, return to start-page

2007-04-24 Thread kooudy
Hi,
I have pageflow and I would like to redirect user to start-page, when he 
doesn't enter pageflow by start-page.

When he starts in the middle of pageflow, I want to move him to the first page 
(start-page).

I is possible to do this?
thanks

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

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


[jboss-user] [JNDI/Naming/Network] - Difference between 'java: Namespace' and 'Global JNDI Namesp

2007-04-19 Thread kooudy
Can somebody explain difference between 'java: Namespace' and 'Global JNDI 
Namespace'?

Why is impossible to get Datasource via JNDI lookup without 
use-java-contextfalse/use-java-context?

thanks


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

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


[jboss-user] [JNDI/Naming/Network] - Re: Difference between 'java: Namespace' and 'Global JNDI Na

2007-04-19 Thread kooudy
OK,
but, I have datasource within java namespace and I am not able to get this one 
(within JBoss JVM) until I move it in global namespace, as I have mentoined.

Thank you




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

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


[jboss-user] [JBoss Seam] - Re: conversations, nested conversations

2007-04-13 Thread kooudy
Another question:
It is possible to acquire parent conversation (within nested conversation) and 
set viewID?

Something like this:

Conversation c = Conversation.instance();
  | c.getParent().setViewId(/detail.jsp);

I don't know how to get parent conversation.

I need to return from nested conversation to other page than I came from.

please help

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

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


[jboss-user] [JBoss Seam] - Re: conversations, nested conversations

2007-04-13 Thread kooudy
Another question:)

How to acquire parent conversations pageflow, seam component:

Pageflow.instance();

returns pageflow for actual conversation.

Need to reposition for parent pageflow.
Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Nested Page flows (jpdl) and conversations

2007-04-12 Thread kooudy
Please, did you solved this scenario?

What to define as target node to which is in different jpdl file (nested 
pageflow)?



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

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


[jboss-user] [JBoss Seam] - Re: Problem with tree2

2007-02-28 Thread kooudy
I still have the same problem. Is there any solution to add fetaure expand all 
tree?

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Problem with tree2

2007-02-28 Thread kooudy
Any solutions to this problem please?

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

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