meraj zia

Greenhorn
+ Follow
since Apr 17, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by meraj zia

Ya i've it's returning me null.

Please find the mapping below

15 years ago
Hi,

My application context root is '/rr/la' and my login page is '/login.xhtml'. But i need to extract some information from the URL. So the request can come like 'http://10.105.20.9:7013/rr/la/abcd/efgh/login.xhtml'.

I need to extract 'abcd/efgh'. Extraction is easy. But my problem is that when i do 'request.getRequestURI()' in my Servlet Filter it gives me '/rr/la/login.xhtml' rather that '/rr/la/abcd/efgh/login.xhtml'.

How to get this information.
15 years ago
Hi,
I've two dropdowns on my jsf page.
I want to change the values of second one based on the value selected in the first. So once the user selects some values in dropdown 1 the values in dropdown 2 should be refetched.
How to do this?
15 years ago
JSF
I believe it's there



The name are ruleMap and failFast

Spring file entry



Hi i've defined my constructor as

public DefaultValidationService(Map<DomainType, Map<PaymentScheme, List<ValidationRule<Object>>>> ruleMap, boolean failFast) {
this.ruleMap = ruleMap;
this.failFast = failFast;
}

When i define my constructor argument in spring file like

<constructor-arg>
<map>
<entry key="SUBMISSION">
<map>
<entry key="B2B">
<list>
<bean class="com.voca.csm.dd.validation.rules.pacs.header.ClearingSystemProprietaryRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs.header.SubmittingBICValidRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs.header.SettlementMethodRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs003.header.InterBankSettDateOneProcessingDayRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs003.header.InterbankSettlementAmountWithinClearingLimitRule" parent="abstractValidationRule"/>
</list>
</entry>
</map>
</entry>
<entry key="INSTRUCTION">
<map>
<entry key="B2B">
<list>
<bean class="com.voca.csm.dd.validation.rules.pacs.instruction.TransactionIdentificationRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs.instruction.InstructingAgentExistsInBodyOrGrpHeaderRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs.instruction.InstructingAgentValidInBodyOrGrpHeaderRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs003.instruction.OriginalDebtorAgentSeqTypeFRSTRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs.instruction.DebtorAgentReachableRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs003.instruction.SequenceTypeFRSTOnlyRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs003.instruction.CreditorSchemePrivateIdOtherValueModCheckRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs003.instruction.InterBankSettDateCalendarDaysWarehouseRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs003.instruction.OriginalCreditorSchemePrivateIdOtherValueModCheckRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs003.instruction.OriginalMandateIdentificationRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs003.instruction.OriginalCreditorSchemeIdentificationNameRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs003.instruction.OriginalDebtorAccountValidIBANRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs003.instruction.DebtorAccountValidIBANRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs003.instruction.CreditorAccountValidIBANRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs.instruction.InstructingAgentSubmittingBICRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs003.instruction.SequenceTypeExistsInBodyOrGrpHeaderRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs003.instruction.AmendmentInformationDetailsPresentRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs003.instruction.SequenceTypeExistsOnlyInBodyOrGrpHeaderRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs003.instruction.PaymentTypeInfoExistsOnlyInBodyOrGrpHeaderRule" parent="abstractValidationRule"/>
<bean class="com.voca.csm.dd.validation.rules.pacs003.instruction.CreditorSchemePrivateIdOtherIDSEPACheckRule" parent="abstractValidationRule"/>
</list>
</entry>
</map>
</entry>
</map>
</constructor-arg>


I get this error

Unsatisfied dependency expressed through constructor argument with index 0 of type [java.util.Map]: Could not convert constructor argument value of type [java.util.LinkedHashMap] to required type [java.util.Map]: Failed to convert value of type [java.util.LinkedHashMap] to required type [java.util.Map]; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.util.ArrayList] to required type [java.util.Map] for property 'null': no matching editors or conversion strategy found">org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pacs003Parser' defined in class path resource [spring/parser.xml]: Cannot resolve reference to bean 'arrivalPacs003ValidationService' while setting bean property 'validationService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'arrivalPacs003ValidationService' defined in class path resource [spring/validation.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [java.util.Map]: Could not convert constructor argument value of type [java.util.LinkedHashMap] to required type [java.util.Map]: Failed to convert value of type [java.util.LinkedHashMap] to required type [java.util.Map]; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.util.ArrayList] to required type [java.util.Map] for property 'null': no matching editors or conversion strategy found

Any suggestions please.