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

regarding using two different component on page

Avatar

Avatar
Boost 1
Level 1
depa0308
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
depa0308
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
depa0308
Level 1

02-05-2019

Hi,

i have a situation with SPA . i was trying to use HTL component and Non-HTL component on the sampage. Actually can we do that .

Replies

Avatar

Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile

Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
Level 7

02-05-2019

Yes, we can use the HTL and JSP component in same page.

make sure to check the parsys, which you have included is a JSP or HTL.

For both, you will have to go in design mode and add the component.

~ Prince

Avatar

Avatar
Boost 1
Level 1
depa0308
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
depa0308
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
depa0308
Level 1

02-05-2019

that ok , but th ething is when the Singl epage application comes in to picture i am using react to creat react component which i can't us in page.

Avatar

Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile

Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
Level 7

03-05-2019

In single page application, are you storing or generating the react js code in clientlib using front-end maven plugin? if not then I am not sure how you will use other components.

If I am not wrong, like in SPA the HTML generates from react developers and whatever they give you, you paste it to index.html.

if this is the case, using parsys is difficult. if not, you can use parsys in your spa page and then drag n drop the components.

~ Prince