[jboss-user] [JBoss Seam] - Re: s:button action cannot resolve el expression

2007-10-14 Thread tynor
Thanks dhinojosa,

That pushed me in the right direction - I've refactored my code to use 
@DataModel/@DataModelSelection and all is working fine.

Thanks to both of you for your help.


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

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


[jboss-user] [JBoss Seam] - Re: s:button action cannot resolve el expression

2007-10-14 Thread dhinojosa
in jsf,  puts the parameter in the request, and doesn't (I believe) 
set the values to the component the way seam does in pages.xml.


There are a lot of ways to skin this cat though...but from what you are doing 
it looks like you will fare better with @DataModel @DataModelSelection solution.

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

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


[jboss-user] [JBoss Seam] - Re: s:button action cannot resolve el expression

2007-10-14 Thread tynor
Thanks Pete.  That gets me closer -- I now invoke the proper action on the 
backing bean.

I left out a bit of detail in my original query - and that detail is still 
causing probs.  My backing bean has a "getHomeComponent()" function that does a 
Component.getComponent() on the proper EntityHome class - that's where my 
action method actually lives.  The action method is being called on the a 
proper Home object, but  h:commandButton is not interacting well with my page 
params, so the setFooFooId() function is never getting called - and I end up 
instantiating a new object with each action.  Is there a way to get s:button 
style page parameter behavior with an h:commandButton?


  | 
  | 
  | 
  | 

(Thanks again Pete - do you ever sleep?)



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

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


[jboss-user] [JBoss Seam] - Re: s:button action cannot resolve el expression

2007-10-14 Thread [EMAIL PROTECTED]
item isn't available when the jsf tree is recontructed in the restoreview 
phase.  Try with h:commandLink (which causes the view to be reconstructed, and 
so the item variable should be available).  Let us know whether that works :)

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

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