[jboss-user] [JBoss Seam] - Re: Jboss EL with list comprehension?
Thank you very much Pete. Slawek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121102#4121102 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121102 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Jboss EL with list comprehension?
Hi, Is there a way in Jboss EL to select the objects from collection which satisfy a given condition like it's possible in Groovy, e.g. ? someCollection.findAll({i -> i.size == 0}) If it's completely impossible, so how to do it with Jboss EL? Slawek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120134#4120134 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120134 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - EntityManager and Atomic Conversations problem
I'm using atomic conversation with entityManager.flush() being called manually. In such a conversation I can do many things with my entities, eg.: - create new objects and persist them <- it's OK - remove some persistent objects -< it's OK - create and then remove not yet persisted objects!!! <- FATAL [application] javax.persistence.EntityNotFoundException: deleted entity passed to persist How to easily manage all these operations with entities to avoid errors mentioned above? Atomic conversations + ajax give us enough "time" to do many complicated things with entities before final flush() is being performed, but I can't find easy way to manage all this operations to extract final set of objects to persist, remove and so on. How to handle this issue? Slawek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059562#4059562 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059562 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to reach validation messages with EL
I have added feature request http://jira.jboss.org/jira/browse/JBSEAM-1554 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057905#4057905 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057905 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to reach validation messages with EL
Hi, To perform validation we can use , and tags in JSF but how to reach validation messages for appropriate form objects with EL (jboss-el), eg.: this is the one of the common ways: | I'd like to have something like this: | Is it possible in any way? Slawek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057694#4057694 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057694 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Atomic Conversation with tag
Can I add this as feature request to JIRA? It would be nice suplement to this area, wouldn't it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057206#4057206 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057206 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Atomic Conversation with tag
Hi, I'd like to ask you if it's possible to mark conversation as an Atomic Conversation with or ? We've got already: - @Begin(flushMode=MANUAL) - - em.setFlushMode(FlushModeType.COMMIT) but I've noticed that it seems to be not possible to do such a conversation with mentioned tags. Any advice is welcome. Slawek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057199#4057199 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057199 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: - how to generate links?
It works perfectly now. I'm thankful to you! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976491#3976491 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976491 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: - how to generate links?
Hi Gavin. Did you have a while to take a look at this? Regards, Slawek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976422#3976422 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976422 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: - how to generate links?
OK. I'll try to explain. The idea was to allow data binding for view parameter. It has beed implemented but there is a problem. Result of such a data binding has no effect on final URL generated by tag. In the latest part of my previous post I ineffectually tried to ask you for such implementation which would give e.g.: we have: someObject.someProperty = "/site.xhtml" | and result in html: | ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975960#3975960 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975960 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: - how to generate links?
If I'm wrong, sorry about that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975858#3975858 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975858 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: - how to generate links?
Hi Gavin, I didn't notice it earlier because there was time to bad :) but tag doesn't support view data binding correctly yet. I took a look into newest HtmlLink.java and there exists data binding implementation but without influence encodeUrl content. Is it possible to relocate mentioned part of code before encodeUrl and connect view with viewId to achieve the same functionality for data binded values as for 'normal' ones? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975702#3975702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975702 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: - how to generate links?
Thank you Gavin for value binding implementation and above explanation. Slawek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975599#3975599 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975599 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: - how to generate links?
I agree with you guys, but I'd like to receive correct, from Seam point of view, url with conversationId and so on. I'm interested in such a url conversation as does with "/xxx.xhtml". I hope I'm clear a bit more this time. Regards, Slawek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975594#3975594 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975594 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - - how to generate links?
Hello, I'm wandering how to generate links using tag in loop. I've got object with method returning List of URLs. I had prepared s:link tag to achieve view="{$...}" parameter functionality, but it's uncomfortable for a long distans, so I decided to return to original library. Because of that I have to use action property insted of view one. But it's hard to me to generate in loop (c:forEach) set of links. It would be a bit simpler if action method could use parameters. In case of JIRA request (http://jira.jboss.org/jira/browse/JBSEAM-316) nothing changed and I don't see simple solution. Regards, Slawek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975498#3975498 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975498 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Concurrent calls problem
Hi, I've got some webapp with and tags. When I'm clicking very fast (twice or more) on either of them there are happening really weird things, appropriately for: - s:link - Caused by: javax.ejb.EJBException: Application Error: no concurrent calls on stateful beans - h:commandButton - view site doesn't change (should be another one because it's wizard) but backbeans are performed and after every click the same site shows lightly different content. After fiew such an attempts there we have not so clear Exception result. What's happening and how to avoid it? Cheers, Slawek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966623#3966623 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966623 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re:
Hi, I did it fiew days ago. http://jira.jboss.org/jira/browse/JBSEAM-317 http://jira.jboss.org/jira/browse/JBSEAM-316 Regards, Slawek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960940#3960940 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960940 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re:
Yes, you are definitely right. With current functionality there is inevitible to create another method returns outcome string. My point of view should avoid this another method and created link should pointed directly to desired site url . And now something completely (not entirely) different... Using I notised that final url is incorrect but only when long-running conversation propagated exists in url; there is double "?" mark. My own case looks like this: "location.href='/cinema/wizardCinema.seam?actionMethod=wizardContainer.previousStepSite&conversationId=2?lrc=true'" Regards, Slawek - * - lrc is long-running conversation View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960008#3960008 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] -
Hello, I'm looking for solution which could give me a posibility like this: Every next step in my wizard depends on user choices made on current wizard-site. I've modified HtmlLink.java a bit to achieve this functionality but it's workaround only. Gavin, could it be possible to extend behavior to what I'm dreaming about? :) Cheers, Slawek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959825#3959825 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959825 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user