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
0
votes
1 answer

Getting NullPointerException while fetching property from repository in ATG

I'm trying to fetch properties like first name and last name from profile repository, displaying it in jsp using droplet. Below is my sample code: SampleDroplet.java public class SampleDroplet extends DynamoServlet { private Repository…
Ramya jois
  • 29
  • 5
0
votes
1 answer

ATG Rest full API addItemToOrder is not working

I am working on ATG Web-commerce REST Full API, addItemToOrder is not working. This is the Error: { "formError": true, "formExceptions": [ { "localizedMessage": "Unable to process the request currently. Please try again after some…
Syam Nath
  • 45
  • 10
0
votes
1 answer

Error: Your session expired due to inactivity. ATG REST API session confirmation Number Missmatch

I am working on ATG portal using REST API, all ATG API's are tested using PostMan. It is giving an error when I started working in JS. below is the Test Code: http({ method : "GET", url :…
Syam Nath
  • 45
  • 10
0
votes
1 answer

How to pass parameters via dsp:iframe to the iframe

I want to pass tag to the src jsp. As per ATG documentation I can use tags to pass params and then use their value in the src of iframe. Can someone provide me with an example how this can be done? Newbie in ATG
user3465554
  • 39
  • 2
  • 7
0
votes
1 answer

Can ItemDescriptor be mapped to a view instead of table

i have a view and it will be much easier for me to work against a view instead of a table itself. In ATG, can i map an itemdescriptor to a view instead of a table? Can someone provide me with an example? TIA
user3465554
  • 39
  • 2
  • 7
0
votes
0 answers

How do I make a Droplet to open a webpage?

I have a droplet from the website Digitalocean.com and would like to SSH into the servers to keep a few webpages open. How would I SSH into that? The webpages use JSON data that is sent a mysql server, so having the webpages open is the only way the…
0
votes
1 answer

ATG customized repository

How to create a customized repository in ATG with certain fields like name id and so on. And how to query the same information according to name ID or any other fields.
0
votes
2 answers

ATG Qualifer Service How to find qualifiers

For some promotions (like spend y in x and get item discount) OOTB qualifier service doesn't mark any commerce item as qualifier. And evaluateQualifier() method returns boolean instead of List type. So in these particular scenarios: how to find the…
rohan lukose
  • 101
  • 1
  • 13
0
votes
1 answer

ATG refund payment type

While returning a item using returns manager is it possible to assign refund to a new payment group and associate it with order ? For example if the order payment is done using credit card then I need to use cash for refund during return
rohan lukose
  • 101
  • 1
  • 13
0
votes
1 answer

What is the difference between serviceParameter() and serviceLocalParameter() in a ATG servlet Bean?

I am new to ATG Framework. In the ATG Programming guide its explained that the serviceParameter() and serviceLocalParameter() are used to display the Open parameters. And both parameters set by these 2 are visible in the droplet tag only. What is…
patil
  • 41
  • 8
0
votes
3 answers

ATG ForEach nested map display

I was trying to display nested map data based on a Map(String, Pojo) structure. I have tried all different sorts of ways to get this to display but it will not recognize the Map object on the pojo.
Jeremy Reed
  • 289
  • 7
  • 20
0
votes
3 answers

How to enable loggingDebug for request scoped component?

How to make loggingDebug = "true" for a request scoped component in /dyn/admin ?
anonymous
  • 483
  • 2
  • 8
  • 24
0
votes
1 answer

ATG - not able to resolve component

I am not able to resolve a component in through my property files. I have re-created getter setters, checked spellings, even appended components in initial.properties. Its not picking up that path from properties file and showing null when checked…
user3554403
  • 11
  • 1
  • 5
0
votes
2 answers

Include a dynamic page using dsp include in atg

I'm trying to include a page listusers.jsp which simply says "Hello World". I'm reading the name of the listusers.jsp from a parameter as shown below from profile.jsp.
Buddha
  • 4,339
  • 2
  • 27
  • 51
0
votes
2 answers

Run ATG application in Eclipse

I was able to create an ATG project under Eclipse (using the wizard New ATG Application Moduke) but now I am not being able to run it on browser. When I right-click on index.jsp file I have no option to "Run on server". What I am missing or doing…
pinker
  • 1,283
  • 2
  • 15
  • 32