Questions tagged [atg-droplet]

Droplet is a combination of Servlets and javaBeans used while building ATG dynamo applications.

You can embed these droplets in your JSPs to display dynamic content. These droplets can be nested and pass parameters between themselves. These Droplets are also called as DynamoServlets. There are lot many out-of–box droplets provided by ATG.

The dsp:droplet tag lets you invoke a servlet bean from a JSP page. It encapsulates programming logic in a server-side JavaBean and makes that logic accessible to the JSP page that calls it. Tag output is held by its parameters, which can be referenced by nested tags.

35 questions
4
votes
3 answers

How to generate a dynamic URL using in Oracle Commerce(ATG)

I'm trying to display list of products in a jsp using ProductLookup droplet as shown below. I'm also trying to give a hyperlink to navigate to product details page of the individual product.
2
votes
2 answers

How to Mock repository Items in ATG

I am trying to create a Mock class for droplet. I am able to mock the repository calls and req.getParameter but need help on how to mock the repository item list from the repository. Below is the sample code. for (final RepositoryItem item :…
Abhishek
  • 25
  • 7
1
vote
1 answer

ATG - session or request attribute coming as null when checkFormRedirect is called

In my ATG application, when I am redirecting user to jsp page with some parameters using checkFormRedirect, I am getting parameters as null. Please see below FormHandler code: UserFormHandler: public boolean handleUserRedirect(dynamo req, dynamo…
Manan Kapoor
  • 675
  • 1
  • 11
  • 28
1
vote
2 answers

ATG dynamo droplet scopes

Can anybody explain why ForEach droplet has global scope, but not request scope? I mean what this feature give us in performance (real-world app with many users) in comparison if it has the request scope.
1
vote
1 answer

ATG AngularJs, Spring

I am Very beginner in ATG and Spring, I have done UI in AngularJs. is it possible to use AngularJs for Oracle ATG web commerce? And how can I use spring in between to give http request to AngularJs? and is there any guide for these?. I was not able…
Syam Nath
  • 45
  • 10
1
vote
1 answer

In Oracle ATG, how can I prevent logged in user againto login

In oracle ATG, how can we prevent a user who is already logged into the site from login again. In my application if the user is logged in and if he comes back to login page and try to login again it is showing invalid session. Can we disable this in…
David
  • 11
  • 3
1
vote
3 answers

how to retrieve orders from ordertools component in atg or how to test orderlookup droplet api

iam trying to orderlookup droplet API by passing some parameters.I assume that the parameters which are mandatory is userId and organisationIds which i have passed and additionally i have also passed "state" parameter.All these params are passed…
0
votes
1 answer

Unable to place a return order in ATG

I was trying place a return order in ATG by pushing some xml in Aux-Agent server. During execution geting below exception. Any idea about this error. I am unable to find the root cause. Caused by: CONTAINER:atg.service.pipeline.RunProcessException:…
rand
  • 325
  • 2
  • 8
  • 18
0
votes
1 answer

How to add comma in the list value in ATG

In ATG i have a one list and one properties file i need to add comma(,) value in the list Sample.java List sampleList = new ArrayList(); sample.properties sampleList=/ a,b,c ,\ c,d,e in ATG default comma is mean by…
Justin
  • 15
  • 5
0
votes
1 answer

how to resolve java.lang.OutOfMemoryError: GC overhead limit exceeded in Weblogic?

java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at…
0
votes
2 answers

How to change The PublishingWebAgent FileDeploymentServer port channge in LINUX

I tried to change the FileDeploymentServer port in my ATG linux system but it take default port 8810 how To change this **** Error Wed May 13 08:22:57 EDT 2020 1589372577963 /atg/deployment/file/FileDeploymentServer Service…
Justin
  • 15
  • 5
0
votes
1 answer

The request method type is not supported: OPTIONS in ATG

Im having a issue while making a API Call with Request Method POST. The preflight OPTIONS method is failing. I'm running ATG on weblogic 12c. The following is my CORS Code import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import…
0
votes
1 answer

Filtering out the elements of collection based on field in atg using ForEach

I have list for which data is coming as below (3 elements with status as ABC and 2 elements with status as PQR). I am able to display data in table format using…
Manan Kapoor
  • 675
  • 1
  • 11
  • 28
0
votes
1 answer

ATG(9.3) ERROR : java.lang.NoClassDefFoundError : org/owasp/html/HtmlPolicyBuilder

I am trying to add OWASP HTMLSanitizer API in my ATG(9.3) application but I am getting below exception: **** Error Wed Jan 16 01:35:45 IST 2019 1547582745139 / Unable to resolve component…
Manan Kapoor
  • 675
  • 1
  • 11
  • 28
0
votes
1 answer

Working with ATG Rest full API addItemToOrder ERROR

As advised from the question:ATG Rest full API addItemToOrder is not working I have created an organization and added the user in it null pointer exeption got cleared but,Now new error started coming up below are the server error **** debug Fri Jul…
Syam Nath
  • 45
  • 10
1
2 3