10 More Discussions You Might Find Interesting
1. AIX
Hi Experts
So we have two data center .I upgraded the HMC in one datacenter, very easy no problem, but in the second datacenter we have dual HMC connection. I am looking at the document from the ibm documentation. I found something that I am not comfortable following. which is this : Physically... (2 Replies)
Discussion started by: JME2015
2 Replies
2. AIX
Maybe this is the wrong forum, but...
after upgrading one of our HMCs from 7.3.5 to 7.7.5 we detected two problems:
- older problem files ( /info/en_US/eclipse/plugins/p7eai/heapdump... , /opt/ccfw/data/vr ) are not deleted by chhmcfs
- HMC-scheduled backups via ftp to our nim-server don't run... (2 Replies)
Discussion started by: AchmedLachned
2 Replies
3. AIX
Hello All,
Can anybody knows a command, what I can check the processes in the HMC restricted shell? :wall: (1 Reply)
Discussion started by: kalaso
1 Replies
4. AIX
Hi anybody know how to dynamically add a virtual ethernet to a running LPAR using the HMC CLI? (4 Replies)
Discussion started by: pwright84
4 Replies
5. AIX
I have a few HMC questions.
Version: 7
Release: 3.3.0
Build Level: 20080421.1
Base Version: V7R3.3.0
Model Type: 7042CR4
1. What are the types of backups should be performed on the HMC in case of disaster? From what I gather in the documentation, there is a critical data backup and a... (2 Replies)
Discussion started by: AIXtexas
2 Replies
6. UNIX for Dummies Questions & Answers
Hi all, dummy here.... I have major errors on entering the shell. On login I get:
-bash: dircolors: command not found
-bash: tr: command not found
-bash: fgrep: command not found
-bash: grep: command not found
-bash: grep: command not found
-bash: id: command not found
-bash: [: =: unary... (12 Replies)
Discussion started by: wcmmlynn
12 Replies
7. AIX
Hello everybody, had a question.
Iam having a p650 box here, System Model: IBM,7038-6M2
Machine Serial Number: 1078DCC
managed system - 1 which has 2 lpars on it
i added memory to the box(made sure that memory added was in proper quads and was verified by a CE)
after i rebooted the box, the... (4 Replies)
Discussion started by: karthikosu
4 Replies
8. AIX
Well i am right now working on an IBM P550 risc server with an HMC connected.. The server has 2 logical partitions (Lpar). both lpar is having Aix 5.3 installed.
Now I have a doubt.. is it possible to have Aix in one lpar and windows 2003 in another..
cheers
Bala (4 Replies)
Discussion started by: balaji_prk
4 Replies
9. AIX
$ errpt | more
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR
B8113DD1 ... (2 Replies)
Discussion started by: mcastill66
2 Replies
10. UNIX for Advanced & Expert Users
$ errpt | more
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR
B8113DD1 ... (0 Replies)
Discussion started by: mcastill66
0 Replies
HTML::FormHandler::Manual::Errors(3pm) User Contributed Perl Documentation HTML::FormHandler::Manual::Errors(3pm)
NAME
HTML::FormHandler::Manual::Errors - FormHandler error methods
VERSION
version 0.40013
SYNOPSIS
Manual Index
Errors and error messages for HTML::FormHandler.
DESCRIPTION
Errors are added to field or form objects by the field 'add_error' method or the form 'add_form_error' method. FormHandler will perform the
'add_error' for you for built-in validation or 'apply' actions. When performing your own validation in a validation method, you must do the
'add_error' yourself.
Errors, along with 'input' and 'value' attributes, are collected in the FormHandler 'result' objects. A number of error retrieving methods
are delegated to the field and form classes.
The existence (or not) of errors determines whether or not the form has been 'validated'.
Form methods
errors
Returns an array of localized error strings (both field and form errors):
my @errors = $form->errors;
has_errors
Both 'form' errors and errors from the tree of subfields
if( $form->has_errors ) {
<do something>
}
form_errors, all_form_errors
Returns an arrayref / array of error strings on the form (not including field errors).
foreach my $err ( $self->all_form_errors ) {
$output .= "<span class="error">$err</span>";
}
has_form_errors
Does the form have form_errors?
add_form_error
Add an error to the form which is not associated with a specific field.
sub validate {
my $self = shift;
unless( <some condition> ) {
$self->add_form_error('....');
}
}
push_form_errors
Add a non-localized error to the form.
Field methods
The most common error method is probably 'add_error', which you use in the validation process.
sub validate_foo {
my ( $self, $field ) = @_;
unless ( <some_condition> ) {
$field->add_error('Error condition');
}
}
errors
Returns an array of error strings.
has_errors
Does the field have errors? Note that a compound field that contains subfields with errors will not return true for this method. If you
want to know if there are errors in the subfields, do 'has_error_fields'.
num_errors
add_error
Add an error to the field. Localization is performed.
push_errors
Add an error without localization.
error_fields
In a compound field (and its subclasses, like 'Repeatable'), the list of fields with errors.
Result methods
The input, value, and error attributes are actually stored in the result objects. Although most of the methods are delegated to the form
and field classes, there are times, such as when rendering (because you might be rendering a result that's been peeled off of the form
object), that you may need to use result methods.
These are the main methods that you might need to use.
has_errors
errors
error_results
The results with errors; 'error_fields' is a wrapper around this.
Messages
The base field class and the field subclasses have some 'built-in' error messages. These can be modified by setting the 'messages' hashref
in the form or the individual fields.
When a message is retrieved in a field with "$field->get_message('upload_file_')" for example, the 'get_message' method will look first in
user-set field specific messages, then in user-supplied form messages, finally in messages provided by the field classes.
package MyApp::Form;
use HTML::FormHandler::Moose;
extends 'HTML::FormHandler';
sub build_messages {
return { required => '....', my_message => '....' };
}
...
my $form = MyApp::Form->new( messages => { required => '...', ...} );
...
has_field 'my_field' => ( messages => { required => 'Please provide a my_field' },
required => 1 );
AUTHOR
FormHandler Contributors - see HTML::FormHandler
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Gerda Shank.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-25 HTML::FormHandler::Manual::Errors(3pm)