-
1. Re: Foreign key and facelet
nickarls Feb 26, 2008 1:04 PM (in response to mono)I suggest playing around with the samples provided with Seam and then return for some more specific questions.
-
2. Re: Foreign key and facelet
mono Feb 26, 2008 2:07 PM (in response to mono)Hi Nicklas,
I suggest playing around with the samples provided with Seam and then return for some more specific questions.I'm read and continue reading the reference documentation...
The Registration example not cover relations between tables.
The Message example is about query data using EJB-QL or HQL and display it.
The Todo list example is about jBPM.
The numberguess example is about jPDL and pageflow.
The Hotel Booking example is great, but is not the simpler example to start!
and the following examples covers other topics, like hibernate, converstations, deploy to tomcat, etc.None of this examples respond my simple, and i think specific, question about how to select one of the foreign key present into an entity.
Sorry for my english, is not the better.
If you have some example where do that i want in a very simple way, please tell me.
May be i need to see more deeper the Hotel Booking example... in this example the book.xhtml page include an Hotel as a foreign key.Thank you
-
3. Re: Foreign key and facelet
nickarls Feb 26, 2008 9:19 PM (in response to mono)Have a look at the seamdiscs example. <Artist, Disk> has a bidirectional 1-to-n relationship
-
4. Re: Foreign key and facelet
nickarls Feb 26, 2008 9:25 PM (in response to mono)You might want to popup a shuttle list if you are using RichFaces.
-
5. Re: Foreign key and facelet
cbredesen Aug 25, 2008 6:41 PM (in response to mono)I came across this as well and I'm interested to know why this design choice was made. The rich tabbed selection paradigm is interesting but it's so much more complex (and at times cumbersome to use) than a simple HTML select. I surely may be missing something, though. It would also be nice to know if there's some way to hint Seam to create the select rather than the tabs.
-Chris
-
6. Re: Foreign key and facelet
pmuir Aug 30, 2008 3:59 PM (in response to mono)We could certainly support this behaviour - open a JIRA issue.