Need help... context check in mapping
Hello Experts,
mapping working perfectly if we have less no of records in source XML.
if we have large no of records, in output we are getting two extra segments and not able to trace this.
as the message is too big not able to check context and queue in mapping.
any other alternate way to check the context???
its a graphical mapping and used standard functions in mapping logic....no UDF.
regards,
chinna
Hi Chinna
Unfortunately there is no other way to check the context in graphical mapping. Only option is to
get it from the mapping editor in PI.
You can try to run the same data in other environment which has better performance for example
in staging or production.
Similar Messages
-
Hi! I am newbie to Reports need help with check boxes
Hi! I am newbie to Reports need help with check boxes. I am try-in to make a new check boxes that will validate in runtime. I have created two frames and one frame is dummy and other frame has big X line on it with conditions. Is this a right way to create check box! Please help thanks!
and one frame is dummy and other frame has big X
line on it with conditions. Is this a right way to
create check box! Please help thanks!Instead of creating a frame for X, you can create Ractangle and place X in it. Rest is fine. -
Need help to view sdo_geometry maps in Java
Hi Everybody, could anybody help me to start develop a map viewing application in netbeans for sdo_geometries in 10g database.
I need a tutorial or sample application or some simple examples to start.
Regards
Edited by: qBaloch on Mar 23, 2012 1:09 PMqBaloch,
If you want to develop a standalone, desktop type application why no look at existing FOSS product like uDig.
There is a lot of Java code inside GeoRaptor (for SQL Developer) you could look at to help you along the way.
http://sourceforge.net/apps/mediawiki/georaptor/index.php?title=Release_3.0.1
If you are developing a web application could you use GeoServer.
Anyway, look at: http://www.osgeo.org
regards
Simon -
Need Help with checking of 2 queries
hi,
I dunno how to check for query that needs 2 of the table component in order to display.
I need to check for this:
private void _init() throws Exception {
weekly_datesDataProvider.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{SessionBean1.weekly_datesRowSet}"));
progress_reportRowSet.setDataSourceName("java:comp/env/jdbc/Projectinfo");
progress_reportRowSet.setCommand("SELECT ALL progress_report.ADM_NO, \n progress_report.WEEK_NO, \n progress_report.OBJECTIVE_SET, \n progress_report.OBJECTIVE_ACHIEVED, \n progress_report.SUPERVISOR_COMMENTS, \n progress_report.STATUS_CODE, \n progress_report.PART2_SUBMISSION_DATE, \n progress_report.APPROVAL_DATE, \n student.ADM_NO, \n student.ID_NO, \n student.PASSWORD, \n weekly_dates.WEEK_NO, \n progress_report.PART1_SUBMISSION_DATE, \n student_assignment.PROJECT_CODE, \n student_assignment.ADM_NO, \n project.PROJECT_CODE, \n project.SUPERVISOR, \n project.Co_SUPERVISOR1, \n project.CO_SUPERVISOR2, \n project.PROJECT_TITLE, \n project.OBJECTIVE, \n project.DESCRIPTION, \n project.SPECIFICATION, \n project.CAT_CODE, \n project.LOCATION, \n project.NO_OF_STUDENT, \n project.GROUP_CODE, \n staff.EMP_NO, \n staff.STAFF_ID, \n staff.STAFF_NAME, \n staff.DEPT_CODE, \n staff.ROOM_NO, \n staff.PHONE_NO, \n staff.GROUP_CODE \nFROM progress_report, student, weekly_dates, student_assignment, project, staff\nWHERE staff.STAFF_NAME = ?\n AND staff.STAFF_NAME = project.SUPERVISOR\n AND project.PROJECT_CODE = student_assignment.PROJECT_CODE\n AND student_assignment.ADM_NO = student.ADM_NO\n AND student.ADM_NO = progress_report.ADM_NO\n AND progress_report.WEEK_NO = weekly_dates.WEEK_NO ");
progress_reportRowSet.setTableName("progress_report");
progress_reportDataProvider.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{Page2.progress_reportRowSet}"));
weekly_datesDataProvider.cursorFirst();
progress_reportRowSet.setObject(1, getSessionBean1().getAdm());
and this
public void selWeekDD_processValueChange(ValueChangeEvent event) {
Object selectedPersonId = selWeekDD.getSelected();
try {
progress_reportDataProvider.setCursorRow(
progress_reportDataProvider.findFirst("progress_report.WEEK_NO", selectedPersonId));
getSessionBean1().getProgress_reportRowSet().setObject(1, selectedPersonId);
progress_reportDataProvider.refresh();
//form1.discardSubmittedValues("save");
} catch (Exception e) {
error("Cannot switch to person " + selectedPersonId);
log("Cannot switch to person " + selectedPersonId, e);
public void prerender() {
if ( selWeekDD.getSelected() == null ) {
Object firstPersonId = null;
try {
weekly_datesDataProvider.cursorFirst();
firstPersonId = weekly_datesDataProvider.getValue("weekly_dates.week_NO");
selWeekDD.setSelected(firstPersonId);
getSessionBean1().getProgress_reportRowSet().setObject(
1, firstPersonId);
progress_reportDataProvider.refresh();
} catch (Exception e) {
error("Cannot switch to person " +
firstPersonId);
log("Cannot switch to person " +
firstPersonId, e);
How do i combine the checking of these 2 together, because if i do these 2 query checking like that they give me error for null parameter for 2 or more component but my database already has data and my rowset table already has the query check for parameter....Hi,
I finally got it. But when i try to change the value from teh drop down list to display a new set of data i encounter error...I have the following code:
public void prerender() {
if ( selWeekDD.getSelected() == null ) {
Object firstPersonId = null;
try {
weekly_datesDataProvider.cursorFirst();
firstPersonId = weekly_datesDataProvider.getValue("weekly_dates.WEEK_NO");
selWeekDD.setSelected(firstPersonId);
progress_reportRowSet.setObject(
2, firstPersonId);
progress_reportDataProvider.refresh();
} catch (Exception e) {
error("Cannot switch to person " +
firstPersonId);
log("Cannot switch to person " +
firstPersonId, e);
public void selWeekDD_processValueChange(ValueChangeEvent event) {
Object selectedPersonId = selWeekDD.getSelected();
try {
progress_reportDataProvider.cursorFirst();
progress_reportDataProvider.setCursorRow(
progress_reportDataProvider.findFirst("weekly_dates.WEEK_NO", selectedPersonId));
progress_reportRowSet.setObject(2, selectedPersonId);
progress_reportDataProvider.refresh();
form1.discardSubmittedValues("selWeekDD");
} catch (Exception e) {
error("Cannot switch to person " + selectedPersonId);
log("Cannot switch to person " + selectedPersonId, e);
Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
Exception Details: java.sql.SQLException
Statement parameter 2 not set.
Possible Source of Error:
Class Name: com.mysql.jdbc.ServerPreparedStatement
File Name: ServerPreparedStatement.java
Method Name: serverExecute
Line Number: 1031
Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
Stack Trace:
com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1031)
com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:676)
com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1030)
com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:193)
com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:950)
com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:1410)
com.sun.data.provider.impl.CachedRowSetDataProvider.checkExecute(CachedRowSetDataProvider.java:1219)
com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(CachedRowSetDataProvider.java:329)
com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(CachedRowSetDataProvider.java:300)
com.sun.data.provider.impl.CachedRowSetDataProvider.getRowCount(CachedRowSetDataProvider.java:624)
com.sun.rave.web.ui.component.TableRowGroup.getRowKeys(TableRowGroup.java:806)
com.sun.rave.web.ui.component.TableRowGroup.getFilteredRowKeys(TableRowGroup.java:429)
com.sun.rave.web.ui.component.TableRowGroup.getSortedRowKeys(TableRowGroup.java:1385)
com.sun.rave.web.ui.component.TableRowGroup.getRenderedRowKeys(TableRowGroup.java:876)
com.sun.rave.web.ui.component.TableRowGroup.iterate(TableRowGroup.java:1956)
com.sun.rave.web.ui.component.TableRowGroup.processDecodes(TableRowGroup.java:1679)
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
com.sun.rave.web.ui.component.Form.processDecodes(Form.java:78)
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:306)
com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:79)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(AccessController.java:-2)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
java.security.AccessController.doPrivileged(AccessController.java:-2)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
java.security.AccessController.doPrivileged(AccessController.java:-2)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
Exception Details: java.lang.RuntimeException
java.sql.SQLException: Statement parameter 2 not set.
Possible Source of Error:
Class Name: com.sun.data.provider.impl.CachedRowSetDataProvider
File Name: CachedRowSetDataProvider.java
Method Name: setCursorRow
Line Number: 343
Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
Stack Trace:
com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(CachedRowSetDataProvider.java:343)
com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(CachedRowSetDataProvider.java:300)
com.sun.data.provider.impl.CachedRowSetDataProvider.getRowCount(CachedRowSetDataProvider.java:624)
com.sun.rave.web.ui.component.TableRowGroup.getRowKeys(TableRowGroup.java:806)
com.sun.rave.web.ui.component.TableRowGroup.getFilteredRowKeys(TableRowGroup.java:429)
com.sun.rave.web.ui.component.TableRowGroup.getSortedRowKeys(TableRowGroup.java:1385)
com.sun.rave.web.ui.component.TableRowGroup.getRenderedRowKeys(TableRowGroup.java:876)
com.sun.rave.web.ui.component.TableRowGroup.iterate(TableRowGroup.java:1956)
com.sun.rave.web.ui.component.TableRowGroup.processDecodes(TableRowGroup.java:1679)
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
com.sun.rave.web.ui.component.Form.processDecodes(Form.java:78)
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:880)
javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:306)
com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:79)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(AccessController.java:-2)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
java.security.AccessController.doPrivileged(AccessController.java:-2)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
java.security.AccessController.doPrivileged(AccessController.java:-2)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
when i try change the drop down list value, this error occur my data type for both are integer. Anyone pls help thanks
Message was edited by:
k_k -
Need help to check multiple conditions and set AD user properties
hello All,
I have a data csv sheet where information as follows, using below information I need to update AD account attributes based on below conditions . I have full right and I can set any user properties. So this is not access right issue.
samaccountname,Othertelephone,language,employeeId
abcd XXXXXXXXX EN SMS
Now I need to check following conditions:
Othertelephone = if this should not be blank ,if so display message " filed is blank " and no changes should allowed in further attributes and it should abort
language= this field should only contain EN or FR value if No display msg " error in language field " and no further changes to the user attributes and it should abort
employeeID= this field should only contain OTP or SMS value if Not filled display msg " error in Employee ID field " No further changes to the user attributes and it should abort
changes to user will permit when all attributes is filled. I do the testing taking samaccountname , othertelephone and employeeId into consideration but it did not helped. Getting error
THIS is complete Code Of my Task where you need my focus on conditions
group=Get-QAdGroup -SearchRoot "domain/vpn group"
Import-Csv D:\VPN.csv |
ForEach-Object{
if ($_.samaccountname -eq "")
Write-Host "SAMACCOUNTNAME is blank" -fore red
else
$user=Get-QAduser $_.samaccountname
if ($user.memberof -contains $group.DN)
Write-Host "$($_.Samaccountname) user is allready a member" -fore red
else
Add-QADGroupMember $group $_.Samaccountname
If ($_.othertelephone -eq "")
Write-Output "$($_.samaccountname) telephone Number is blank"
else
if ($_.EmployeeID -notmatch 'OTP' -and 'SMS')
Write-Output "$($_.samaccountname) EmployeeID field is not correctly field")
Else
Set-QADUser $_.SamAccountName -ObjectAttributes @{telephonenumber=$_.othertelephone;EmployeeID=$_.EmployeeID}
error
Set-QADUser : Access is denied.
At C:\Users\g512263\AppData\Local\Temp\5f8facb6-f942-4c3d-b924-8953d9a706da.ps1:37 char:8
+ Set-QADUser $_.SamAccountName -ObjectAttributes @{telephonenumber=$_.othe ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-QADUser], UnauthorizedAccessException
+ FullyQualifiedErrorId : System.UnauthorizedAccessException,Quest.ActiveRoles.ArsPowerShellSnapIn.Powershell.Cmdlets.SetUserCm
dlet<title>Untitled - PowerGUI Script Editor</title>
Hello JRV,Thank you for your time, There is no comma in my csv file , I double check. below I wrote a simple code.I removed all the conditions and just try to set the EmployeeID and it is working fine with same file.But as soon as I add conditions it gives access denied. as well as if I remove employee Id from your previous code and only try to set telephone No. still it gives access denied.I am just trying to figure out what is causing this.
$group=Get-QAdGroup -SearchRoot "com/Group"
Import-Csv D:\VPN.csv |
ForEach-Object{
if ($_.samaccountname -eq ""){
Write-Host "SAMACCOUNTNAME is blank" -fore red
}else{
$user=Get-QAduser $_.samaccountname
if ($user.memberof -contains $group.DN){
Write-Host "$($_.Samaccountname) user is allready a member" -fore red
}else
Add-QADGroupMember $group $_.Samaccountname
If ($_.othertelephone -ne "")
Set-QADUser $user.SamAccountName -ObjectAtt Aributes @{telephonenumber=$_.othertelephone}
} else
Write-Output "$($_.samaccountname) phonenumber is blank"
If ($_.EmployeeID -ne "")
Set-QADUser $_.SamAccountName -ObjectAttributes @{EmployeeID=$_.EmployeeID}
}else
Write-Output "$($_.samaccountname) EmployeeID field is blank"
If ($_.Preferredlanguage -ne "")
Set-QADUser $_.SamAccountName -ObjectAttributes @{Preferredlanguage=$_.preferredlanguage}
} else
Write-Output "$($_.samaccountname) PreferredLanguage field is blank" -
Need help with check out form - Payment method error
When I check out error comes up "Payment Method must be selected" though it is.
The 30 day account option works but Credit cards get the above error.
Anyone able to help me?
Andrew
<h1>Checkout</h1>
<p class="required-h1-tip"><span>*</span> Required field</p>
<p>Please fill out the required fields, delivery address and payment fields.</p>
<hr />
<section class="checkout form-container">
<form name="catwebformform42059" class="form-generic-a checkout-a" id="catwebformform42059" onsubmit="return checkWholeForm42059(this)" action="/FormProcessv2.aspx?WebFormID=10850&OID={module_oid}&OTYPE={module_otype} &EID={module_eid}&CID={module_cid}" enctype="multipart/form-data" method="post">
<fieldset>
<h2 class="a">1. Account Information</h2>
<!--<div class="row">
<p class="field field-a">
<label for="username">User Name <em>*</em></label>
<input type="text" value="{module_username}" id="f-username" class="text" name="UserName" />
</p>
<p class="field field-b">
<label for="password">Password <em>*</em></label>
<span class="half">
<input type="password" value="{module_password}" id="f-password" class="text" name="Password" />
</span></p>
<p class="field field-b">
<label for="confirm-password">Confirm <em>*</em></label>
<span class="half">
<input type="password" value="{module_password}" id="f-password-confirm" class="text" name="PasswordConfirm" />
</span></p>
</div>-->
<div class="row">
<p class="field field-a">
<label for="first-name">First Name <em>*</em></label>
<input type="text" name="FirstName" class="text" id="f-first-name" value="{module_firstname}" />
</p>
<p class="field field-a">
<label for="last-name">Last Name <em>*</em></label>
<input type="text" name="LastName" class="text" id="LastName" value="{module_lastname}" />
</p>
</div>
<div class="row">
<p class="field field-a">
<label for="email">Email Address <em>*</em></label>
<input type="text" name="EmailAddress" class="text" id="f-email" value="{module_emailaddress}" />
</p>
<p class="field field-a">
<label for="phone">Phone Number <em>*</em></label>
<input type="text" name="HomePhone" class="text" id="f-phone" value="{module_homephone}" />
</p>
</div>
<div class="row checkbox"><span class="tick">
<input type="checkbox" name="CampaignList_20945" class="tick" id="f-updates" />
</span>
<label for="newsletter-a">Keep me up to date on product information, sales, and special offerings.</label>
</div>
</fieldset>
<hr />
<fieldset>
<h2 class="a">2. Shipping Address</h2>
<div class="row">
<p class="field field-a">
<label for="ShippingAttention">Shipping Name: <em>*</em></label>
<input type="text" class="text" id="ShippingAttention" name="ShippingAttention" />
</p>
</div>
<div class="row">
<p class="field field-a">
<label for="shipping-addr-1">Address Line 1 <em>*</em></label>
<input type="text" class="text" id="ShippingAddress" name="ShippingAddress" />
</p>
<p class="field field-a">
<label for="shipping-addr-2">Address Line 2</label>
<input type="text" class="text" id="ShippingAddress2" name="ShippingAddress2" />
</p>
</div>
<div class="row">
<p class="field field-a">
<label for="shipping-city">City <em>*</em></label>
<input type="text" class="text" id="ShippingCity" name="ShippingCity" />
</p>
<p class="field field-a">
<label for="shipping-state">State <em>*</em></label>
<input type="text" class="text" id="ShippingState" name="ShippingState" />
</p>
</div>
<div class="row">
<div class="field field-a">
<p class="field-b">
<label for="ShippingZip">Zip / Postal Code <em>*</em></label>
<input type="text" class="text" id="ShippingZip" name="ShippingZip" />
</p>
</div>
<!-- <p class="field field-a">
<label for="shipping-phone">Phone Number <em>*</em></label>
<input type="text" id="shipping-phone" name="shipping-phone" />
</p> -->
</div>
</fieldset>
<hr />
<fieldset>
<h2 class="a">3. Billing Address</h2>
<div class="row checkbox"><span class="tick">
<input type="checkbox" class="tick" value="1" id="f-shipping-same" name="same_shipping" />
</span>
<label for="billing-same-as-shipping">Check this box if billing address is the same as shipping address.</label>
</div>
<div class="row">
<p class="field field-a">
<label for="billing-addr-1">Address Line 1 <em>*</em></label>
<input type="text" value="{module_homeaddress}" id="BillingAddress" class="text" name="BillingAddress" />
</p>
<p class="field field-a">
<label for="billing-addr-2">Address Line 2 <em>*</em></label>
<input type="text" class="text" id="BillingAddress2" name="BillingAddress2" />
</p>
</div>
<div class="row">
<p class="field field-a">
<label for="billing-city">City <em>*</em></label>
<input type="text" value="{module_homecity}" id="BillingCity" class="text" name="BillingCity" />
</p>
<p class="field field-a">
<label for="billing-state">State <em>*</em></label>
<input type="text" value="{module_homestate}" id="BillingState" class="text" name="BillingState" />
</p>
</div>
<div class="row">
<p class="field field-b">
<label for="BillingZip">Zip / Postal Code <em>*</em></label>
<input type="text" value="{module_homezip}" id="BillingZip" class="text" name="BillingZip" />
</p>
</div>
</fieldset>
<hr />
<fieldset id="credit-card-information">
<h2 class="a">4. Payment Options</h2>
<div class="row">
<h4>Approved 30 DayAccount Customer</h4>
<p class="field">Please select
</p>
<input type="radio" name="PaymentMethodType" id="PaymentMethodType" value="8" /><span style="font-size: 18px; color: #ffff00;">Account Customers Only</span><hr />
<h2>Pay by Credit Card</h2>
<p class="row row-accepted-cards">
We accept the following credit cards: <img alt="" src="temp/cards.png" /> </p>
<label for="card-type">Card Type <em>*</em></label>
<span class="select">
<select name="CardType" class="text" id="f-cc-type">
<option selected="selected" value="1">Visa</option>
<option value="2">Master Card</option>
<option value="4">American Express</option>
</select> </span>
</div>
<div class="row">
<p class="field field-a">
<label for="name-on-card">Name on Card <em>*</em></label>
<input type="text" name="CardName" class="text" id="f-cc-name" />
</p>
<p class="field field-a">
<label for="card-number">Card Number <em>*</em></label>
<input type="text" name="CardNumber" class="text" id="f-cc-number" />
</p>
</div>
<div class="row">
<p class="field card-expiration">
<label for="card-exp-month">Card Expiration <span class="offset">Month</span> <em>*</em></label>
<span class="select one">
<select name="CardExpiryMonth" class="s" id="f-cc-exp-month">
<option selected="selected" value="1">January</option>
<option value="2">February</option>
<option value="3">Mar</option>
<option value="4">Apr</option>
<option value="5">May</option>
<option value="6">Jun</option>
<option value="7">Jul</option>
<option value="8">Aug</option>
<option value="9">Sep</option>
<option value="10">Oct</option>
<option value="11">Nov</option>
<option value="12">Dec</option>
</select>
</span>
<label class="offset" for="card-exp-year">Card Expiration Year<em>*</em></label>
<span class="select">
<select name="CardExpiryYear" class="xs" id="f-cc-exp-year">
<option value="2015">2015</option>
<option value="2016">2016</option>
<option value="2017">2017</option>
<option value="2018">2018</option>
<option value="2019">2019</option>
<option value="2020">2020</option>
<option value="2021">2021</option>
<option value="2022">2022</option>
</select>
</span></p>
</div>
<div class="row">
<div style="display: none;">
<input type="radio" name="PaymentMethodType" class="tick" id="f-payment-method-cc" value="1" />
<input type="radio" name="PaymentMethodType" id="PaymentMethodType_9" value="10" />
</div>
</div>
<div class="row">
<p class="field ccvn">
<label for="ccv-number">CCV Number <em>*</em></label>
<span class="ccv">
<input type="text" name="CardCCV" class="text" id="f-cc-cvv" />
</span></p>
</div>
</fieldset>
<div class="wrap total">
<p class="sum">Total: <strong><span class="amountSpan"></span></strong></p>
<p class="action"><button class="button-a" type="submit">Checkout</button></p>
</div>
<input type="hidden" name="Amount" class="cat_textbox" id="Amount" readonly="readonly" />
<script type="text/javascript" src="/CatalystScripts/ValidationFunctions.js"></script>
<script language="javascript" type="text/javascript">
//<![CDATA[
var submitcount42059 = 0;function checkWholeForm42059(theForm){var why = "";if (theForm.Username) why += isEmpty(theForm.Username.value, "Username"); if (theForm.Password && theForm.PasswordConfirm) { why += isEmpty(theForm.Password.value, "Password"); why += isEmpty(theForm.PasswordConfirm.value, "Confirm Password"); if (theForm.Password.value != theForm.PasswordConfirm.value) why += appendBreak("- Password and its confirmation do not match."); if (theForm.Password.value.length < 6) why += appendBreak("- Password must be 6 characters or longer."); }if (theForm.FirstName) why += isEmpty(theForm.FirstName.value, "First Name"); if (theForm.LastName) why += isEmpty(theForm.LastName.value, "Last Name"); if (theForm.HomePhone) why += isEmpty(theForm.HomePhone.value, "Phone Number"); if (theForm.EmailAddress) why += checkEmail(theForm.EmailAddress.value);if (theForm.ShippingAttention) why += isEmpty(theForm.ShippingAttention.value, "Shipping Name");if (theForm.ShippingAddress) why += isEmpty(theForm.ShippingAddress.value, "Shipping Address"); if (theForm.HomePhone) why += isEmpty(theForm.HomePhone.value, "Phone Number"); if (theForm.ShippingState) why += isEmpty(theForm.ShippingState.value, "Shipping State"); if (theForm.ShippingCity) why += isEmpty(theForm.ShippingCity.value, "Shipping City"); if (theForm.ShippingZip) why += isEmpty(theForm.ShippingZip.value, "Shipping Zipcode");
if (theForm.BillingAddress) why += isEmpty(theForm.BillingAddress.value, "Billing Address"); if (theForm.BillingState) why += isEmpty(theForm.BillingState.value, "Billing State"); if (theForm.BillingCity) why += isEmpty(theForm.BillingCity.value, "Billing City"); if (theForm.BillingZip) why += isEmpty(theForm.BillingZip.value, "Billing Zipcode");
if (!theForm.PaymentMethodType || getRadioSelected(theForm.PaymentMethodType) == 1) { if (theForm.CardName) why += isEmpty(theForm.CardName.value, "Name on Card"); if (theForm.CardNumber) why += isNumeric(theForm.CardNumber.value, "Card Number"); if (theForm.Amount) why += isCurrency(theForm.Amount.value, "Amount"); } if (theForm.PaymentMethodType) why += checkSelected(theForm.PaymentMethodType, "Payment Method");if(why != ""){alert(why);return false;}if(submitcount42059 == 0){submitcount42059++;theForm.submit();return false;}else{alert("Form submission is in progress.");return false;}}
// Credit Card info is not required if paying by PayPal, Hosted Credit Card, COD etc
function ShowCCFields(val) {
if (!document.getElementById('paymentdiv'))
return;
if (val != 1)
document.getElementById('paymentdiv').style.display = 'none';
else
document.getElementById('paymentdiv').style.display = 'inline';
//]]>
</script>
</form>
</section>Locking this thread.
You only need one post on something -
I need help drawing a state map that highlights demographic data by zip code and county
I'm trying to draw a map of Florida that highlights some data I've collected. I need to be able to show distinctions between/among counties and zip codes. The "make a map of geographic data" video didn't really help me, as it gave no instructions on how to find the blank map in the first place.
Any help, please? Thanks
Make a map of geographic data | Adobe for Academics | Adobe TVgoogle or equivalent. how did illustrator give you that impression? it's for creating content, generally, not a clipart library.
edit: there are several here with county boundaries that you could probably convert to your needs:
Category:SVG maps of Florida - Wikimedia Commons -
ACE - need help implementing basic parameter map
Hi,
I'm trying to implement a connection parameter on an ACE module that sumply sets the TCP timeout to 0.
I can get this to work fine if I permit all TCP traffic in the class-map, but it doesn't work if I use an ACL;
>>Match all TCP;
parameter-map type connection TCP-Timeout
set timeout inactivity 0
class-map match-all TCP-Timeout-Out-Class
2 match port tcp any
class-map match-all TCP-Timeout-in-Class
2 match port tcp any
policy-map multi-match TCP-Timeout-Out-Policy
class TCP-Timeout-Out-Class
connection advanced-options TCP-Timeout
policy-map multi-match TCP-Timeout-in-Policy
class TCP-Timeout-in-Class
connection advanced-options TCP-Timeout
Interface vlan 920
service-policy input TCP-Timeout-in-Policy
Interface vlan 923
service-policy input TCP-Timeout-Out-Policy
>>Match ACL;
access-list TCP-Timeout-Group-Out line 10 extended permit ip 10.221.178.0 0.0.0.255 any
access-list TCP-Timeout-Group-in line 10 extended permit ip any 10.221.178.0 0.0.0.255
parameter-map type connection TCP-Timeout
set timeout inactivity 0
class-map match-all TCP-Timeout-Out-Class
match access-list TCP-Timeout-Group-Out
class-map match-all TCP-Timeout-in-Class
match access-list TCP-Timeout-Group-in
policy-map multi-match TCP-Timeout-Out-Policy
class TCP-Timeout-Out-Class
connection advanced-options TCP-Timeout
policy-map multi-match TCP-Timeout-in-Policy
class TCP-Timeout-in-Class
connection advanced-options TCP-Timeout
Interface vlan 320
service-policy input TCP-Timeout-in-Policy
Interface vlan 323
service-policy input TCP-Timeout-Out-Policy
Any ideas?
Many ThanksTry changing the class-map from "type match-all" to "type match-any". Match all implies both statments need to be true. The match-any is probably what you want. Either of the ACL statements can be true.
Also try to apply the policy globally instead of the interfaces, simplifying the config might help as well.
e.g.:
access-list TCP-Timeout-Group line 10 extended permit ip 10.221.178.0 0.0.0.255 any
access-list TCP-Timeout-Group line 20 extended permit ip any 10.221.178.0 0.0.0.255
class-map match-any TCP-Timeout-Class
match access-list TCP-Timeout-Group
parameter-map type connection TCP-Parameter-Map
set timeout inactivity 0
policy-map multi-match TCP-Timeout-Out-Policy
class TCP-Timeout-Out-Class
connection advanced-options TCP-Parameter-Map
service policy input TCP-Timeout-Out-Policy <- apply it globally
Hope it helps.
Roble -
New to PL/SQL and need help on check sum using ASCII function
Hello,
Need your expertise to help in figuring out how to write
code to calculate using ASCII function to return value for a character. For example ASCII('A') is 58. I want to do the check sum to sum-up the value for each character in the name. For example 'Jack'
Appreciate your help.
CKHi,
Please post all the technical queries in the respective forums. For more details and answers in SQL and PL/SQL, use the following forum:
PL/SQL
Sample PL/SQL code for your requirement:
-- make sure you have the serveroutput on using command.
-- set serveroutput on
DECLARE
sumval NUMBER(10);
tempval NUMBER(10);
colval VARCHAR2(20);
BEGIN
SELECT USER INTO colval FROM dual;
sumval := 0;
FOR i IN 1..LENGTH(colval)
LOOP
SELECT ASCII(SUBSTR(colval,i,1)) INTO tempval FROM dual;
sumval := sumval+tempval;
END LOOP;
DBMS_OUTPUT.PUT_LINE('sum is: '||to_char(sumval));
END;
The output of this pl/sql block will be:
sum is: 397
Please note: ASCII('A') is 65 and not 58.
Hope that helps.
Savitha.
http://otn.oracle.com/sample_code/content.html -
Need Help to check DAC task log in DAC
Hi there,
Can someone pls help me to check DAC task log in DAC.
I mean i want to see DAC task log.
The thing is I have a scenario: Where DAC task has failed but the Informatica Workflow invoked by the DAC task is succeeded.
So I want to check DAC task log to find the reason for the dac task failure.
Thanks,
RaghuYou can check this by going to the DAC Client -> find the Task that failed-> Click Details. You should see where it failed..for instance, since the WF succeeded, it may have failed on an Index creation. You will see all the steps associated with the task. Also, once you find the step that failed, you can click on the "Status Description" column to see additional details. If needed, you can also check the logs on the server itself but you will probably find the issue from the DAC client.
If this was correct, please mark the response as helpful or correct. -
Need help creating this Flow map ( Noob)
I'm new here so I apologize if the answer has been mentioned already.
In the Main menu I have Play Movie and Scene Selection.
I have 30 short clips that are easy to make chapters in the Scene Selection.
Question is how do I get all those clips in Scene Selection to play when you select PLAY MOVIE. How would I link or create that flow map.
Thanks I'd Appreciate any help.I have 30 short clips that are easy to make chapters in the Scene Selection
30 short clips aren't actually 'chapters' - they are really 30 separate movies and each one can only be played by itself with iDVD. DVD SP would give you additional options.
Right now, you would need to combine all 30 clips into one movie in iMovie 6 (NOT iMovie '08) and add the chapter mark links in iMovie HD 6.
F Shippey -
Need help in doing FDM "Maps" (Not able to do a like mapping)
Hi
sub : Unable to do a like mapping in FDM
I am new to FDM,here is what i am trying to do.
I have a ODBC source table and the table struct is somthing like this.
Accountcode1,Accountcode2,,,,YTD
I have a Custom Import Script where i have done the column mapping as bellow
source >to> Destination
Accountcode1 >> Accounts
Accountcode2 >> ICP
...>>.....
YTD>>Actual values
Destination is HFM
with the above senario here is what i am trying to do.
I am trying to apply the following logic
If Accounts = "1050300" and ICP = "10909001" then the value should go to HFM account1
else if If Accounts = "1050300" and ICP = "10909002" then the value should go to HFM account2
and so on.
the following are the questions i am not clear about while implementing the above logic.
Should i be using the like mapping ??
if yes then what should be in the "Rule Definition" and the "Script"
since the source account values are the same should i be doing this like mapping in the ICP Dimension ??
or is it a "reverse" in mapping ??
any sort of help in getting me resolve this issue will be highly appreciated.
Edited by: 845926 on Apr 3, 2011 8:11 AM
Edited by: 845926 on Apr 3, 2011 8:12 AM
Edited by: 845926 on Apr 3, 2011 8:13 AMHi,
there are two ways of solving this, the easy one without scripting is to combine in the import format account and custom1 for your account source. This will give you a longer mapping table but solves it without scripting..
Otherwise you use the like mapping where your target is #script and you use varvalues in your if then else satement.
Just look up varvalues in the FDM admin manual for a detailed description. -
Need help with IDOC CREMAS_03 mapping
i was not able to figure out what values to assign to the following mandatory fields.
BEGIN
EDI_DC40(node not mandatory)
SEGMENT
TABNAM
DIRECT
IDOCTYP
MESTYP
SNDPOR
SNDPRT
SNDPRN
RCVPOR
RCVPRN
i am trying to map the following structure to the CREMAS_03
Vendor_MT
VendorNumber
LastName
SearchTerm
Currency
Address
Street
City
Zip
Country
i appreciate ur time and helpyou dont need to map EDI_DC40, In the message mapping right click on the EDI_DC40 segment and click on disable field.
In the IDoc receiver communication channel, you should uncheck <b>Apply control record values from payload</b>
regards
SKM -
Need help in Object-Relational Mapping
I'm writing a simple two-tiered business application with Swing application on the client side and a DBMS on the server side. To make my client code more maintainable, I decided to create Business Objects instead of having my client accessing the database directly via SQL. For simplicity, I'm not using any features from the J2EE framework, and the Business Objects will be hosted on the client side, with one-to-one mapping to tables in the database. Since this is my first attempt in Object-Relational Mapping, I'm faced with the following problems:
1. What kind of methods are appropriate for business objects? For example, if I have a Machine and Employee entity. A Machine is owned by an employee, and this is represented in the DB by storing the employee ID (not the name) as a foreign key in the Machine table. Let's say in the user interface I have a table that needs to display the list of Machines, but instead of displaying the owner employee's ID, I want to display the owner employee's name by doing a join select. Should the findMachines() method always perform a join select to get owner's name and store it in the Machine object which is returned, or should findMachines() simply return the owner's ID so the UI will need to make another SQL call (through the Employee object) to get the employee's name? The latter is more elegant, but would it be horribly inefficient if there are lots of machines to be displayed (and for each machine we make a separate select call to get the owner's name).Business objects should be separate from how they're persisted.
When you say object-relational mapping, do you mean a tool like Hibernate? Or are you writing your own persistence layer using JDBC and SQL?
I'd recommend that you read about the Data Access Object pattern and keep the persistence code out of the business objects themselves:
http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html
url=http://www-106.ibm.com/developerworks/java/library/j-dao/ -
Need help on Inbound Delivery - Mapping from IDoc to LIKP Table
Hi,
For the DESADV IDoc (Inbound Delivery) we are currently mapping data to the LIKP table for a subset of fields via function module INPUT_IDOC_DESADV. If I wanted to map the ABLAD - Unloading Point field from the IDoc to the LIKP - ABLAD - Unloading Point field is this possible and if yes, what work would be required?
And could you please let me know how to find out an user exit for the message type? (message type = desadv)Hi Murphy,
Try this custom function '002'.
CALL CUSTOMER-FUNCTION '002'
EXPORTING
xekko = ekko
xlfa1 = lfa1
xlfb1 = lfb1
dobject = object
TABLES
int_edidd = int_edidd
xekpo = xekpo
xeket = xeket
dvbak = xvbak
dvbap = xvbap
dvbkd = xvbkd
EXCEPTIONS
error_message_received = 1
data_not_relevant_for_sending = 2.
Hope this will help.
Regards,
Ferry Lianto
Maybe you are looking for
-
My macbook air 2012 hangs randomly, when it happens the only thing i can do is push the power button and restart. I tought it was mavericks related so installed ML again but it still freezes sometimes. The log of the few minutes before the freeze: <A
-
I want to be able to print to a network printer with my IPad and IPhone with IOS 5.0.1. Seems like there is a limited number of printers that can "AirPlay" from these devices. I have an Airport Express and I know how to connect a printer and set it
-
Itunes won't open after installing 10.6
The OTA upgrade to 5.1 went great but after I installed itunes 10.6 and restarted my computer (laptop with windows vista) itunes won't open if I ununstall & reinstall will I lose everything?
-
Problem using an LCD projector
I've never had a problem in the past with hooking up my mac laptop to a projector an having it just work. Until today. I have a Macbook running 10.5.4. I used it to show movies last summer at summer camp with no difficulty. Today, when I hooked it up
-
Photoshop Cs no permite actualizar un archivo EPS. colocado en AI
Tengo por costumbre trabajar con los archivos de imágenes al tamaño y a la hora de modificarlos en el caso de los EPS de tintas planas me aparece este mensaje : (No se ha podido guardar \ ...\Frontal_Hleche 3 tintas.eps porque el archivo esta en uso