Hi,
I want to store data for anonymous users, such as the contents of a shopping
cart.
When the user comes to the site a script will look for a path contained in a
cookie. If this cookie present then any 'add to basket' forms will post to
it and any requests to show the basket will pull content
On Fri, Jan 29, 2010 at 12:25 PM, Ben Short b...@benshort.co.uk wrote:
I want to store data for anonymous users, such as the contents of a shopping
cart.
When the user comes to the site a script will look for a path contained in a
cookie. If this cookie present then any 'add to basket' forms
On Fri, Jan 29, 2010 at 12:55 PM, Vidar Ramdal vi...@idium.no wrote:
Node basketsParent = session.getItem(req.getResource().getPath());
Node basket = basketsParent.addNode(/* generate a unique name */);
...
To unique name I'd add impossible to guess to prevent people from
messing
Thank you for the response.
I have the following rough class.
package com.daisytechnologies.basket;
import org.apache.sling.api.SlingHttpServletRequest;
import org.apache.sling.api.servlets.HtmlResponse;
import org.apache.sling.servlets.post.SlingPostOperation;
import
On Jan 29, 2010, at 8:51 AM, Ben Short b...@benshort.co.uk wrote:
Thank you for the response.
I have the following rough class.
package com.daisytechnologies.basket;
import org.apache.sling.api.SlingHttpServletRequest;
import org.apache.sling.api.servlets.HtmlResponse;
import
Seems to deploy fine..
29.01.2010 14:06:52.747 *INFO* [FelixDispatchQueue]
com.daisytechnologies.spike.website-spike BundleEvent STOPPED
29.01.2010 14:06:52.762 *INFO* [FelixDispatchQueue]
com.daisytechnologies.spike.website-spike BundleEvent UNRESOLVED
29.01.2010 14:06:52.762 *INFO*
Hi,
If you are using the @scr.* tags you have to use the maven-scr-plugin to
generate the SCR descriptor file. Otherwise the component will not be
known and registered
This is what I interpret from the log actually.
Regards
Felix
On 29.01.2010 15:08, Ben Short wrote:
Seems to deploy
On Fri, Jan 29, 2010 at 2:59 PM, Vidar Ramdal vi...@idium.no wrote:
...Check the Felix web console
(http://localhost:8080/system/console/bundles) and see that your
bundle is listed there, and is active. If it is not, click to expand
it and check if any of the imports are listed in red.
You
OK I have been looking at the Sample Post Servlet Extensions and my pom is
pretty much the same.
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
Altering the scr plugin config to the following makes it generate
the Service Component Descriptors and add them to the pom.
plugin
groupIdorg.apache.felix/groupId
artifactIdmaven-scr-plugin/artifactId
version1.4.2/version
executions
Hi,
It works without the executions stuff, because we have the plugin in
the pluginManagement of the parent POM in Sling, while I assume you
don't have such a configuration.
Therefore you have to explicitly configure it in your project.
Regards
Felix
On 29.01.2010 15:43, Ben Short wrote:
Enable bundle profile active by default in jcr.jackrabbit-server
--
Key: SLING-1342
URL: https://issues.apache.org/jira/browse/SLING-1342
Project: Sling
Issue Type: Improvement
The vote passed with four binding +1 votes from
Bertrand Delacretaz, Felix Meschberger, Ian Boston, and Carsten Ziegeler
No other votes have been cast.
Thanks vor voting - I'll upload the artifacts asap.
Regards
Carsten
--
Carsten Ziegeler
cziege...@apache.org
[
https://issues.apache.org/jira/browse/SLING-1313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler closed SLING-1313.
---
API should be exported as 2.0.2
---
Key:
Our project is stuck with old versions of some Sling bundles for the
time being, not having the nerve to update them just weeks before our
release.
We just discovered that domain mappings are not being picked up, that
is, a restart is required before any changes under /etc/map are being
On Fri, Jan 29, 2010 at 5:37 PM, Vidar Ramdal vi...@idium.no wrote:
[...]
We just discovered that domain mappings are not being picked up, that
is, a restart is required before any changes under /etc/map are being
recognized by JcrResourceResolver.
[...]
Ah, never mind. I see now that the
Hi,
IIRC, LoginModules are bound to a session, hence one is created with the
session to service its needs, and then destroyed when the session is destroyed.
On creation the doInit(CallbackHandler callbackHandler, Session session, Map
options) with the session that the LoginModule is bound to.
See
http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.launchpad.testing/524/
See http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/524/changes
19 matches
Mail list logo