Skip to content

Commit

Permalink
Merge pull request #1428 from MitrahSoft/Added_a_examples_27/03/2024
Browse files Browse the repository at this point in the history
Added examples and description for lucee docs
  • Loading branch information
zspitzer authored Apr 2, 2024
2 parents 7e31db4 + b2a52df commit 36fecbd
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 3 deletions.
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 );
```

0 comments on commit 36fecbd

Please sign in to comment.