Create new button not working - eZ Publish - ezpublish

I have multiple language on site , so in Admin panel not work button "Create new" in ger-DE but working in eng-GB
i have no idea what is reason of this issue.
It is my siteAccess for ger-DE
[RegionalSettings]
Locale=ger-DE
ContentObjectLocale=ger-DE
SiteLanguageList[]
SiteLanguageList[]=eng-GB
SiteLanguageList[]=ger-DE
if i will change like this
[RegionalSettings]
Locale=ger-DE
ContentObjectLocale=ger-DE
SiteLanguageList[]
SiteLanguageList[]=ger-DE
SiteLanguageList[]=eng-GB
Than it working. but half of admin panel is on english . what i`m do wrong ?

You need to set TextTranslation option to enabled, too which enables translating the interface. Complete example:
[RegionalSettings]
Locale=ger-DE
ContentObjectLocale=ger-DE
SiteLanguageList[]
SiteLanguageList[]=ger-DE
SiteLanguageList[]=eng-GB
TextTranslation=enabled
Note that you also need to clear ALL the caches for this change to work.

I translate all classes to all languages and it`s work now!

Related

i want to access the transaction from web panel and directly through developer menu(

I want to access my transaction from web panel(send variables to the transaction ) and I want to access this from the developer menu screen (without variables)
How are you?.
Thats is very simple Try with some like this
WebPanel
put in it ONLY a GRID with a several attributes from such TRANSACTION, change the property main=true and Choice option RUN WITH THIS ONLY.
Form more details, you can write to my gmail: #gxsoft
Kind regards,
gab

Error accessing Birthday variable using Watir during gmail sign-up

I am trying to create the gmail account through watir. As part of it while I am trying to select the birthday using div element I am unable to do.
I tried with the below one:
#ie.div(:text,'May').click
My system configurations:
IE-8
Windows-7
I've always disliked seeing the answers on here that say 'Why are you doing this?" or "Why would you want to do this?". So I'll just say "Don't do this!". I'm sure whatever issue you are facing can be resolved without automating the creation of gmail account.
If all you need is a unique gmail address then see the link below:
http://www.codestore.net/store.nsf/unid/BLOG-20111201-0411
Another option is https://mailinator.com/
As #titusfortner indicates, that element cannot be selected/clicked because it is not visible. Using watir-webdriver, this snippet makes the dropdown menu visible so its options can be selected:
b.div(title: "Birthday").when_present.click
b.div(text: "May").when_present.click
That being said, there are two other (read: larger) issues:
You won't be able to script your way past the captcha.
Google doesn't want you doing this. That's why the captcha is there, and they'll eventually block your IP if you consistently automate/script against them.
You can't click on the text of something that is not visible on the page. You first need to open the drop-down:
browser.span(id: 'BirthMonth').click
browser.div(text: 'May').click
b.element(:css, '#BirthMonth > div').click
b.element(:text, 'May').click
It works with Chrome and with Firefox also but not perfect

How to re-brand SpringXD?

Is there a way to re-brand SpringXD?
I would like to remove the default SpringXD logo appearing in the XD shell and the Admin User Interface.
You can't do that unless change the banner.txt content in the spring-xd-dirt.jar and spring-xd-shell.jar.
From other side explain, please, the reason of that: may be we ask you for the JIRA issue.

Wicket: (how) can I associate an AjaxCheckBox to the CheckGroupSelector?

I have a problem similar to this question: Wicket: can Checkgroup be Ajax enabled?
I'm using a ListView where each Item has a checkbox. I also have a "select all" checkbox. I am using a CheckGroup, CheckGroupSelector and Check and everything works great. Now there is a new requirement to change the state on some other controls on the page when the checkboxes are updated.
Nicktar's suggestion in the above linked question was the first that came to my mind, too, but I haven't been able to find out how it is possible to use AjaxCheckBox with CheckGroup/CheckGroupSelector. According to the doc you have to use Check.
But in this mail from 2008, Igor Vaynberg also states that it is possible to use AjaxCheckBox in a CheckGroup.
I tried it with just replacing where I used Check with the AjaxCheckBox, but it didn't work, the CheckGroupSelector didn't find the checkboxes anymore.
I also looked into using the onSelectionChanged method in CheckGroup, but I'd like to avoid using this as it triggers another roundtrip to the server, as far as I understood.
Can someone give me a hint? Or is there another nice solution for this?
By the way, I'm using Wicket 1.4.
Why can't you add an AjaxFormChoiceComponentUpdatingBehavior to the CheckGroup ?
From AjaxFormComponentUpdatingBehavior's JavaDoc:
NOTE: This behavior does not work on Choices or Groups use the AjaxFormChoiceComponentUpdatingBehavior for that.
AjaxFormChoiceComponentUpdatingBehavior is the behavior to use with CheckGroups and RadioGroups. If you used an AjaxFormComponentUpdatingBehavior with the onchange event, you'd run into this bug with IE
. AjaxFormChoiceComponentUpdatingBehavior handles this properly, adding onclick event handlers to each of the Checks in the CheckGroup.
As a side note, what Igor stated in that mail, is that CheckBox can be replaced with AjaxCheckBox, not Check. AjaxCheckBox is nothing more than a convenience subclass of CheckBox with an AjaxFormComponentUpdatingBehavior("onclick"), as the sources show.

How to use internationalization in Label fields in Screens in Oracle Policy Automation

I am very new to Oracle Policy Automation. I am developing a screen which will give the option to the user to select languages. Based on his/her selection, the next screen should display a welcome message in the language selected.
I have two properties files (one for each language) and I have placed them inside the /classes/configuration folder.
Now, my query is how to invoke these properties files based on user selection and what should I write in the label field so that the messages are dynamically picked up.
Thanks in advance for the help.
I guess you may have figured this out by now.
In OPA the locale has to be set at the start of an interactive session (part of the start investigation URL) and cannot be changed subsequently. The locale specific resource files under configuration will then be used.
Your locale selection screen would probably need to be outside of OPA triggering a session start of the correct type. If you are using OWD then it will actually provide it's own locale selection screen if you try to access a rulebase without specifying the locale to use. We are working on some additional tooling around OWD to make this process a lot more straightforward

Resources