how to rename the package name

Can anyone tell me how to rename the package name in JSC 2?Thanks in advance,
[91 byte] By [field] at [2007-11-26 8:15:44]
# 1

Hi,

Sorry to let you know that currently, renaming the default Bean Package is not supported. So you cannot rename the java package name.

Although, there is a work around for your problem. In the Projects window, if you expand the project folder, there is Source Packages. Under the Source Package, you can find your package structure.

If you right click the Source Packages and select "File/Folder". Then in the next wizard, select the categories as "Java Classes" and file types as "Java Package". It will create another package under Source Package. You can manually copy the desire Java files/Backing Beans and paste it in the new Package folder.

Hope that help to solve your problem.

Thanks,

Creator Team

rohini at 2007-7-6 21:13:56 > top of Java-index,Development Tools,Java Tools...
# 2
How can I move a portlet page backing bean? I moved the session beans, but the JSC doesn't allow me to move the PortletPage1 class. When I move the file manually and change the mapping in the managed-beans.xml, the JSP page gets deleted...
Martin777 at 2007-7-6 21:13:56 > top of Java-index,Development Tools,Java Tools...