Custom widgets are not showing in the cq:dialog for touch ui - dialog

Hi I am working on touch ui, and converting the dialogs (page properties, dialog etc) into cq:dialog, normal cq widgets are getting converted automatically using the convertor tool.
We have many custom widgets which we are calling in the dialogs for configuring various page specific properties, these custom widgets are not showing up in the page properties dialog in touch ui mode whereas showing up in normal mode.
Can anyone give any pointers to resolve this issue.

If you have custom widgets created in Classic UI and need support for same in Touch UI, then simple answer is to create those Custom Widgets for Touch UI. Though Touch UI widget library is extensive, so look into library to see if any existing widget will match your requirement in touch ui.

Related

Acumatica Customization (Framework vs ERP) not consistent with TXX guides

I was asked to create a new maint page where data could be added. Just like in the T100 series part1:Maintenance pages. Immediately a few issues arise, why in the Acumatica ERP project I am unable to complete the steps done in the Framework application? I tried to add a new item -> PXgraph option(as described in the instructions) was not available, I couldn’t even add my own c# class from scratch the option was not listed. Instead it just listed page options(will add screenshots below). I attempted to create a new .cs file outside the scope of the project and import it into the file and it wouldn’t recognize it as an available file to import. In the end I attempted to manually drag and drop the file into the Objects folder I wanted the file to be a part of.
VERSUS ERP Add new item
Secondly, I created a new ListView in the page. I was not able to choose my Typename:SO.SOusrPhoneExtMaint.cs file from the list of options. I have rebuilt the project numerous times to see if that was the issue. I manually added the TypeName by going into the source of the aspx and typing it my graph. When I tested the graph I got the following errors that “Invalid type PX.Objects.SO.SOUsrPhoneExtMaint specified for datasource.” My question is why is there a discrepancy between the framework and the erp application for customization and how do I customize the graphs and pages if they don’t take the same approach as the TXX development guides. If I am doing something fundamentally wrong I'd like to know what is the right approach.
I recommend that you use the Customization Project Editor for any customization of Acumatica ERP.
To add a custom form, perform the following actions:
Navigate to the Customization Projects form (SM204505; System > Customization > Manage)
Select an existing customization project or create a new project by clicking "+" on the form toolbar
Click the project name to open the project in the Customization Project Editor
On the navigation pane of the editor, select SCREENS to open the Customized Screens page
On the page, click ADD SCREEN > CREATE NEW SCREEN to open the Create New Screen dialog box
Fill all the required fields and click OK to obtain workable template of your custom form
The New Screen wizard creates the form template and includes it as the following items in the customization project:
two File items - .aspx page code for the new form
a Code item - code template for business logic controller
a Page item - the link to the new page content, which you can further develop by using the Layout Editor
a SiteMapNode item - the site map object of the new form
(For an example see Lesson 11: Creating a Custom Form of the T300 Acumatica Customization Platform Training Guide)
Further you can develop the items by using the tools you prefer.
The custom form will be added to Acumatica ERP after the project is published.

UIAVerify and Inspect are showing different UI elements

I'm trying to get some automated UI testing in place for a legacy MFC application. Using Microsoft's UI Automation library has been really smooth and easy in C# to get tests in place.
The MFC application under test contains a tab control as the "main" root element, and that tab control houses most of the application. There's also a few buttons outside the tab control. From a high level, the UI tree looks like this:
window
-Tab control <- most things live in here
-Button
-Button
-Button
-Button
Tabs are added to the tab control dynamically, but that has not been a problem for UI Automation.
However, there's 2 tabs in the application that do not have any controls listed in UI Automation or UIAVerify. The controls do show up in Inspect. There's nothing special about the problem tabs. They're the same as all the other tabs in the application.
Is there a reason why some parts of an MFC application won't show up in UI Automation or UIAVerify?

How to create navigation menu in JavaFX

I want to create navigation menu like this:
Is this a custom component or it's part of the standard JavaFX platform?
A breadcrumb navigation bar is not part of the JavaFX 2.2 core platform.
I created a feature request for a breadcrumb control against the ControlsFX 3rd party control project.
The image you provided comes from a screen shot of the open source Ensemble application.
Review the Ensemble source code, and see if you can adopt it's code for your application.

Master View in Iphone

I had asp.net back ground and now developing apps for Iphone. I have been wondering is there some thing master view or theme for app as we had master pages for website designing in asp dotnet which make the whole website design generic
thanks
No you really don't have anything similar. You do get two great application templates, the Tab based view or the Navigation based. In the navigation controller certain things follow each view like the style of the navigation bar but that is it.
If you want to use something like PhoneGap and drop that into XCode then use a web based UI framework like jqTouch, then you can have a template :) but that is a completely different application model.
Master View? I'm not sure what you mean by this. You have a Window (UIWindow) that you add Views to (UIView). You only have one window, but are free to have as many Views as you like.
So it depends what you want to add, for example i have a banner that i want at the tope of evert screen. I added the ImageView to the window and scaled the Views so they left the top of the window showing.
If you wanted to add some default behaviour to your Views and or add an image view to every view. You could simply subclass UIViewController and go from there?
If you give a touch more detail about what you want to achieve I'll gladly go into more detail.

how to develop application like LifeRay Control panel

I want to develop an application like LifeRay control panel which has right navigation menu and a page that renders the clicked menu.
My question is how to develop at for example as one portlet or multi portlet taking into considaration (portlet communication)? and how to handle navigation inside portlet?
I'm using Icefaces(JSF) for portlet development and there is a section repeated for other pages(template)
Is there an example in liferay source for this?
Can't you just adjust a theme to have the navigation at the side as opposed to the default (at the top)? This way you'd be developing a plain portal application without any special magic - probably the most intuitive way to go.
Also, others will likely be able to quickly understand what you did and are able to add functionality.

Resources