Expand my Community achievements bar.

alistairp781078
alistairp781078
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Thanks, I'll have a look at this. Just to note, I do have the uberjar included as a dependency - the bundle is active and other components are working as I would expect. It just seems as though the sling model isn't getting registered correctly.

    Type

    Questions

    Views

    1.7K

    Likes

    0

    Replies

    0
  • Hi all. I'm posting to ask about Sling models and if they differ in 6.3I have a a few components in 6.1 that make use of Sling models to expose some data in the repo. These work fine in 6.1We are currently in the process of upgrading to 6.3 and I have noticed that this code no longer works. It doesn...

    Type

    Questions

    Views

    3.1K

    Like

    1

    Replies

    7
  • Both, thanks for your help.I've appended some additional code to the showHide function that has done the trick.var $tabButton = $("[aria-controls='" + targetElementSelector + "']");var isVisible = shouldShowWhenChecked ? isChecked : !isChecked;$tabButton.toggleClass('hidden', !isVisible);Where targe...

    Type

    Questions

    Views

    2.0K

    Likes

    0

    Replies

    0
  • I'm trying to create a dialog in Touch UI that opens up with a hidden tab in it. If a user ticks a checkbox, the tab and its contents show (if the checkbox is ticked again, the tab returns to its hidden state).I've found a few examples for adding/changing fields in the same tab but nothing much usef...

    Type

    Questions

    Views

    2.8K

    Likes

    2

    Replies

    3
  • Perfect! This is just what I was after. Thanks both for your help.

    Type

    Questions

    Views

    4.4K

    Likes

    0

    Replies

    0
  • Hi Feike,Thanks, that's a useful example. I've had a go at implementing it with the following code:<div data-sly-use.articlesearch="xx.xx.xx.xx.core.model.ArticleSearch"     data-sly-list.list="${articlesearch.ListOfMaps}">     <ul data-sly-list.map="${list.keySet.iterator}">          ${map} ${list[...

    Type

    Questions

    Views

    4.2K

    Likes

    0

    Replies

    0
  • Could someone please help me with using a list of maps in Sightly.I am using a sling model with a List<Map<String, String>> variable and wish to iterate through the list and dynamically pull values from the map based on variable names. For example a map may contain two variables with the following k...

    Type

    Questions

    Views

    6.1K

    Like

    1

    Replies

    5
  • We've recently been getting Java compilation errors during our deployments that have resulted in us either having to manually edit JSPs in /crx/de or update the bundles in the system console.The following is our deployment process and I was wondering if anyone could advise on whether this a good/sta...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    2
  • Just a quick follow up on this with my solution in case anybody else comes across this thread:Background: The data I have is two multidimensional arrays, one holding a series of times and the other boolean values that indicate if an event is sold out at a particular time, e.g.:times = [[12:00,13:00]...

    Type

    Questions

    Views

    2.3K

    Like

    1

    Replies

    0
  • Hey, thanks for the response.I've been having a look at this and have come up with this listener for the dialog:function(dialog){ var dialogItems = dialog.initialConfig.items.items.items; var newItems = {'jcr:primaryType':'cq:Widget', name:'${path of property to view}', stateful:false, xtype:'textfi...

    Type

    Questions

    Views

    2.3K

    Likes

    0

    Replies

    0
Top badges earned by alistairp781078
Customize the badges you want to showcase on your profile