Editable attribute within optional region?
If I make an optional region in my template, and within it
make some attributes editable, will this work ok?
thanks
Should, yes.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"jdldn" <[email protected]> wrote in message
news:ge9j14$oj0$[email protected]..
> If I make an optional region in my template, and within
it make some
> attributes editable, will this work ok?
> thanks
Similar Messages
-
Edit optional region in template
I need to edit an optional region in a template so that by
default the value is "false" for the given region.
So to do this I:
- select the region
- in the 'Properties' window CLICK 'edit'
- select the 'basic' tab
- UNCHECK the 'show by defailt' box
- CLICK 'OK'
Unfortunately this does nothing. The template does not seem
to have been altered at all. If I go back in to edit the same
region the box, which I DEFINITELY unchecked, is CHECKED again.
Anyone able to offer some insight, please?
Ideas and thoughts welcome.
Cheers
Hthis doc really helped
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16347
as it highlights the fact that you can go into the code in
the <head> tag and change the following (for example) case of
'true' to 'false':
<!-- BEGIN SECTION SELECT OPTIONAL AREAS TAGS-->
<!-- TemplateParam
name="nav-primary-selected-undergraduate" type="boolean"
value="true" -->
Not sure why the 'edit' option in DW wasn't working
<!-- END OPTIONAL AREAS TAGS--> -
Hi there,
I am having some difficulty using dreamweaver's editable attributes for my template-based pages. I've followed dreamweaver's help instructions but I keep getting error messages and I don't want to screw up my layout.
I simply want the locked region of my side nav to custom size along with the vertically growing editable region of the body area of my page. I have about 30 pages based off of this template. Are editable attributes the best way to go about this?
Any suggestions? Thanks!As Nancy mentioned, without seeing the code, or at least a preview of the page, hard to tell - please post a link for more help....
It sounds as though you have a sidenav region that has either a background image or color that you would like to expand vertically down the page as the content area expands? How is your page built?
If, for instance the side nav is placed in a table with a fixed height, and the content is in a separate table, try building a single table with two columns (or more columns depending on your needs) - then set the left column to the width and color attributes you have now, and it will expand in height along with the varying content of the right column.
As for the template, you can still lock the left cell within the template, and make the right cell your editable section just as you have now even thought it is part of one complete table. This will also work with css divs - depending upon how your pages are constructed... (in fact css is the preferred method, I used tables just as one example...)
Hope that is of some help - please post a link if this confuses more than helps...
Jesse -
Hinding code with Optional Regions
I am getting an error:
HERE
I know why, it is because I have to use: <body
onload="load()" onunload="GUnload()"> in the line:
<body class="thrColFixHdr"
onload="P7_TMclass();P7_TMopen();load()"
onunload="GUnload()","P7_TMclass();P7_TMopen();MM_preloadImages('images/layout-images/clo se-tabs-over.gif')">
This is used to display a google map in my 'Location' page
but this is the only place I need that code and where the map does
not exist (all other pages) I get the error.
Is there any way of hiding part of that code in my template?
I have tried to have two versions of the line with and
without the map code in 'Optional Regions' but no luck.
Some expert advice greatly appreciated.
Cheers,
Richard> 1. If I add: <!-- TemplateParam name="MapScript"
type="boolean"
> value="false"
> --> to my template and make it true on the page with
the google map I get
> the
> Load() error on all other pages.
Yes - well, this is a problem with a template controlled
page. The body tag
is NOT editable. You *can* use an editable attribute on the
body tag for
the onload attribute, which would allow you to access the
values associated
with that attribute on each child page, but it's all-or-none
in the sense
that you would have to add the full text of that attribute on
each child
page (adding or subtracting the 'load()' call).
Are you using server scripting on these pages?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"RICH POW" <[email protected]> wrote in
message
news:ful2gl$lqf$[email protected]..
> Thanks for the reply...
>
> I'm in a bit of a vicious circle here.
>
> 1. If I add: <!-- TemplateParam name="MapScript"
type="boolean"
> value="false"
> --> to my template and make it true on the page with
the google map I get
> the
> Load() error on all other pages.
>
> 2. If I leave the script in I get a Null Value error on
all pages except
> the
> google map page.
>
> Do you know a way I can include that map just on that
page?
> Do you know how I can add the whole page with SSI or add
the <body
> onload="load()" onunload="GUnload()"> to the body tag
with an option
> region?
>
> Here is the map in it's simplest form:
>
http://adelantedesign.co.uk/websites/adelante/googlemap.html
>
> Thanks again for your time.
>
> Richard
> -
Template Optional region - BODY TAG
Hi,
Is it possible to make a optional region inside the BODY TAG?
I want place following line inside the body tag (but not on
all pages!!):
onload="load()" onunload="GUnload()" ...(code for Google
Maps).
I tried insert the optional region but DW doesn't seem to
accept it...is there another way around?
Hope someone can help:-)
mg04> Is it possible to make a optional region inside the BODY
TAG?
No.
However, read DW's F1 Help about using Editable Attributes.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"mg04.dk" <[email protected]> wrote in
message
news:gd307v$m2p$[email protected]..
> Hi,
>
> Is it possible to make a optional region inside the BODY
TAG?
>
> I want place following line inside the body tag (but not
on all pages!!):
> onload="load()" onunload="GUnload()" ...(code for Google
Maps).
>
> I tried insert the optional region but DW doesn't seem
to accept it...is
> there
> another way around?
>
> Hope someone can help:-)
>
> mg04
> -
Change tr bgcolor based on optional region
Hello, dear DW wizards,
I would like to automatically change the background color of a table row based upon wether an optional region is visible in a document or not.
I created an optional region in a template and set its default state to show. In another region I made the tr tag of a table row editable. The default bgcolor for that row is red.
If the optional region in an html file based on this template is hidden, the bgcolor of the table row should automatically change to blue.
Is this possible with conditional expressions? I find no detailed info on the programming and don't know Javascript (which DW expression language is similar to).
Thanks for you help
BernhardYour best bet with questions like this is to post your code so we can see exactly what is happening. Nevertheless, the 'guess' answer to your question is "yes" you can do such things with conditional expressions. You would make the color for the <tr> test the template parameter that controls the visibility of the optional region:
<tr style="background-color:@@(param==true ? #AAAAAA : #BBBBBB)@@" -
POSITION OF IMAGE IN TEMPLATE OPTIONAL REGION
Hi,
I am new to Dreamweaver and have designed a template with a
table on my page. Each of 4 template areas are either editable or
optional regions. In one optional region I have an image. I have
defined the table to be aligned to the top of the table cell, but
when the template is applied to the other pages, the image is in
the middle vertically. I also have it set to be centered
horizintally, but it stays to the left.
What am I doing wrong?
Any help would be appreciated.Post a link to the page, please.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"tlctara" <[email protected]> wrote in
message
news:fvsme0$l0d$[email protected]..
>
> Hi,
> I am new to Dreamweaver and have designed a template
with a table on my
> page.
> Each of 4 template areas are either editable or optional
regions. In one
> optional region I have an image. I have defined the
table to be aligned
> to the
> top of the table cell, but when the template is applied
to the other
> pages, the
> image is in the middle vertically. I also have it set to
be centered
> horizintally, but it stays to the left.
> What am I doing wrong?
> Any help would be appreciated.
>
> -
Creating DW templates - Repeating Optional Region?
Hello Again:
I know that it isn't always the best to pose abstract questions on forums, but I am wondering if anyone can tell if/how one can create an optional region within a repeating region of a DW template?
The specific conundrum I seem to face that if a region has two divs within it (one with and one without a textbox surrounding it, for example) and if the user of the template chooses to repeat the section, how can they delete the second div within the repeated region (deleting through the modify tempate option) without deleting all the previous instances of the div as well.
If there is a way to do this, I would appreciate some guidance.
Thanks in advance.
Steve Webster.Yes, and first my apologies, as I could have provided the example first of all. If you go to http://socls.org/testing/immigration-refugee_law.html I can perhaps explain my objective better. On that page you see a series of text boxes one with a gradient background and a second with a only a outline in red. For the moment ignore the text boxes that are rendered side by side and assume that the 1st two horizontal text boxes are all that I want to repeat throughout the page.
I want to place the two of those full width text boxes within a repeating region (or turn them into a repeating region). However if the webmaster needs to add content but doesn't need a pair of text boxes, or otherwise gets to the end of her content sections and doesn't need a final red outlined box, then I would want that the last red outlined box to be optional, without however deleting previous instances. Sometimes content can't be organized so neatly as to finish with an even number of "content sets".
I think the bigger problem is, as I understand it, that you can't create two "divs" (in this case text boxes) and have each repeating independently, and allow each to be moved up and down as though they were passing through another text box/div that also constitutes a repeating region. The only way to have the pattern to repeat is to "pair" them as a single unit (Or perhaps I have misunderstood how the repeating action works ?!?) I have tried treating them as independent repeating regions and it doesn't seem to work in the manner I would like. If you tie them together in this way, then the only way to end with an uneven number of text boxes is to make one optional. But it seems that if you make the second in the pair optional, then by "turning it off", you end up turning all off.
At least that is how it seems to work.
You may be right that the design is too complicated to work as a template in this fashion.
Or, perhaps I am fundamentally mistaken on the architecture of the repeat concept.
Thanks again for your patience and persistence
Steve. -
Editing values within Dynamic ALV
Hello All,
I am currently working on dynamic ALV and want the columns to be editible.
I have gone through the tutorial
Link : [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4c70444a-0801-0010-7688-9e4bd844b783]
and have created a dynamic Context and a corresponding ALV LIST display. Everything is fine except that i want to be able to edit values within the list and i want this to get populated back into the context.
I have gone through the tutorial.
Link : [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1]
But i couldn't relate that with the tutorial for dynamic ALV.
Please help.
Best Regards,
MzHello Lekha,
I am sorry to say that the code which you have provided is not working.
Maybe i am doing something wrong.
This is the entire code below.
data lo_interfacecontroller type ref to iwci_salv_wd_table .
data lo_cmp_usage type ref to if_wd_component_usage.
data : L_VIEW_CONTROLLER_API type ref to IF_WD_VIEW_CONTROLLER.
lo_cmp_usage = wd_this->wd_cpuse_alv( ).
if lo_cmp_usage->has_active_component( ) is initial.
lo_cmp_usage->create_component( ).
endif.
lo_interfacecontroller = wd_this->wd_cpifc_alv( ).
lo_interfacecontroller->set_data(
* only_if_new_descr = " wdy_boolean
"r_node_data =
dyn_node " ref to if_wd_context_node
DATA:
lo_value type ref to cl_salv_wd_config_table,
lr_column TYPE REF TO cl_salv_wd_column, " Table fo rcolumn ref
ls_columns TYPE salv_wd_s_column_ref, " Structure for column ref
lt_columns TYPE salv_wd_t_column_ref, " Structure for column ref
lr_input TYPE REF TO cl_salv_wd_uie_input_field.
lo_value = lo_interfacecontroller->get_model( ).
* Get the column ref
CALL METHOD lo_value->if_salv_wd_column_settings~get_columns
RECEIVING
value = lt_columns.
LOOP AT lt_columns INTO ls_columns.
lr_column = ls_columns-r_column.
case ls_columns-id.
when 'JAN2007'.
CREATE OBJECT lr_input
EXPORTING
value_fieldname = ls_columns-id.
CALL METHOD lr_column->set_cell_editor
EXPORTING
value = lr_input.
* Set the read only attribute
lr_input->set_read_only_fieldname( value = 'FALSE' ).
endcase.
endloop.
L_VIEW_CONTROLLER_API = WD_THIS->WD_GET_API( ).
L_VIEW_CONTROLLER_API->PREPARE_DYNAMIC_NAVIGATION(
source_window_name = 'WINDOW1'
source_vusage_name = 'MAIN_USAGE_0'
source_plug_name = 'TO_V1'
target_component_name = 'SALV_WD_TABLE'
target_component_usage = 'ALV'
target_view_name = 'TABLE'
target_plug_name = 'DEFAULT'
target_embedding_position = 'MAIN/VIEW_CONTAINER'
WD_THIS->FIRE_TO_V1_PLG( ).
The part which is entered as per your instructions are given between the asterisk lines.
Sorry if there are any silly mistakes on my part.
I have one small doubt regarding the value to be passed for the method lr_input->set_read_only_fieldname. This is a string value. I think that this could be the cause of the error. When i checked the class interface, CL_SALV_WD_UIE_INPUT_FIELD i found that the method set_read_only_fieldname is calling another attribute if_salv_wd_c_table_evt_editor=>set_read_only_fieldname.
Hope this was useful
Best Regards,
Mz -
Are Multiple-If Optional Regions Can Be Implemented with DW 8???
Hi,
I read about them in DW MX Templates by Brad Halstead and Murrray Summers?I am not 100% sure what you're asking, but yes:
- you can use multiple optional regions in a template.
- you can use multiple if sections responding to the same template property variable
(You might even be able to nest an optional region within another optional when using sub-templates, but I dont think I ever tried that..)
Hope that helps.. -
Unable to find "Display/edit Attribute Sel " Button in the IP
Hi guys ,
BPS If we click on the Any planning level (Display) We will get tabs : char/Selection/Keyfigure/Description/Char Rels.
In the selection we have Display /edit Attribute Sel button there ..So that we can edit the Attribute Vales From to To.
Im very new to IP , I'm unable to find this options..
awaiting for your inputs...
Regards
tunathHi Kirill,
Thanks for your input ...But If we took as navigation attributes in that Modeler, Where is the option for the value restriction From & to...
Could you elaborate a bit..
Regards,
tunath -
Edit Internal Address option system will only hold one Ship to Address loca
When trying to add an new address using Edit Internal Address option system will only hold one Ship to Address location. Each time a new one is added it simply over-writes the existing address instead of creating a second address. Attached screenshots show steps taken and results. Problem is also occurring in SRQ, unsure when this started as we do not use this functionality on a daily basis.
Hello Vijay,
For one location you can maintain more than one address using Edit Internal addresses in SRM web application (SAP_BBP_STAL_ADMINISTRATOR role).
Select Edit Internal addresses --> Select your business partner --> Push create button --> Maintain the address and save. A new address number will be generated.
Maintained addresses will be visible in search help for the requester. One of them can be set as default in PPOMA_BBP attributes.
Related Information:
Note 760824 - EBP R/3 - delivery addresses
http://help.sap.com/saphelp_srm50/helpdata/en/e4/47f839f42a7b2ee10000000a114084/frameset.htm
Re: ship-to clarification
Hope this might help. Please mention steps you followed if problem still persists.
Ashutosh -
Hi all,
I'm learning how to add optional editable regions. I made a
few bungled ones until I finally got it right. The problem is, now
when I create a new page based on the template then go MODIFY >
TEMPLATE PROPERTIES, I get a list of all the old optional regions I
added then removed. I can't figure out how to get rid of them!
This won't be good to hand over to the client, how can I
remove these from the list?
CheersDelete the parameter definitions in the head of the Template
page that
relate to those defunct optional regions.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"cozzabags" <[email protected]> wrote in
message
news:f36uve$c7t$[email protected]..
> Hi all,
>
> I'm learning how to add optional editable regions. I
madde a few bungled
> ones
> until I finally got it right. The problem is, now when I
create a new page
> based on the template then go MODIFY > TEMPLATE
PROPERTIES, I get a list
> of all
> the old optional regions I added then removed.
>
> This won't be good to hand over to the client, how can I
remove these from
> the
> list?
>
> Cheers
> -
What does the return activity do in BTF executed within a region?
All of us know that the return activity in the bounded task flow used to return from a called bounded task flow to the caller (i.e. to exit the task flow), this concept is clear when the bounded task is called from task flow call activity. But can we use the return activity in a bounded task flow that is intended to be executed in a region, but the question is how to use it, and what does it exactly mean to have a return activity in a bounded task flow that is executed within a region? Is there any use case for this scenario?
Hi,
regions don't handle task flow returns and the taskflow would just exit leaving the region area blank, One option to use returnvactivuties in egions is to configure a region navigation listener and - if the current view id value returns null - to refresh the region so the task flow starts all over again. To pass values back in such a use case you would use a managed bean instance you pass as an argument to the taskflow in a region.
Frank -
Not able to edit the value options in LKM
Hi
I have recently upgraded to ODI 11g .
In that we are not able to edit the value options in LKM.
(i.e.. editor window is not appearing, not able to edit the text.
Please let me know the solution .
ThanksWe were using JDK1.6.0_29 and it was not supporting ODI 11.1.1.5, so we have uninstalled the JDK1.6.0_29 and reinstall the JDK1.6.0_11.This solves our issue.
Thanks a lot!!
Maybe you are looking for
-
Is there anyway to specify the coordinates for JLabels and buttons? Here is some code I am working on right now: import javax.swing.*; import java.awt.*; import java.awt.event.*; public class Tutorials extends JApplet implements ActionListener FlowLa
-
How do I use a webservice as a datasource
Post Author: terickso CA Forum: General When creating a report I can't point to the datasource since it is coming from a webservice. How do I create a report from a webservice. I tried briefly to point to the server when developing to generate the
-
I was wondering if any knows why all my programs, escpecially my internet programs(Safari&Internet Explorer) are now always "unexpectedly quit". Just recently it has been happening, and when I try to go into my yahoo email account when im in Safari,
-
VMWare mouse right click issue
Hey all, I am having an issue with right click in vmware using XFCE for arch. when i right click the menu gets brought up fine but it almost instantly selects the first option in the menu. if i move the mouse in the opposite direction of the menu rea
-
T500 Error msg at bootup: SQLDUMPER damaged or corrupted.
the msg goes on to suggest uninstalling SQLDUMPER and using the setup to repair. I'm not sure how to do either of these things. Please help. thx