This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 155920 - Create a new ruby portlet option is disabled when there is a groovy portlet inside that same portlet application.
Summary: Create a new ruby portlet option is disabled when there is a groovy portlet i...
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Portalpack (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ chetansanth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-22 07:12 UTC by Satyaranjan D
Modified: 2009-11-07 10:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Satyaranjan D 2008-12-22 07:12:47 UTC
Create a new ruby portlet option is disabled when there is a groovy portlet inside that same portlet application.

Steps to reproduce:
- Create a portlet app.
- Add a Groovy portlet.
- Now try to add a ruby portlet to the same portlet app. You can see the "Create Portlet" option in the portlet wizard
is not selected and all the text field for portlet details are also disabled. 

Expected behaviour : While creating the first ruby portlet in a portlet app, the "Create Portlet" option should be
selected by default and all text field should be enabled.

Fix :
Before showing the portlet wizard (for non java portlet), the system checks if there is already a portlet available of
that type. If yes, then the "Create portlet" option doesn't get selected by default, hence giving a chance to create a
normal ruby/groovy/php page without creating a new portlet for that page. This is handled by a framework and all non
java portlet's implementation has to implement an interface.
Comment 1 _ chetansanth 2008-12-22 10:06:30 UTC
Fixed