|
Yeah, that gets back to the message below where I stated:
I should also add that this is a list form, and the links
tab in the ide, the add/view/edit & delete links all say (none available). I
cannot edit these values.
So question is, why are they disabled?
Dan =================== Previous Message Below
===================
Well, there is a Links tab in the right panel when you
select a list control in the IDE. If you set a link to
'disabled' it sets the attribute to "No" in the generated tag for that
link.
Jeff
Makes sense. Thanks for the tip on the "No" for the
attribute when I do not want the links to display. I did not miss this in
the IDE, did I?
Dan =================== Previous Message
Below ===================
If you try to modify the links in the IDE, I
believe the forms have to be created on the disk for the links to be
editable.
Sometimes you need to just create a new module
manually. I don't like the way Plum generates a default directory
for every formset. That is why I don't let Plum auto-generate all my
forms at once. Just manually create an empty module for the
new directory you have for the wizard, and then create new pages in that
module manually as you need them. I have a company directory in the
project I am working on that has forms for the company, office,
employee, and several lookup tables. I have found it is more
beneficial to group these things based upon how security access has
to work. It is easier to control access to all of these with
one group in security 'company' as opposed to 10 different
ones.
As to the add
link, set the attribute value to "No" to disable the
link.
HTH,
Jeff
I should also add that this is a list form,
and the links tab in the ide, the add/view/edit & delete links all
say (none available). I cannot edit these values.
Dan
----- Original Message -----
Sent: Monday, December 06, 2004
3:35 PM
Subject: [plum]
cf_DisplayListLinks
The plum wizard creates a separate
directory under the admin directory for each table in the database. I
am creating a new module that will be a wizard, and I will be adding
data to several tables. The IDE assumes that my new module is in the
same directory as the database table module, and therefore the
Add,View,Edit and Delete links are wrong.
In the example below, I do not want them
to be able to add another record, so how do I disable the Add link in
the IDE or in code, and how do I correct the path, as I manually did
for the view link be pre-pending "../tblpage/".
<cf_DisplayListLinks add=""
view="../tblPage/tblPageViewForm.cfm" edit="tblPageEditForm.cfm"
delete="tblPageDeleteForm.cfm">
I guess I am always exploring if
something can be done in the IDE first, and that way, I am becoming
more aware of everything that can be done there.
Dan
|