Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

jaib75117127
Community profile jaib75117127 Level 1
Job title here
Location here
0 BADGES
Level 1

Level 1

Learn more
Joined the community 06-09-2015 4:51:15 PM
Offline
Top badges earned by jaib75117127
Customize the badges you want to showcase on your profile
Re: Pass an object as a parameter to sling model/wcmusepo...
Avatar
Level 1
jaib75117127
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
jaib75117127
- Adobe Experience Manager
Thanks but the problem is not getting the request object but passing an object as an argument to sling model/wcmusepojo

Views

729

Likes

0

Replies

0
Re: Pass an object as a parameter to sling model/wcmusepo...
Avatar
Level 1
jaib75117127
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
jaib75117127
- Adobe Experience Manager
Thanks but can I pass a java object as well instead of string and do this -> get("propertyOne", JavaClassName.class); to get the object?

Views

758

Likes

0

Replies

0
Pass an object as a parameter to sling model/wcmusepojo from sightly(HTL)
Avatar
Level 1
jaib75117127
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
jaib75117127
- Adobe Experience Manager
Hi,I'm converting a JSP into sightly for a component. In that component they are setting an object as a request attribute to be used in another component. We cannot set request attributes in sightly right? So I'm trying to send this object as a parameter to a sling model/wcmusepojo to set the request attribute there but I think we can only pass string values as arguments to slingmodels/wcmusepojo right? Is there any example of passing an object as a parameter to slingmodel/wcmusepojo? Thanks!

Views

959

Likes

0

Replies

7