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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

eric_estes
Community profile eric_estes Level 2
Job title here
Location here
7 BADGES
Level 2

Level 2

Learn more
Joined the community 30-05-2017 6:36:44 AM
Offline
Top badges earned by eric_estes
Customize the badges you want to showcase on your profile
Re: How to pass parameters to components?
Avatar
Give Back 5
Level 2
eric_estes
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
eric_estes
- Adobe Experience Manager
I'd rather not use a dialog because it is not an authorable property.

Views

1.4K

Likes

0

Replies

2
Re: How to pass parameters to components?
Avatar
Give Back 5
Level 2
eric_estes
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
eric_estes
- Adobe Experience Manager
smacdonald2008 wrote... This is discussed here: http://blogs.adobe.com/experiencedelivers/experience-management/sightly-intro-part-3-2/ Use-api In my second article I explained that you can call methods from your custom-classes via the data-sly-use notation.In this example I will show that you can also pass in parameters from your components. However - values are passed from front end to the back end - which is Java. If you want to get values to the component itself (ie - a String value)- you ne...

Views

1.4K

Likes

0

Replies

4
How to pass parameters to components?
Avatar
Give Back 5
Level 2
eric_estes
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
eric_estes
- Adobe Experience Manager
I'm rendering out a component via a data-sly-resource and I'd like to be able to pass parameters as part of this, for example something like or something. I'd rather keep it out of the dialog because it's not something authors need to worry about and I'd rather not create separate resource types to handle different rendering scenarios for the same content. Is there a way to do this?

Views

4.8K

Likes

0

Replies

6
granite ui fileupload broken: not passing fileName value to server, which deletes file
Avatar
Give Back 5
Level 2
eric_estes
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
eric_estes
- Adobe Experience Manager
After a file has been uploaded and saved via the Granite UI fileupload component, opening and saving the dialog again passes a null value on the ./fileName field, which effectively deletes the file. Is there a way to fix this?

Views

121

Likes

0

Replies

1
Re: How to encapsulate and share functionality (dialog fields, rendered markup) between components?
Avatar
Give Back 5
Level 2
eric_estes
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
eric_estes
- Adobe Experience Manager
But if a group of component types all share a certain bit of functionality (both dialog fields and rendered markup), why should that not be shared?Ideally I'd like to be able to encapsulate functionality, basically make a sub-component that can be utilized by components. For example, if a lot of my components had background images, I'd like to be able to make a "BackgroundImage" sub-component where I could:add a BackgroundImage node to a component's dialog that would create an instance of the Ba...

Views

173

Likes

0

Replies

1
How to encapsulate and share functionality (dialog fields, rendered markup) between components?
Avatar
Give Back 5
Level 2
eric_estes
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
eric_estes
- Adobe Experience Manager
Is there a way to effectively create my own UI component that can be added to a component's dialog (rendering the UI component's own specific fields) and referenced in the component's template (rendering the UI component's own markup)?

Views

261

Likes

0

Replies

5
Re: fileupload's fileNameParameter being deleted on second save
Avatar
Give Back 5
Level 2
eric_estes
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
eric_estes
- Adobe Experience Manager
Sham HC wrote... Install the touchui recommend hotfix & make sure filenameparameter is unique Are you referring to the Touch-optimized UI Update Pack (Feature Pack 6563)? I have that installed, and fileNameParameter is unique as best I can tell.

Views

209

Likes

0

Replies

0
fileupload's fileNameParameter being deleted on second save
Avatar
Give Back 5
Level 2
eric_estes
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
eric_estes
- Adobe Experience Manager
In my component's dialog I have a fileupload field for use with an image. When I test it out with an instance of the component, the initial upload works and the image is saved when I close the dialog, but when I reopen the dialog and save again the image is cleared. On closer inspection in crxde, the fileNameParameter (eg "./image/fileName") is being deleted following this second save and breaking the image. Recreating it manually restores the image, but it's of course deleted the next time the ...

Views

227

Likes

0

Replies

2
Re: Decimal values in Numberfield?
Avatar
Give Back 5
Level 2
eric_estes
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
eric_estes
- Adobe Experience Manager
Yup, that's it. The old numberfield has a bunch of options but they don't seem to carry over to the new one.

Views

753

Likes

0

Replies

0
Decimal values in Numberfield?
Avatar
Give Back 5
Level 2
eric_estes
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
eric_estes
- Adobe Experience Manager
I'm trying to use a Coral Numberfield, but it marks a decimal value as invalid and there doesn't seem to be any option to allow it. Is there something I'm missing?

Views

2.3K

Likes

0

Replies

5
Re: Force refresh on Edit/Preview mode change?
Avatar
Give Back 5
Level 2
eric_estes
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
eric_estes
- Adobe Experience Manager
edubey wrote... You can add this piece of code CQ.WCM.launchSidekick("${currentPage.path @ context='uri'}", {propsDialog: "${wcmInit.dialogPath @ context='uri'}",locked: ${currentPage.locked @ context="scriptString"},previewReload: "true"}); Is that only for the classic ui, not the touch ui?

Views

286

Likes

0

Replies

0
Force refresh on Edit/Preview mode change?
Avatar
Give Back 5
Level 2
eric_estes
Level 2

Likes

0 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
eric_estes
- Adobe Experience Manager
Is there a way to force the current page to refresh when switching between Edit and Preview modes? This is to ensure that logic that checks against the current mode value runs as expected.

Views

1.7K

Likes

0

Replies

5