Global Messages with h:messages tag.

hi,according to the documentation of jsf1.1, global messages are those messages that are not associated with any client identifier, which means, messages that are not associated with any UIComponent. At the mean while, the [b]for attribute is mandatory for the h:message tag. so it means that global messages are not specified by the JSF page programmers. so how are these message produced? and what are they used for?
Best Regards

For example if you are using backing bean and there is error you want to show globally, without showing for any particular field then you can have something like this in backing bean
catch (Exception e1) {
                    facesContext.addMessage(
                         null,
                         new FacesMessage(
                              FacesMessage.SEVERITY_INFO,
                              "Unable to Add User." + e1,
                    return "AddUser";
And to show this message, you have have something like this in your page.
<h:panelGrid width="100%" columns="1" border="0">
                    <h:messages layout="table" styleClass="errorMsg" id="allMsg"
                         showDetail="false"></h:messages>
               </h:panelGrid>

Similar Messages

  • Web.de lost all my emails can I merge an old global-messages-db.sqlite with my current one?

    When I check my old global-messages-db.sqlite file from my windows backup the emails still semm to be in there, can I somehow merger/ extract these mails into my current account?
    Best regards,
    temps

    global-messages-db.sqlite is a search index. It doesn't contain entire messages.
    Restore a recent backup of your profile folder instead.

  • bean:message/ tag is not working in tiles:insertAttribute/

    I have a bean:message tag inside my tiles:insertAttribute as shown below.
    <tiles:insertAttribute name='<bean:message="user.menu"/>'/>But <bean:message/> is not getting the value from resource bundle, my resource bundle is in correct place. If i hard code the value then it s working fine.
    How to make it work? Any help?

    sunish_jose wrote:
    <tiles:insertAttribute><bean:message="user.menu"/></tiles:insertAttribute>this way it s not working. Could you pls tell how solve it by using EL. I was not able to find a similar sample evenafter searching for some time.
    thanks in advance.I did say that I don't know if it will or not, I was just giving a sample of how it would work if the tag allowed the value for 'name' to be put in the body.
    I'm not very familiar with the Struts bean tags and in any case, I believe you should use the JSTL tags where ever possible. So you'd pick the <fmt:message> tag from there. I don't think the <bean:message> tag allows you to get the value in to a variable.
    <fmt:message var="tilesAttributeNameValue" key="user.menu" />
    //create an EL variable named tilesAttributeNameValue with the value from the resource bundle
    <tiles:insertAttribute name="${tilesAttributeNameValue}"></tiles:insertAttribute>
    //use EL to put the valueTake a look here [1] for a JSTL introduction:
    [1] http://www.ibm.com/developerworks/java/library/j-jstl0415/

  • Using EL variable in struts bean:message tag(not struts EL tag)

    Is there any work around to use an EL variable inside struts bean:message tag as key:
    I have like this:
    <bean:message key="${bean.keyName}"/>
    which is throwing error , I know this can be resolved by using struts-el tags but i cannot use them for specific reasons.
    I dont want to use bean:define tag to define my 'bean' and then use like this:
    <bean:message key="<%=bean.getKeyName%>"/> (this actually works, but i want to use EL variable)
    Is there any work around to use EL variable and make the message display on the jsp.
    i tried multiple ways like scriplets and jsp:useBean but nothing worked, Please let me know..
    Thanks in advance

    Im pretty sure that EL does not work in the normal struts tag unless its struts-el tag.Have you tried it?
    As I said, in a properly configured JSP2.0 container you can use EL expressions anywhere you could traditionally use a standard runtime expression <%= expr %>.
    What server are you using? What JSP version?
    The Struts-el tags were written so that you could use EL with struts in JSP1.2 containers.
    The c_rt tags were written so you could use runtime expressions with JSTL tags in JSP1.2 containers. Their use was discouraged even then. Now I consider their use absolutely unnecessary.
    Please read this thread: http://forum.java.sun.com/thread.jspa?threadID=629437&tstart=0
    Cheers,
    evnafets

  • Global Messages are not being shown ??

    After an action, I am adding a global message to inform the user it was successful as such:
            String message = "Successfully created ticket.  ID# " + id;
            FacesContext.getCurrentInstance().addMessage(null,new FacesMessage(FacesMessage.SEVERITY_INFO, message,""));
            return "success";However, after being redirected, the messages box never gets the message, although, the message is added correctly, as shown in the log:
    2006-04-19 14:50:57,086 DEBUG [com.sun.faces.context.FacesContextImpl] Adding Message[sourceId=<<NONE>>,summary=Successfully created ticket.  ID# 1)
    2006-04-19 14:50:57,086 DEBUG [com.sun.faces.application.ViewHandlerImpl] URL pattern of the FacesServlet executing the current request .jsf
    2006-04-19 14:50:57,086 DEBUG [com.sun.faces.application.NavigationHandlerImpl] Redirecting to path /TechDesk/main/requests/requestListing.jsf for outcome success and viewId /main/requests/requestListing.jspHere is my messages declaration in the redirected /main/requests/requestListing.jsp
    <h:messages showDetail="true" showSummary="true" globalOnly="true"/>Can anyone tell me what I'm doing wrong?? The messages gets populated, as shown in the logs, but it never gets displayed in the messages box.
    Thanks so much!

    Okay, it seems to get lost in the redirection. If I add the messages box directly on the same page with a return value of "null" (return to the same page), the messages box gets populated.
    However, after getting redirected, I seem to be losing the FacesContext. I thought the FacesContext is created per request, so shouldn't it be available after a redirect?

  • h:messages tag display order

    From my observations, it seems that messages displayed by the messages tag show up with the messages created first at the end of the list (or table). On the surface, this makes sense --new messages are thrown on the pile, so to speak.  But this is the complete reverse order from how the fields show up on the form. Fields at the top of the form, which are validated first, show up on the bottom of the list. Fields at the bottom of the form, show up first. Not very intuitive for the user.
    Here are the options as I see them:
    1) write a custom component extending the messages component with the desired sorting behavior
    2) abandon the messages component, and code a panelGrid of message components for every field on the form (in the desired order).
    3) find a third party component... this seems basic enough so maybe this is already part of myFaces or ADF. So far, I've been getting by with the components included in the RI. Will something this trivial force me to switch?
    What are the approaches that I've missed?

    Here is an easy solution without having to create a custom component. I have a superclass bean for all of my backing beans with common functionality. In the validate() of my superclass bean I check for any messages to determine navigation and also capture all messages into a list if there are any.
         protected String validate() {
             String result = "success";
             FacesContext context = FacesContext.getCurrentInstance();
                        if(context.getMessages().hasNext()){
                 Iterator i = context.getMessages();
                 while(i.hasNext()){
              FacesMessage message = (FacesMessage)i.next();
              errorMessages.add(message.getDetail());
                 result = null;
             return result;
         }On the jsp I use JSTL to list the messages.
    <span style="width:100%">
         <h:outputText value="#{appBundle.ERR_HEADER}<br/>" escape="false" rendered="#{SelectAccountBean.messages == true}" styleClass="title"/>     
         <c:forEach items="${SelectAccountBean.errorMessages}" var="msg">
              <c:out value="<span class='message'>${msg}</span>" escapeXml="false"/>
         </c:forEach>
         <h:outputText value="<br/>" escape="false" rendered="#{SelectAccountBean.messages == true}"/>          
            </span>Edited by: minicpt on Jul 31, 2008 2:05 PM

  • Error Handler API: No proper Initialization of the global message list

    Hi All,
    I'm trying the following:
    1. Call of Web Service EGO_ITEM_PUB.PROCESS_ITEM for an already existing item 'CS_Test_Item_01' with parameters:
    +<soapenv:Body>+
    +<proc:InputParameters>+
    +<proc:P_API_VERSION>1.0</proc:P_API_VERSION>+
    +<proc:P_INIT_MSG_LIST>T</proc:P_INIT_MSG_LIST>+
    +<proc:P_COMMIT>T</proc:P_COMMIT>+
    +<proc:P_TRANSACTION_TYPE>CREATE</proc:P_TRANSACTION_TYPE>+
    +<proc:P_ITEM_NUMBER>CS_Test_Item_01</proc:P_ITEM_NUMBER>+
    +<proc:P_DESCRIPTION>Test</proc:P_DESCRIPTION>+
    +<proc:P_ORGANIZATION_ID>204</proc:P_ORGANIZATION_ID>+
    +</proc:InputParameters>+
    +</soapenv:Body>+
    Getting Response:
    +<OutputParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/apps/ego/soaprovider/plsql/ego_item_pub/process_item__1/">+
    +<X_INVENTORY_ITEM_ID xsi:nil="true"/>+
    +<X_ORGANIZATION_ID xsi:nil="true"/>+
    +<X_RETURN_STATUS>E</X_RETURN_STATUS>+
    +<X_MSG_COUNT>1</X_MSG_COUNT>+
    +<X_MSG_DATA xsi:nil="true"/>+
    +</OutputParameters>+
    2. Repeat Web Service Call EGO_ITEM_PUB.PROCESS_ITEM for already existing items 'CS_Test_Item_02', 'CS_Test_Item_03' and 'CS_Test_Item_04'.
    3. Call of ERROR_HANDLER.GET_MESSAGE_LIST several times.
    Getting following sequence of responses:
    env:Body>
    <OutputParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/apps/bom/soaprovider/plsql/error_handler/get_message_list/">
    <X_MESSAGE_LIST>
    <X_MESSAGE_LIST_ITEM>
    <ORGANIZATION_ID xsi:nil="true"/>
    <ENTITY_ID>ITEM</ENTITY_ID>
    <TABLE_NAME>MTL_SYSTEM_ITEMS_B</TABLE_NAME>
    <MESSAGE_NAME xsi:nil="true"/>
    <MESSAGE_TEXT>Item CS_Test_Item_02 already exists in the organization Vision Operations. Please use a different item name/number.</MESSAGE_TEXT>
    <ENTITY_INDEX>1</ENTITY_INDEX>
    <MESSAGE_TYPE>E</MESSAGE_TYPE>
    <ROW_IDENTIFIER xsi:nil="true"/>
    <BO_IDENTIFIER>ITM</BO_IDENTIFIER>
    </X_MESSAGE_LIST_ITEM>
    </X_MESSAGE_LIST>
    </OutputParameters>
    </env:Body>
    env:Body>
    <OutputParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/apps/bom/soaprovider/plsql/error_handler/get_message_list/">
    <X_MESSAGE_LIST>
    <X_MESSAGE_LIST_ITEM>
    <ORGANIZATION_ID xsi:nil="true"/>
    <ENTITY_ID>ITEM</ENTITY_ID>
    <TABLE_NAME>MTL_SYSTEM_ITEMS_B</TABLE_NAME>
    <MESSAGE_NAME xsi:nil="true"/>
    <MESSAGE_TEXT>Item CS_Test_Item_03 already exists in the organization Vision Operations. Please use a different item name/number.</MESSAGE_TEXT>
    <ENTITY_INDEX>1</ENTITY_INDEX>
    <MESSAGE_TYPE>E</MESSAGE_TYPE>
    <ROW_IDENTIFIER xsi:nil="true"/>
    <BO_IDENTIFIER>ITM</BO_IDENTIFIER>
    </X_MESSAGE_LIST_ITEM>
    </X_MESSAGE_LIST>
    </OutputParameters>
    </env:Body>
    env:Body>
    <OutputParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/apps/bom/soaprovider/plsql/error_handler/get_message_list/">
    <X_MESSAGE_LIST>
    <X_MESSAGE_LIST_ITEM>
    <ORGANIZATION_ID xsi:nil="true"/>
    <ENTITY_ID>ITEM</ENTITY_ID>
    <TABLE_NAME>MTL_SYSTEM_ITEMS_B</TABLE_NAME>
    <MESSAGE_NAME xsi:nil="true"/>
    <MESSAGE_TEXT>Item CS_Test_Item_04 already exists in the organization Vision Operations. Please use a different item name/number.</MESSAGE_TEXT>
    <ENTITY_INDEX>1</ENTITY_INDEX>
    <MESSAGE_TYPE>E</MESSAGE_TYPE>
    <ROW_IDENTIFIER xsi:nil="true"/>
    <BO_IDENTIFIER>ITM</BO_IDENTIFIER>
    </X_MESSAGE_LIST_ITEM>
    </X_MESSAGE_LIST>
    </OutputParameters>
    </env:Body>
    env:Body>
    <OutputParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/apps/bom/soaprovider/plsql/error_handler/get_message_list/">
    <X_MESSAGE_LIST>
    <X_MESSAGE_LIST_ITEM>
    <ORGANIZATION_ID xsi:nil="true"/>
    <ENTITY_ID>ITEM</ENTITY_ID>
    <TABLE_NAME>MTL_SYSTEM_ITEMS_B</TABLE_NAME>
    <MESSAGE_NAME xsi:nil="true"/>
    <MESSAGE_TEXT>Item CS_Test_Item_02 already exists in the organization Vision Operations. Please use a different item name/number.</MESSAGE_TEXT>
    <ENTITY_INDEX>1</ENTITY_INDEX>
    <MESSAGE_TYPE>E</MESSAGE_TYPE>
    <ROW_IDENTIFIER xsi:nil="true"/>
    <BO_IDENTIFIER>ITM</BO_IDENTIFIER>
    </X_MESSAGE_LIST_ITEM>
    </X_MESSAGE_LIST>
    </OutputParameters>
    </env:Body>
    Conclusion:
    * The global message list isn't deleted at the beginning of a 'Process Item' transaction (although P_INIT_MSG_LIST is set to 'T')
    * The global message list always contains the error messages of last three transactions.
    * When trying to get the corresponding error message(s) for a 'Process Item' transaction by calling GET_MESSAGE_LIST, I always get an older message of one of the previous transactions (always the third oldest). Only on the third call of GET_MESSAGE_LIST I get the correct error message(s).
    Does anybody know this behaviour and can help me with this?
    Thanks,
    Carolin
    Edited by: 788963 on 06.10.2010 01:47

    Annotation:
    This behavior is only observed when calling ERROR_HANDLER web services.
    I just tried the same in the PL/SQL context -> this time everything works OK.
    Any ideas?
    Carolin

  • ADF RC  - how to implement global messages

    Hi,
    I'd like to write global messages class shared by all application. It should be fired for all COMMIT (obviously without exceptions) operation and display following message:
    If user made any changes - <strong>"Changes have been commited"</strong>
    If user press commit without any changes - <strong>"There are no changes to save"</strong>
    It also would be nice to get a message when user insert or change in form and wants to leave page without commiting. He should get confirmation window with info:
    <strong>"You have uncommited changes. What dou you want to do:"</strong> and buttons:
    - <strong>Continue</strong> (Changes will be lost)
    - <strong>Don't leave a page</strong>
    I've seen similar solution in applications created in Jheadstart. Has anyone implemented this ?
    Kuba
    Edited by: KUBA on Nov 7, 2008 11:25 AM
    Edited by: KUBA on Nov 7, 2008 2:27 PM

    I think the simplest approach would be to create a custom subclass of DCJboDataControl (which also requires defining a custom data control factory subclass) and overriding the commitTransaction() method.
    For example:
    package test.view.binding;
    import oracle.adf.model.bc4j.DataControlFactoryImpl;
    public class CustomDCJboDataControlFactory extends DataControlFactoryImpl {
        protected String getDataControlClassName() {
          return CustomDCJboDataControl.class.getName();
    }and
    package test.view.binding;
    import java.util.HashMap;
    import oracle.jbo.common.ampool.SessionCookie;
    import oracle.jbo.uicli.binding.JUApplication;
    public class CustomDCJboDataControl extends JUApplication {
        public CustomDCJboDataControl() {
           super();
        public CustomDCJboDataControl(SessionCookie sessionCookie)
           super(sessionCookie);
    }Then you use the custom data control by configuring your factory in the dataControlUsage element in the DataBindings.cpx file like:
      <!-- etc. -->
      <dataControlUsages>
        <BC4JDataControl id="DepartmentsModuleDataControl" Package="test.model"
                         FactoryClass="test.view.binding.CustomDCJboDataControlFactory"
                         SupportsTransactions="true" SupportsFindMode="true"
                         SupportsRangesize="true" SupportsResetState="true"
                         SupportsSortCollection="true"
                         Configuration="DepartmentsModuleLocal" syncMode="Immediate"
                         xmlns="http://xmlns.oracle.com/adfm/datacontrol"/>
      </dataControlUsages>
      <!-- etc. -->

  • Hiding global messages

    Hi,
    Do you know where the global messages are stored? warning, information and error messages. I would like to hide the one of the warning messages on TPMOE->TradepromotionOP. I found one generic class for messages where I could remove one message, but did not work.
    ZL_MKTPRJ_P_BSPWDCOMPONE0_IMPL->AUTOPROCESS_MESSAGES
    Yes, I could use cl_crm_bol_core and access the message service and delete the required message. But I would like to use some common class for message where I can manipulate with messages.
    Thanks,
    Praveen

    There is a hack that might work for you. Wrap the af:messages in a div with its style set to display:none. So
    <div id="sdsd" style="display:none">
        <af:messages id="m1" globalOnly="false" inline="true"/>
    </div>

  • Displaying messages without h:message or h:messages tag

    How can you display messages without h:message or h:messages tag. Is it possible to disply messages in another component. I have only a small piece of page reserved for displaying errors and it would be nice to show these errors in component with scrollbar.
    Regards, Simy

    Well you can access messages produced using
    getMessages() method of faces context. Store these messages in some attribute of backing bean and attach this attribute to some component in your jsf page.
    You can use the following conditions to determine the presence of any messages using:
    rendered="#{! empty facesContext.maximumSeverity}"

  • Custom error message using MESSAGE Tag

    I am using mulitple input fields in the page and i want to validate them for not empty. If it remains empty then error message should be displayed. This error message is different for every field.
    I've used message tad for this purpose. Is there any way to show the custom message according to our own requriements using this message tag???
    Thank you

    You need to override the default error messages with your own messages properties file which you specify in the faces-config.xml.
    Check this for examples:
    [http://www.jsf-faq.com/faqs/faces-messages.html#126]
    [http://balusc.blogspot.com/2008/07/dao-tutorial-use-in-jsf.html#MessageBundleFile]
    For required fields you need to override javax.faces.component.UIInput.REQUIRED.

  • Message Tag

    We add a message tag to emails that are user selected to be sent secure using the Cisco Plug-in to exempt the email from DLP scanning.  Is that message tag removed when the message is sent or is it retained until manually removed?  Case - orginal message was marked to be sent secure and message tag was applied, the message was replied to requesting additional information from the sender.  The original sender replied to that reply adding addition information, did not select that Send Secure option on the reply and the message was not picked up as a DLP violation (contained DLP sensitive information).  My question is the orginal message tag stay with the message and on the replies the DLP scanning would be exempted even it additional information is added?
    If this is the case I may need to write a message filter to look for that message tag and manually change headers to have the message sent via the IEA appliance.

    Hello David,
    as each message that is traversing the internet is containing its own headers, I assume that the message tagging (by using an header) should have no impact here. However, an in-depth analysis of your scenario would require reviewing the message sources and the configuration in place, so I'd recommend to raise a support request with the customer support team here.
    Thanks and regards,
    Martin

  • Thunderbird is indexing every time I click on a message (slow). I've deleted global-messages-db.sqlite. compacted. let it rebuild the db. Version 24.4

    thunderbird is indexing every time I click on a message (slow). I've deleted global-messages-db.sqlite. compacted. let it rebuild the db. Version 24.4
    McAfee shield stays busy the entire time it's indexing. I also deleted about 80% of the messages it was trying to reindex. No joy.
    Thanks

    I have been having this same problem: but it does not appear to have been due to my antivirus (Comodo). In my case the system is not just slow: the indexer seems to hang permanently. I suspected file corruption in one of my inboxes. But, whereas the Activity Manager gives the name of the sub-folder it is currently working on, it does not appear to report the name of the inbox.
    So to trace the corrupt file I had to keep moving emails from my inboxes to sub-folders until the system was able to give me the name of the sub-folder it was working on. Then, by shuffling emails between folders, I was finally able to identify the offending message. This was extremely tedious and time-consuming, as I had to restart Thunderbird every time I did a reshuffle in order to re-initialise the indexing process. The culprit turned out to be a copy of a phishing email I had previously reported. I'm guessing it contained intentionally bad data that confused the indexing system.
    However, it seems that this wasn't the only corrupt file: so I've yet to test all my other inboxes when I've got several more hours available,
    A problem like this would be much easier to trace if the indexer always clearly identified which folder it was examining or attempting to index, e.g. by prefixing the inbox with the mailbox folder name. That way one could tell immediately which inbox or sub-folder was the source of the problem.

  • JSF message tag

    Within a JSP, I define the following tags:
    <h:messages/>
    <h:input_text id="xxx" .../>
    <h:message for="xxx" .../>
    an error message is queued for the input field by the action logic via FacesContext addMessage( cmpID, aFacesMessageObj ) and I observe the followings:
    (1) the message intended for a specific component , in this case the input text field with id="xxx", is displayed in both <h:messages/> and in <h:message for="xxx"/>. Is this the expected outcome ? The purpose of the <h:messages/> tag is to display all messages.
    (2) to get a message displayed for a specific field (component), the cmpID parameter for the addMessage() is derived from the component.getClientId() not the getId(). What is the difference between the ClientId and Id ? What is other usage scenario for ClientId ?
    Thanks for any suggestions.
    Alex.

    Within a JSP, I define the following tags:
    <h:messages/>
    <h:input_text id="xxx" .../>
    <h:message for="xxx" .../>
    an error message is queued for the input field by the
    action logic via FacesContext addMessage( cmpID,
    aFacesMessageObj ) and I observe the followings:
    (1) the message intended for a specific component , in
    this case the input text field with id="xxx", is
    displayed in both <h:messages/> and in <h:message
    for="xxx"/>. Is this the expected outcome ? The
    purpose of the <h:messages/> tag is to display all
    messages.
    The <h:messages> tag can operate in one of two modes -- show all messages, or show only messages that do not have an associated client identifier. To enable the latter case, use:
      <h:messages globalOnly="true"/>
    (2) to get a message displayed for a specific field
    (component), the cmpID parameter for the addMessage()
    is derived from the component.getClientId() not the
    getId(). What is the difference between the ClientId
    and Id ?The relationship between component id and client id is very similar to the relationship between a simple filename (in some directory) and the absolute pathname to that file, starting from the root of the filesystem. For a JavaServer Faces component tree, the role of a "directory" is played by any component class (such as UIForm) that implements the marker interface NamingContainer. The component doesn't have to actually do anything -- the navigation and client id generation logic takes care of all the grunt work for you.
    So, if you've got a simple page like this:
    <f:view>
      <h:form id="myform">
        <h:input_text id="myfield"/>
      </h:form>
    </f:view>the input component with a component id of "myfield" will have a client id (at least for the standard HTML renderkit, since the formatting decision is actually up to the renderkit you are using) of "myform:myfield".
    What is other usage scenario for ClientId ?If your renderer emits client side JavaScript code, it will often need to use the client identifiers (perhaps as the argument to a getElementById() call) to reference the corresponding DOM objects.
    Thanks for any suggestions.
    Alex. Craig McClanahan

  • Problem displying user errors in message tag

    Hello !
    I have problem displaying errors in my JSF page. I'm using Oracle JDeveloper 10.1.3.4. Application is JSF + ADF
    I have one button in my JSF page, and I doing some checks when user clicks on the button. When something is not ok, I throwing an JboException from my Application module. The problem is that I get an error stack trace in my browser instead error message in the message tag. How can I catch those JboException messages with message tag on my JSF page ?
    Thanks,
    Miljan

    Hello John !
    In my faces-config file I defined backing bean, and from my .jspx page I calling a method of backing bean, and inside that method I calling client method from App Module.
    Faces-config:
    <managed-bean>
    <managed-bean-name>backingBean</managed-bean-name>
    <managed-bean-class>com.uss.cs.backing.BackingBean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>bindingContainer</property-name>
    <value>#{data.indexPageDef}</value>
    </managed-property>
    </managed-bean>
    BackinBean:
    public AppModule getApp(){
    AppModule app = (AppModule)getBindingContainer().getDataControl().getApplicationModule();
    return app;
    public void createStavka(){
    getApp().createStavka();
    AppModuleImpl:
    public void createStavka(){
    //for example:
    if (true) throw new JboException("Morate u stavkama da popunite polje razlog !!!");
    }

Maybe you are looking for

  • Templates with Flash don't work

    Hello, I have several pages with templates, but with the new Flash player, the swf that are included in the templates don't work, they do'nt appear in the webpage. Any help please!!

  • Size of a displayed image in memory

    Hello, I am interested in controlling the memory usage of an application. The application loads and displays images from files (mostly GIFs). I'd like to prevent an image from being displayed if it would occupy more memory than some preset limit. Is

  • Error ORA-01426: numeric overflow when Creating table with double data type

    Hi, I am using ODP.NET to create a table with data from SQL to Oracle. The problem is with double data type fields that is equivalent to FLOAT(49) in Oracle. My syntax is: CREATE TABLE SCOTT.ALLTYPES F1 NUMBER(10), F10 DATE, F2 NUMBER(10), F3 NUMBER(

  • HD Movie Rentals

    A few questions re HD movie rentals. What exactly does HD mean? Is it the same quality as Blu-ray (i.e., 1080P)? Any difference in picture quality between component vs HDMI connection?

  • Issue while installing Exchange 2010 SP3 in SBS 2011

    I tried installing the SP3 on my SBS 2011 box but it asked for a Hotfix from KB2550886 to be installed. When I tried to install the Hotfix it said that it does not apply to my SBS 2011 box and did not install. However I went ahead with the installati