この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
Hi ,
I am using coral touch ui sling:resourceType="granite/ui/components/coral/foundation/form/pathbrowser"
when user selects the required path in touch ui dialog it must append .html at the end .How to achieve it
The xml data i have is
<accessLevelPath
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/pathbrowser"
fieldLabel="Access Level Page Path :"
name="pagepath"
rootPath="/content">
Thanks
表示
返信
いいね!の合計
This post might help in achieving this feature: Adding .html extension to page selected
表示
返信
いいね!の合計
You can also use sly to achieve that:
URL manipulation
Adds the html extension to a path. More details at [1]
<a href="${item.path @ extension = 'html'}">${item.name}</a>
表示
返信
いいね!の合計
Hi,
I would need to show on touch ui dialog and not at page level
表示
返信
いいね!の合計
Path Browser is deprecated, please use PathField </libs/granite/ui/components/coral/foundation/form/pathfield> instead
表示
返信
いいね!の合計
A field that allows the user to enter path.
Thanks .But for path-field how to add .html at the end in the dialog when user selects any path
表示
返信
いいね!の合計
The option i can see here is to overlay the "/libs/granite/ui/components/coral/foundation/form/pathfield/render.jsp and manipulate it as per the business requirement.
NOTE: This will change the code for default pathfield and it will behave the same for all components.
表示
返信
いいね!の合計
Thanks for the inputs. But it only required for specific dialog components .So cannot use this approach.
Do we have any other way
表示
返信
いいね!の合計