[jboss-user] [JBoss Seam] - Re: Jboss EL with list comprehension?

2008-01-17 Thread superfis
Thank you very much Pete. 

Slawek

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=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?

2008-01-15 Thread superfis
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=bbop=viewtopicp=4120134#4120134

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=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

2007-07-02 Thread superfis
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=bbop=viewtopicp=4059562#4059562

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4059562
___
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

2007-06-26 Thread superfis
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:
h:inputText id=textId value=#{text} /
  | h:message for=textId /

I'd like to have something like this:
h:inputText id=textId value=#{text} /
  | h:graphicImage alt=#{validation_message_for_textId} url=img/pic.gif /

Is it possible in any way?

Slawek

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057694
___
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

2007-06-26 Thread superfis
I have added feature request http://jira.jboss.org/jira/browse/JBSEAM-1554

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

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


[jboss-user] [JBoss Seam] - Atomic Conversation with s:link / tag

2007-06-24 Thread superfis
Hi,

I'd like to ask you if it's possible to mark conversation as an Atomic 
Conversation with s:link/ or s:button/? 

We've got already:

- @Begin(flushMode=MANUAL)
- begin-conversation flush-mode=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=bbop=viewtopicp=4057199#4057199

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057199
___
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 s:link / tag

2007-06-24 Thread superfis
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=bbop=viewtopicp=4057206#4057206

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


[jboss-user] [JBoss Seam] - Re: s:link... / - how to generate links?

2006-10-06 Thread superfis
It works perfectly now. I'm thankful to you!

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

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


[jboss-user] [JBoss Seam] - Re: s:link... / - how to generate links?

2006-10-05 Thread superfis
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=bbop=viewtopicp=3976422#3976422

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


[jboss-user] [JBoss Seam] - Re: s:link... / - how to generate links?

2006-10-04 Thread superfis
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 s:link/ 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
  | s:link view=#{someObject.someProperty} .../

and result in html:
  | a ref=/context/site.seam?conversationId=1lrc=true.../a

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

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


[jboss-user] [JBoss Seam] - Re: s:link... / - how to generate links?

2006-10-03 Thread superfis
Hi Gavin,

  I didn't notice it earlier because there was time to bad :) but s:link/ 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=bbop=viewtopicp=3975702#3975702

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


[jboss-user] [JBoss Seam] - Re: s:link... / - how to generate links?

2006-10-03 Thread superfis
If I'm wrong,  sorry about that. 

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

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


[jboss-user] [JBoss Seam] - s:link... / - how to generate links?

2006-10-02 Thread superfis
Hello,

  I'm wandering how to generate links using s:link / 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=bbop=viewtopicp=3975498#3975498

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


[jboss-user] [JBoss Seam] - Re: s:link... / - how to generate links?

2006-10-02 Thread superfis
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 s:link view=/xxx.xhtml ... / 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=bbop=viewtopicp=3975594#3975594

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


[jboss-user] [JBoss Seam] - Re: s:link... / - how to generate links?

2006-10-02 Thread superfis
Thank you Gavin for value binding implementation and above explanation.

Slawek

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

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


[jboss-user] [JBoss Seam] - Re: s:link view=

2006-07-26 Thread superfis
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=bbop=viewtopicp=3960940#3960940

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


[jboss-user] [JBoss Seam] - s:link view=

2006-07-21 Thread superfis
Hello,

  I'm looking for solution which could give me a posibility like this:

s:link view=#{...} /

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 s:link.../ behavior to what I'm 
dreaming about? :)

Cheers,
Slawek

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

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


[jboss-user] [JBoss Seam] - Re: s:link view=

2006-07-21 Thread superfis
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 s:link 
action=#{...} / 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.previousStepSiteconversationId=2?lrc=true'

Regards,
Slawek

-
* - lrc is long-running conversation

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

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