Trouble calling cfmodule with dynamic location
I have the following cfmodule tag running...
<cfset tagpath = #request.localpath#
&membership/EWSTags/EWSTagReach.cfm">
<cfmodule id="EWSTagSearch" template="#tagpath#" >
But when I attempt to run it I get the following error:
The filename, directory name, or volume label syntax is
incorrect
I am not sure what the trouble is. I have output tagpath to
the screen
and the path is correct in every way - including case. Is
there
something wrong with the syntax that you can see?
Thanks,
Chris
Chris Luksha
Echo Web Services
Making Your Website Resound
603-831-0099
http://www.echowebservices.com/
CAN-SPAM Compliant Email Newsletters - only $.05 per
Subscriber
http://www.echowebservices.com/email
You've got a closing quote without an opening one in your
tagset variable.
Similar Messages
-
Call transformation with dynamic table
hi
i uploaded the xml file from application server into a internal table
data : begin of t_x occurs 0,
d type string,
end of t_x.
OPEN DATASET file FOR INPUT IN TEXT MODE ENCODING DEFAULT .
DO.
READ DATASET file INTO t_x-d.
IF sy-subrc <> 0.
EXIT.
ELSE.
append t_x.
clear t_x.
ENDIF.
ENDDO.
CLOSE DATASET filename.
and after i want to call call transformation but i can't put a structure ref to a table like this
CALL TRANSFORMATION ('ID')
SOURCE XML xmlupl
RESULT tab = t001[]
because my file xml are not always the same structure.
So is it possible to have a call transformation wit dynamic structure
thanks for your help
sergeHello Serge
If you know what kind of structure you require for your itab you can dynamically create the appropriate itab:
DATA:
gd_struc TYPE tabname,
gdo_data TYPE REF TO DATA.
FIELD-SYMBOLS:
<gt_itab> TYPE TABLE.
* Somehow find the required structure name
gd_struc = 'KNA1'. " for example
* Create data reference with required type (dynamically)
CREATE DATA gdo_dref TYPE (gd_struc).
* Assign the data reference to your field symbol
ASSIGN gdo_data->* TO <gd_itab>.
* NOTE: <gd_itab> has the line structure of 'KNA1'.
Regards
Uwe -
JasperException, calling tag with dynamic data
Hello
I want to call a tag which I have written with dynamic data.
I can call the tag like this, and it works fine
<cm:getCalendar year = "2" week = "51" />But I don't want the input to be hard coded.
Therefor I have tried to insert GET data to the tag like this
<cm:getCalendar year = "<%= request.getParameter("year")%>
" week = "<%= request.getParameter("week")%>" />Or like this
<cm:getCalendar year = "%{#request.yearNr}" week = "%{#request.weekNr}" />The %{#request.yearNr} should be struts 2 specific I think.
In both this cases I get this exception
org.apache.jasper.JasperException: /calendar.jsp(25,0) According to TLD or
attribute directive in tag file, attribute week does not accept any expressions
Is there a way which I could insert data dynamic to my own tag?
Here is the TLD file
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name></short-name>
<tag>
<name>getCalendar</name>
<tag-class>taglib.PrintCalendar</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>year</name>
<required>true/false</required>
</attribute>
<attribute>
<name>week</name>
<required>true/false</required>
</attribute>
</tag>
</taglib>I change the tld to
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name></short-name>
<tag>
<name>getCalendar</name>
<tag-class>taglib.PrintCalendar</tag-class>
<body-content>JSP</body-content>
<attribute>
<name>year</name>
<required>true/false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>week</name>
<required>true/false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib> -
Calling variables with dynamic names
so lets say theres 5 variables,
name1 = "james";
name2 = "billy";
name3 = "nilly";
name4 = "dilly";
name5 = "alfred";
is there any way to enumerate through those names by doing something like this...
for(i=1;i<6;i++){
System.out.println(["name"+i]) // where ["name"+i] uses variable name1, name2, name3 etc...
ending up with something like
james
billy
nilly
dilly
alfred
i know its possible to do it in some other programming languages, and if java can do it too, it'd be very useful to me.woops - noticed I was in New To Java...
You can search for this, the question came up quite a bit some time back.
Use an implementation of Map (like HashMap) and call the put method with the name you want as a key and the value as a value. You can then call get with the name to get the value, or you can iterate over the key set to do what you're after.
Or, you could create a "Name" array (or List) and the you get "name0", let's say, by saying "name[0]" or nameList.get(0).
Make sense?
Good Luck
Lee -
How to call javascript function with dynamic data in display tag
Hi,
Iam new to pagination concept. Iam using display tag to display rows in jsp by strtus.
I have a problem when calling the javascript function using ahref in attribute in display tag.
<bean:define name="form1" property="EditDetails.List" id="ListDisplay"/>
<display:table name="pageScope.ListDisplay" cellpadding="0" cellspacing="1" pagesize="10" partialList="false" size="listSize" requestURI="">
<display:column property="poNo" href='javascript:searchEditDetails("./submitOrder.do? actionID=getMISLoadEdit&poNumberSel=<%=((com.po.bean.EditDetails)poListDisplay).getNo()%>&statusIdSelected=<%=((com.po.bean.EditDetails)ListDisplay).getStatusId()%>")'
title="Number"/>
<display:column property="strDate"title="Date" />
<display:column property="orderValue"title="Order Value(INR)"/>
<display:column property="stringRequestedDeliveryDate"title="Suggested Delivery Date"/>
<display:column property="statusDescription" title="Status" />
</display:table>
The above code display the data in row format is working fine when I click the No It thow javascript error and its not redirecting to the other page.
When I try this with ordinary struts its working fine the code is:
<logic:iterate id="polist" name="Form1" property="EditDetails.List" indexId="i" type="com.bean.EditDetails">
<tr>
<td ><a href="javascript:searchEditDetails("./submitOrder.do?actionID=getMISLoadEdit&NumberSel=<%=((com.bean.EditDetails)polist).getNo()%>&statusIdSelected=<%=((com.bean.EditDetails)polist).getStatusId()%>")"><html:hidden name="polist" property="No" write="true" /></a> </td>
<td><html:hidden name="polist" property="strDate" write="true" /></td>
<td><html:hidden name="polist" property="orderValue" write="true" /></td>
<td><html:hidden name="polist" property="stringRequestedDeliveryDate" write="true" /> </td>
<td><html:hidden name="polist" property="statusDescription" write="true" /></td>
</tr>
</logic:iterate>
Please help me how to call javascript with dynamic data.
Thanks in advanceThe ADF Mobile Container Utilities API may be used from JavaScript or Java.
Application Container APIs - 11g Release 2 (11.1.2.4.0) -
How to call a SP with dynamic columns and output results into a .csv file via SSIS
hi Folks, I have a challenging question here. I've created a SP called dbo.ResultsWithDynamicColumns and take one parameter of CONVERT(DATE,GETDATE()), the uniqueness of this SP is that the result does not have fixed columns as it's based on sales from previous
days. For example, Previous day, customers have purchased 20 products but today , 30 products have been purchased.
Right now, on SSMS, I am able to execute this SP when supplying a parameter. What I want to achieve here is to automate this process and send the result as a .csv file and SFTP to a server.
SFTP part is kinda easy as I can call WinSCP with proper script to handle it. How to export the result of a dynamic SP to a .CSV file?
I've tried
EXEC xp_cmdshell ' BCP " EXEC xxxx.[dbo].[ResultsWithDynamicColumns ] @dateFrom = ''2014-01-21''" queryout "c:\path\xxxx.dat" -T -c'
SSMS gives the following error as Error = [Microsoft][SQL Server Native Client 10.0]BCP host-files must contain at least one column
any ideas?
thanks
Hui
--Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --Hey Jakub, thanks and I did see the #temp table issue in our 2008R2. I finally figured it out in a different way... I manage to modify this dynamic SP to output results into
a physical table. This table will be dropped and recreated everytime when SP gets executed... After that, I used a SSIS pkg to output this table
to a file destination which is .csv.
The downside is that if this table structure ever gets changed, this SSIS pkg will fail or not fully reflecting the whole table. However, this won't happen often
and I can live with that at this moment.
Thanks
--Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN -- -
ABAP WebDynpro app calling Transaction iview with Dynamic Parameters..?
Good day!
I need to code a call to a transaction (with dynamic parameters) from an Abap WD application. It appears that to achieve this, the app needs to call a new portal transaction iview, passing the parameters in the call..?
This should ideally be via a Sapgui for Windows, but Html also an option (does it matter with regards to the method used?).
Kindly assist with advise/instructions, idealy with sample code extract to illustrate (new to Abap WD)...
Kind regards
jHi
this will help you doing so
http://help.sap.com/saphelp_nw04s/helpdata/en/18/f96f4132f15c58e10000000a1550b0/frameset.htm
Use BUSINESS_PARAMETERS to pass the data
Abhi -
User inputted letters with dynamic fields in Report Builder
I'm proactively trying to get certain aspects off our hands in IT and more specifically, the way letters are generated through ColdFusion. Right now we are using activeX controls (with some vbscript and asp pages) through IE to do Word mail merges for letter's for our students. We would like the user to be able to change these letters by themselves through our web application and have them saved in our database so they can be stored as a future template.
Now I'm new to Report Builder and have a few examples to show my colleagues, but I'm having troubles being able to dynamically insert the student's name (for example) into the report.
So basically I have an empty template with a huge dynamic box for the text which reads #param.MessageBody# that comes from a textarea within the cfm page. That works, but taking it one step further, I want to replace all instances of "%%StudentName%%" within that MessageBody with the actual student's name.
Since I cannot loop over the report and do my usual ReplaceNoCase(lMessageBody, "%%StudentName%%", Trim(ReportQueryLetters.StudentName), "ALL")>, how can I put this into a built-in function into the report?
I figured the function needs to be in <cffunction name="BeforeExport"> and while a simple display of the message works perfectly, I cannot get my replace line to work. I am passing the query to Report Builder instead of having it built-in, is that my problem?! I would prefer if it was external to save my stored procedures if I can. Is there any way to call the query to get that line to work?!
The code inside the cffunction (in report Builder):
<cfargument name="lTextArea">
<cfset lTextArea = #form.frmTextArea#>
<cfset lTextArea = ReplaceNoCase(lTextArea, "%%StudentName%%", Trim(ReportQueryLetters.StudentName), "ALL")>
<cfreturn lTextArea>
The error:
Element STUDENTNAME is undefined in REPORTQUERYLETTERS.Sorry for the late reply, just got back from vacation.
I don't think you use ReportQueryLetters for the query. it should be
query.StudentName
Also, you can have an intermediate step on the page that receives the
MessageBody and change the MessageBody before passing it as a parameter to the
report. -
Callmanager Conferencing with remote locations Issue
I am new to using callmanager, and I need a little help.
I have created a meet me number on my callmanager. Once a session is begun, all local network users are able to join the conference call with no problems..
If a remote location hosts a meet me call, all my local network users are able to join THAT session with no problems as well.
But if I host a meet me session on MY local network, remote locations CANNOT reach my session. The line remains silent when they dial in.
I've been told to check the codecs which seem fine and we are checking for a firewall issue, but all normal calls local and remote work just fine. It's only the conference bridging that causes issues.
Please help.
ThanksHello,
Thank you very much for replying.
The configurations, I've been told, are correct. G711 for intrasite and G729 for intersite. And region and device pools correct as well.
I presented the HW conf bridge solution to a coworker who said it makes sense, but at this time, I don't have access to a hardware conference bridge. Is this the only solution?
From: prbt
To: Nichole Ketchum
Sent: Wednesday, August 3, 2011 1:54 PM
Subject: - Re: Callmanager Conferencing with remote locations Issue
Cisco Support Community
Re: Callmanager Conferencing with remote locations Issue created by Priya B.T in Unified Communications Applications - View the full discussion
hi,
please check the following on the call manager,
- Check the region configuration on each device pool.
- Then check the region configuration between the two regions.
- One of the best practices followed by Cisco is, the intrasite region settings should be g711.
- And the region settings between inter site should be g729.
- G729 is not supported by software conference bridge, it is only supported by hardware conference bridge.
- So add the hardware conference bridge to the MRGL of the phone.
- And the hardware conference bridge has to be first in the list, that is before the software conference bridge.
please let me know if this helps or we can do further trouble shooting on this issue.
Reply to this message by going to Cisco Support Community
Start a new discussion in Unified Communications Applications at Cisco Support Community -
FTP Activity - mget multiple files with dynamic names
Hello All
Hope all is well.
I was wondering if there was a way to configure FTP activity to transfer multiple files with dynamic names from source location at daily intervals.
For example, my source files are affixed with date values (source_filename_<mmddyyyy>_<hh>.txt):
source_filename_12252009_00.txt
source_filename_12252009_06.txt
source_filename_12252009_12.txt
source_filename_12252009_18.txt
What I would like my process flow to do would be to download just these 4 files once daily based on a dynamic ftp script as follows:
open ${Remote.Host}
${Remote.User}
${Remote.Password}
cd ${Remote.RootPath}
prompt off
mget ????????
quit
In DOS batch script you would have the mget command with a wildcard as:
mget source_filename_%DATE:~0,2%%DATE:~2,2%%DATE:~4,4%*.txt
How does one go about implementing this in OWB? Does it require a user defined substitution varilable of some sort?
FYI, I am using version 10gR2.
Cheers.Hi ,
If you are able to achieve your objective from a DOS batch script then you can call that script for an User Defined Activity in OWB process flow .
Hope this helps.
Thanks,
Sutirtha -
Submit report with dynamic selections
Hi All,
I am trying to Submit a report with dynamic selections. I am using the option SUBMIT REPORT WITH FREE SELECTIONS.
But the dynamic selections are not getting passed.
Request you to kindly provide some inputs
My code is
DATA: trange TYPE rsds_trange,
trange_line LIKE LINE OF trange,
trange_frange_t_line LIKE LINE OF trange_line-frange_t,
trange_frange_t_selopt_t_line LIKE LINE OF trange_frange_t_line-selopt_t,
texpr TYPE rsds_texpr.
trange_line-tablename = 'PA0002'.
*trange_frange_t_line-tablename = 'PA0002'.
trange_frange_t_line-fieldname = 'GBJHR'.
trange_frange_t_selopt_t_line-sign = 'I'.
trange_frange_t_selopt_t_line-option = 'EQ'.
trange_frange_t_selopt_t_line-low = '1987'.
trange_frange_t_selopt_t_line-high = '1987'.
APPEND trange_frange_t_selopt_t_line TO trange_frange_t_line-selopt_t.
APPEND trange_frange_t_line TO trange_line-frange_t.
APPEND trange_line TO trange.
CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX'
EXPORTING
field_ranges = trange
IMPORTING
expressions = texpr.
submit RPCADVQ0
VIA SELECTION-SCREEN
WITH SELECTION-TABLE rspar_tab
WITH FREE SELECTIONS it_texpr
and returN.
Kindly provide your inputs
Regards
ReshmaHi Reshma,
Use the FM - RS_REFRESH_FROM_DYNAMICAL_SEL before FREE_SELECTIONS_RANGE_2_EX.
data: trange type rsds_trange,
g_repid type sy-repid.
g_repid = 'RPCADVQ0'.
call function 'RS_REFRESH_FROM_DYNAMICAL_SEL'
exporting
curr_report = g_repid
mode_write_or_move = 'M'
importing
p_trange = trange
exceptions
not_found = 1
wrong_type = 2
others = 3.
if sy-subrc eq 0.
" Do the changes to the trange
CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX'
EXPORTING
field_ranges = trange
IMPORTING
expressions = texpr.
submit RPCADVQ0
VIA SELECTION-SCREEN
WITH SELECTION-TABLE rspar_tab
WITH FREE SELECTIONS it_texpr
and returN.
endif.
Cheers,
Kothand -
How to create dynamic DataTable with dynamic header/column in JSF?
Hello everyone,
I am having problem of programmatically create multiple DataTables which have different number of column? In my JSF page, I should implement a navigation table and a data table. The navigation table displays the links of all tables in the database so that the data table will load the data when the user click any link in navigation table. I have gone through [BalusC's post|http://balusc.blogspot.com/2006/06/using-datatables.html#PopulateDynamicDatatable] and I found that the section "populate dynamic datatable" does show me some hints. In his code,
// Iterate over columns.
for (int i = 0; i < dynamicList.get(0).size(); i++) {
// Create <h:column>.
HtmlColumn column = new HtmlColumn();
dynamicDataTable.getChildren().add(column);
// Create <h:outputText value="dynamicHeaders"> for <f:facet name="header"> of column.
HtmlOutputText header = new HtmlOutputText();
header.setValue(dynamicHeaders[i]);
column.setHeader(header);
// Create <h:outputText value="#{dynamicItem[" + i + "]}"> for the body of column.
HtmlOutputText output = new HtmlOutputText();
output.setValueExpression("value",
createValueExpression("#{dynamicItem[" + i + "]}", String.class));
column.getChildren().add(output);
public HtmlPanelGroup getDynamicDataTableGroup() {
// This will be called once in the first RESTORE VIEW phase.
if (dynamicDataTableGroup == null) {
loadDynamicList(); // Preload dynamic list.
populateDynamicDataTable(); // Populate editable datatable.
return dynamicDataTableGroup;
I suppose the Getter method is only called once when the JSF page is loaded for the first time. By calling this Getter, columns are dynamically added to the table. However in my particular case, the dynamic list is not known until the user choose to view a table. That means I can not call loadDynamicList() in the Getter method. Subsequently, I can not execute the for loop in method "populateDynamicDataTable()".
So, how can I implement a real dynamic datatable with dynamic columns, or in other words, a dynamic table that can load data from different data tables (different number of columns) in the database at run-time?
Many thanks for any help in advance.flyeminent wrote:
However in my particular case, the dynamic list is not known until the user choose to view a table. Then move the call from the getter to the bean's action method. -
Xml conversion of data refs with dynamic type
Hi Colleagues,
I have to create an XML from a TYPE REF TO DATA, where this data is created using a dynamic internal table. By dynamic internal table i mean that the internal table is created dynamically using the class method cl_alv_table_create=>create_dynamic_table.
Now the problem that i face is when i use the statement:
CALL TRANSFORMATION id
SOURCE jsag_data = im_context_b64
RESULT XML lv_xml
OPTIONS data_refs = 'embedded'
value_handling = 'move'.
to generate the XML i get a dump of type CX_XSLT_SERIALIZATION_ERROR saying "The ABAP data cannot be serialized."
I found a solution to avoid the dump by adding the additional option " TECHNICAL_TYPES = 'ignore' " to the CALL TRANSFORMATION statement, like
CALL TRANSFORMATION id
SOURCE jsag_data = im_context_b64
RESULT XML lv_xml
OPTIONS data_refs = 'embedded'
value_handling = 'move'
TECHNICAL_TYPES = 'ignore'.
But, using this addition the dynamic type ref to data part is totally ignored from the XML generation.
If I use a specific DDIC table type to create the data, we do not face this issue and the XML is generated as desired
Does anyone have a solution to this problem as it has become a sort of blockade for our development?
Thanks and Cheers,
Gaurav.Hello,
I reached same problem with dynamic data references, the only solution I got is to used global DDIC types (also for table types !!) when creating data which needs to be serialized.
The options technical_types = 'ignore' doesn't solve the problem - it just instructs the parser to skip data references without global ddic type. The options value_handling = 'move' is very helpful as XML serialization is very picky about values beeing serialized.
Here is summary of my observations:
- Global DDIC type has to be associated with data reference, otherwise only technical type is there and this is not supported (you can use OPTIONS TECHNICAL_TYPES = u2018IGNOREu2019 but this will just skip the data to be serialized to XML) u2026
- The above means that if you are serializing data reference to table then you have to have also global DDIC type for the table-type !! Unfortunatelly there is no default table type available for transparent tables u2026. They are treated as structures not as table-types u2026 thus:
- CREATE DATA lr_data TYPE <global_ddic_structure> - can be serialized
- CREATE DATA lr_data TYPE STANDARD TABLE OF <global_ddic_structure> - cannot be serialized
- CREATE DATA lr_data TYPE <global_ddic_table_type> - can be serialized
- !! Unfortunatelly !! CREATE DATA lr_data TYPE <type_pool_ddic_structure/ type_pool_table_type> - also cannot be serialized u2013 this is pitty u2026 this should be supported u2026. -
Hi everyone.
I want to know how export oracle tables with dynamic file name on windows XP platform.
bye.You'd have to generate the export command-line or par file using a script -- Windows or SQL !
It would be easy to use SQL to generate the script.
So you could have a BATch file that
a. Calls the SQL to generate the export command-line or parfile
b. Executes the export
even possibly run in a loop.
Hemant K Chitale -
Is it possible to make a search help with dynamic selection table?
Hi Experts,
Is it possible to create search helps with dynamic seletion tables means
i dont know the selection table names at the time of creation of search help.
These tables will be determined at runtime.
if yes, Please give an idea how to create and pass the table names at runtime.
Thanks
Yogesh GuptaHi Yogesh,
Create and fill your itab and show it with FM F4IF_INT_TABLE_VALUE_REQUEST
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'field to return from itab'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'field on your screen to be filled'
stepl = sy-stepl
window_title = 'some text'
value_org = 'S'
TABLES
value_tab = itab
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
Darley
Maybe you are looking for
-
Hello I have installed the network setup app on my lumia 710. Im with Vodafone monthly contract. Can anyone tell me what the connection name is. I have all the other settings but not sure what I should put in the connection name as you cannot save it
-
Should be able to combine?
I bought a Z10 (about a month after they were launched) and used the phone for (work), and my employer was kind enough not to care if I bought a few apps and used the phone for personal time (much like a BYOD) where they pay the bill as long as I rea
-
I received a shipment notification on Saturday. When I track it I only get "Label Created". I called Verizon Support and they are not able to get me any other information. They informed me it is sitting at a FedEx Location. Anyone else?
-
Power PC G5 as a recording tool -- OS problems
This is my first post here, so I appologize if this is in the wrong area. I run the sound/multimedia operations for my church. We have a Mackie Onyx 1640 sound board with a firewire option. The board comes with a software program called Tracktion. It
-
In PS-CC, Brush diameter jumps from 508px to 1048px...
In PS-CC, the Brush diameter scale jumps from 508px to 1048px as I am dragging the slider. I have to type in a size I need above 508px whereas my older PS versions had a smooth scaler. Can I get back to the older PS brush slider? Is there a setting I