[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: kasala  XML
Profile for kasala -> Messages posted by kasala [35] Go to Page: Previous  1, 2, 3
Author Message
Hi Captain, Is there a way that I can set an ActionEvent in a specific key on my Keyboard, if yes can you provide me an example?
Hi Captain, Is their a border radius property in captain casa's components? If yes, can you give us an example.
Thanks Captain.
Hi Captain,

I am really interested on using dashboards in my project.

But I have a problem, I dont know how to set ActionListeners on each dashboard item. Also the demo workplace doesnt have examples regarding on my concern.

Can you provide more examples or documentation about Dashboard Component especially when it comes to event handling.

Regards,
Kent and Friends
Hi Captain this is the card jsp file,

Code:
 <!-- ========== CONTENT BEGIN ========== -->
 <f:view>
 <h:form>
 <f:subview id="Cardg_sv">
 <t:rowbodypane id="g_1" >
 <t:rowdynamiccontent id="g_2" contentbinding="#{d.card.row}" />
 </t:rowbodypane>
 <t:pageaddons id="g_pa"/>
 </f:subview>
 </h:form>
 </f:view>
 <!-- ========== CONTENT END ========== -->
 


Thanks Captain.
Hi Captain, we are facing some problem on creating popup modal and setting some nodes to its dynamicrow using onrowExecute.

Here is the pagebean class file we want to popup.
Code:
 public class card extends PageBean implements Serializable {
 
     public ROWDYNAMICCONTENTBinding m_row = new ROWDYNAMICCONTENTBinding();
     public ROWDYNAMICCONTENTBinding getRow() { return m_row; }
 
     public card(){
 
     }
 
     public interface IListener {
     }
     private IListener m_listener;
     public String getPageName() { return "/Card.jsp"; }
     public String getRootExpressionUsedInPage() { return "#{d.card}"; }
     public void prepare(IListener listener)
     {
         m_listener = listener;
     }
 
 }
 
 


As you can see we declare dynamicrow so we can set nodes on it.

Here is the code we use to create a popup modal and setting nodes on it.

Code:
 
         public void onRowExecute(){
             card buildcard = new card();
                 PANENode paneNode = new PANENode();
                 paneNode.setHeight("100%");
                 paneNode.setWidth("100%");
                 paneNode.setBackground("green");
 
             buildcard.m_row.setContentNode(paneNode);
             modelesspopup = openModalPopup(buildcard, "Item card", 600, 500,
                     new ModalPopup.IModalPopupListener(){
                         @Override
                         public void reactOnPopupClosedByUser() {
                             closePopup(buildcard);
                             
                         }
                     });
             modelesspopup.setLeftTopReferenceCentered();
         }
 


As we run this code the popup works but the nodes didnt.
is this a bug or are we missing something?
thank you in advance.
 
Profile for kasala -> Messages posted by kasala [35] Go to Page: Previous  1, 2, 3
Go to:   
Powered by JForum 2.1.6 © JForum Team