fixed several bugs related to SIG creation/deletion and a nasty brown paper
bag bug in Nuke Post!
This commit is contained in:
@@ -193,6 +193,8 @@ public class SIGOperations extends VeniceServlet
|
||||
// present the "Create New SIG" dialog
|
||||
CreateSIGDialog dlg = makeCreateSIGDialog();
|
||||
dlg.setupDialog(engine);
|
||||
dlg.setFieldValue("language","en-US");
|
||||
dlg.setFieldValue("country","US");
|
||||
changeMenuTop(request);
|
||||
return dlg;
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ public class NewSIGWelcome implements JSPRender
|
||||
|
||||
public String getDisplayURL(RenderData rdat)
|
||||
{
|
||||
return rdat.getFullServletPath(entry_url);
|
||||
return rdat.getCompleteServletPath(entry_url);
|
||||
|
||||
} // end getEntryURL
|
||||
|
||||
|
||||
@@ -149,6 +149,17 @@ public class RenderData
|
||||
|
||||
} // end getFullServletPath
|
||||
|
||||
public String getCompleteServletPath(String name)
|
||||
{
|
||||
StringBuffer buf = new StringBuffer("http://");
|
||||
buf.append(request.getServerName());
|
||||
if (request.getServerPort()!=80)
|
||||
buf.append(':').append(request.getServerPort());
|
||||
buf.append(request.getContextPath()).append('/').append(name);
|
||||
return buf.toString();
|
||||
|
||||
} // end getCompleteServletPath
|
||||
|
||||
public String getEncodedServletPath(String name)
|
||||
{
|
||||
return response.encodeURL(this.getFullServletPath(name));
|
||||
|
||||
Reference in New Issue
Block a user