matthiasblaesing commented on issue #7194:
URL: https://github.com/apache/netbeans/issues/7194#issuecomment-2029588825

   I think this is already fixed in master. I used the nightly build from #7218 
(https://github.com/apache/netbeans/pull/7218/checks / 
https://github.com/apache/netbeans/suites/22293481261/artifacts/1374035463). 
With that:
   
   1. I started NetBeans with a clean user and cache dir 
(`netbeans/bin/netbeans --userdir testuserdir --cachedir testcachedir`)
   2. Activated the JavaEE Modules (Tools -> Plugins -> Installed -> Java Web 
and EE, Activate that feature set)
   3. Registered GF 5.1.0 as Server (Tools -> Servers), so that a support 
JavaDB client is present
   4. Registered GF 7.0.11 as Server
   5. Created a new maven based web project (File -> New Project -> Java with 
Maven -> Web Application, choose 7.0.11 as server in the wizard, Jakarta EE 10 
is automatically chosen then)
   6. Generate the Entities by opening the context menu on the project node and 
choosing New -> Entity Classes from Database, choose "Server Data Source" and 
choose `jdbc/sample` (should be shipped with GF), Add "PRODUCT_CODE" to tables
   7. Checked that the Entity `ProductCode` is generated using the JakartaEE 
Persistence packages (not javax)
   8. Created a JSF page using "New File" wizard with Category "Web" and File 
Type "JSF Page"
   9. In `newjsf.xhtml` I opened the palette and dragged the "JSF Form From 
Entity" into the xhtml file
   10. In the opening dialog I choose the `ProductCode` enttiy, enter "xy" as 
Managed Bean Property, choose "Standard JavaServer Faces" as Template Style
   11. Code is generated:
   
![image](https://github.com/apache/netbeans/assets/2179736/0b5a2810-7877-477b-ae1e-a65f82a57bc1)
   
   So please retest with the referenced nightly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to