• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

move data on (xhtml)form to another (xhtml)form in jsf

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi good morning to all,
I am new to jsf components.
After clicking the button,I want to move the data on (block)xhtml form ot antoher block of same pop up.
if anybody knows solution please tel me.
thanks in advanced
 
Greenhorn
Posts: 21
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can you explain a bit what you want to do. Have you tried something , can you post your code ?
 
sivaji balla
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Sachin Yewale wrote:can you explain a bit what you want to do. Have you tried something , can you post your code ?

hi Sachin Yewale
thanks for reply.
I am using richfaces.here i have a issue
i.e,if i clicked an item which containg the data,then data the must be dragged to another place of same pop up.
I am seening an example of above funcionality.The above funcitionlity is look like <rich:drag support>.
I want to know is there any simple solution than <rich:drag support>.
 
sivaji balla
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Sachin Yewale wrote:can you explain a bit what you want to do. Have you tried something , can you post your code ?


please tel me is there any solutin of above issue,
thanks in advanced
 
Sachin Yewale
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sorry shivaji i have not used that functionality. i thought your requirement was something different so asked for more details.
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Sivjali!

When you submit a form, if the data on the form is all valid, the backing bean property values for that form are all automatically updated with the values from that form.

Then when you display a new View, those updated values will be available from the backing bean.

If you are using a different backing bean(s) to the new View, then the action processor for the original view should set those properties in the new View's backing bean so that when the new View is displayed, the right values will be there. A common way to do this is to inject the second backing bean into the original backing bean as a Managed Property and then use POJO set/get methods to update the second bean as needed in the action processing method.
 
sivaji balla
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Holloway wrote:Welcome to the JavaRanch, Sivjali!

When you submit a form, if the data on the form is all valid, the backing bean property values for that form are all automatically updated with the values from that form.

Then when you display a new View, those updated values will be available from the backing bean.

If you are using a different backing bean(s) to the new View, then the action processor for the original view should set those properties in the new View's backing bean so that when the new View is displayed, the right values will be there. A common way to do this is to inject the second backing bean into the original backing bean as a Managed Property and then use POJO set/get methods to update the second bean as needed in the action processing method.


thank you Tim Holloway for you post.
I got that funcionality.That is look like rich:picklist.
Here i am rich:pickList to solve my problem.
 
30 seconds to difuse a loaf of bread ... here, use this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic