Click here to Skip to main content
15,899,825 members
Home / Discussions / Java
   

Java

 
GeneralRe: I need help. Pin
nee-kow6-Jan-11 3:08
nee-kow6-Jan-11 3:08 
GeneralRe: I need help. Pin
musefan6-Jan-11 3:54
musefan6-Jan-11 3:54 
GeneralRe: I need help. Pin
nee-kow6-Jan-11 3:27
nee-kow6-Jan-11 3:27 
AnswerRe: I need help. Pin
Luc Pattyn6-Jan-11 2:26
sitebuilderLuc Pattyn6-Jan-11 2:26 
GeneralRe: I need help. Pin
musefan6-Jan-11 2:51
musefan6-Jan-11 2:51 
Questionwhy validation wont work? Pin
pancakeleh4-Jan-11 16:15
pancakeleh4-Jan-11 16:15 
AnswerRe: why validation wont work? [modified] Pin
RaviRanjanKr4-Jan-11 17:03
professionalRaviRanjanKr4-Jan-11 17:03 
GeneralRe: why validation wont work? Pin
pancakeleh4-Jan-11 17:39
pancakeleh4-Jan-11 17:39 
my delete button code as follows:

public String button1_action() {

     try{
         RowKey rk = tableRowGroup1.getRowKey();

         if(rk != null){
             incidentdataDataProvider.removeRow(rk);
             incidentdataDataProvider.commitChanges();
             incidentdataDataProvider.refresh();
         }

     }catch(Exception ex){
             log("ErrorDescription", ex);
             error(ex.getMessage());
     }
       return null;
   }


my add button as follows:
public String add_btn_action(){

     String myString = (String) getIncidentidtxt().getValue();
     Integer incidentIDName = Integer.parseInt(myString);
     String incidentNameName = (String)getncidentnametxt().getValue();


  getSessionBean1().updateIncident(incidentIDName, incidentNameName);

    incidentdataDataProvider.refresh();


     return null;
    }

AnswerRe: why validation wont work? Pin
TorstenH.4-Jan-11 21:37
TorstenH.4-Jan-11 21:37 
GeneralRe: why validation wont work? Pin
pancakeleh5-Jan-11 14:24
pancakeleh5-Jan-11 14:24 
GeneralRe: why validation wont work? Pin
Khalil Adam19-Jan-11 2:15
Khalil Adam19-Jan-11 2:15 
Questionwhich keyword used for differentiating local and global variable in java. Pin
shiva.kore4-Jan-11 7:37
shiva.kore4-Jan-11 7:37 
AnswerRe: which keyword used for differentiating local and global variable in java. Pin
jschell4-Jan-11 8:11
jschell4-Jan-11 8:11 
AnswerRe: which keyword used for differentiating local and global variable in java. Pin
Richard MacCutchan4-Jan-11 21:31
mveRichard MacCutchan4-Jan-11 21:31 
AnswerRe: which keyword used for differentiating local and global variable in java. Pin
TorstenH.4-Jan-11 22:07
TorstenH.4-Jan-11 22:07 
AnswerRe: which keyword used for differentiating local and global variable in java. Pin
Ramaiah Raj30-Jan-11 20:16
Ramaiah Raj30-Jan-11 20:16 
QuestionLoading a sound file from a jar archive [SOLVED] Pin
Pamodh2-Jan-11 2:59
Pamodh2-Jan-11 2:59 
AnswerRe: Loading a sound file from a jar archive Pin
jschell2-Jan-11 9:03
jschell2-Jan-11 9:03 
GeneralRe: Loading a sound file from a jar archive Pin
Pamodh3-Jan-11 2:46
Pamodh3-Jan-11 2:46 
GeneralRe: Loading a sound file from a jar archive Pin
jschell3-Jan-11 9:56
jschell3-Jan-11 9:56 
GeneralRe: Loading a sound file from a jar archive Pin
Pamodh4-Jan-11 4:23
Pamodh4-Jan-11 4:23 
Questionvalidation Pin
pancakeleh30-Dec-10 16:46
pancakeleh30-Dec-10 16:46 
AnswerRe: validation Pin
Richard MacCutchan30-Dec-10 23:00
mveRichard MacCutchan30-Dec-10 23:00 
GeneralRe: validation Pin
pancakeleh3-Jan-11 15:56
pancakeleh3-Jan-11 15:56 
GeneralRe: validation Pin
TorstenH.3-Jan-11 21:13
TorstenH.3-Jan-11 21:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.