Urgent -Getting modified Value of MessageTextInput
Hi All,
I am changing the value of messagetextinput field.
How to get its value progrmatically?
I am using currentRow.getAttribute but its not working out.
This is returning null.
If you trying this a table, then iterate through VO and get values from that row. If you are getting null in that row, try to print values in VO for each row to debug!
--Mukul
Similar Messages
-
Get the modified value from MessageTextInput
Hi OAF Guys,
I am displaying a value in MessageTextInput using dynamic VO. I am trying to modify this value thruough UI, but when i get the value in the code, it is giving the old value. How can i get the modified one?
Thanks & Regards
Thanks&Regards
U.Palakondaiah.You are welcome.
When you post the OAF page, this is what happens:
1)Calls processFormData, this posts the form fields to the VO and in turn to the EO
2)then Calls, processFormRequest
So, you need to call pageContext.getParameter in your processFormRequest to get the value for messageTextInput.
Try this and let me know if you still run into issues.
Hope this helps
Srini -
How to get modified values in selection screen
address data is filled in selection screen by default.
if we want to change the address on selection screen
and pass it to another variable .how to handle this please let me knowHi,
Change the value of address in the selection screen by delting the default value and replcaing it by new 1.
Then assigh this value of that variable to the new variable
new_variable = variable. -
UIX Problems Trying To Get and Set Values To messageTextInput Objects
I have created an input UIX form in the Struts Page Flow Diagram using the Page Forward Action and dropped two views from the Data Control Applet as Input Forms. I am trying to �get� the value from one bound messageTextInput object in view1 to set the value of another bound messageTextInput object in view2. I do not know how to reference the bound messageTextInput objects on the UIX page.
Any suggestions?
Thank you,Hi Alain,
Initially it is little bit confusing.
To get the value:
wdContext.node<nodename>().get<nodename>ElementAt(i).get<Attribname>();
To set the value:
wdContext.node<nodename>().get<nodename>ElementAt(i).set<Attribname>("value");
First check the cardinality of the node.If the cardinality is 0..1 or 0..n then you need to create an element and add it to the node.
IPrivate<viewname>.I<node>Element ele = wdContext.create<node>Element();
ele.set<attribname1>("value");
ele.set<attribname2>("value");
wdContext.node<nodename>().addElement(ele);
If the cardinality is 1..1 or 1..n then 1 element is created by framework. You can use that element. If you want to add more elements just use the above code.
2.IWDAttributeInfo attInfo= wdContext.node<Node>().getNodeInfo().getAttribute(<Attribname>)();
check this link
https://www.sdn.sap.com/irj/sdn/nw-wdjava?rid=/webcontent/uuid/503f22f6-b978-2a10-bf97-ddc21267e752 [original link is broken]
regards,
Siva -
How to Get property values from Shared Object in client's load event - Very urgent
I am using shared object to share data between two users. First user connect to shared object and set some value in shared object. Please consider that second user has not connected with the shared object yet.
Now when second user connects to the server and try to get that property set by first user, he could get shared object but could not get properties of Shared object set by first user. I observed few times that Second user can get these properties within "Sync" event between two users. But I would like to get these values for Second user in any stage (i.e. in load event etc.). Whenever Second user tries to get the property of Shared object, the object will reset the actual property value and then return reset value.
Anyone faced such issue while using shared object between two users. If so, I would appreciate if you could let me know your suggestions for following questions:
1) Is there any way to get all the properties of shared object before sync event called, as I want to get it immediately when second user connect to the application and perform next task based on the values stored in shared object.
2) Is it possible for second user to check whether any property has been set by first user? So that second user can use the property instead of reset it.
Any kind of help would be greatly appreciated.
Thank You.I am using shared object to share data between two users. First user connect to shared object and set some value in shared object. Please consider that second user has not connected with the shared object yet.
Now when second user connects to the server and try to get that property set by first user, he could get shared object but could not get properties of Shared object set by first user. I observed few times that Second user can get these properties within "Sync" event between two users. But I would like to get these values for Second user in any stage (i.e. in load event etc.). Whenever Second user tries to get the property of Shared object, the object will reset the actual property value and then return reset value.
Anyone faced such issue while using shared object between two users. If so, I would appreciate if you could let me know your suggestions for following questions:
1) Is there any way to get all the properties of shared object before sync event called, as I want to get it immediately when second user connect to the application and perform next task based on the values stored in shared object.
2) Is it possible for second user to check whether any property has been set by first user? So that second user can use the property instead of reset it.
Any kind of help would be greatly appreciated.
Thank You. -
Urgent: How to get the Value of Search Field
Hello All,
I want to get the value of <b>'Search Fiel</b>d' in my HTML file.
Please help with this.
Regards
VaibHi Vaibav,
It should be under the Script tag.
You can refer this link for details.
http://help.sap.com/saphelp_nw04/helpdata/en/d0/55074155bcf26fe10000000a1550b0/frameset.htm
Please reward points if my suggestion helped you.
Thanks and regards
Deepa -
Urgent How to get variable value in other sub templates from main template
<?import:file:///C:/Temp/P1.rtf?> <?import:file:///C:/Temp/P2.rtf?>
<?import:file:///C:/Temp/P3.rtf?>
<?param@begin: Test;'default_value';'string'?>
<?$Test?>
<?CALL: O1?>
<?CALL: O11?>
<?CALL: O111?>
<?CALL: O1111?>
<?CALL: O11111?>
<?CALL: P1FOOTER?>
PageBreak
<?CALL: O2?>
<?CALL: O22?>
<?CALL: O222?>
<?CALL: O2222?>
<?CALL: O22222?>
<?CALL: P2FOOTER?>
PageBreak
<?CALL: SUM1?>
<?CALL: SUM2?>
<?CALL: SUM3?>
<?CALL: SUMFOOTER?>
Now i am passing some parameter value to the main template, but i have to pass that variable value in all other templates.
I am getting parameter value in main template but not getting in other templates. Getting error BI generation failed
Please advise me.
Thanks,
JagHi Niel,
are those variables A and B used for the same characteristics?
If not, maybe you could try to put variable A also to the 2nd query as dummy variable, that would not affect the query... Then in WAD you would see that just once and then you should be able see the variable A in the step 2 in user exit.....
But I guess, that has already struck you.....
Regards
Pavel -
Problem getting arraylist values from request
Hi All,
I am trying to display the results of a search request.
In the jsp page when I add a scriplet and display the code I get the values else it returns empty as true.Any help is appreciated.
<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<%@ include file="/includes/header.jsp"%>
<title>Research Results</title>
</head>
<body>
<div class="ui-widget ui-widget-content">
<%
ArrayList<Research> research = (ArrayList<Research>) request.getAttribute("ResearchResults");
Iterator iterator = research.iterator();
while(iterator.hasNext()){
Research r = (Research) iterator.next();
out.println("Result Here"+r.getRequesterID());
out.println("Result Here"+r.getStatus());
%>
<form>
<c:choose>
<c:when test='${not empty param.ResearchResults}'>
<table cellspacing="0" cellpadding="0" id="research" class="sortable">
<h2>RESEARCH REQUESTS</h2>
<tr>
<th><a href="#">RESEARCH ID</a></th>
<th><a href="#">REQUESTOR NAME</a></th>
<th><a href="#">DUE DATE</a></th>
<th><a href="#">REQUEST DATE</a></th>
<th><a href="#">CLIENT</a></th>
<th><a href="#">STATUS</a></th>
<th><a href="#">PRIORITY</a></th>
</tr>
<c:forEach var="row" items="${param.ResearchResults}">
<tr title="">
<td id="researchID">${row.RESEARCH_ID}</td>
<td>${row.REQUESTER_FNAME} ${row.REQUESTER_LNAME}</td>
<td><fmt:formatDate pattern="MM/dd/yyyy" value="${row.DUE_DATE}"/></td>
<td><fmt:formatDate pattern="MM/dd/yyyy" value="${row.CREATED_DATE}"/></td>
<td>${row.CLIENT}</td>
<td>
<c:choose>
<c:when test="${row.STATUS=='10'}">New Request</c:when>
<c:when test="${row.STATUS=='20'}">In Progress</c:when>
<c:when test="${row.STATUS=='30'}">Completed</c:when>
</c:choose>
</td>
<td>
<c:choose>
<c:when test="${row.PRIORITY=='3'}">Medium</c:when>
<c:when test="${row.PRIORITY=='2'}">High</c:when>
<c:when test="${row.PRIORITY=='1'}">Urgent</c:when>
</c:choose>
</td>
</tr>
</c:forEach>
</table>
</c:when>
<c:otherwise>
<div class="ui-state-highlight ui-corner-all">
<p><b>No results Found. Please try again with a different search criteria!</b> </p>
</div>
</c:otherwise>
</c:choose>
</form>
<%@ include file="/includes/footer.jsp"%>
</div>
</body>
</html>What is ResearchResults?
Is it a request parameter or is it a request attribute?
Parameters and attributes are two different things.
Request parameters: the values submitted from the form. Always String.
Request attributes: objects stored into scope by your code.
They are also accessed slightly differently in EL
java syntax == EL syntax
request.getParameter("myparameter") == ${param.myparameter}
request.getAttribute("myAttribute") == ${requestScope.myAttribute}
You are referencing the attribute in your scriptlet code, but the parameter in your JSTL/EL code.
Which should it be?
cheers,
evnafets -
NullPointerException - Cannot get the value from variable f_cashGiven
In SubCheckout.java (a POS), what I want is when Payment button (f_cashPayment) is pressed, the action "Cash" is performed, get the value from Cash Given (f_cashGiven), do the subtraction and post the value as Cash Return (f_cashReturn). The code is filled in actionPerformed. But I cannot get the value by using f_cashGiven.getValue() from VNumber class. It returns NULL. This should be quite straight forward, but I do not know what is wrong. Please help!
Enclosed please find the source code of SubCheckout.java and VNumber.java
This is the code of SubCheckout.java :
* The contents of this file are subject to the Compiere License Version 1.1
* ("License"); You may not use this file except in compliance with the License
* You may obtain a copy of the License at http://www.compiere.org/license.html
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
* the specific language governing rights and limitations under the License.
* The Original Code is Compiere ERP & CRM Smart Business Solution. The Initial
* Developer of the Original Code is Jorg Janke. Portions created by Jorg Janke
* are Copyright (C) 1999-2005 Jorg Janke.
* All parts are Copyright (C) 1999-2005 ComPiere, Inc. All Rights Reserved.
* Contributor(s): ______________________________________.
package org.compiere.pos;
import java.awt.*;
import java.awt.event.*;
import java.math.BigDecimal;
import javax.swing.border.*;
import org.compiere.grid.ed.*;
import org.compiere.swing.*;
import org.compiere.util.*;
* POS Checkout Sub Panel
* @author Jorg Janke
* @version $Id: SubCheckout.java,v 1.3 2005/03/11 20:28:22 jjanke Exp $
public class SubCheckout extends PosSubPanel implements ActionListener
* Constructor
* @param posPanel POS Panel
public SubCheckout (PosPanel posPanel)
super (posPanel);
} // PosSubCheckout
private CButton f_register = null;
private CButton f_summary = null;
private CButton f_process = null;
private CButton f_print = null;
private CLabel f_lcreditCardNumber = null;
private CTextField f_creditCardNumber = null;
private CLabel f_lcreditCardExp = null;
private CTextField f_creditCardExp = null;
private CLabel f_lcreditCardVV = null;
private CTextField f_creditCardVV = null;
private CButton f_cashPayment = null;
private CLabel f_lcashGiven = null;
private VNumber f_cashGiven = null;
private CLabel f_lcashReturn = null;
private VNumber f_cashReturn = null;
private CButton f_creditPayment = null;
/** Logger */
private static CLogger log = CLogger.getCLogger(SubCheckout.class);
* Initialize
public void init()
// Title
TitledBorder border = new TitledBorder(Msg.getMsg(Env.getCtx(), "Checkout"));
setBorder(border);
// Content
setLayout(new GridBagLayout());
GridBagConstraints gbc = new GridBagConstraints();
gbc.insets = INSETS2;
// -- 0
gbc.gridx = 0;
f_register = createButtonAction("Register", null);
gbc.gridy = 0;
add (f_register, gbc);
f_summary = createButtonAction("Summary", null);
gbc.gridy = 1;
add (f_summary, gbc);
f_process = createButtonAction("Process", null);
gbc.gridy = 2;
add (f_process, gbc);
f_print = createButtonAction("Print", null);
gbc.gridy = 3;
add (f_print, gbc);
// -- 1 -- Cash
gbc.gridx = 1;
gbc.gridheight = 2;
gbc.fill = GridBagConstraints.BOTH;
gbc.weightx = .1;
CPanel cash = new CPanel(new GridBagLayout());
cash.setBorder(new TitledBorder(Msg.getMsg(Env.getCtx(), "Cash")));
gbc.gridy = 0;
add (cash, gbc);
GridBagConstraints gbc0 = new GridBagConstraints();
gbc0.insets = INSETS2;
gbc0.anchor = GridBagConstraints.WEST;
f_lcashGiven = new CLabel(Msg.getMsg(Env.getCtx(),"CashGiven"));
cash.add (f_lcashGiven, gbc0);
f_cashGiven = new VNumber("CashGiven", false, false, true, DisplayType.Amount,
Msg.translate(Env.getCtx(), "CashGiven"));
f_cashGiven.addActionListener(this);
f_cashGiven.setColumns(10, 25);
cash.add (f_cashGiven, gbc0);
f_cashGiven.setValue(Env.ZERO);
f_lcashReturn = new CLabel(Msg.getMsg(Env.getCtx(),"CashReturn"));
cash.add (f_lcashReturn, gbc0);
f_cashReturn = new VNumber("CashReturn", false, true, false, DisplayType.Amount,
"CashReturn");
f_cashReturn.setColumns(10, 25);
cash.add (f_cashReturn, gbc0);
f_cashReturn.setValue(Env.ZERO);
f_cashPayment = createButtonAction("Payment", null);
f_cashPayment.setActionCommand("Cash");
gbc0.anchor = GridBagConstraints.EAST;
gbc0.weightx = 0.1;
cash.add (f_cashPayment, gbc0);
// -- 1 -- Creditcard
CPanel creditcard = new CPanel(new GridBagLayout());
creditcard.setBorder(new TitledBorder(Msg.translate(Env.getCtx(), "CreditCardType")));
gbc.gridy = 2;
add (creditcard, gbc);
GridBagConstraints gbc1 = new GridBagConstraints();
gbc1.insets = INSETS2;
gbc1.anchor = GridBagConstraints.WEST;
gbc1.gridx = 0;
gbc1.gridy = 0;
f_lcreditCardNumber = new CLabel(Msg.translate(Env.getCtx(), "CreditCardNumber"));
creditcard.add (f_lcreditCardNumber, gbc1);
gbc1.gridy = 1;
f_creditCardNumber = new CTextField(18);
creditcard.add (f_creditCardNumber, gbc1);
gbc1.gridx = 1;
gbc1.gridy = 0;
f_lcreditCardExp = new CLabel(Msg.translate(Env.getCtx(),"CreditCardExp"));
creditcard.add (f_lcreditCardExp, gbc1);
gbc1.gridy = 1;
f_creditCardExp = new CTextField(5);
creditcard.add (f_creditCardExp, gbc1);
gbc1.gridx = 2;
gbc1.gridy = 0;
f_lcreditCardVV = new CLabel(Msg.translate(Env.getCtx(), "CreditCardVV"));
creditcard.add (f_lcreditCardVV, gbc1);
gbc1.gridy = 1;
f_creditCardVV = new CTextField(5);
creditcard.add (f_creditCardVV, gbc1);
gbc1.gridx = 3;
gbc1.gridy = 0;
gbc1.gridheight = 2;
f_creditPayment = createButtonAction("Payment", null);
f_creditPayment.setActionCommand("CreditCard");
gbc1.anchor = GridBagConstraints.EAST;
gbc1.weightx = 0.1;
creditcard.add (f_creditPayment, gbc1);
} // init
* Get Panel Position
public GridBagConstraints getGridBagConstraints()
GridBagConstraints gbc = super.getGridBagConstraints();
gbc.gridx = 0;
gbc.gridy = 3;
return gbc;
} // getGridBagConstraints
* Dispose - Free Resources
public void dispose()
super.dispose();
} // dispose
* Action Listener
* @param e event
public void actionPerformed (ActionEvent e)
String action = e.getActionCommand();
if (action == null || action.length() == 0)
return;
log.info( "PosSubCheckout - actionPerformed: " + action);
if (e.getSource() == f_cashGiven) {
f_cashGiven.setValue(f_cashGiven.getValue());
System.out.println("f_cashGiven"+f_cashGiven.getDisplay());
// Register
// Summary
// Print
if (action.equals("Cash")) {
BigDecimal CashGiven, GrandTotal, CashReturn;
System.out.println("Cash given is "+f_cashGiven.getDisplay());
CashGiven = (BigDecimal)f_cashGiven.getValue();
GrandTotal = (BigDecimal)p_posPanel.f_curLine.getOrder().getGrandTotal();
CashReturn = CashGiven.subtract(GrandTotal);
f_cashReturn.setValue(CashReturn);
// Cash (Payment)
// CreditCard (Payment)
} // actionPerformed
} // PosSubCheckoutThis is the code of VNumber.java :
* The contents of this file are subject to the Compiere License Version 1.1
* ("License"); You may not use this file except in compliance with the License
* You may obtain a copy of the License at http://www.compiere.org/license.html
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
* the specific language governing rights and limitations under the License.
* The Original Code is Compiere ERP & CRM Smart Business Solution. The Initial
* Developer of the Original Code is Jorg Janke. Portions created by Jorg Janke
* are Copyright (C) 1999-2005 Jorg Janke.
* All parts are Copyright (C) 1999-2005 ComPiere, Inc. All Rights Reserved.
* Contributor(s): ______________________________________.
package org.compiere.grid.ed;
import java.awt.*;
import java.awt.event.*;
import java.beans.*;
import java.math.*;
import java.text.*;
import java.util.logging.*;
import javax.swing.*;
import javax.swing.text.*;
import org.compiere.apps.*;
import org.compiere.model.*;
import org.compiere.swing.*;
import org.compiere.util.*;
* Number Control
* @author Jorg Janke
* @version $Id: VNumber.java,v 1.41 2005/09/03 01:57:16 jjanke Exp $
public final class VNumber extends JComponent
implements VEditor, ActionListener, KeyListener, FocusListener
/** Number of Columns (12) */
public final static int SIZE = 12;
* IDE Bean Constructor
public VNumber()
this("Number", false, false, true, DisplayType.Number, "Number");
} // VNumber
* Create right aligned Number field.
* no popup, if WindowNo == 0 (for IDs)
* @param columnName column name
* @param mandatory mandatory
* @param isReadOnly read only
* @param isUpdateable updateable
* @param displayType display type
* @param title title
public VNumber(String columnName, boolean mandatory, boolean isReadOnly, boolean isUpdateable,
int displayType, String title)
super();
super.setName(columnName);
m_columnName = columnName;
m_title = title;
setDisplayType(displayType);
LookAndFeel.installBorder(this, "TextField.border");
this.setLayout(new BorderLayout());
// this.setPreferredSize(m_text.getPreferredSize()); // causes r/o to be the same length
// int height = m_text.getPreferredSize().height;
// setMinimumSize(new Dimension (30,height));
// *** Text ***
m_text.setBorder(null);
m_text.setHorizontalAlignment(JTextField.TRAILING);
m_text.addKeyListener(this);
m_text.addFocusListener(this);
// Background
setMandatory(mandatory);
this.add(m_text, BorderLayout.CENTER);
// *** Button ***
m_button.setIcon(Env.getImageIcon("Calculator10.gif"));
m_button.setMargin(new Insets(0, 0, 0, 0));
m_button.setFocusable(false);
m_button.addActionListener(this);
this.add (m_button, BorderLayout.EAST);
// Prefereed Size
this.setPreferredSize(this.getPreferredSize()); // causes r/o to be the same length
// Size
setColumns(SIZE, CComboBox.FIELD_HIGHT-4);
// ReadWrite
if (isReadOnly || !isUpdateable)
setReadWrite(false);
else
setReadWrite(true);
} // VNumber
* Dispose
public void dispose()
m_text = null;
m_button = null;
m_mField = null;
} // dispose
* Set Document
* @param doc document
protected void setDocument(Document doc)
m_text.setDocument(doc);
} // getDocument
private String m_columnName;
protected int m_displayType; // Currency / UoM via Context
private DecimalFormat m_format;
private String m_title;
private boolean m_setting;
private String m_oldText;
private String m_initialText;
private boolean m_rangeSet = false;
private Double m_minValue;
private Double m_maxValue;
private boolean m_modified = false;
/** The Field */
private CTextField m_text = new CTextField(SIZE); // Standard
/** The Button */
private CButton m_button = new CButton();
private MField m_mField = null;
/** Logger */
private static CLogger log = CLogger.getCLogger(VNumber.class);
* Set no of Columns
* @param columns columns
public void setColumns (int columns, int height)
m_text.setPreferredSize(null);
m_text.setColumns(columns);
Dimension size = m_text.getPreferredSize();
if (height > size.height) // default 16
size.height = height;
if (CComboBox.FIELD_HIGHT-4 > size.height)
size.height = VLookup.FIELD_HIGHT-4;
this.setPreferredSize(size); // causes r/o to be the same length
this.setMinimumSize(new Dimension (columns*10, size.height));
m_button.setPreferredSize(new Dimension(size.height, size.height));
} // setColumns
* Set Range with min & max
* @param minValue min value
* @param maxValue max value
* @return true, if accepted
public boolean setRange(Double minValue, Double maxValue)
m_rangeSet = true;
m_minValue = minValue;
m_maxValue = maxValue;
return m_rangeSet;
} // setRange
* Set Range with min & max = parse US style number w/o Gouping
* @param minValue min value
* @param maxValue max value
* @return true if accepted
public boolean setRange(String minValue, String maxValue)
if (minValue == null || maxValue == null)
return false;
try
m_minValue = Double.valueOf(minValue);
m_maxValue = Double.valueOf(maxValue);
catch (NumberFormatException nfe)
return false;
m_rangeSet = true;
return m_rangeSet;
} // setRange
* Set and check DisplayType
* @param displayType display type
public void setDisplayType (int displayType)
m_displayType = displayType;
if (!DisplayType.isNumeric(displayType))
m_displayType = DisplayType.Number;
m_format = DisplayType.getNumberFormat(displayType);
m_text.setDocument (new MDocNumber(displayType, m_format, m_text, m_title));
} // setDisplayType
* Set ReadWrite
* @param value value
public void setReadWrite (boolean value)
if (m_text.isReadWrite() != value)
m_text.setReadWrite(value);
if (m_button.isReadWrite() != value)
m_button.setReadWrite(value);
// Don't show button if not ReadWrite
if (m_button.isVisible() != value)
m_button.setVisible(value);
} // setReadWrite
* IsReadWrite
* @return true if rw
public boolean isReadWrite()
return m_text.isReadWrite();
} // isReadWrite
* Set Mandatory (and back bolor)
* @param mandatory mandatory
public void setMandatory (boolean mandatory)
m_text.setMandatory(mandatory);
} // setMandatory
* Is it mandatory
* @return true if mandatory
public boolean isMandatory()
return m_text.isMandatory();
} // isMandatory
* Set Background
* @param color color
public void setBackground(Color color)
m_text.setBackground(color);
} // setBackground
* Set Background
* @param error error
public void setBackground (boolean error)
m_text.setBackground(error);
} // setBackground
* Set Foreground
* @param fg foreground
public void setForeground(Color fg)
m_text.setForeground(fg);
} // setForeground
* Set Editor to value
* @param value value
public void setValue(Object value)
log.finest("Value=" + value);
if (value == null)
m_oldText = "";
else
m_oldText = m_format.format(value);
// only set when not updated here
if (m_setting)
return;
m_text.setText (m_oldText);
m_initialText = m_oldText;
m_modified = false;
} // setValue
* Property Change Listener
* @param evt event
public void propertyChange (PropertyChangeEvent evt)
if (evt.getPropertyName().equals(org.compiere.model.MField.PROPERTY))
setValue(evt.getNewValue());
} // propertyChange
* Return Editor value
* @return value value (big decimal or integer)
public Object getValue()
if (m_text == null || m_text.getText() == null || m_text.getText().length() == 0)
return null;
String value = m_text.getText();
// return 0 if text deleted
if (value == null || value.length() == 0)
if (!m_modified)
return null;
if (m_displayType == DisplayType.Integer)
return new Integer(0);
return Env.ZERO;
if (value.equals(".") || value.equals(",") || value.equals("-"))
value = "0";
try
Number number = m_format.parse(value);
value = number.toString(); // converts it to US w/o thousands
BigDecimal bd = new BigDecimal(value);
if (m_displayType == DisplayType.Integer)
return new Integer(bd.intValue());
if (bd.signum() == 0)
return bd;
return bd.setScale(m_format.getMaximumFractionDigits(), BigDecimal.ROUND_HALF_UP);
catch (Exception e)
log.log(Level.SEVERE, "Value=" + value, e);
if (m_displayType == DisplayType.Integer)
return new Integer(0);
return Env.ZERO;
} // getValue
* Return Display Value
* @return value
public String getDisplay()
return m_text.getText();
} // getDisplay
* Get Title
* @return title
public String getTitle()
return m_title;
} // getTitle
* Plus - add one.
* Also sets Value
* @return new value
public Object plus()
Object value = getValue();
if (value == null)
if (m_displayType == DisplayType.Integer)
value = new Integer(0);
else
value = Env.ZERO;
// Add
if (value instanceof BigDecimal)
value = ((BigDecimal)value).add(Env.ONE);
else
value = new Integer(((Integer)value).intValue() + 1);
setValue(value);
return value;
} // plus
* Minus - subtract one, but not below minimum.
* Also sets Value
* @param minimum minimum
* @return new value
public Object minus (int minimum)
Object value = getValue();
if (value == null)
if (m_displayType == DisplayType.Integer)
value = new Integer(minimum);
else
value = new BigDecimal(minimum);
setValue(value);
return value;
// Subtract
if (value instanceof BigDecimal)
BigDecimal bd = ((BigDecimal)value).subtract(Env.ONE);
BigDecimal min = new BigDecimal(minimum);
if (bd.compareTo(min) < 0)
value = min;
else
value = bd;
else
int i = ((Integer)value).intValue();
i--;
if (i < minimum)
i = minimum;
value = new Integer(i);
setValue(value);
return value;
} // minus
* Action Listener
* @param e event
public void actionPerformed (ActionEvent e)
log.config(e.getActionCommand());
if (ValuePreference.NAME.equals(e.getActionCommand()))
if (MRole.getDefault().isShowPreference())
ValuePreference.start (m_mField, getValue());
return;
if (e.getSource() == m_button)
m_button.setEnabled(false);
String str = startCalculator(this, m_text.getText(), m_format, m_displayType, m_title);
m_text.setText(str);
m_button.setEnabled(true);
try
fireVetoableChange (m_columnName, m_oldText, getValue());
catch (PropertyVetoException pve) {}
m_text.requestFocus();
} // actionPerformed
* Key Listener Interface
* @param e event
public void keyTyped(KeyEvent e) {}
public void keyPressed(KeyEvent e) {}
* Key Listener.
* - Escape - Restore old Text
* - firstChange - signal change
* @param e event
public void keyReleased(KeyEvent e)
log.finest("Key=" + e.getKeyCode() + " - " + e.getKeyChar()
+ " -> " + m_text.getText());
// ESC
if (e.getKeyCode() == KeyEvent.VK_ESCAPE)
m_text.setText(m_initialText);
m_modified = true;
m_setting = true;
try
if (e.getKeyCode() == KeyEvent.VK_ENTER) // 10
fireVetoableChange (m_columnName, m_oldText, getValue());
fireActionPerformed();
else // indicate change
fireVetoableChange (m_columnName, m_oldText, null);
catch (PropertyVetoException pve) {}
m_setting = false;
} // keyReleased
* Focus Gained
* @param e event
public void focusGained (FocusEvent e)
if (m_text != null)
m_text.selectAll();
} // focusGained
* Data Binding to MTable (via GridController.vetoableChange).
* @param e event
public void focusLost (FocusEvent e)
// log.finest(e.toString());
// APanel - Escape
if (e.getOppositeComponent() instanceof AGlassPane)
m_text.setText(m_initialText);
return;
try
fireVetoableChange (m_columnName, m_initialText, getValue());
fireActionPerformed();
catch (PropertyVetoException pve) {}
} // focusLost
* Invalid Entry - Start Calculator
* @param jc parent
* @param value value
* @param format format
* @param displayType display type
* @param title title
* @return value
public static String startCalculator(Container jc, String value,
DecimalFormat format, int displayType, String title)
log.config("Value=" + value);
BigDecimal startValue = new BigDecimal(0.0);
try
if (value != null && value.length() > 0)
Number number = format.parse(value);
startValue = new BigDecimal (number.toString());
catch (ParseException pe)
log.info("InvalidEntry - " + pe.getMessage());
// Find frame
Frame frame = Env.getFrame(jc);
// Actual Call
Calculator calc = new Calculator(frame, title,
displayType, format, startValue);
AEnv.showCenterWindow(frame, calc);
BigDecimal result = calc.getNumber();
log.config( "Result=" + result);
calc = null;
if (result != null)
return format.format(result);
else
return value; // original value
} // startCalculator
* Set Field/WindowNo for ValuePreference
* @param mField field
public void setField (MField mField)
m_mField = mField;
if (m_mField != null
&& MRole.getDefault().isShowPreference())
ValuePreference.addMenu (this, popupMenu);
} // setField
* Remove Action Listner
* @param l Action Listener
public void removeActionListener(ActionListener l)
listenerList.remove(ActionListener.class, l);
} // removeActionListener
* Add Action Listner
* @param l Action Listener
public void addActionListener(ActionListener l)
listenerList.add(ActionListener.class, l);
} // addActionListener
* Fire Action Event to listeners
protected void fireActionPerformed()
int modifiers = 0;
AWTEvent currentEvent = EventQueue.getCurrentEvent();
if (currentEvent instanceof InputEvent)
modifiers = ((InputEvent)currentEvent).getModifiers();
else if (currentEvent instanceof ActionEvent)
modifiers = ((ActionEvent)currentEvent).getModifiers();
ActionEvent ae = new ActionEvent (this, ActionEvent.ACTION_PERFORMED,
"VNumber", EventQueue.getMostRecentEventTime(), modifiers);
// Guaranteed to return a non-null array
Object[] listeners = listenerList.getListenerList();
// Process the listeners last to first, notifying those that are interested in this event
for (int i = listeners.length-2; i>=0; i-=2)
if (listeners==ActionListener.class)
((ActionListener)listeners[i+1]).actionPerformed(ae);
} // fireActionPerformed
} // VNumberIf getValue() returns null, you need to trace the execution of the code and figure out which sequence of code is leading to the return of null. This method looks complex - a lot of if statements. If you do not have a debugger, put System.out.println statements inside the method to figure out what's going on.
-
Get the Value copy from Header feild to Line feild through Persnalization
Hi,
I have one requirement.
I have a field in Header level. When I have assigned some value to that field in header level at the same time the same field at line level also has the same value and when I Query the form and changed some value on that field then also the line level field will also changed. How can I achieve that through Form Personalization.
Any help is appreciated...
Thanks in Advance.
NiharIf you're string can be modified, why are you using a String? String being immutable whenever the string gets modified, it will generate a copy string as well.
How many of the String's capabilities, you may be better off using a char array and modifying it manually. I haven't tested it, but the following code should work if you just need to append to the string.
public CustomString {
char[] data;
public CustomString(String in) {
this(in.toCharArray());
public CustomString(char[] in) {
data = in;
public void append(String a) {
append(a.toCharArray());
public void append(char[] a) {
char[] tmp = new char[data.length+a.length];
System.arraycopy(data, 0, tmp, 0, data.length);
System.arraycopy(a, 0, tmp, data.length, a.length);
data = tmp;
public char[] get() {
return data; -
How to get parameter value from report in event of value-request?
Hi everyone,
The customer want to use particular F4 help on report, but some input value before press enter key are not used in event of "at selection-screen on value-request for xxx", How to get parameter value in this event?
many thanks!
JackYou probably want to look at function module DYNP_VALUES_READ to allow you to read the values of the other screen fields during the F4 event... below is a simple demo of this - when you press F4 the value from the p_field is read and returned in the p_desc field.
Jonathan
report zlocal_jc_sdn_f4_value_read.
parameters:
p_field(10) type c obligatory, "field with F4
p_desc(40) type c lower case.
at selection-screen output.
perform lock_p_desc_field.
at selection-screen on value-request for p_field.
perform f4_field.
*& Form f4_field
form f4_field.
*" Quick demo custom pick list...
data:
l_desc like p_desc,
l_dyname like d020s-prog,
l_dynumb like d020s-dnum,
ls_dynpfields like dynpread,
lt_dynpfields like dynpread occurs 10.
l_dynumb = sy-dynnr.
l_dyname = sy-repid.
*" Read screen value of P_FIELD
ls_dynpfields-fieldname = 'P_FIELD'.
append ls_dynpfields to lt_dynpfields.
call function 'DYNP_VALUES_READ'
exporting
dyname = l_dyname
dynumb = l_dynumb
tables
dynpfields = lt_dynpfields
exceptions
others = 1.
check sy-subrc is initial.
*" See what user typed in P_FIELD:
read table lt_dynpfields into ls_dynpfields
with key fieldname = 'P_FIELD'.
*" normally you would then build your own search list
*" based on value of P_FIELD and call F4IF_INT_TABLE_VALUE_REQUEST
*" but this is just a demo of writing back to the screen...
*" so just put the value from p_field into P_DESC plus some text...
concatenate 'This is a description for' ls_dynpfields-fieldvalue
into l_desc separated by space.
*" Pop a variable value back into screen
clear: ls_dynpfields.
ls_dynpfields-fieldname = 'P_DESC'.
ls_dynpfields-fieldvalue = l_desc.
append ls_dynpfields to lt_dynpfields.
call function 'DYNP_VALUES_UPDATE'
exporting
dyname = l_dyname
dynumb = l_dynumb
tables
dynpfields = lt_dynpfields
exceptions
others = 0.
endform. "f4_field
*& Form lock_p_desc_field
form lock_p_desc_field.
*" Make P_DESC into a display field
loop at screen.
if screen-name = 'P_DESC'.
screen-input = '0'.
modify screen.
exit.
endif.
endloop.
endform. "lock_p_desc_field -
How can we get the values from the view?
Hi All,
my scenario is i have two fields in my view .one is parameter.and another on is select-options.how can i get the user entered values into my selection screen.?
for the select options i get the values into field-symbol.for parameter i get the value using get_attribute.
can i use like this in select statement.
WHERE SERVICE_ID = ZSD_DD_AUFNRS
AND CRE_DT IN <FS_DATE>.
Regards,
Ravi.Hi Sravan,
when i am using the below code to generate self defined functions i m getting a error .
*Generate an object for self defined functions
DATA: lo_self_functions TYPE REF TO if_salv_wd_function_settings,
*Generate an object for button 'Confirm'
lr_button TYPE REF TO cl_salv_wd_fe_button,
lo_self_function TYPE REF TO cl_salv_wd_function,
l_text type string.
*Set Self-defined functions
*'Confirm' Button
lo_self_functions ?= l_value..
lo_self_function = lo_self_functions->create_function( 'CONFIRM' ).
CREATE OBJECT lr_button.
CLEAR l_text.
l_text = 'Confirm'.
lr_button->set_text( l_text ).
lr_button->set_image_source( '' ).
lr_button->set_image_first( 'X' ).
lo_self_function->set_editor( lr_button ).
Error when processing your request
What has happened?
The URL http://cgslsvr3.cgsl.com:8020/sap/bc/webdynpro/sap/zsdr_cash_work_list/ was not called due to an error.
Note
The following error text was processed in the system CGD : WebDynpro Exception: IDs Can Only Contain Characters of Syntactical Character Set
The error occurred on the application server cgslsvr3_CGD_20 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: RAISE of program CX_WD_GENERAL=================CP
Method: CONSTRUCTOR of program CL_WDR_VIEW_ELEMENT===========CP
Method: CONSTRUCTOR of program CL_WD_TOOLBAR_BUTTON==========CP
Method: NEW_TOOLBAR_BUTTON of program CL_WD_TOOLBAR_BUTTON==========CP
Method: IF_SALV_WD_COMP_TABLE_UI~CREATE_TOOLBAR_ITEM of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_UI~CREATE_TOOLBAR_ITEMS of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_UI~UPDATE_TOOLBAR_ITEMS of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_UI~UPDATE_TOOLBAR of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_UI~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
What can I do?
If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system CGD in transaction ST22.
If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server cgslsvr3_CGD_20 in transaction SM21.
If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server cgslsvr3_CGD_20 . In some situations, you may also need to analyze the trace files of other work processes.
If you do not yet have a user ID, contact your system administrator.
Error code: ICF-IE-http -c: 110 -u: CT-0024 -l: E -s: CGD -i: cgslsvr3_CGD_20 -w: 0 -d: 20080414 -t: 105835 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
HTTP 500 - Internal Server Error
Your SAP Internet Communication Framework Team
How can i resolve it?
Regards,
Ravi -
Get/Set values from a drop down list
I am trying to modify the http://www.netbeans.org/kb/60/web/web-jpa-part2.html so that instead of entering the data from a text field (in update & add) the values come from a drop down list from a table. I have drop down lists that are populated bothe from the DB and hard coding. When I run, I am able to see the options on the DDs. But none of the CRUD work. I think this is because my set and get for the drop down is wrong. Then again, I also have a few text fields from the original example which also don't seem to work. Here is a piece of my addButton():
RowKey[] selectedRowKeys = getTableRowGroup1().getSelectedRowKeys();
PaymentDetails[] pv = getSessionBean1().getPaymentVoucher();
int rowId = Integer.parseInt(selectedRowKeys[0].getRowId());
PaymentDetails upPV = pv[rowId];
bankCodeDD.getSelected();
statusDD.getSelected(); // hard coded value
upPV.setPrepBy((String) prepByField.getText());
PaymentDetailsController pvController = new PaymentDetailsController();
pvController.addPaymentDetails(upPV);
addRequest = false;
return null;How do I set and get the values from the drop down so than it passed to my bean? When I choose a row to be updated, make changes and click Update, I get this message on my Tomcat:
com.sun.webui.jsf.component.DropDown::The current value of component form1:deptCodeDD does not match any of the selections.
Did you forget to reset the value after changing the options?Can someone please point me to a place which shows how I can add a default value from my DD? I tried to follow http://www.netbeans.org/kb/55/dropdowncomp.html, but unable to complete because I get an error for Options api. The auto-fix imported import org.apache.jasper.Options; But the package given in the tutorial is com.sun.webui.jsf.model.Option. My Java version is 1.6.0_07.
private Options listOptions[];
...//getter setter goes here
listOptions = new Option[noofDBRows + 1];Many Thanks!I don't guess what I may add.
The contents of the table named lookup appear on the screenshot.
cell A1 contains the string One-Piece, cell B1 contains the 'associated' value 160.
cell A2 contains the string Two-Piece, cell B2 contains the 'associated' value 130.
cell A3 contains the string Three-Quarter, cell B3 contains the 'associated' value 150.
Now table Main
In column B the cells contain a pop_up menu with four items like the ones described by Jerrold.
In column C of the cells contain the formula :
=IFERROR(VLOOKUP(B,Tableau 2 :: A:B,2,FALSE),"")
I enhanced it since yesterdays because I forgot to treat the case when cell is blank in column B.
I apologize but as I'm using my machine in French, the screenshot display the French formulas.
I repeat that you may find useful infos in the PDFs files which we may download from the menus:
Help > Numbers User Guide
Help > iWork Formulas and Functions User Guide
As you are in Stoke-on-Trent maybe your system is set to use the comma as decimal separator.
If it's that, you must replace the comma by semi-colons in the formulas (you may see them in my screenshot).
Yvan KOENIG (VALLAURIS, France) mercredi 24 mars 2010 09:27:53 -
How to get the values for checked and unchecked chekboxes
Hai i have using the checkbox in for loop.
I need the urgent help from anyone,
for example in the loop there is having 5 checkbox if i checked 3 of the ckeckboxes and 2 of the checkboxes are unchecked. I need to get the values for checked checkboxes and unchecked checkboxes. Because if i checked the checkboxes, those values need to be inserted into the database. Those for unchecked checkboxes values need to be deleted from the database. Can anyone help me for this
i am using the following jsp code for this. If anyone can know about this please post me the sample code.
<form name="confirmcontainer" id="confirmcontainer" method="post" action="submit.jsp">
<% for(int i=0;i<value.length;i++) {%>
<tr>
<td><input name="assigncontainer_chkbox" d="assigncontainer _chkbox" type="checkbox" value="<%=value[0]%>"></td>
<td class="bottomborder"><div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=value[1]%> </font></div></td>
<td bgcolor="#FFFFFF" class="bottomborder"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=value[2]%></font></td>
</tr>
<% } %>
<tr><td><input type="submit" name="submit" value="submit"> </td></tr>
</form>
Thanks & Regards,
TamilvananHey thanks Alex and Catastrophe for the quick response...
I'll be sitting with the functional team and reviewing the roles created.
Thanks for all the help once more
Regards,
Akash. -
Unable to get the value from the jsp page.
Hi,
I have developed a JSP, having two split fields seperated by some buttons..The sample code for the same is like this..
(Only the required portion is included)
<script>
function reloadPageOK() {
document.product.method="post"
document.product.action="./TheSamePage.jsp?status=OK"
document.product.submit()
function moveValue(from,to) {
if(from.selectedIndex>=0) {
var text=from[from.selectedIndex].text
var length= to.length
to[length]=new Option(text,from.value,false,false)
from.remove(from.selectedIndex)
function moveAll(from,to) {
if(from.length>0) {
var menutext="";
var i;
var len=from.length
for(i=0;i<len;i++) {
from.selectedIndex=0
menutext=from[0].text
var length= to.length
to[length]=new Option(menutext,from.value,false,false)
from.remove(from.selectedIndex)
</script>
<table width="100%" border="0" cellspacing="0" >
<tr class="contactDetail">
<td width="10%" class="table_grid1" rowspan="4">
<div class="contactDetail">
<select name="lstProviderLeft" size="7" style="width:111">
<option> PDP</option>
<option> Net</option>
<option> Par</option>
<option> Non-Par</option>
</select>
</div>
</td>
<td width="20%" bgcolor="#FFFFFF" class="contactDetail">
<input type="button" value=" > " name="btnLtrProvider" class="button" onclick="moveValue(lstProviderLeft,lstProviderRight)">
</td>
<td width="10%" bgcolor="#FFFFFF" rowspan="4" class="contactDetail"> <font face="Arial, Verdana, Helvetica, sans-serif" size="2" >
<select name="lstProviderRight" size="7" style="width:111"></select>
</font></td>
<tr>
<td width="8%" class="contactDetail">
<input type="button" value=" >> " name="btnLtrAllProvider" class="button" onclick="moveAll(lstProviderLeft,lstProviderRight)" >
</td>
</tr>
<tr>
<td width="8%" class="contactDetail">
<input type="button" name="btnRtlProvider" value=" < " class="button" onclick="moveValue(lstProviderRight,lstProviderLeft)" >
</td>
</tr>
<tr>
<td width="8%" class="contactDetail" height="22">
<input type="button" name="btnRtlAllProvider" value=" << " class="button" onclick="moveAll(lstProviderRight,lstProviderLeft)" >
</td>
</tr>
</table>
<p align = "center"> <input type="button" value=" OK " onclick="reloadPageOK()">
The page is working fine. That is we can move the values in the left field to right as single or group.After submitting I need to get the values in the left & right fields respectively.
I have used the method
request.getParameterValues("lstProviderLeft");
and pointed this to an array of strings,but it returns 'null' .
How can I solve the above problem....Post your comments on this issue
Thanking uprobably the request.getParmeterValues will not work in this case as the name of the 2 select boxes are different....
You can do this utility by using Javascript....concantinate the values of the 2 select boxes and put the concantinated strings (with a delimiter) in two hidden fields and capture the same fields in the target JSP/Servlet.
I have modified ur code...have a look...
--------------------Start-----------------
<html>
<head></head>
<title></title>
<body>
<script language="Javascript">
function reloadPageOK()
document.product.method="post" ;
document.product.action="./TheSamePage.jsp?status=OK" ;
document.product.submit();
function moveValue(from,to)
if(from.selectedIndex>=0)
var text=from[from.selectedIndex].text;
var length= to.length ;
to[length]=new Option(text,from.value,false,false);
from.remove(from.selectedIndex);
function moveAll(from,to)
if(from.length>0)
var menutext="";
var i;
var len=from.length;
for(i=0;i<len;i++)
from.selectedIndex=0;
menutext=from[0].text ;
var length= to.length;
to[length]=new Option(menutext,from.value,false,false) ;
from.remove(from.selectedIndex);
function fnSubmitPage(from,to)
var strfromSelBox = "";
var strtoSelBox = "";
if(from.length>0)
var len=from.length;
for(var i=0;i<len;i++)
strfromSelBox=strfromSelBox+":"+from.text ;
if(to.length>0)
var len=to.length;
for(var i=0;i<len;i++)
strtoSelBox=strfromSelBox+":"+to[i].text ;
document.product.hdFromValue.value=strfromSelBox;
document.product.hdFromValue.value=strtoSelBox;
document.product.method="post" ;
document.product.action="" ;//Name of the JSP or servlet wherever u want to direct to....
document.product.submit();
</script>
<form name="product">
<input type="hidden" name="hdFromValue">
<input type="hidden" name="hdToValue">
<table width="100%" border="0" cellspacing="0" >
<tr class="contactDetail">
<td width="10%" class="table_grid1" rowspan="4">
<div class="contactDetail">
<select name="lstProviderLeft" size="7" style="width:111">
<option> PDP</option>
<option> Net</option>
<option> Par</option>
<option> Non-Par</option>
</select>
</div>
</td>
<td width="20%" bgcolor="#FFFFFF" class="contactDetail">
<input type="button" value=" > " name="btnLtrProvider" class="button" onclick="moveValue(lstProviderLeft,lstProviderRight)">
</td>
<td width="10%" bgcolor="#FFFFFF" rowspan="4" class="contactDetail">
<font face="Arial, Verdana, Helvetica, sans-serif" size="2" >
<select name="lstProviderRight" size="7" style="width:111">
</select>
</font>
</td>
<tr>
<td width="8%" class="contactDetail">
<input type="button" value=" >> " name="btnLtrAllProvider" class="button" onclick="moveAll(lstProviderLeft,lstProviderRight)" >
</td>
</tr>
<tr>
<td width="8%" class="contactDetail">
<input type="button" name="btnRtlProvider" value=" < " class="button" onclick="moveValue(lstProviderRight,lstProviderLeft)" >
</td>
</tr>
<tr>
<td width="8%" class="contactDetail" height="22">
<input type="button" name="btnRtlAllProvider" value=" << " class="button" onclick="moveAll(lstProviderRight,lstProviderLeft)" >
</td>
</tr>
</table>
<input type="button" value=" OK " onclick="reloadPageOK()">
<input type="button" value=" Submit " onclick="fnSubmitPage(lstProviderRight,lstProviderLeft)">
</form>
</body>
</html>
--------------------Finish---------------
Hope this helps...
Thanks
Maybe you are looking for
-
Unable to delete a podcast from my ipod touch
I deleted the problem podcast from itunes and then unscribed from that podcast but when I sync my ipod this podcast pops up again in my ipod. I did a soft reset to no avail. Thank You John
-
My airport express has a blinking yellow light and is not working. I have tried resetting it a few times, to no avail. My airport utility on my desktop detects it and will attempt to connect. However, after a few moments it says "An unexpected error
-
Swtiching between different application context
Hi All, In my application we have use BSP framework as web application context say app1 . In this we have used flex code (swf file )as an application UI. Now we have another application context is app2 which provides the HTTP service on implementing
-
Oracle Drive - Copying page groups
I was just reading another thread regarding copying an entire page group. This is something I really need to do, but have no clue how to do it. Could someone explain the process please? Thanks so much!! Jenny
-
Host names are resolved through an ip address translation mechanism such as DNS or a local etc/hosts file. Can someone explain to me how it can be resolve using DNS . Thanks in advance.