Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/common/config/CommonUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/common/config/CommonUiLabels.xml?rev=1654682&r1=1654681&r2=1654682&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/common/config/CommonUiLabels.xml (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/common/config/CommonUiLabels.xml Sun Jan 25 18:31:01 2015 @@ -18,6 +18,7 @@ under the License. --> <resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-properties.xsd"> + <property key="Accounting - AP"> <value xml:lang="cs">Závazky</value> <value xml:lang="de">Kreditoren</value> @@ -34,6 +35,7 @@ <value xml:lang="zh">åºä»è´¦æ·</value> <value xml:lang="zh-TW">æä»å¸³æ¬¾</value> </property> + <property key="Accounting - AR"> <value xml:lang="cs">Pohledávky</value> <value xml:lang="de">Debitoren</value> @@ -1908,7 +1910,7 @@ <value xml:lang="hi-IN">पà¥à¤°à¥à¤£</value> <value xml:lang="it">Completato</value> <value xml:lang="ja">å®äº</value> - <value xml:lang="nl">Volledig</value> + <value xml:lang="nl">Gereed</value> <value xml:lang="pt">Completo</value> <value xml:lang="pt-BR">ConcluÃda</value> <value xml:lang="ro">Completat</value> @@ -1956,11 +1958,12 @@ </property> <property key="CommonConfirm"> <value xml:lang="cs">Potvrzujete ?</value> - <value xml:lang="en">Do you confirm ?</value> + <value xml:lang="en">Do you confirm?</value> <value xml:lang="es">¿Está seguro?</value> <value xml:lang="fr">Vous confirmez ?</value> <value xml:lang="it">Confermi ?</value> <value xml:lang="ja">確èªãã¾ããã?</value> + <value xml:lang="nl">Bevestigen?</value> <value xml:lang="pt-BR">Você confirma?</value> <value xml:lang="ru">ÐÑ Ð¿Ð¾Ð´ÑвеÑждаеÑе?</value> <value xml:lang="vi">Bạn có xác nháºn không?</value> @@ -2014,7 +2017,7 @@ <value xml:lang="hi-IN">सà¤à¤ªà¤°à¥à¤ याà¤à¤¤à¥à¤°à¤¿à¤ à¤à¥à¤°à¤®à¤¾à¤à¤(ContactMechId)</value> <value xml:lang="it">Contatto</value> <value xml:lang="ja">åãåããæ¹æ³ID</value> - <value xml:lang="nl">Kontact Mech Nr</value> + <value xml:lang="nl">Contact Mech ID</value> <value xml:lang="pt">ContactMechId</value> <value xml:lang="pt-BR">Código de mecanismo de contato (ContactMechId)</value> <value xml:lang="ro">Contact</value> @@ -2307,6 +2310,10 @@ <value xml:lang="zh-CN">å¿å¸</value> <value xml:lang="zh-TW">縣å</value> </property> + <property key="CommonCost"> + <value xml:lang="en">Cost</value> + <value xml:lang="nl">Kosten</value> + </property> <property key="CommonCreate"> <value xml:lang="ar">Ø§Ø³ØªØØ¯Ø§Ø«</value> <value xml:lang="cs">Založit</value> @@ -3580,6 +3587,33 @@ <value xml:lang="zh">æäº¤è¡¨åæ¶åçäºä¸ä¸ªé误ã</value> <value xml:lang="zh-TW">æäº¤è¡¨å®æç¼çäºä¸åé¯èª¤.</value> </property> + <property key="CommonEstimatedCompletionDate"> + <value xml:lang="de">Soll-Enddatum</value> + <value xml:lang="en">Estimated Completion Date</value> + <value xml:lang="fr">Date estimée d'achèvement</value> + <value xml:lang="it">Data completamento stimata</value> + <value xml:lang="ja">äºå®å®äºæ¥</value> + <value xml:lang="nl">Gepl. datum afgerond</value> + <value xml:lang="ro">Data Terminare Stimata</value> + <value xml:lang="th">วัà¸à¸à¸µà¹à¸ªà¸³à¹à¸£à¹à¸à¸à¸£à¸°à¸¡à¸²à¸</value> + <value xml:lang="vi">Ngà y hoà n thà nh dá»± tÃnh</value> + <value xml:lang="zh">é¢è®¡å®ææ¥æ</value> + <value xml:lang="zh-TW">é è¨å®ææ¥æ</value> + </property> + <property key="CommonEstimatedStartDate"> + <value xml:lang="de">Soll-Anfangsdatum</value> + <value xml:lang="en">Estimated Start Date</value> + <value xml:lang="es">Fecha de comienzo estimada</value> + <value xml:lang="fr">Date estimée de début</value> + <value xml:lang="it">Data inizio stimata</value> + <value xml:lang="ja">äºå®éå§æ¥</value> + <value xml:lang="nl">Datum start</value> + <value xml:lang="ro">Data Initiere Stimata</value> + <value xml:lang="th">วัà¸à¸à¸µà¹à¹à¸£à¸´à¹à¸¡à¸à¸£à¸°à¸¡à¸²à¸</value> + <value xml:lang="vi">Ngà y bắt Äầu dá»± tÃnh</value> + <value xml:lang="zh">é¢è®¡å¼å§æ¥æ</value> + <value xml:lang="zh-TW">é è¨éå§æ¥æ</value> + </property> <property key="CommonEventDate"> <value xml:lang="ar">ØªØ§Ø±ÙØ® Ø§ÙØØ¯Ø«</value> <value xml:lang="cs">Datum konánÃ</value> @@ -4988,6 +5022,7 @@ <value xml:lang="hi-IN">पà¤à¤¡à¤¼à¤¾</value> <value xml:lang="it">Congelati</value> <value xml:lang="ja">ä¿ç</value> + <value xml:lang="nl">Geblokkeerd</value> <value xml:lang="pt">Preso/Bloqueado</value> <value xml:lang="pt-BR">Suspenso</value> <value xml:lang="ru">ÐÑиоÑÑановленнÑе</value> @@ -5115,6 +5150,15 @@ <value xml:lang="zh">æ¯å°æ¶</value> <value xml:lang="zh-TW">æ¯å°æ</value> </property> + <property key="CommonHours"> + <value xml:lang="de">Stunden</value> + <value xml:lang="en">Hours</value> + <value xml:lang="es">Hora</value> + <value xml:lang="fr">Heure</value> + <value xml:lang="it">Ora</value> + <value xml:lang="ja">æé</value> + <value xml:lang="nl">Uren</value> + </property> <property key="CommonId"> <value xml:lang="ar">دÙÙÙ</value> <value xml:lang="en">ID</value> @@ -5816,6 +5860,10 @@ <value xml:lang="zh">æ¬å°å</value> <value xml:lang="zh-TW">ç¶å°èªç³»å</value> </property> + <property key="CommonLocation"> + <value xml:lang="en">Location</value> + <value xml:lang="nl">Locatie</value> + </property> <property key="CommonLogin"> <value xml:lang="ar">دخÙÙ</value> <value xml:lang="cs">PÅihlásit</value> @@ -6023,7 +6071,7 @@ <value xml:lang="hi-IN">मà¥à¤à¥à¤¯</value> <value xml:lang="it">Pagina principale</value> <value xml:lang="ja">ã¡ã¤ã³</value> - <value xml:lang="nl">HoofdMenu</value> + <value xml:lang="nl">Hoofdmenu</value> <value xml:lang="pt">InÃcio</value> <value xml:lang="pt-BR">Principal</value> <value xml:lang="pt-PT">Entrada</value> @@ -6084,14 +6132,12 @@ <property key="CommonManager"> <value xml:lang="ar">Ù Ø¯ÙØ±</value> <value xml:lang="cs">Správce</value> - <value xml:lang="de">Manager</value> <value xml:lang="en">Manager</value> <value xml:lang="es">Administrador</value> <value xml:lang="fr">Responsable</value> <value xml:lang="hi-IN">पà¥à¤°à¤¬à¤à¤§à¤</value> <value xml:lang="it">Responsabile</value> <value xml:lang="ja">管çè </value> - <value xml:lang="nl">Manager</value> <value xml:lang="pt">Gerente</value> <value xml:lang="ro">Manager</value> <value xml:lang="ru">ÐенеджеÑ</value> @@ -7427,7 +7473,7 @@ <value xml:lang="hi-IN">नà¥à¤à¥à¤¸</value> <value xml:lang="it">Note</value> <value xml:lang="ja">é£çµ¡</value> - <value xml:lang="nl">Nota's</value> + <value xml:lang="nl">Notities</value> <value xml:lang="pt">Notas</value> <value xml:lang="ro">Note</value> <value xml:lang="ru">ÐамеÑки</value> @@ -7771,7 +7817,7 @@ <value xml:lang="hi-IN">à¤à¤¦à¥à¤¶</value> <value xml:lang="it">Ordine</value> <value xml:lang="ja">注æ</value> - <value xml:lang="nl">Bestelling</value> + <value xml:lang="nl">Order</value> <value xml:lang="pt">Ordenar</value> <value xml:lang="pt-BR">Pedido</value> <value xml:lang="ro">Comanda</value> @@ -7792,7 +7838,7 @@ <value xml:lang="hi-IN">à¤à¤¦à¥à¤¶ सà¥</value> <value xml:lang="it">Ordinato da</value> <value xml:lang="ja">並ã³é </value> - <value xml:lang="nl">Bestelling Door</value> + <value xml:lang="nl">Order Door</value> <value xml:lang="pt">Ordenar Por</value> <value xml:lang="ro">Comandat de la</value> <value xml:lang="ru">СоÑÑиÑовка</value> @@ -7812,7 +7858,7 @@ <value xml:lang="hi-IN">à¤à¤¦à¥à¤¶</value> <value xml:lang="it">Ordini</value> <value xml:lang="ja">注æ</value> - <value xml:lang="nl">Bestellingen</value> + <value xml:lang="nl">Orders</value> <value xml:lang="pt">Encomendas</value> <value xml:lang="pt-BR">Pedidos</value> <value xml:lang="ro">Comenzi</value> @@ -7888,6 +7934,10 @@ <value xml:lang="zh">æ¦è§</value> <value xml:lang="zh-TW">æ¦è¦½</value> </property> + <property key="CommonOwner"> + <value xml:lang="en">Owner</value> + <value xml:lang="nl">Eigenaar</value> + </property> <property key="CommonPage"> <value xml:lang="ar">ØµÙØØ©</value> <value xml:lang="cs">Strana</value> @@ -8142,6 +8192,10 @@ <value xml:lang="zh-CN">æ§è¡</value> <value xml:lang="zh-TW">å·è¡</value> </property> + <property key="CommonPeriod"> + <value xml:lang="en">Period</value> + <value xml:lang="nl">Periode</value> + </property> <property key="CommonPermissionError"> <value xml:lang="ar">خطأ ÙÙ Ø§ÙØ±Ø®ØµØ©</value> <value xml:lang="cs">Chyba oprávnÄnÃ</value> @@ -8556,13 +8610,14 @@ <property key="CommonPrint"> <value xml:lang="ar">ÙØ³Ø®</value> <value xml:lang="cs">Tisk</value> - <value xml:lang="de">Drucken</value> - <value xml:lang="en">Print</value> + <value xml:lang="de">Drucken (PDF)</value> + <value xml:lang="en">Print (PDF)</value> <value xml:lang="es">Imprimir</value> <value xml:lang="fr">Imprimer</value> <value xml:lang="hi-IN">पà¥à¤°à¤¿à¤à¤</value> <value xml:lang="it">Stampa</value> <value xml:lang="ja">å°å·</value> + <value xml:lang="nl">Afdrukken (PDF)</value> <value xml:lang="pt">Imprimir</value> <value xml:lang="ro">Tipareste</value> <value xml:lang="ru">ÐеÑаÑÑ</value> @@ -8571,6 +8626,42 @@ <value xml:lang="zh">æå°</value> <value xml:lang="zh-TW">åå°</value> </property> + <property key="CommonPrice"> + <value xml:lang="en">Price</value> + <value xml:lang="nl">Prijs</value> + </property> + <property key="CommonPrices"> + <value xml:lang="en">Prices</value> + <value xml:lang="nl">Prijzen</value> + </property> + <property key="CommonAdjustment"> + <value xml:lang="en">Adjustment</value> + <value xml:lang="nl">Aanpassing</value> + </property> + <property key="CommonAdjustments"> + <value xml:lang="en">Adjustments</value> + <value xml:lang="nl">Aanpassingen</value> + </property> + <property key="CommonAttribute"> + <value xml:lang="en">Attribute</value> + <value xml:lang="nl">Attribuut</value> + </property> + <property key="CommonAttributes"> + <value xml:lang="en">Attributes</value> + <value xml:lang="nl">Attritbuten</value> + </property> + <property key="CommonWorkEffort"> + <value xml:lang="en">Work Effort</value> + <value xml:lang="nl">Activiteit</value> + </property> + <property key="CommonWorkEfforts"> + <value xml:lang="en">Work Effort</value> + <value xml:lang="nl">Activiteiten</value> + </property> + <property key="CommonProfit"> + <value xml:lang="en">Profit</value> + <value xml:lang="nl">Winst</value> + </property> <property key="CommonPrinterFriendly"> <value xml:lang="cs">Tisk</value> <value xml:lang="de">Druckansicht</value> @@ -8616,7 +8707,7 @@ <value xml:lang="hi-IN">पà¥à¤°à¤¸à¤à¤¸à¥à¤à¤°à¤£</value> <value xml:lang="it">In esecuzione</value> <value xml:lang="ja">å¦çä¸</value> - <value xml:lang="nl">aan het Uitvoeren</value> + <value xml:lang="nl">In uitvoering</value> <value xml:lang="pt">Em processamento</value> <value xml:lang="ro">In Executie</value> <value xml:lang="ru">Ð ÑабоÑе</value> @@ -8626,6 +8717,10 @@ <value xml:lang="zh-CN">å¤çä¸</value> <value xml:lang="zh-TW">èçä¸</value> </property> + <property key="CommonProduct"> + <value xml:lang="en">Product</value> + <value xml:lang="nl">Product</value> + </property> <property key="CommonProfile"> <value xml:lang="ar">خصائص</value> <value xml:lang="cs">Profil</value> @@ -8892,6 +8987,10 @@ <value xml:lang="zh-CN">å¿«éæ·»å å°è´ç©å表</value> <value xml:lang="zh-TW">å¿«éå¢å å°è³¼ç©æ¸ å®</value> </property> + <property key="CommonQuote"> + <value xml:lang="en">Quote</value> + <value xml:lang="nl">Offerte</value> + </property> <property key="CommonRate"> <value xml:lang="ar">اÙÙØ³Ø¨Ø©</value> <value xml:lang="cs">Sazba</value> @@ -8963,6 +9062,7 @@ <value xml:lang="hi-IN">à¤à¤¾à¤°à¤£</value> <value xml:lang="it">Motivazione</value> <value xml:lang="ja">çç±</value> + <value xml:lang="nl">Reden</value> <value xml:lang="pt-BR">Razão</value> <value xml:lang="ru">ÐÑиÑина</value> <value xml:lang="vi">Lý do</value> @@ -9129,6 +9229,10 @@ <value xml:lang="zh-CN">æç»</value> <value xml:lang="zh-TW">å·²æçµ</value> </property> + <property key="CommonRelation"> + <value xml:lang="en">Relation</value> + <value xml:lang="nl">Relatie</value> + </property> <property key="CommonRelatedInformation"> <value xml:lang="cs">SouvisejÃcà informace</value> <value xml:lang="de">Ãhnliche Informationen</value> @@ -9151,6 +9255,7 @@ <value xml:lang="es">Distribución</value> <value xml:lang="fr">Distribution</value> <value xml:lang="ja">ãªãªã¼ã¹</value> + <value xml:lang="nl">Release</value> <value xml:lang="ru">Релиз</value> <value xml:lang="vi">Ban hà nh</value> <value xml:lang="zh">åå¸</value> @@ -9163,6 +9268,7 @@ <value xml:lang="es">Fecha distribución</value> <value xml:lang="fr">Date de distribution</value> <value xml:lang="ja">ãªãªã¼ã¹æ¥</value> + <value xml:lang="nl">Release-datum</value> <value xml:lang="pt-BR">Data de Lançamento</value> <value xml:lang="ru">ÐаÑа Ñелиза</value> <value xml:lang="vi">Ngà y ban hà nh</value> @@ -9298,6 +9404,10 @@ <value xml:lang="zh">éæ°æ¥è¯¢</value> <value xml:lang="zh-TW">åæ¥è©¢</value> </property> + <property key="CommonRequest"> + <value xml:lang="en">Request</value> + <value xml:lang="nl">Verzoek</value> + </property> <property key="CommonRequired"> <value xml:lang="ar">Ø¥ÙØ²Ø§Ù Ù</value> <value xml:lang="cs">Požadováno</value> @@ -9459,6 +9569,14 @@ <value xml:lang="zh-CN">è¯è®º</value> <value xml:lang="zh-TW">è©è«</value> </property> + <property key="CommonRole"> + <value xml:lang="en">Role</value> + <value xml:lang="nl">Rol</value> + </property> + <property key="CommonRoles"> + <value xml:lang="en">Roles</value> + <value xml:lang="nl">Rollen</value> + </property> <property key="CommonRouting"> <value xml:lang="ar">ØªÙ Ø±ÙØ±</value> <value xml:lang="cs">SmÄrovánÃ</value> @@ -10080,6 +10198,10 @@ <value xml:lang="zh-CN">åºåç¼å·</value> <value xml:lang="zh-TW">åºèæ¸</value> </property> + <property key="CommonSeqId"> + <value xml:lang="en">Sequence Id</value> + <value xml:lang="nl">Volg ID</value> + </property> <property key="CommonServerHour"> <value xml:lang="en">Server Hour</value> <value xml:lang="fr">Heure du serveur </value> @@ -10183,6 +10305,10 @@ <value xml:lang="zh-CN">(å¦æä¸ºç©ºå°±æå½åæ¥æèµå¼)</value> <value xml:lang="zh-TW">(妿æ¯ç©ºå¼,å°è¨å®çºç®åæé)</value> </property> + <property key="CommonShipment"> + <value xml:lang="en">Shipment</value> + <value xml:lang="nl">Zending</value> + </property> <property key="CommonShipping"> <value xml:lang="cs">Doprava</value> <value xml:lang="de">Versand</value> @@ -10739,6 +10865,7 @@ <value xml:lang="hi-IN">साराà¤à¤¶</value> <value xml:lang="it">Sommario</value> <value xml:lang="ja">åè¨</value> + <value xml:lang="nl">Samenvatting</value> <value xml:lang="pt-BR">Resumo</value> <value xml:lang="ru">РезÑме</value> <value xml:lang="vi">Tóm lược</value> @@ -10910,6 +11037,16 @@ <value xml:lang="zh">æ¿ç§äººä»£è</value> <value xml:lang="zh-TW">æ¿ç§äººèå¥</value> </property> + <property key="CommonTerm"> + <value xml:lang="en">Term</value> + <value xml:lang="nl">Conditie</value> + </property> + + <property key="CommonTerms"> + <value xml:lang="en">Terms</value> + <value xml:lang="nl">Condities</value> + </property> + <property key="CommonTest"> <value xml:lang="ar">إختبار</value> <value xml:lang="cs">Test</value> @@ -11048,7 +11185,7 @@ <value xml:lang="hi-IN">तà¤</value> <value xml:lang="it">Fino a </value> <value xml:lang="ja">çµäº</value> - <value xml:lang="nl">tot</value> + <value xml:lang="nl">Tot</value> <value xml:lang="pt">Até</value> <value xml:lang="ro">Pina la </value> <value xml:lang="ru">Ðо</value> @@ -12070,7 +12207,7 @@ <value xml:lang="ru">ÐоÑÑÑп к ÑÑÐ¾Ð¼Ñ Ð²Ð¸Ð´Ñ - запÑеÑен</value> <value xml:lang="vi">Quyá»n truy cáºp tá»i giao diá»n nà y hiá»n Äã bá» khoá</value> <value xml:lang="zh">å·²ç»ç¦æ¢è®¿é®è¿ä¸ªçé¢äºã</value> - <value xml:lang="zh_-TW">å·²ç¶ç¦æ¢è¨ªåéåæª¢è¦äº.</value> + <value xml:lang="zh-TW">å·²ç¶ç¦æ¢è¨ªåéåæª¢è¦äº.</value> </property> <property key="CommonViewCalendar"> <value xml:lang="ar">Ù Ø´Ø§ÙØ¯Ø© Ø§ÙØ±Ø²Ù Ø§ÙØ©</value> @@ -13070,7 +13207,7 @@ <value xml:lang="hi-IN">दà¥à¤µà¤¾à¤°à¤¾ बनाया à¤à¤¯à¤¾</value> <value xml:lang="it">Creato da</value> <value xml:lang="ja">使è </value> - <value xml:lang="nl">Aangemaakt door By</value> + <value xml:lang="nl">Door gebruiker</value> <value xml:lang="pt-BR">Criado por</value> <value xml:lang="ro">Creat De</value> <value xml:lang="ru">Создан</value> @@ -13083,13 +13220,13 @@ <value xml:lang="ar">Ø§Ø³ØªØØ¯Ø« ٠٠طر٠اÙ٠ستخد٠</value> <value xml:lang="cs">VytvoÅeno uživatelem s loginem</value> <value xml:lang="de">Erstellt von Benutzer</value> - <value xml:lang="en">Created By User Login</value> + <value xml:lang="en">Created By User</value> <value xml:lang="es">Creado por usuario</value> <value xml:lang="fr">Créé par l'identifiant de connexion</value> <value xml:lang="hi-IN">à¤à¤ªà¤¯à¥à¤à¤à¤°à¥à¤¤à¤¾ लà¥à¤à¤¿à¤¨ दà¥à¤µà¤¾à¤°à¤¾ निरà¥à¤®à¤¿à¤¤</value> <value xml:lang="it">Creato dall'utente</value> <value xml:lang="ja">使ã¦ã¼ã¶</value> - <value xml:lang="nl">Aangemaakt door ingelogde gebruiker</value> + <value xml:lang="nl">Door gebruiker</value> <value xml:lang="pt-BR">Criado através de um login de usuário</value> <value xml:lang="ro">Creiat De Utilizator</value> <value xml:lang="ru">Создано (Ð¸Ð¼Ñ Ð²Ñ Ð¾Ð´Ð°)</value> @@ -13403,13 +13540,13 @@ <value xml:lang="ar">آخر تغÙÙØ± ٠٠طر٠اÙ٠ستخد٠</value> <value xml:lang="cs">Naposledy zmÄnÄno uživatelem s loginem</value> <value xml:lang="de">Zuletzt geändert von Benutzer</value> - <value xml:lang="en">Last Modified By User Login</value> + <value xml:lang="en">Last Modified By User</value> <value xml:lang="es">Ãltima modificación por usuario</value> <value xml:lang="fr">Modification en dernier par l'identifiant de connexion</value> <value xml:lang="hi-IN">à¤à¤ªà¤¯à¥à¤à¤à¤°à¥à¤¤à¤¾ लà¥à¤à¤¿à¤¨ दà¥à¤µà¤¾à¤°à¤¾ ठà¤à¤¤à¤¿à¤® बार सà¤à¤¶à¥à¤§à¤¿à¤¤</value> <value xml:lang="it">Ultima modifica dell'utente</value> <value xml:lang="ja">æçµæ´æ°ã¦ã¼ã¶</value> - <value xml:lang="nl">Laatste wijziging door gebruiker</value> + <value xml:lang="nl">Door gebruiker</value> <value xml:lang="pt-BR">Ãltima modificação pelo login de Usuário</value> <value xml:lang="ro">Ultima Modificare Utilizator</value> <value xml:lang="ru">ÐоÑледнее изменение полÑзоваÑелем</value> @@ -13428,7 +13565,7 @@ <value xml:lang="hi-IN">ठà¤à¤¤à¤¿à¤® बार सà¤à¤¶à¥à¤§à¤¿à¤¤ दिनाà¤à¤</value> <value xml:lang="it">Data ultima modifica</value> <value xml:lang="ja">æçµæ´æ°æ¥</value> - <value xml:lang="nl">Laatste wijziging op</value> + <value xml:lang="nl">Laatste wijziging</value> <value xml:lang="pt-BR">Data da última modificação</value> <value xml:lang="ro">Data Ultimei Modificari</value> <value xml:lang="ru">ÐаÑа поÑледнего изменениÑ</value> @@ -13495,6 +13632,7 @@ <value xml:lang="hi-IN">à¤à¤ªà¤¯à¥à¤à¤à¤°à¥à¤¤à¤¾ लà¥à¤à¤¿à¤¨ à¤à¥à¤°à¤®à¤¾à¤à¤ दà¥à¤µà¤¾à¤°à¤¾ सà¤à¤¶à¥à¤§à¤¿à¤¤</value> <value xml:lang="it">Modificato dall'utente</value> <value xml:lang="ja">æ´æ°ã¦ã¼ã¶ID</value> + <value xml:lang="nl">Aangepast door</value> <value xml:lang="pt-BR">Modificado por Login de usuário Id</value> <value xml:lang="ru">ÐодиÑиÑиÑованно полÑзоваÑелем ID</value> <value xml:lang="vi">Chá»nh sá»a bá»i ngưá»i dùng ÄÄng nháºp</value> @@ -13716,6 +13854,7 @@ <value xml:lang="hi-IN">à¤à¥à¤°à¤® सà¤à¤à¥à¤¯à¤¾</value> <value xml:lang="it">Numero sequenza</value> <value xml:lang="ja">é£çª</value> + <value xml:lang="nl">Volgno.</value> <value xml:lang="pt">Número de Sequência</value> <value xml:lang="pt-BR">Nº de Seqüência</value> <value xml:lang="ro">Num. Secventa</value> @@ -13847,7 +13986,7 @@ <value xml:lang="hi-IN">माप à¤à¥ à¤à¤à¤¾à¤</value> <value xml:lang="it">Udm</value> <value xml:lang="ja">åä½</value> - <value xml:lang="nl">Valuta</value> + <value xml:lang="nl">UoM</value> <value xml:lang="pt">UOM</value> <value xml:lang="pt-BR">UDM</value> <value xml:lang="ro">Udm</value> @@ -14032,7 +14171,7 @@ <value xml:lang="hi-IN">à¤à¤¦à¥à¤¶</value> <value xml:lang="it">Ordini</value> <value xml:lang="ja">注æ</value> - <value xml:lang="nl">Bestelling</value> + <value xml:lang="nl">Order</value> <value xml:lang="pt">Encomenda</value> <value xml:lang="pt-BR">Pedido</value> <value xml:lang="ro">Comenzi</value> @@ -14826,4 +14965,6 @@ <value xml:lang="zh-CN">䏿</value> <value xml:lang="zh-TW">䏿</value> </property> + + </resource> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/config/WebtoolsUiLabels.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/config/WebtoolsUiLabels.xml?rev=1654682&r1=1654681&r2=1654682&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/config/WebtoolsUiLabels.xml (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/config/WebtoolsUiLabels.xml Sun Jan 25 18:31:01 2015 @@ -565,16 +565,6 @@ <value xml:lang="zh">æ¥æ¾ä»»å¡</value> <value xml:lang="zh-TW">å°æ¾ä»»å</value> </property> - <property key="PageTitleFindPortalPage"> - <value xml:lang="en">Find Portal page</value> - <value xml:lang="fr">Rech. page portail</value> - <value xml:lang="it">Ricerca pagine portale</value> - <value xml:lang="ja">ãã¼ã¿ã«ãã¼ã¸ãæ¤ç´¢</value> - <value xml:lang="pt">Encontrar a página do Portal</value> - <value xml:lang="vi">Tìm trang Cá»ng thông tin</value> - <value xml:lang="zh">æ¥æ¾é¨æ·é¡µé¢</value> - <value xml:lang="zh-TW">æ¥è©¢å ¥å£ç¶²é </value> - </property> <property key="PageTitleFindUtilCache"> <value xml:lang="de">Cache Wartungsseite</value> <value xml:lang="en">Cache Maintenance Page</value> @@ -801,14 +791,6 @@ <value xml:lang="zh">è°æ´è°è¯çº§å«</value> <value xml:lang="zh-TW">調æ´åµé¯ç´å¥</value> </property> - <property key="WebtoolsAdminPortalPage"> - <value xml:lang="en">Portal page Admin.</value> - <value xml:lang="fr">Admin. Page portail</value> - <value xml:lang="ja">ãã¼ã¿ã«ãã¼ã¸ã®ç®¡ç</value> - <value xml:lang="vi">Quản trá» Cá»ng thông tin</value> - <value xml:lang="zh">鍿·é¡µé¢ç®¡ç</value> - <value xml:lang="zh-TW">å ¥å£ç¶²é é¢ç®¡ç</value> - </property> <property key="WebtoolsAdministration"> <value xml:lang="de">Administration</value> <value xml:lang="en">Administration</value> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/data/helpdata/HELP_WEBTOOLS_main.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/data/helpdata/HELP_WEBTOOLS_main.xml?rev=1654682&r1=1654681&r2=1654682&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/data/helpdata/HELP_WEBTOOLS_main.xml (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/data/helpdata/HELP_WEBTOOLS_main.xml Sun Jan 25 18:31:01 2015 @@ -44,8 +44,5 @@ License. <listitem> <para>The <link xl:href="">Configuration</link> section is used to set parameters for the OFBiz system.</para> </listitem> - <listitem> - <para>The <link xl:href="">Portal Page Admin.</link> section is used to browse and edit all Portal Pages defined in the system.</para> - </listitem> </itemizedlist> </section> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/src/org/ofbiz/webtools/artifactinfo/FormWidgetArtifactInfo.java URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/src/org/ofbiz/webtools/artifactinfo/FormWidgetArtifactInfo.java?rev=1654682&r1=1654681&r2=1654682&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/src/org/ofbiz/webtools/artifactinfo/FormWidgetArtifactInfo.java (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/src/org/ofbiz/webtools/artifactinfo/FormWidgetArtifactInfo.java Sun Jan 25 18:31:01 2015 @@ -33,7 +33,7 @@ import org.ofbiz.base.util.UtilMisc; import org.ofbiz.base.util.UtilURL; import org.ofbiz.widget.artifact.ArtifactInfoContext; import org.ofbiz.widget.artifact.ArtifactInfoGatherer; -import org.ofbiz.widget.model.ModelForm; +import org.ofbiz.widget.model.*; import org.xml.sax.SAXException; /** @@ -73,7 +73,11 @@ public class FormWidgetArtifactInfo exte ArtifactInfoContext infoContext = new ArtifactInfoContext(); ArtifactInfoGatherer infoGatherer = new ArtifactInfoGatherer(infoContext); try { - infoGatherer.visit(this.modelForm); + if (this.modelForm instanceof ModelSingleForm) { + infoGatherer.visit((ModelSingleForm) this.modelForm); + } else { + infoGatherer.visit((ModelGrid) this.modelForm); + } } catch (Exception e) { throw new GeneralException(e); } Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/webapp/webtools/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/webapp/webtools/WEB-INF/controller.xml?rev=1654682&r1=1654681&r2=1654682&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/webapp/webtools/WEB-INF/controller.xml (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/webapp/webtools/WEB-INF/controller.xml Sun Jan 25 18:31:01 2015 @@ -541,37 +541,6 @@ under the License. <response name="success" type="view" value="findTemporalExpression"/> </request-map> - <!-- PortalPage administration --> - <request-map uri="FindPortalPage"> - <security https="true" auth="true"/> - <response name="success" type="view" value="FindPortalPage"/> - </request-map> - <request-map uri="EditPortalPage"> - <security https="true" auth="true"/> - <response name="success" type="view" value="EditPortalPage"/> - </request-map> - <request-map uri="DuplicatePortalPage"> - <security https="true" auth="true"/> - <event type="simple" invoke="duplicatePortalPage" path="component://common/script/org/ofbiz/common/PortalPageMethods.xml"/> - <response name="success" type="view" value="EditPortalPage"/> - </request-map> - <request-map uri="NewPortalPage"> - <security https="true" auth="true"/> - <response name="success" type="view" value="CreatePortalPage"/> - </request-map> - <request-map uri="createPortalPageAdm"> - <security https="true" auth="true"/> - <event type="service" invoke="createPortalPage"/> - <response name="success" type="view" value="EditPortalPage"/> - <response name="error" type="view" value="CreatePortalPage"/> - </request-map> - <request-map uri="updatePortalPageAdm"> - <security https="true" auth="true"/> - <event type="service" invoke="updatePortalPage"/> - <response name="success" type="view" value="EditPortalPage"/> - <response name="error" type="view" value="EditPortalPage"/> - </request-map> - <!-- Geo Management --> <request-map uri="FindGeo"><security https="true" auth="true"/><response name="success" type="view" value="FindGeo" save-home-view="true"/></request-map> <request-map uri="EditGeo"><security https="true" auth="true"/><response name="success" type="view" value="EditGeo"/></request-map> @@ -701,11 +670,6 @@ under the License. <view-map name="editTemporalExpression" type="screen" page="component://webtools/widget/TempExprScreens.xml#EditTemporalExpression"/> <view-map name="findTemporalExpression" type="screen" page="component://webtools/widget/TempExprScreens.xml#FindTemporalExpression"/> - <!-- PortalPage administration --> - <view-map name="FindPortalPage" type="screen" page="component://webtools/widget/PortalAdmScreens.xml#FindPortalPage"/> - <view-map name="CreatePortalPage" type="screen" page="component://webtools/widget/PortalAdmScreens.xml#CreatePortalPage"/> - <view-map name="EditPortalPage" type="screen" page="component://webtools/widget/PortalAdmScreens.xml#EditPortalPage"/> - <!-- Geo Management --> <view-map name="FindGeo" type="screen" page="component://webtools/widget/GeoManagementScreens.xml#FindGeo"/> <view-map name="EditGeo" type="screen" page="component://webtools/widget/GeoManagementScreens.xml#EditGeo"/> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/webapp/webtools/main.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/webapp/webtools/main.ftl?rev=1654682&r1=1654681&r2=1654682&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/webapp/webtools/main.ftl (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/webapp/webtools/main.ftl Sun Jan 25 18:31:01 2015 @@ -96,7 +96,6 @@ under the License. </#if> <li><h3>${uiLabelMap.WebtoolsMiscSetupTools}</h3></li> <#if security.hasPermission("PORTALPAGE_ADMIN", session)> - <li><a href="<@ofbizUrl>FindPortalPage</@ofbizUrl>">${uiLabelMap.WebtoolsAdminPortalPage}</a></li> <li><a href="<@ofbizUrl>FindGeo</@ofbizUrl>">${uiLabelMap.WebtoolsGeoManagement}</a></li> <li><a href="<@ofbizUrl>WebtoolsLayoutDemo</@ofbizUrl>">${uiLabelMap.WebtoolsLayoutDemo}</a></li> </#if> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/widget/Menus.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/widget/Menus.xml?rev=1654682&r1=1654681&r2=1654682&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/widget/Menus.xml (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/webtools/widget/Menus.xml Sun Jan 25 18:31:01 2015 @@ -47,10 +47,6 @@ under the License. </menu-item> <menu-item name="geoManagement" title="${uiLabelMap.WebtoolsGeoManagement}"> <link target="FindGeo"/> - </menu-item> - <menu-item name="portalAdmin" title="${uiLabelMap.WebtoolsAdminPortalPage}"> - <condition><if-has-permission permission="PORTALPAGE_ADMIN"/></condition> - <link target="FindPortalPage"/> </menu-item> <menu-item name="security" title="${uiLabelMap.CommonSecurity}"> <condition> @@ -203,22 +199,6 @@ under the License. </menu-item> </menu> - <menu name="PortalPageAdmin"> - <menu-item name="duplicate" title="${uiLabelMap.CommonDuplicate}"> - <link target="DuplicatePortalPage"> - <parameter param-name="portalPageId" from-field="parameters.portalPageId"/> - </link> - </menu-item> - <menu-item name="new" title="${uiLabelMap.CommonNew}"> - <link target="NewPortalPage"/> - </menu-item> - <menu-item name="refresh" title="${uiLabelMap.CommonRefresh}"> - <link target="EditPortalPage"> - <parameter param-name="portalPageId" from-field="parameters.portalPageId"/> - </link> - </menu-item> - </menu> - <menu name="StatsTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml" selected-menuitem-context-field-name="tabButtonItem"> <menu-item name="stats" title="${uiLabelMap.WebtoolsStatistics}"> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/widget/dtd/widget-form.xsd URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/widget/dtd/widget-form.xsd?rev=1654682&r1=1654681&r2=1654682&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/widget/dtd/widget-form.xsd (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/widget/dtd/widget-form.xsd Sun Jan 25 18:31:01 2015 @@ -23,12 +23,273 @@ under the License. <!-- ================== FORMS ==================== --> <xs:element name="forms"> <xs:complexType> + <xs:choice maxOccurs="unbounded"> + <xs:element ref="form"/> + <xs:element ref="grid"/> + </xs:choice> + </xs:complexType> + </xs:element> + <xs:element name="form"> + <xs:complexType> <xs:sequence> - <xs:element maxOccurs="unbounded" ref="form"/> + <xs:element minOccurs="0" ref="actions" /> + <xs:element minOccurs="0" ref="row-actions" /> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="alt-row-style" /> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="alt-target" /> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="auto-fields-service" /> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="auto-fields-entity" /> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="field" /> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="on-event-update-area" /> + <xs:element minOccurs="0" ref="sort-order" /> </xs:sequence> + <xs:attribute name="name" type="xs:string" use="required" /> + <xs:attribute name="type"> + <xs:annotation> + <xs:documentation>The form type is always required unless you are extending another form.</xs:documentation> + </xs:annotation> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="single"> + <xs:annotation> + <xs:documentation>a single form is a simple single form with values from a single set of values</xs:documentation> + </xs:annotation> + </xs:enumeration> + <xs:enumeration value="list"> + <xs:annotation> + <xs:documentation>a list form is a list of individual forms in a table (could be called a tabular form), it has a list of sets of values and creates one form for each list element</xs:documentation> + </xs:annotation> + </xs:enumeration> + <xs:enumeration value="multi"> + <xs:annotation> + <xs:documentation>a multi form is like a list/tabular form, but it creates a single form to submit all list item forms at once; the field names in the resulting form have an appendage attached to make them unique according to the pattern used for the multi-service + event handler that will call one service for each list element</xs:documentation> + </xs:annotation> + </xs:enumeration> + <xs:enumeration value="upload"> + </xs:enumeration> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="target" type="xs:string" /> + <xs:attribute name="target-window" type="xs:string" /> + <xs:attribute name="target-type" default="intra-app"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="intra-app" /> + <xs:enumeration value="inter-app" /> + <xs:enumeration value="content" /> + <xs:enumeration value="plain" /> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="id" type="xs:string" /> + <xs:attribute name="style" type="xs:string" /> + <xs:attribute name="focus-field-name" type="xs:string" /> + <xs:attribute name="title" type="xs:string" /> + <xs:attribute name="tooltip" type="xs:string" /> + <xs:attribute name="list-name" type="xs:string"> + <xs:annotation> + <xs:documentation>for list type and other multiple data/form types this is the name of the list in the context to iterate over</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="list-entry-name" type="xs:string"> + <xs:annotation> + <xs:documentation>if specified each list entry will be put in the context with this name; otherwise the list entry must be a Map and the entries in the Map will be put into the context by name</xs:documentation> + </xs:annotation> + </xs:attribute> + <!-- this is now deprecated, never made sense to separate anyway; use list-name instead <xs:attribute type="xs:string" name="list-iterator-name"/> --> + <xs:attribute type="xs:string" name="default-map-name" /> + <xs:attribute type="xs:string" name="default-entity-name" /> + <xs:attribute type="xs:string" name="default-service-name" /> + <xs:attribute type="xs:string" name="form-title-area-style"> + <xs:annotation> + <xs:documentation>The form-title-area-style specifies the style to use in the header or title area for the form in a multi-form widget with all form fields rendered in one area.</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="form-widget-area-style"> + <xs:annotation> + <xs:documentation>The form-widget-area-style specifies the style to use in the main or widget area for the form in a multi-form widget with all form fields rendered in one area.</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="default-title-area-style" /> + <xs:attribute type="xs:string" name="default-widget-area-style" /> + <xs:attribute type="xs:string" name="default-title-style" /> + <xs:attribute type="xs:string" name="default-widget-style" /> + <xs:attribute type="xs:string" name="default-tooltip-style" /> + <xs:attribute type="xs:string" name="default-required-field-style" /> + <xs:attribute type="xs:string" name="sort-field-parameter-name"> + <xs:annotation> + <xs:documentation> + The name of the request parameter that is used for specifying the sorted column. This is required when you + have more than one list on a screen - each list must use its own sort field parameter. Defaults to "sortField". + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="default-sort-field-style"> + <xs:annotation> + <xs:documentation>CSS style to used for form sort fields. Defaults to "sort-order".</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="default-sort-field-asc-style"> + <xs:annotation> + <xs:documentation>CSS style to used for form sort fields. Defaults to "sort-order-asc".</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="default-sort-field-desc-style"> + <xs:annotation> + <xs:documentation>CSS style to used for form sort fields. Defaults to "sort-order-desc".</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="paginate" default="${paginate}"> + <xs:annotation> + <xs:documentation>Indicate if this form is paginated or not, true by default.</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="paginate-target"> + <xs:annotation> + <xs:documentation>Target location for the [Previous] and [Next] buttons in a form with pagination. Accepts ${} notation.</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="paginate-target-anchor"> + <xs:annotation> + <xs:documentation>Target anchor for the [Previous] and [Next] buttons in a form with pagination.</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="paginate-size-field"> + <xs:annotation> + <xs:documentation>The name of the parameter that specifies the number of rows to display for each page in a list form with multiple pages. The default is VIEW_SIZE. Accepts ${} notation.</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="paginate-index-field"> + <xs:annotation> + <xs:documentation>The name of the parameter that specifies what the current page is in a list form with multiple pages. The default is VIEW_INDEX Accepts ${} notation.</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="override-list-size"> + <xs:annotation> + <xs:documentation>The total number of rows in the original list (used for pagination). If not specified, the size of the list will be used. Accepts ${} notation.</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="paginate-first-label"> + <xs:annotation> + <xs:documentation>Text to display for the [First] button in a form with pagination. Defaults to the CommonFirst label defined in CommonUiLabels.xml. Accepts ${} notation.</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="paginate-previous-label"> + <xs:annotation> + <xs:documentation>Text to display for the [Previous] button in a form with pagination. Defaults to the CommonPrevious label defined in CommonUiLabels.xml. Accepts ${} notation.</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="paginate-next-label"> + <xs:annotation> + <xs:documentation>Text to display for the [Next] button in a form with pagination. Defaults to the CommonNext label defined in CommonUiLabels.xml. Accepts ${} notation.</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="paginate-last-label"> + <xs:annotation> + <xs:documentation>Text to display for the [Last] button in a form with pagination. Defaults to the CommonLast label defined in CommonUiLabels.xml. Accepts ${} notation.</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="paginate-style"> + <xs:annotation> + <xs:documentation>CSS style to use for the whole pager in a form with pagination. Defaults to "nav-pager".</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="item-index-separator" default="_o_" /> + <xs:attribute type="xs:string" name="extends" /> + <xs:attribute type="xs:string" name="extends-resource" /> + <xs:attribute name="separate-columns" default="false"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true" /> + <xs:enumeration value="false" /> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="group-columns" default="true"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true" /> + <xs:enumeration value="false" /> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute type="xs:integer" name="view-size"> + <xs:annotation> + <xs:documentation>The number of items to display per page</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="row-count" /> + <xs:attribute name="use-row-submit" default="false"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true" /> + <xs:enumeration value="false" /> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="skip-start" default="false"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true" /> + <xs:enumeration value="false" /> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="skip-end" default="false"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true" /> + <xs:enumeration value="false" /> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="hide-header" default="false"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true" /> + <xs:enumeration value="false" /> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute type="xs:string" name="odd-row-style"> + <xs:annotation> + <xs:documentation>The odd-row-style specifies the style to use in the table content odd rows.</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="even-row-style"> + <xs:annotation> + <xs:documentation>The even-row-style specifies the style to use in the table content even rows.</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="header-row-style"> + <xs:annotation> + <xs:documentation>The header-row-style specifies the style to use in the header of table.</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute type="xs:string" name="default-table-style"> + <xs:annotation> + <xs:documentation>The default-table-style specifies the style to use in the table.</xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="client-autocomplete-fields" default="true"> + <xs:annotation> + <xs:documentation>Tells the browser whether or not to try and autocomplete with values previously entered. Default to true.</xs:documentation> + </xs:annotation> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true" /> + <xs:enumeration value="false" /> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <!-- + not sure this is such a good idea <xs:attribute type="xs:string" name="hidden-values-map-name"> <xs:annotation> <xs:documentation>A map that contains hidden field name/value pairs. The reason for this is to eliminate the need to code custom forms so that auxiliary, passthru data can + be sent to the server. By doing it this way, more standard forms can be used. </xs:documentation> </xs:annotation> </xs:attribute> + --> </xs:complexType> </xs:element> - <xs:element name="form"> + <xs:element name="grid"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" ref="actions" /> @@ -1018,6 +1279,19 @@ under the License. <xs:documentation>Deprecated - use the image element.</xs:documentation> </xs:annotation> </xs:attribute> + <xs:attribute name="target-type" default="intra-app"> + <xs:annotation> + <xs:documentation>Deprecated - use the url-mode attribute.</xs:documentation> + </xs:annotation> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="intra-app" /> + <xs:enumeration value="inter-app" /> + <xs:enumeration value="content" /> + <xs:enumeration value="plain" /> + </xs:restriction> + </xs:simpleType> + </xs:attribute> </xs:extension> </xs:complexContent> </xs:complexType> @@ -1671,7 +1945,25 @@ under the License. <xs:documentation>Specifies the string to display, can use the ${} syntax to insert context values; if empty the value of the field will be printed for a default.</xs:documentation> </xs:annotation> </xs:attribute> - <xs:attribute type="xs:string" name="use-when" /> + <xs:attribute type="xs:string" name="use-when" /> + <xs:attribute name="target-type" default="intra-app"> + <xs:annotation> + <xs:documentation>Deprecated - use the url-mode attribute.</xs:documentation> + </xs:annotation> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="intra-app" /> + <xs:enumeration value="inter-app" /> + <xs:enumeration value="content" /> + <xs:enumeration value="plain" /> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="link-style" type="xs:string"> + <xs:annotation> + <xs:documentation>Deprecated - use the style attribute.</xs:documentation> + </xs:annotation> + </xs:attribute> </xs:extension> </xs:complexContent> </xs:complexType> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/widget/dtd/widget-screen.xsd URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/widget/dtd/widget-screen.xsd?rev=1654682&r1=1654681&r2=1654682&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/widget/dtd/widget-screen.xsd (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/widget/dtd/widget-screen.xsd Sun Jan 25 18:31:01 2015 @@ -450,6 +450,20 @@ under the License. </xs:attribute> </xs:complexType> </xs:element> + <xs:element name="include-grid" substitutionGroup="AllWidgets"> + <xs:complexType> + <xs:attribute type="xs:string" name="name" use="required" /> + <xs:attribute type="xs:string" name="location" use="required" /> + <xs:attribute name="share-scope" default="false"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true" /> + <xs:enumeration value="false" /> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:complexType> + </xs:element> <xs:element name="include-menu" substitutionGroup="AllWidgets"> <xs:complexType> <xs:attribute type="xs:string" name="name" use="required" /> Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/widget/src/org/ofbiz/widget/artifact/ArtifactInfoGatherer.java URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/widget/src/org/ofbiz/widget/artifact/ArtifactInfoGatherer.java?rev=1654682&r1=1654681&r2=1654682&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/widget/src/org/ofbiz/widget/artifact/ArtifactInfoGatherer.java (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/widget/src/org/ofbiz/widget/artifact/ArtifactInfoGatherer.java Sun Jan 25 18:31:01 2015 @@ -33,22 +33,14 @@ import org.ofbiz.widget.model.AbstractMo import org.ofbiz.widget.model.AbstractModelAction.Script; import org.ofbiz.widget.model.AbstractModelAction.Service; import org.ofbiz.widget.model.AbstractModelAction.SetField; -import org.ofbiz.widget.model.FieldInfo; -import org.ofbiz.widget.model.HtmlWidget; +import org.ofbiz.widget.model.*; import org.ofbiz.widget.model.HtmlWidget.HtmlTemplate; import org.ofbiz.widget.model.HtmlWidget.HtmlTemplateDecorator; import org.ofbiz.widget.model.HtmlWidget.HtmlTemplateDecoratorSection; -import org.ofbiz.widget.model.IterateSectionWidget; -import org.ofbiz.widget.model.ModelAction; -import org.ofbiz.widget.model.ModelActionVisitor; -import org.ofbiz.widget.model.ModelFieldVisitor; -import org.ofbiz.widget.model.ModelForm; import org.ofbiz.widget.model.ModelForm.AltTarget; import org.ofbiz.widget.model.ModelForm.AutoFieldsEntity; import org.ofbiz.widget.model.ModelForm.AutoFieldsService; -import org.ofbiz.widget.model.ModelFormAction; import org.ofbiz.widget.model.ModelFormAction.CallParentActions; -import org.ofbiz.widget.model.ModelFormField; import org.ofbiz.widget.model.ModelFormField.CheckField; import org.ofbiz.widget.model.ModelFormField.ContainerField; import org.ofbiz.widget.model.ModelFormField.DateFindField; @@ -71,11 +63,6 @@ import org.ofbiz.widget.model.ModelFormF import org.ofbiz.widget.model.ModelFormField.TextField; import org.ofbiz.widget.model.ModelFormField.TextFindField; import org.ofbiz.widget.model.ModelFormField.TextareaField; -import org.ofbiz.widget.model.ModelMenu; -import org.ofbiz.widget.model.ModelMenuAction; -import org.ofbiz.widget.model.ModelMenuItem; -import org.ofbiz.widget.model.ModelScreen; -import org.ofbiz.widget.model.ModelScreenWidget; import org.ofbiz.widget.model.ModelScreenWidget.Column; import org.ofbiz.widget.model.ModelScreenWidget.ColumnContainer; import org.ofbiz.widget.model.ModelScreenWidget.Container; @@ -84,6 +71,7 @@ import org.ofbiz.widget.model.ModelScree import org.ofbiz.widget.model.ModelScreenWidget.DecoratorSection; import org.ofbiz.widget.model.ModelScreenWidget.DecoratorSectionInclude; import org.ofbiz.widget.model.ModelScreenWidget.Form; +import org.ofbiz.widget.model.ModelScreenWidget.Grid; import org.ofbiz.widget.model.ModelScreenWidget.HorizontalSeparator; import org.ofbiz.widget.model.ModelScreenWidget.IncludeScreen; import org.ofbiz.widget.model.ModelScreenWidget.Label; @@ -95,11 +83,8 @@ import org.ofbiz.widget.model.ModelScree import org.ofbiz.widget.model.ModelScreenWidget.Screenlet; import org.ofbiz.widget.model.ModelScreenWidget.Section; import org.ofbiz.widget.model.ModelScreenWidget.Tree; -import org.ofbiz.widget.model.ModelTree; import org.ofbiz.widget.model.ModelTree.ModelNode; import org.ofbiz.widget.model.ModelTree.ModelNode.ModelSubNode; -import org.ofbiz.widget.model.ModelTreeAction; -import org.ofbiz.widget.model.ModelWidgetVisitor; /** * An object that gathers artifact information from screen widgets. @@ -184,6 +169,12 @@ public final class ArtifactInfoGatherer } @Override + public void visit(Grid grid) throws Exception { + String gridLocation = grid.getLocation().concat("#").concat(grid.getName()); + infoContext.addFormLocation(gridLocation); + } + + @Override public void visit(GetRelated getRelated) throws Exception { infoContext.addEntityName(getRelated.getRelationName()); } @@ -233,7 +224,7 @@ public final class ArtifactInfoGatherer } @Override - public void visit(ModelForm modelForm) throws Exception { + public void visit(ModelSingleForm modelForm) throws Exception { if (modelForm.getActions() != null) { for (ModelAction action : modelForm.getActions()) { action.accept(this); @@ -311,6 +302,12 @@ public final class ArtifactInfoGatherer } @Override + public void visit(ModelGrid modelGrid) throws Exception { + // TODO: Finish implementation + + } + + @Override public void visit(ModelFormAction.Service service) throws Exception { infoContext.addServiceName(service.getServiceName()); // TODO: Look for entityName in performFind service call Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/widget/src/org/ofbiz/widget/model/FormFactory.java URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/widget/src/org/ofbiz/widget/model/FormFactory.java?rev=1654682&r1=1654681&r2=1654682&view=diff ============================================================================== --- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/widget/src/org/ofbiz/widget/model/FormFactory.java (original) +++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/framework/widget/src/org/ofbiz/widget/model/FormFactory.java Sun Jan 25 18:31:01 2015 @@ -29,6 +29,7 @@ import javax.servlet.http.HttpServletReq import javax.xml.parsers.ParserConfigurationException; import org.ofbiz.base.location.FlexibleLocation; +import org.ofbiz.base.util.Debug; import org.ofbiz.base.util.UtilHttp; import org.ofbiz.base.util.UtilXml; import org.ofbiz.base.util.cache.UtilCache; @@ -40,7 +41,6 @@ import org.w3c.dom.Document; import org.w3c.dom.Element; import org.xml.sax.SAXException; - /** * Widget Library - Form factory class */ @@ -90,7 +90,7 @@ public class FormFactory { URL formFileUrl = servletContext.getResource(resourceName); Document formFileDoc = UtilXml.readXmlDocument(formFileUrl, true, true); Element formElement = UtilXml.firstChildElement(formFileDoc.getDocumentElement(), "form", "name", formName); - modelForm = new ModelForm(formElement, resourceName, delegator.getModelReader(), dispatcher.getDispatchContext()); + modelForm = createModelForm(formElement, delegator.getModelReader(), dispatcher.getDispatchContext(), resourceName, formName); modelForm = formWebappCache.putIfAbsentAndGet(cacheKey, modelForm); } if (modelForm == null) { @@ -125,7 +125,11 @@ public class FormFactory { } public static ModelForm createModelForm(Element formElement, ModelReader entityModelReader, DispatchContext dispatchContext, String formLocation, String formName) { - ModelForm modelForm = new ModelForm(formElement, formLocation, entityModelReader, dispatchContext); - return modelForm; + String formType = formElement.getAttribute("type"); + if (formType.isEmpty() || "single".equals(formType) || "upload".equals(formType)) { + return new ModelSingleForm(formElement, formLocation, entityModelReader, dispatchContext); + } else { + return new ModelGrid(formElement, formLocation, entityModelReader, dispatchContext); + } } } |
Free forum by Nabble | Edit this page |