How to read and understandUrl mapping


#21

Simply put: ignore those written in minilang (xml). We don’t like them either…


#22

so where the real update snipets?


#23

What do you mean? Those are interpreted by java code. There is no “real update snipet” they are the snipets and behave like real scripts.


#24

Hi madppiper, look here. ${uiLabelMap.CommonOrganisation} is uiLabelMap global? If so where does it get assigned values?


#25

Yes, uiLabelMap is global and set by the component. Check the *component,xml to see what Label files it has loaded.


#26

Thank you very much madppiper


#27

I think i have mastered a lot of things so far in scipio, but don’t get bored i am a newbie on scipio. For example i click a link which displays list of accounts. Upon following up the controller it finally leads me to a widget xml file with a form. From the form i have to understand where the data are coming from. I only see the lists of fields. For example take a look at this form

WHERE do data displayed in this form come from


#28

hey madppiper and everyone out there please be informed that i was able to figure out the above query. Thank you.


#29

which component file? there are many component in the system


#30

Whatever component you are working on. So if you are in accounting and want to know what’s accesible in uiLabelmap check the accounting’s component file.


#31

Are the components you are referring to these which are named ofbiz-component? if so why can’t i see anything describing or inferring to uiLabelMap


#32

Ah sorry, my mistake. They are loaded via the components decorator and screens.

Look for entries like these:

            <property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
            <property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
            <property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
            <property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
            <property-map resource="WorkEffortUiLabels" map-name="uiLabelMap" global="true"/>
            <property-map resource="ManufacturingUiLabels" map-name="uiLabelMap" global="true"/>
            <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>

Also: Can we please move subsequent questions unrelated to “urlMapping” to new topics. That would make it easier for others to follow if they have the same questions as you.