NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

<%
LogUtil logUtil = LogUtil.getLogger("gov.fema.inboxjsp");
logUtil.debug("--------------------------------");
logUtil.debug("inbox.jsp");

Vector inboxEntries = null;
Integer totalRows = null;
IInboxValueObject inboxEntry = null;
IFilterListValueObject filterListEntry = null;
String currentUser = null;
String programId = null;
String programName = null;
Vector errorMessages = null;
boolean pendingWork = false;
boolean showDeleteFilter = false;

String typeCode = null;


String projectlistURL = request.getContextPath()+"/VIEW_CASE_MANAGEMENT.do?actionType=LOAD_PROJECTS";
UserDataContext userDataContext = (UserDataContext)session.getAttribute(FemaConstants.USER_DATA_CONTEXT_KEY);

// Retrieve the username of the currently logged in user.
IEGrantUserValueObject eGrantUser = (IEGrantUserValueObject)userDataContext.getObject(IEGrantsConstants.EGRANT_USER);

// Retrieve the sessionId from the currently logged-in user object.
String sessionId = ((IEGrantUserValueObject)userDataContext.getObject(IEGrantsConstants.EGRANT_USER)).getSessionId();

currentUser = ((IEGrantUserValueObject)userDataContext.getObject(IEGrantsConstants.EGRANT_USER)).getUsername();

Vector fiscalYears = null, allDHSComponents = null, allDisasterNumbers = null, allStatesForUser =null, allRegionsForUser = null,allProgramsDropDown=null;
String fiscalYear = null, program = null, component = null, disaster = null, stateCode = null, region = null,checkedOutBy = null;
ProgramInformationValueObject progInfoValueObject = null;
UserInformationValueObject userInformationValueObject = null;

CaseMgtSelectProjectValueObject caseMgtSelectProjectValueObject=new CaseMgtSelectProjectValueObject();

// Retrieve the fiscal years list from the seesion object.
fiscalYears = (Vector)session.getAttribute(IReportsConstants.FISCAL_YEARS);
allProgramsDropDown = (Vector)session.getAttribute(IEGrantsConstants.ALL_PROGRAMS_DROP_DOWN_LIST);
allDHSComponents = (Vector)session.getAttribute(IEGrantsConstants.ALL_DHS_COMPONENTS);
allDisasterNumbers = (Vector)session.getAttribute(IEGrantsConstants.ALL_DISASTER_EVENTS);
allRegionsForUser = (Vector)session.getAttribute(IEGrantsConstants.REGION_NUMBERS);
allStatesForUser = (Vector)session.getAttribute(IEGrantsConstants.STATE_CODES);
ArrayList projectIds=new ArrayList();

if(session.getAttribute(IInboxConstants.SELECTED_FISCAL_YEAR)!=null)
{
fiscalYear = (String)session.getAttribute(IInboxConstants.SELECTED_FISCAL_YEAR);
}

if(session.getAttribute(IInboxConstants.SELECTED_PROGRAM)!=null)
{
program = (String)session.getAttribute(IInboxConstants.SELECTED_PROGRAM);
}

if(session.getAttribute(IInboxConstants.SELECTED_COMPONENT)!=null)
{
component = (String)session.getAttribute(IInboxConstants.SELECTED_COMPONENT);
}

if(session.getAttribute(IInboxConstants.SELECTED_DISASTER_NUMBER)!=null)
{
disaster = (String)session.getAttribute(IInboxConstants.SELECTED_DISASTER_NUMBER);
}

if(session.getAttribute(IInboxConstants.SELECTED_REGION_NR)!=null)
{
region = (String)session.getAttribute(IInboxConstants.SELECTED_REGION_NR);
}

if(session.getAttribute(IInboxConstants.SELECTED_STATE_CD)!=null)
{
stateCode = (String)session.getAttribute(IInboxConstants.SELECTED_STATE_CD);

}

if( session.getAttribute(IInboxConstants.SELECTED_CHECKED_OUT_BY)!=null )
{
checkedOutBy = (String)session.getAttribute(IInboxConstants.SELECTED_CHECKED_OUT_BY);
}
if( session.getAttribute(ICaseManagementConstants.PROJECTIDS)!=null )
{
projectIds = (ArrayList)session.getAttribute(ICaseManagementConstants.PROJECTIDS);
}

