Why Calling-Station-Id [31] attribute has an "async" value??

AS5350, IOS tried 12.4(4T) and 12.4(3b).
Cisco configured as dial-up server. When subscriber connects to some SPE via usual modem using radius authentication, his callback number may not be determined. Then I see in radius debug, that:
RADIUS: Calling-Station-Id [31] 7 "async"
When I used ios 12.3(3a) in that case i saw a blank field instead of "async".
When callback number is determined i see, i.e.:
RADIUS: Calling-Station-Id [31] 12 "3272779467"
What does "async" mean? Why exactly this? How to cut this async off?

It doesn't matter what RADIUS I am using. Records are sent by cisco to radius. And after IOS changing these records changed.
If you think it's too important, my radius is self-made by RASTEL company. That company says that curve records are seen from cisco...

Similar Messages

  • Why Calling-Station-Id [31] attribute is "async"??

    AS5350, IOS tried 12.4(4T) and 12.4(3b).
    Cisco configured as dial-up server. When subscriber connects to some SPE via usual modem using radius authentication, his callback number may not be determined. Then I see in radius debug, that:
    RADIUS: Calling-Station-Id [31] 7 "async"
    When I used ios 12.3(3a) in that case i saw a blank field instead of "async".
    When callback number is determined i see, i.e.:
    RADIUS: Calling-Station-Id [31] 12 "3272779467"
    What does "async" mean? Why exactly this? How to cut this async off?

    Okay. Let it so. But in IOS 12.3(3a) there was a blank field. No "async" words.
    Have you got any link to a document where it is said that "async" is a normal value of 31th attribute of RADIUS protocol?

  • How to call a stored procedure which has out parameter value

    my code is
    public Connection createConnection() {
                   Connection conn = null;
                        try {
                             Class.forName(DRIVER);
                             conn = DriverManager.getConnection(URL,USER,PASS);
                        } catch (ClassNotFoundException cnfe) {
                             System.err.print("Class not found");
                        } catch (SQLException sqle) {
                             System.err.print("SQLException");
                   return conn;
         public static void main(String args[]){
              StroedProcedure stp = new StroedProcedure();
              Connection con = stp.createConnection();
              try {
                   CallableStatement stproc_stmt = con.prepareCall("{call Account_Summary(?,?,?,?,?,?,?,?)}");
                   stproc_stmt.setString(1, "123456");
                   stproc_stmt.setDate(2, null);
                   stproc_stmt.setString(3, null);
                   stproc_stmt.setString(4, null);
                   stproc_stmt.setString(5, null);
                   stproc_stmt.setString(6, null);
                   stproc_stmt.setDate(7, null);
                   stproc_stmt.setDate(8, null);
                   stproc_stmt.registerOutParameter(1,Types.CHAR);
                   stproc_stmt.registerOutParameter(2,Types.DATE);
                   stproc_stmt.registerOutParameter(3,Types.CHAR);
                   stproc_stmt.registerOutParameter(4,Types.CHAR);
                   stproc_stmt.registerOutParameter(5,Types.CHAR);
                   stproc_stmt.registerOutParameter(6,Types.CHAR);
                   stproc_stmt.registerOutParameter(7,Types.DATE);
                   stproc_stmt.registerOutParameter(8,Types.DATE);
                   stproc_stmt.execute();
                   System.out.println("test "+stproc_stmt.getString(1));
                   ResultSet rs = stproc_stmt.executeQuery();
                  while (rs.next()){
                       System.out.println("result "+rs.getString("ACCPK"));
              } catch (SQLException e) {
                        e.printStackTrace();
         }And the stored procedure is
    CREATE OR REPLACE
    procedure Account_Summary (accpk in out char, incdt out date, bcur out char, bmark out char, tarTE out char, numHold out char, stDt out date, AsDt out date)
    is
    begin
    select account_pk, inception_date, base_currency, benchmark  into accpk, incdt, bcur, bmark
    from account a
    where a.Account_pk=accpk;
    select target_te, number_holdings, start_date, as_date into tarTE, numHold, StDt, AsDt
    from acc_summary asum
    where asum.account_pk=accpk;
    end Account_Summary;but it gives a exception ORA-01460: unimplemented or unreasonable conversion requested
    ORA-06512: at "REPRO.ACCOUNT_SUMMARY", line 4
    ORA-06512: at line 1
    i want to execute a stored procedure which has in , inout or out parameter
    but it can not work

    ========================
    In some contects varchar2 variable limit is 32512 characters... October 16, 2003
    Reviewer: Piotr Jarmuz from Poznan, Poland
    Interesting to note is the fact that varchar2 variables as parameters to stored
    procedures (in in/out out) may be "only" 32512 bytes long.
    I've checked this in Java and Perl. 32512 is the last value that works, for any
    bigger it throws:
    Exception in thread "main" java.sql.SQLException: ORA-01460: unimplemented or
    unreasonable conversion requested
    But in PL/SQL as you said 32767
    Regards,
    Piotr
    =================================
    This i got it from ask tom, well it make sense.... try checking your input with small numbers and strings
    Have fun

  • Called-Station-ID attribute and Cisco WLC code 7.4

    Hello
    I have 2 WLCs configured with 2 SSIDs (one is [WPA2][Auth(802.1X)] and the other is Web-Auth). One of the WLCs is remote and its WLANs are configured with mobility anchors pointing to the other WLC. Both WLCs are configured with Called-Station-ID set to AP Mac Address:SSID. I use this attribute on ACS to authenticate/authorize users based on what SSID they connect to.
    This worked fine on WLC code 7.0 but on upgrading to 7.4 I started having some issues:
    clients on the remote WLC can still authenticate on the [WPA2][Auth(802.1X)] SSID as the Called-Station-ID attribute is still AP Mac Address:SSID
    clients on the remote WLC cannot authenticate on the Web-Auth SSID as the Called-Station-ID attribute now appears to be the Mac Address of the WLC anchor controller
    WLC models are 5508 and current code is 7.4.110.0 (APs are AIR-LAP1142N-E-K9). Can anyone tell me why I'm seeing this behaviour on the Web-Auth SSID on the remote WLC?
    Thanks
    Andy

    Since you have two AAA devices that's sending info, you can have your policy for the guest specifying the guest WLC. The SSID policy for the foreign WLC is only really needed if you have multiple 802.1x authentication from the foreign WLC and that's when you can use the regex to defiance the SSID per AD Group.
    Look at a successful authentication from one of the guest users. Look at the detailed log and then in that log, you will see all the attributes being sent that the radius can send back to the WLC. You can use any of those attributes in your policies.
    Called-Station-ID might not be sent like what your use to, because the foreign WLC has the access point the guest user associates to and tunnels it back to the anchor WLC. So this attribute might not be available. Things do change with code versions so you might just have to adjust your policies. I haven't played around with 7.0.x code with guest anchor and radius in a while, but I have in the past upgraded radius or the WLC and had to tweak my radius policies.
    Sent from Cisco Technical Support iPhone App

  • When receiving an call waiting can't push the hold and answer button.Because: it will put on hold the first caller, answer to the second, but you can't hear the second until you end the first call !!! Anyone has the same problem ? Did anyone know why ?

    When receiving an call waiting can't push the hold and answer button.Because: it will put on hold the first caller, answer to the second, but you can't hear the second until you end the first call !!! Anyone has the same problem ? Did anyone know why ?

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Hi can anyone help me im using my iphone to make a call to a number that has been changed two days ago but it automatically says 'called failed' why? please help!

    hi can anyone help me im using my iphone to make a call to a number that has been changed two days ago but it automatically says 'called failed' why? please help!

    Here's a nifty agorithm to fill an array of primes, using a forever loop with a labeled continue statement, from Horton's Beginining Java:public class MorePrimes
      public static void main(String[] args)
        long[] primes = new long[20];    // Array to store primes
        primes[0] = 2;                   // Seed the first prime
        primes[1] = 3;                   // and the second
        int count = 2;                   // Count of primes found - up to now,
                                         // which is also the array index
        long number = 5;                 // Next integer to be tested
        outer:
        for( ; count < primes.length; number += 2)
          // The maximum divisor we need to try is square root of number
          long limit = (long)Math.ceil(Math.sqrt((double)number));
          // Divide by all the primes we have up to limit
          for(int i = 1; i < count && primes[i] <= limit; i++)
            if(number%primes[i] == 0)             // Is it an exact divisor?
              continue outer;              // yes, try the next number
          primes[count++] = number;               // We got one!
        for(int i=0; i < primes.length; i++)
          System.out.println(primes); // Output all the primes

  • Calling-station-id has nothing

    I am using cisco 7206 VXR as pptp server with radius aaa, everithing work exept that router doesn't send to radius attribute Calling-station-id that should contain IP adress of connecting client (I need that for authorization check).
    I'm using Cisco IOS Software, 7200 Software (C7200P-ADVENTERPRISEK9-M), Version 12.4(11)T2, RELEASE SOFTWARE (fc4)

    Thanks, but that doesn't help.
    By the way, i'm not needed exacly Calling-station-id. I can accept any posobility to send client IP to radius.
    What can I try more?

  • Why is VO getter not called for custom VO attributes?

    Hi,
    The requirement is to add couple of fields on a OAF page. Here is what I did:
    - Created custom VO by extending the standard VO
    - Added fields to the page via personalization.
    The issue is that the values for the custom fields on the page were not showing up. On investigation, I found the VORowImpl getter getAttrInvokeAccessor was not being called for my custom attribute. I tried to check the difference between the attributes for which the getter was called and for which it was not called. I couldn't find any and I'm totally left clueless as to what determines the getter to be called.
    Really appreciate your help to move ahead.
    Thanks,
    Anil
    Edited by: AnilMenta on Mar 5, 2013 10:40 AM

    Hi Anil,
    First of all, Could you please make sure that Extended VO is being picked up during the execution of the page . Ensure that extended VO is substituted
    If the VO is substituted then try Steps below
    1. Enable the diagnostics .. show log on page statements
    2. Search for your custom VO name .
    If you can find your extended VO here, then substitution is right and page is picking up the extended VO.
    Thanks

  • RADIUS packet-id not incrementing, called-station-id missing

    I am running v1.3.5.58 on an SG300-20.  I am attempting to use a Network Access Control (NAC) solution, which involves a RADIUS proxy.  It is getting confused by two odd behaviors of the SG300 when attempting EAP-PEAP-MSCHAPv2 authentication. 
    1. The SG300 does not properly increment the "Packet Identifier" bits as it progresses through the RADIUS negotiation.  The packet identifier is always 0x00.
    2. The SG300 does not properly set the "Called-Station-ID" Attribute-Value-Pair (AVP).  Instead, it is left blank.
    Although freeradius is able to find away around these problems, the NAC RADIUS proxy cannot.  Have I done something in the config to cause this to happen (see below)?  Is this a known bug?  Does it have a workaround?  Will our hero save defeat the villain and save the day?  ;-)
    config-file-header
    ausoff-sw-test1
    v1.3.5.58 / R750_NIK_1_35_647_358
    CLI v1.0
    set system mode switch
    file SSD indicator encrypted
    ssd-control-start
    ssd config
    ssd file passphrase control unrestricted
    no ssd file integrity control
    ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
    spanning-tree priority 40960
    port jumbo-frame
    vlan database
    vlan 2-3,12,14,16,99,600,1000,1010
    exit
    voice vlan id 1010
    voice vlan oui-table add 0001e3 Siemens_AG_phone________
    voice vlan oui-table add 00036b Cisco_phone_____________
    voice vlan oui-table add 00096e Avaya___________________
    voice vlan oui-table add 000fe2 H3C_Aolynk______________
    voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
    voice vlan oui-table add 00d01e Pingtel_phone___________
    voice vlan oui-table add 00e075 Polycom/Veritel_phone___
    voice vlan oui-table add 00e0bb 3Com_phone______________
    dot1x system-auth-control
    dot1x traps authentication failure 802.1x
    dot1x traps authentication success 802.1x
    hostname ausoff-sw-test1
    line console
    exec-timeout 30
    exit
    line ssh
    exec-timeout 30
    exit
    line telnet
    exec-timeout 30
    exit
    encrypted radius-server key C1TbrSasKDSDdUoOG2XrohFMsM5tVmu+3QyTwkiVKMI=
    encrypted radius-server host 172.18.14.114 key C1TbrSasKDSDdUoOG2XrohFMsM5tVmu+3QyTwkiVKMI= priority 1 usage dot1.x
    radius-server host 172.18.58.58 usage dot1.x
    radius-server timeout 10
    logging host 172.18.58.50
    aaa accounting dot1x start-stop group radius
    enable password level 15 encrypted
    username nac password encrypted *** privilege 15
    username admin password encrypted *** privilege 15
    username cisco password encrypted *** privilege 15
    username readonly password encrypted ***
    ip ssh server
    ip ssh password-auth
    snmp-server server
    snmp-server engineID local 800000090308cc68423f4d
    snmp-server location "***"
    snmp-server contact "***"
    snmp-server community *** rw 172.18.58.58 view DefaultSuper
    snmp-server community *** rw 172.18.14.105 view DefaultSuper
    snmp-server host 172.18.58.58 traps version 2c nac
    snmp-server host 172.18.58.58 version 3 auth nac
    snmp-server group nac v3 auth notify DefaultSuper read DefaultSuper write DefaultSuper
    snmp-server group SNMPSuperuser v3 auth notify DefaultSuper read DefaultSuper write DefaultSuper
    encrypted snmp-server user nac nac v3 auth sha ***
    encrypted snmp-server user ManageEngines SNMPSuperuser v3 auth sha ***
    ip http timeout-policy 1800
    clock timezone " " -6
    sntp anycast client enable ipv4
    sntp broadcast client enable ipv4
    clock source sntp
    sntp unicast client enable
    sntp unicast client poll
    sntp server 0.pool.ntp.org poll
    sntp server 1.pool.ntp.org poll
    ip domain name blah.net
    ip name-server  172.18.19.232
    ip domain timeout 2
    ip domain retry 1
    ip telnet server
    interface vlan 2
    name NACRegistration
    interface vlan 3
    name NACIsolation
    interface vlan 12
    name Users
    interface vlan 14
    name Dev
    interface vlan 16
    name LAN
    interface vlan 99
    name Mgmt
    ip address 172.18.58.61 255.255.255.128
    interface vlan 600
    name "Core Test"
    dot1x guest-vlan
    interface vlan 1000
    name Guest
    interface vlan 1010
    name Voice
    interface gigabitethernet1
    dot1x host-mode multi-sessions
    spanning-tree disable
    spanning-tree bpduguard enable
    switchport mode access
    switchport access vlan 600
    interface gigabitethernet2
    dot1x host-mode multi-sessions
    spanning-tree disable
    spanning-tree bpduguard enable
    switchport mode access
    switchport access vlan 600
    interface gigabitethernet3
    dot1x host-mode multi-sessions
    spanning-tree disable
    spanning-tree bpduguard enable
    switchport mode access
    switchport access vlan 600
    interface gigabitethernet4
    dot1x host-mode multi-sessions
    spanning-tree disable
    spanning-tree bpduguard enable
    switchport mode access
    switchport access vlan 600
    interface gigabitethernet5
    dot1x host-mode multi-sessions
    spanning-tree disable
    spanning-tree bpduguard enable
    switchport mode access
    switchport access vlan 600
    interface gigabitethernet6
    dot1x host-mode multi-sessions
    spanning-tree disable
    spanning-tree bpduguard enable
    switchport mode access
    switchport access vlan 600
    interface gigabitethernet7
    dot1x host-mode multi-sessions
    spanning-tree disable
    spanning-tree bpduguard enable
    switchport mode access
    switchport access vlan 600
    interface gigabitethernet8
    dot1x host-mode multi-sessions
    spanning-tree disable
    spanning-tree bpduguard enable
    switchport mode access
    switchport access vlan 600
    interface gigabitethernet9
    dot1x host-mode single-host
    dot1x violation-mode protect trap 10
    dot1x guest-vlan enable
    dot1x radius-attributes vlan static
    dot1x port-control auto
    spanning-tree disable
    spanning-tree bpduguard enable
    switchport mode access
    interface gigabitethernet10
    dot1x host-mode multi-sessions
    dot1x guest-vlan enable
    dot1x radius-attributes vlan static
    dot1x port-control auto
    spanning-tree disable
    spanning-tree bpduguard enable
    switchport mode access
    interface gigabitethernet11
    dot1x host-mode multi-sessions
    dot1x guest-vlan enable
    dot1x radius-attributes vlan static
    dot1x port-control auto
    spanning-tree disable
    spanning-tree bpduguard enable
    switchport mode access
    interface gigabitethernet12
    dot1x host-mode multi-sessions
    dot1x guest-vlan enable
    dot1x radius-attributes vlan static
    dot1x port-control auto
    spanning-tree disable
    spanning-tree bpduguard enable
    switchport mode access
    interface gigabitethernet13
    dot1x host-mode multi-sessions
    dot1x guest-vlan enable
    dot1x radius-attributes vlan static
    dot1x port-control auto
    spanning-tree disable
    spanning-tree bpduguard enable
    switchport mode access
    interface gigabitethernet14
    dot1x host-mode multi-sessions
    dot1x guest-vlan enable
    dot1x radius-attributes vlan static
    dot1x port-control auto
    spanning-tree disable
    spanning-tree bpduguard enable
    switchport mode access
    interface gigabitethernet15
    dot1x host-mode multi-sessions
    dot1x guest-vlan enable
    dot1x radius-attributes vlan static
    dot1x port-control auto
    spanning-tree disable
    spanning-tree bpduguard enable
    switchport mode access
    interface gigabitethernet16
    dot1x host-mode multi-sessions
    dot1x guest-vlan enable
    dot1x radius-attributes vlan static
    dot1x port-control auto
    spanning-tree disable
    spanning-tree bpduguard enable
    switchport mode access
    interface gigabitethernet17
    dot1x host-mode multi-sessions
    no snmp trap link-status
    port monitor GigabitEthernet 20
    spanning-tree disable
    spanning-tree bpduguard enable
    switchport mode general
    switchport general acceptable-frame-type untagged-only
    switchport forbidden default-vlan
    interface gigabitethernet18
    dot1x host-mode multi-sessions
    dot1x guest-vlan enable
    dot1x radius-attributes vlan static
    dot1x port-control auto
    spanning-tree disable
    spanning-tree bpduguard enable
    switchport mode access
    interface gigabitethernet19
    switchport trunk native vlan 600
    interface gigabitethernet20
    spanning-tree link-type point-to-point
    switchport trunk allowed vlan add 2-3,12,14,16,99,600,1000,1010
    macro description switch
    !next command is internal.
    macro auto smartport dynamic_type switch
    exit
    ip default-gateway 172.18.58.1

    Thank you for your response, Tom.  I have performed packet captures associated with this issue, and they show that the Called-Station-ID AVP is not sent with the RADIUS packets, from the SG300.  There is not an issue with capitalization, the value is simply not provided at all.  Here is an example of a tcpdump decode of such a packet.  Please note the missing attribute:
    15:48:01.843296 IP (tos 0x0, ttl 64, id 59875, offset 0, flags [none], proto UDP (17), length 142)
        172.18.58.61.49205 > 172.18.58.58.1812: [udp sum ok] RADIUS, length: 114
            Access Request (1), id: 0x00, Authenticator: 390000003f2000009e3f0000eb670000
              NAS IP Address Attribute (4), length: 6, Value: 172.18.58.61
                0x0000:  ac12 3a3d
              NAS Port Type Attribute (61), length: 6, Value: Ethernet
                0x0000:  0000 000f
              NAS Port Attribute (5), length: 6, Value: 57
                0x0000:  0000 0039
              Username Attribute (1), length: 12, Value: SSO\dalewl
                0x0000:  5353 4f5c 6461 6c65 776c
              Accounting Session ID Attribute (44), length: 10, Value: 050000DF
                0x0000:  3035 3030 3030 4446
              Calling Station Attribute (31), length: 19, Value: E0-DB-55-B3-1D-5C
                0x0000:  4530 2d44 422d 3535 2d42 332d 3144 2d35
                0x0010:  43
              EAP Message Attribute (79), length: 17, Value: ..
                0x0000:  0201 000f 0153 534f 5c64 616c 6577 6c
              Message Authentication Attribute (80), length: 18, Value: ......R..1...EU.
                0x0000:  bed3 b19e c70f 52e0 ec31 afcb d545 55ad

  • JSP page error: JSPtranslate: attribute | has no value.

    Hi again,
    I've written the JAVA class, the TLD and the JSP but when I try to provide the parameters to the TLD file in the JSP I get this error: JSPTranslate: attribute | has no value. /**** My TLD file is in a WEB_INF/tags/ directory. ***/
    I've included my JAVA class, JSP and TLD files below.
    package com.ibm.samples.TEMP;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class TEMP extends TagSupport
         private int mandatory = 0;
    //Set method base upon info from .tld file
         public void setMandatory(int mandatory)
             this.mandatory = mandatory;
    //Init tag called from .JSP page that used the custom tag.
        public int doStartTag() {
           try
                JspWriter out = pageContext.getOut();
                out.println("<table border=1>");
           if (mandatory == 1)
               out.println("<tr><td> <input type=\"text\"" +
                     "style=\"background-color:yellow\" size=\"25\" name=\"user\">");
              else
               out.println("<tr><td> <input type=\"text\"" +
                     "style=\"background-color:white\" size=\"25\" name=\"user\">");
           catch (Exception ex)
                  throw new Error("Failure");
    // Must return SKIP_BODY because there isn't a body for this tag.
           return SKIP_BODY;
    //End tag ends table and exits, along with error / exception catching
         public int doEndTag(){
            try  {
                                  JspWriter out = pageContext.getOut()
                                  out.println("</table>");
                          catch (Exception ex)
                                  throw new Error("Failure.");
          return EVAL_PAGE;
    --------------END OF CLASS--------------
    ----------------------JSP----------------------
    <%@ taglib [tagdir="/WEB-INF/tags/" | uri="/WEB-INF/tags/inputTAGS.tld"] prefix="I" %>
    <HTML>
      <HEAD> 
           <TITLE>Custom Tags</TITLE> 
      </HEAD>
      <BODY BGCOLOR = "WHITE">
          <H3>Custom Tags!</H3>
          <FORM METHOD="GET" ACTION="customTags.jsp">
            <P>
            Enter First Name:<br>:
            <P>
            <I:inputTags mandatory="1"/>
            <P>
            Enter Last Name:<br>:
            <P>
            <I:inputTags mandatory="1"/>
            <P>
            Enter Phone Number:<br>:
            <P>
            <I:inputTags mandatory="0"/>
            <P>
            <INPUT TYPE="SUBMIT" VALUE="Submit">
            <INPUT TYPE="RESET" VALUE="Reset">
          </FORM>
      </BODY>
    </HTML>
    --------------END OF JSP--------------
    --------------------TLD--------------------
    <?xml version = "1.0" encoding = "ISO-8859-1"?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
    "http://java.sun.com/dtd/Web-jsptaglibrary_1_2.dtd">
    <taglib xmlns = "http://java.sun.com/JSP/TagLibraryDescriptor">
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    <short-name>Input tags library</short-name>
    <description>Custom tags test</description>
    <tag>
    <name>inputTags</name>
    <tag-class>com.ibm.samples.temp.TEMP</tag-class>
    <description>
    Formatted text box:
    </description>
    <attribute>
    <name>mandatory</name>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    </tag>
    </taglib>
    - LS6V

    I made a new web project and the TLD link is fine. But I have a new error:JspTranslate: unable to load class null I'm recieving the error in my JSP page editor.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@ taglib uri = "/WEB-INF/lib/tag.tld" prefix="I" %>
    <HTML>
      <HEAD>
           <TITLE>Custom Tags</TITLE>
      </HEAD>
      <BODY BGCOLOR = "WHITE">
          <H3>Custom Tags!</H3>
          <FORM METHOD="GET" ACTION="JSPTAG.jsp">
            <P>
            Enter First Name:<br>:
            <P>
    ERROR FOUND HERE ----------->>> <I:inputTag mandatory="1"/>
            <P>
            Enter Last Name:<br>:
            <P>
            <I:inputTag  mandatory="1"/>
            <P>
            Enter Phone Number:<br>:
            <P>
            <I:inputTag mandatory="0"/>
            <P>
            <INPUT TYPE="SUBMIT" VALUE="Submit">
          </FORM>
      </BODY>
    </HTML>---------------------------JAVA CLASS-------------------------
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class TAG extends TagSupport
         private String mandatory="";
         private int iMandatory = 0;
    //Set method base upon info from .tld file
         public void setMandatory(String hold)
             mandatory = hold;
             iMandatory = Integer.parseInt(mandatory);
         public String getMandatory()
          return(mandatory);
    //Init tag called from .JSP page that used the custom tag.
        public int doStartTag() {
           try
            JspWriter out = pageContext.getOut();
            out.println("<table border=1>");
             if ( iMandatory == 1)
               out.println("<tr><td> <input type=\"text\"" +
                     "style=\"background-color:yellow\" size=\"25\" name=\"user\">");
            else
               out.println("<tr><td> <input type=\"text\"" +
                     "style=\"background-color:white\" size=\"25\" name=\"user\">");
           catch (Exception ex)
                  throw new Error("Failed in doStartTag");
    // Must return SKIP_BODY because there isn't a body for this tag.
           return SKIP_BODY;
    //End tag ends table and exits, along with error / exception catching
         public int doEndTag(){
            try {
                 JspWriter out = pageContext.getOut();
                out.println("</table>");
            } catch (Exception ex){
                  throw new Error("Failed in doEndTag");
            return EVAL_PAGE;
    }---------------------------TLD------------------------
    <?xml version ="1.0" encoding = "UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <taglib xmlns ="http://java.sun.com/JSP/TagLibraryDescriptor">
      <tlib-version>1.0</tlib-version>
      <jsp-version>1.2</jsp-version>
      <short-name>Input tags library</short-name>
      <description>Custom tags test</description>
      <tag>
        <name>inputTag</name>
        <tag-class>source.TAG</tag-class>
        <description>
            Formatted text box:
        </description>
        <attribute>
          <name>mandatory</name>
          <required>true</required>
          <rtexprvalue>true</rtexprvalue>
          <type>String</type>
        </attribute>
      </tag>
    </taglib>

  • ERROR: spry:region or spry:detailregion attribute has no data set!

    here's the basics...
    i'm running fusebox for php (if that makes any difference)
    i'm also reusing the same gallery for multiple fuseactions,
    and using my circuit.xml file to set the var $gallery
    depending on which fuseaction has been called.
    the photos already exist in a database and full size and
    thumbs have already been created by imagemagick
    i plan on writing a script that uses imagemagick to get the
    dimensions of the imagefiles and saves them to four respective new
    columns in my db table (so i hope the problem isn't related to the
    height attributes not being set in my xml.... let's hope it's
    somthing else, ok?)
    i'm creating my datasets like this
    quote:
    var dsGallery = new Spry.Data.XMLDataSet("/index.php",
    "gallery", { method: "POST", postData: "do=m.get<?php echo
    $gallery ?>Gallery", headers: { "Content-Type": "text/xml" });
    var dsPhotos = new Spry.Data.XMLDataSet("/index.php",
    "gallery/photos/photo", { method: "POST", postData:
    "do=m.get<?php echo $gallery ?>Gallery", headers: {
    "Content-Type": "text/xml"});
    the output xml is perfect... here's an example
    http://www.inkincnewyork.com/index.php?do=m.getFlashGallery
    since i'm reusing the gallery, and have no need for the
    dsGalleries related functionality i did this.
    using the long way of referencing each piece of data, just to
    make sure it's all kosher
    quote:
    <div id="thumbnails" spry:region="dsPhotos dsGallery">
    <div spry:repeat="dsPhotos"
    onclick="HandleThumbnailClick('{ds_RowID}');"
    onmouseover="GrowThumbnail(this.firstChild,
    '{dsPhoto::photo/@thumbwidth}', '{dsPhoto::photo/@thumbheight}');"
    onmouseout="ShrinkThumbnail(this.firstChild);"><img
    id="tn{ds_RowID}" alt="thumbnail for {dsPhoto::photo/@thumbpath}"
    src="{dsGallery::thumbnail/@base}{dsPhoto::photo/@thumbpath}"
    width="24" height="24" style="left: 0px; right: 0px;"
    /></div>
    <p class="ClearAll"></p>
    </div>
    but i am now getting this error
    spry:region or spry:detailregion attribute has no data set!
    for each XMLDataSet
    anyone have any ideas?

    A few things I noticed when looking at your sample source
    above:
    The "Content-Type" should be the type for the post data, not
    what you expect to get back. So in your case, you should be using:
    "Content-Type": "application/x-www-form-urlencoded";
    which is the default type so you don't really have to pass it
    to the constructor unless you are posting something other than that
    type.
    Next, your {ds_RowID} data references are missing the data
    set prefix. If you use more than one data set for a given region,
    you need to use the prefix to make sure you are getting the
    ds_RowID from the correct data set.
    The error: "spry:region or spry:detailregion attribute has no
    data set!" tells me that the data sets are not defined at the time
    Spry first processes the region. Are your data sets being created
    in a script tag in the head? Or are you creating them in some
    function that gets fired off at a specific time?
    --== Kin ==--

  • Radius NMAS 2 Calling station Id

    Hello,
    can the Novell RADIUS server be set up to provide authentication based on
    MAC address and/or Calling - Station -ID ?
    Currently running system 6.5sp2 servers and NMAS with radius.
    Thanks
    Michael

    The called-station-id and calling-station-id attributes are generally
    referred to as "request attributes" because the NAS provides them in the
    access-request packet. Unfortunately, the current version of RADIUS does not
    support request attributes. When you configure attributes for Novell RADIUS,
    you may only configure attributes for the access-accept packet.
    >>> <[email protected]> 10/07/04 7:08 AM >>>
    Hello,
    can the Novell RADIUS server be set up to provide authentication based on
    MAC address and/or Calling - Station -ID ?
    Currently running system 6.5sp2 servers and NMAS with radius.
    Thanks
    Michael

  • Cisco 3640, PPPoE, MAC in Calling-Station-Id

    Hi ALL!
    Almighty ALL, please tell me which IOS on 3640 can send MAC address in Calling-Station-Id when user connecting via РРРоЕ? I tried command "radius-server attribute 31 mac format unformatted" with no luсk :(
    Thanks!

    You can try using the code 12.3(9.9) on a 3640. You could use the radius-server attribute nas-port format command to configure the NAS-Port field for the PPP extended format. And the called-station-id should be the mac of the AP.

  • Dear Ms. Qaya Ltfabh help me. I do not know why this is a problem that has been part of Russian Tvlbarmn(mozila firefox). What I Brgrdvnmsh Vnmydvnm again in En

    Dear Ms. Qaya Ltfabh help me. I do not know why this is a problem that has been part of Russian Tvlbarmn. What I Brgrdvnmsh Vnmydvnm again in English. Bkhvahydmytvnm send a screenshot if I tell you to see exactly my problem. Thank you
    I also say that in English I dont know if Nmdarm Mykhvahydbh help me help in the form of a video file or image...Anglysym your friends know I'm so weak, so therefore the description Vsvalattvn noticed something. If you have software that will solve my problem please let me download it, I probably am

    I don't understand what question you are trying to ask. Can you restate the question?

  • Question about the sensor... just got my 4s yesterday after screwing up my 3 with the laterd version update.  EVery call I have been on has either changed to speaker, called another number or ended the call or activated facetime, which I have turned off.

    Question about the sensor... just got my 4s yesterday after screwing up my 3 with the laterd version update. EVery call I have been on has either changed to speaker, called another number or ended the call or activated facetime, which I have turned off. never had this trouble with my 3...I don't even want to talk to anyone on this phone! Is the sensor bad? That is what the AT&t rep suggested.

    Restore as new... if the problem still continues then there is a hardware issue.
    If it stops after a restore as new, then the issue is with the backup the device is currently setup with.

Maybe you are looking for

  • How do you turn the cloud OFF on an iPhone 4s?

    How do you turn the cloud OFF on an iPhone 4s? I don't use the cloud, but my phone keeps telling me there's not enough storage to back my phone up.

  • How do I recover a window that has gone off the screen ?

    The upper and right hand sides of my "Adobe Elements Organizer" application window have gone permanently  off my Imac screen and try as I might, I can't drag or minimize this window to centre it on my desktop as a much smaller size and thereby recove

  • Integration Process problem in Message Split.

    Hi all, I have done message split using the this blog. /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure I am getting problem in the BPM i.e. in Integration Process.

  • Set Adobe Reader iPad/iPhone app to just view pdf instead of downloading it?

    Hello, I work for a financial company and it seems that some of our user's were having trouble viewing a pdf document that contained editable text boxes.  The layout of the form itself would show, but none of the text within the text boxes would appe

  • My iphone is black screened and no powerbutton!

    So i connected my iphone to the charger and as it started i saw a grey screen with smal vertical colored lines in diffrent places. Then after a minute or 2 it turned black and i dont know what to do. My power button dosent work and its all Black, I j