Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added examples and description for lucee docs #1428

Merged
merged 1 commit into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/03.reference/01.functions/encodeforxpath/_examples.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
*There are currently no examples for this function.*
```luceescript+trycf
enc = EncodeForXPath( "<cfscript>", true );
writeDump( enc );
```
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is the query object from which you want to extract the column data. It should be a valid query object.
20 changes: 19 additions & 1 deletion docs/03.reference/02.tags/form/_examples.md
Original file line number Diff line number Diff line change
@@ -1 +1,19 @@
*There are currently no examples for this tag.*
```lucee+trycf
<cfform name="mycfform">
-- year --
<br />
<cfselect name="year" enabled=true style="color:blue;" size=2>
<option name="0" selected=true>--2024--</option>
<option name="1">--2023--</option>
<option name="3">--2022--</option>
<option name="2">--2021--</option>
</cfselect> <br />
-- color --
<br />
<cfselect name="color" >
<option name="0">--red--</option>
<option name="1">--green--</option>
<option name="2">--blue--</option>
</cfselect>
</cfform>
```
20 changes: 19 additions & 1 deletion docs/03.reference/02.tags/select/_examples.md
Original file line number Diff line number Diff line change
@@ -1 +1,19 @@
*There are currently no examples for this tag.*
```lucee+trycf
<cfform name="mycfform">
-- year --
<br />
<cfselect name="year" enabled=true style="color:blue;" size=2>
<option name="0" selected=true>--2024--</option>
<option name="1">--2023--</option>
<option name="3">--2022--</option>
<option name="2">--2021--</option>
</cfselect> <br />
-- color --
<br />
<cfselect name="color" >
<option name="0">--red--</option>
<option name="1">--green--</option>
<option name="2">--blue--</option>
</cfselect>
</cfform>
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
```luceescript+trycf
enc='<cfscript>'.EncodeForXPath();
writeDump( enc );
```
Loading