logUtil.debug(" currentUser: " + currentUser);
logUtil.debug(" pendingWork: " + pendingWork);



String sortInboxURL = request.getContextPath();

String param =null,value=null;
StringBuffer urlappender = new StringBuffer();
String displayproject;

%>
<link rel="stylesheet" type="text/css" href="css/easyui.css">
<link rel="stylesheet" type="text/css" href="css/icon.css">
<link rel="stylesheet" type="text/css" href="css/demo.css">
<script type="text/javascript" src="javascript/jquery.min.js"></script>
<script type="text/javascript" src="javascript/jquery.easyui.min.js"></script>

<form id="ff" name="case" method="post">
<input type="hidden" id="selectedprojectid" name="selectedprojectid" value="" />
<input type="hidden" id="mode" name="mode" value="" />
<table border=1 style="width:80%;border-width: 1px;border-style: solid;border-color: rgb(149, 184, 231)" id="filterTable">
<tr>
<td>
<table class="noborder">
<tr>
<td class="labelrb" align="right"><label for="<%=IEGrantsConstants.COMPONENT_ID%>">DHS Component:&nbsp;&nbsp;</label></td>
<td>
<select name="<%=IEGrantsConstants.COMPONENT_ID%>" id="<%=IEGrantsConstants.COMPONENT_ID%>" class="dropdown" >
<option></option>
<%
if(allDHSComponents!=null)
{
for (int i = 0; i < allDHSComponents.size(); i++)
{
%>
<option value="<%=allDHSComponents.elementAt(i)%>" <% if(component!=null && component.equalsIgnoreCase((String)allDHSComponents.elementAt(i))) { %> selected <% } %>>
<%=allDHSComponents.elementAt(i) %>
</option>
<%
}
}
%>
</select>
&nbsp;&nbsp;
</td>

<td class="labelrb" align="right"><label for="<%=IInboxConstants.SELECTED_PROGRAM%>">Program:&nbsp;&nbsp;</label></td>
<td>
<select name="<%=IInboxConstants.SELECTED_PROGRAM%>" id="<%=IInboxConstants.SELECTED_PROGRAM%>" class="dropdown" onchange="javascript:setActionAndSubmit('inbox','<%=request.getContextPath()%>/CHECK_FOR_DISASTER_PROGRAM.do?actionType=CHECK_FOR_DISASTER_PROGRAM')">
<option></option>
<%
if(allProgramsDropDown!=null)
{
for(int j=0;j<allProgramsDropDown.size();j++)
{
progInfoValueObject = (ProgramInformationValueObject)allProgramsDropDown.get(j);
%>
<option value="<%=EHPUtility.EHPEscape(progInfoValueObject.getProgramId())%>" <% if(program!=null && EHPUtility.EHPEscape(program).equalsIgnoreCase(EHPUtility.EHPEscape(progInfoValueObject.getProgramId()))) { %>selected <% } %>>
<%= EHPUtility.EHPEscape(progInfoValueObject.getProgramId()) %>
</option>
<%
}
}
%>
</select>
&nbsp;&nbsp;
</td>

<td class="labelrb" align="right"><label for=="<%=IEGrantsConstants.DISASTER_ID%>">Disaster Number:&nbsp;&nbsp;</label></td>
<td>
<select name="<%=IEGrantsConstants.DISASTER_ID%>" id="<%=IEGrantsConstants.DISASTER_ID%>" class="dropdown" >
<option></option>
<%
if(allDisasterNumbers!=null)
{
for (int i = 0; i < allDisasterNumbers.size(); i++)
{
if( allDisasterNumbers.elementAt(i)!=null && !((String)allDisasterNumbers.elementAt(i)).equalsIgnoreCase("null") )
{
%>
<option value="<%=allDisasterNumbers.elementAt(i)%>" <% if(disaster!=null && disaster.equalsIgnoreCase((String)allDisasterNumbers.elementAt(i))) { %> selected <% } %>>
<%=allDisasterNumbers.elementAt(i) %>
</option>
<%
}
}
}
%>
</select>
&nbsp;&nbsp;
</td>
</tr>

