• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. beci
    3. Posts

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by beci

    • RE: Mobile UI

      @mlohbihler said:

      To get this going, i've created a mobile login and watch list page. So far it is read-only, including no setting of point values.

      Thanks for your quick solution, it turned out to be really useful! Building on your work, I was able to move a bit further our in-house project.

      The thing I'd like to ask is that can we hope, that in the next release there will be the ability of attaching simple event detectors to point values, right on the mobile watch list page? And maybe the accompanying event handlers too? That would help us enormously!

      posted in Wishlist
      B
      beci
    • Static rendering (without DWR) for mobile UI

      Hi,

      I have the task to write a simple UI layer which could be used with mobile phones.

      For this, I tried to edit (=dumb down) the WEB-INF/tags/pointComponent.tag, because I thought that the pointComponent.tag is responsible for rendering the actual PointValues. As it seems, only partly: it renders some images, which then will get "overwritten" (or updated) by view.js, ViewDwr. and MiscDwr.**.

      As I understand, the DWR library makes remoting possible. But I'd like to skip that: I don't want any AJAX calls to the server. Rather, I'd like to render a static page with the PointValues already in it. (Yes, continuous updating is not so necessary right now: I'd only like to see the PointValues.)

      For me, the best would be if I could get hold of that DataPoint from the pointComponent.tag with some simple EL expressions, e.g. ${vc.dataPoint.lastValue}.

      Not being able to solve the question above, I tried to write a simple JSP, based on ViewDwr.java. It was something like this:

      
          ViewDao viewDao = new ViewDao(); 
      
          View view = viewDao.getView(4);
      
          List<ViewComponent> viewComponents = view.getViewComponents();
      
          for (ViewComponent vc : viewComponents) {
      
              DataPointVO dp = ((PointComponent)vc).tgetDataPoint();
      
                  String extName = dp.getExtendedName();
      
      

      It kinda works, but it isn't a nice solution. I tried to extract this to a JavaBean, but I wasn't able to import/set up the project in Eclipse. (That might be an other post.) (So no compiling or debugging for me, yet.)

      Actually, I don't even want to write my own beans and JSPs: I'd like to reuse code already written (e.g. pointComponent.tag), but I just can't. Any suggestions?

      Thanks in advance,
      Beci

      posted in Development general discussion
      B
      beci
    • RE: Static rendering (without DWR) for mobile UI

      Hi,

      I have the task to write a simple UI layer which could be used with mobile phones.

      For this, I tried to edit (=dumb down) the WEB-INF/tags/pointComponent.tag, because I thought that the pointComponent.tag is responsible for rendering the actual PointValues. As it seems, only partly: it renders some images, which then will get "overwritten" (or updated) by view.js, ViewDwr. and MiscDwr.**.

      As I understand, the DWR library makes remoting possible. But I'd like to skip that: I don't want any AJAX calls to the server. Rather, I'd like to render a static page with the PointValues already in it. (Yes, continuous updating is not so necessary right now: I'd only like to see the PointValues.)

      For me, the best would be if I could get hold of that DataPoint from the pointComponent.tag with some simple EL expressions, e.g. ${vc.dataPoint.lastValue}.

      Not being able to solve the question above, I tried to write a simple JSP, based on ViewDwr.java. It was something like this:

      
          ViewDao viewDao = new ViewDao(); 
      
          View view = viewDao.getView(4);
      
          List<ViewComponent> viewComponents = view.getViewComponents();
      
          for (ViewComponent vc : viewComponents) {
      
              DataPointVO dp = ((PointComponent)vc).tgetDataPoint();
      
                  String extName = dp.getExtendedName();
      
      

      It kinda works, but it isn't a nice solution. I tried to extract this to a JavaBean, but I wasn't able to import/set up the project in Eclipse. (That might be an other post.) (So no compiling or debugging for me, yet.)

      Actually, I don't even want to write my own beans and JSPs: I'd like to reuse code already written (e.g. pointComponent.tag), but I just can't. Any suggestions?

      Thanks in advance,
      Beci

      posted in Development general discussion
      B
      beci