[jboss-user] [JBoss Seam] - Re: Passing datasource parameter to h:datatable

2007-09-19 Thread oblivion1200
I was happy that I have solved the problem, but it is not over yet :( 
I found that using datatable this way gives me null @DataModelSelection. When I 
use datatable in normal way it works fine. 
Using ui:param works only to display data for me.

I can't use it like this:

  | ...
  | h:column
  |s:link value=#{item.title} action=#{object.setValue(item)}/
  | /h:column
  | ...
  | 
because item is null. I've found in server logs that setValue is fired two 
times instead of once. 

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

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


[jboss-user] [JBoss Seam] - Re: Passing datasource parameter to h:datatable

2007-09-19 Thread baz
Look at this post:
http://www.jboss.com/index.html?module=bbop=viewtopict=117233
As of today i have no answer how it could work with facelets:-(
Ciao,
Carsten

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

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


[jboss-user] [JBoss Seam] - Re: Passing datasource parameter to h:datatable

2007-09-19 Thread wise_guybg
You seam to have both the same problem. I'm also interested to see if there is 
a solution.

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

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


[jboss-user] [JBoss Seam] - Re: Passing datasource parameter to h:datatable

2007-09-18 Thread smithbstl
I am doing something similar.  You don't need to use f:param


  | !--DataTable.xhtml--
  | ui:composition
  |   h:dataTable var=item
  | value=#{source}/
  | ..

ui:include src=DataTable.xhtml/
  |ui:param name=source value=#{SomeListHere}/
  | ui:include/
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Passing datasource parameter to h:datatable

2007-09-18 Thread oblivion1200
Thank you smithbstl. It works great! :)

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

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


[jboss-user] [JBoss Seam] - Re: Passing datasource parameter to h:datatable

2007-09-18 Thread smithbstl
You're welcome, :)

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

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