<tr>
<td class="labelrb" align="right"><label for="<%=IEGrantsConstants.REGION_NR%>">Region:&nbsp;&nbsp;</label></td>
<td>
<select name="<%=IEGrantsConstants.REGION_NR%>" id="<%=IEGrantsConstants.REGION_NR%>" class="dropdown" onchange="javascript:setActionAndSubmit('inbox','<%=request.getContextPath()%>/FILTER_STATES_BY_REGION.do?actionType=FILTER_STATES_BY_REGION')">
<option></option>
<%
if(allRegionsForUser!=null)
{
for (int i = 0; i < allRegionsForUser.size(); i++)
{
if(((String)allRegionsForUser.elementAt(i)).startsWith("H") && session.getAttribute(IInboxConstants.DISASTER_DROP_DOWN_ENABLED)!=null && (((String)session.getAttribute(IInboxConstants.DISASTER_DROP_DOWN_ENABLED)).equalsIgnoreCase("YES")) && ( program != null && (program.trim()).length() > 0 ))
{ continue; }
%>
<option value="<%=allRegionsForUser.elementAt(i)%>" <%if(region!=null && region.equalsIgnoreCase((String)allRegionsForUser.elementAt(i))) { %> selected <% } %>>
<%=allRegionsForUser.elementAt(i) %>
</option>
<%
}
}
%>
</select>
&nbsp;&nbsp;
</td>

<td class="labelrb" align="right"><label for="<%=IEGrantsConstants.STATE_CD%>">State:&nbsp;&nbsp;</label></td>
<td>
<select name="<%=IEGrantsConstants.STATE_CD%>" id="<%=IEGrantsConstants.STATE_CD%>" class="dropdown">
<option></option>
<%
if(allStatesForUser!=null)
{
for (int i = 0; i < allStatesForUser.size(); i++)
{
%>
<option value="<%=allStatesForUser.elementAt(i)%>" <% if(stateCode!=null && stateCode.equalsIgnoreCase((String)allStatesForUser.elementAt(i))) { %> selected <% } %>>
<%=allStatesForUser.elementAt(i) %>
</option>
<%
}
}
%>
</select>
&nbsp;&nbsp;
</td>

<td class="labelrb" align="right"><label for="<%=IReportsConstants.FISCAL_YEAR%>">FY:&nbsp;&nbsp;</label></td>
<td>
<select name="<%=IReportsConstants.FISCAL_YEAR%>" id="<%=IReportsConstants.FISCAL_YEAR%>" class="dropdown">
<option></option>
<%
if(fiscalYears!=null)
{
for (int i = 0; i < fiscalYears.size(); i++)
{
%>
<option value="<%=fiscalYears.elementAt(i)%>" <% if(fiscalYear!=null && fiscalYear.equalsIgnoreCase((String)fiscalYears.elementAt(i))) { %> selected <% } %>>
<%=fiscalYears.elementAt(i) %>
</option>
<%
}
}
%>
</select>
&nbsp;&nbsp;
</td>
<td> <button class="filterbutton" onclick="this.disabled=true;setActionAndSubmit('ff','<%=projectlistURL%>')">Search</button> </td>
</tr>
<tr>

<td> &nbsp;&nbsp; </td>
<td> &nbsp;&nbsp; </td>

<td class="labelrb" align="right"><label for="<%=ICaseManagementConstants.PROJECT_ID_DROPDOWN%>">Select Project ID:&nbsp;&nbsp;</label></td>
<td>
<select name="<%=ICaseManagementConstants.PROJECT_ID_DROPDOWN%>" id="<%=ICaseManagementConstants.PROJECT_ID_DROPDOWN%>" class="dropdown">()
<option></option>
<%
if(projectIds!=null)
{
for (int i = 0; i < projectIds.size(); i++)
{
caseMgtSelectProjectValueObject=(CaseMgtSelectProjectValueObject) projectIds.get(i);
if (caseMgtSelectProjectValueObject.getEHPId()>0)
{
displayproject=caseMgtSelectProjectValueObject.getProjectId();

}
else
{
displayproject=caseMgtSelectProjectValueObject.getProjectId()+"*";
}
%>
<option value="<%=caseMgtSelectProjectValueObject.getCaseMgtId()+"|"+caseMgtSelectProjectValueObject.getEHPId()%>">
<%=displayproject%>
</option>
<%
}
}
%>
</select>
&nbsp;&nbsp;
</td>
<td> <button class="filterbutton" type="button" id="new" onclick="newClick()">New</button> </td>

</tr>

</table>
</td>
</tr>
</table>
</form>
<br>
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.