With the problems I have been having with jMaki I was starting to think that I was going nuts and simply messing something up. This tag represents a JSP tag handler. When you drag and drop a widget on a page using the plug-in, it does three things: Adds the widget resources to the application. image.handleDrop(fakeDragData); Here is code snippet. Source
The Faith Haven www.thefaithhaven.com Come join us, bookmark us, and enjoy! -------- Original Message -------- Subject: Re: [nbusers] jMaki webtop From: Cathy Mucci <[hidden email]> Date: Thu, June 05, 2008 11:49 Cathy Dru Devore wrote: Cathy, Thanks for the confirmation. Constructs the URL to pass to access the service. You'll see that city plotted on the map. find more
In this example, thisCity subscribes to a /setValues subtopic of the developer-defined parent topic, cb. Comment 2 Jeffrey Rubinoff 2008-11-30 00:49:30 UTC I just tried it on almost the same system, but running Java 1.6.0_07. Mechanisms to perform widget-to-widget communication. Handling Events in the plotCity Application gives the step-by-step instructions for implementing event handling in plotCity.
Available at GitHub. Keep the other settings at their default and Click Next. You can use this attribute to reference a component that serves data to the widget. The widget tag requires you to set a different set of attributes depending on which widget the tag represents.
You'll name the combobox that holds the states thisState, and you'll name the combobox that holds the cities thisCity:
Running TestResourcesTable.jsp produces a web page with the following error: Unable to find widget constructor for jmaki.widjets.dojo.rest.customerstable.Widget Looks like pre-existing error: http://forums.java.net/jive/thread.jspa?messageID=260926 If correct, perhaps the tutorial should mention limitations. Enter a name for the server in the Name field and click Next. I have a very basic page with flicker words, a dojo Table, and the Webtop. Creating the plotCity Project When you complete this task, you'll have a skeleton jMaki application.
Handling Widget Events Project jMaki supports a topic-based publish/subscribe system in which widgets can act as producers or consumers. http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__laij-hi_all_im_trying.html This chapter focuses on using jMaki in a JSP application for the GlassFish v3 application server. Handling Events in the plotCity Application This section details how you can use the publish/subscribe mechanism to handle events by performing the following tasks: Publishing to a topic Writing an Event Cathy Mucci Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: jMaki webtop Dru, You might want to update the
I'm getting error message "Uncaught TypeError: Cannot read property 'removeClass' of null". this contact form Select Restart the IDE Now. Select Plugins. Creating a jMaki Web Application After you complete the following task, the IDE creates a web application with the necessary resources.
Accessing an External Service from a Widget Expand the plotCity > Web Pages node. Sometimes the modules will just appear in the page and sometimes it is stuck to the mouse. 2. Gets the current state from thisState and appends it to the city to construct the location argument. have a peek here name Yes The name of the widget style No The CSS style for this widget.
Save StateBean.java Accessing Data From the Page With this task, you will initialize the combobox widgets with the server-side data. Select the checkbox to indicate you've read the license and click Download V3 Now. Expand the plotCity > Web Pages nodes.
Webtop Menu seems to work okay, but once the Webtop logic is added, everything that should render below this component is not visible. If you put the menu on a page and then the webtop below it you can add modules to the page but then I have found the following with the webtop. Comment 3 _ ludo 2008-11-30 05:09:32 UTC Latest jmaki plugin does not include the 'old' dojo 0.4.3 library... This file acts as the database for the application for simplicity's sake.
Adds the following tag library declaration and widget tag to your page: <%@ taglib prefix="a" uri="http://jmaki/v1.0/jsp" %> ...
Expand the plotCity node and right-click on the Source Packages node. In this system, producers publish messages to topics and consumers receive the messages from topics to which they have subscribed. In the Insert Use Bean dialog box, enter the following values and then click OK. I've been playing around with it a jMaki a bit today and found another problem with the dojo digikit's fisheye constructor (filed as 343).
Whichever method you choose, you need to be sure that you pass the data in JSON format to the widget because this is what all the jMaki widgets expect.