[
https://jira.jboss.org/browse/JBIDE-6461?page=com.atlassian.jira.plugin.s...
]
Max Rydahl Andersen commented on JBIDE-6461:
--------------------------------------------
Robb - I really have a hard time following what you are suggesting ?
Could you show the code/xhtml you are currently describing with ambigious english ?
Seam Gen component development
------------------------------
Key: JBIDE-6461
URL:
https://jira.jboss.org/browse/JBIDE-6461
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Seam
Affects Versions: 3.1.1
Environment: Seam and eclipse plugin
Reporter: Robb Greathouse
Assignee: Alexey Kazakov
Fix For: LATER
Complex reusable components can be created with Seam-gen and a little effort. This could
be automated.
Example, create an Address entity and inject it into a person. Do this by using
<ui:include on the xhtml for person to include the xhtml of the address and then
injecting the Home of the Address into the Home of the Person class. (Lists can be done
the same way)
The xhtml page does not look good my just doing this; but the included xhtml can be
cleaned up by taking off the headers and borders as desired.
This works for additional levels of complexity. By doing this and doing the same with
Address by injecting a State, City and Zipcode object I was able to construct an address
lookup/verifier that would find the City and State given a Zipcode and limit the City list
by selecting the the State first and the Zipcode list by selecting the City.
And it all used the Homes and Lists created by Seam-Gen. The list boxes for State, City
and Zipcode were backed by the List actions generated by Seam-gen with a restriction
added.
While it doesn't sound like much it is an important example for teaching users how to
build-up components from components created by Seam-Gen.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira