String-to-​path does not work on cRIO?
I am running LV8.20 on my laptop and cRIO-9012. The laptop runs Win XP SP2.
From the attached snapshot, you can see that I am trying to form a file path from concatenated strings, using the string-to-path node. When I run this vi in Windows target, it works perfectly. The "x=y?" boolean returns true.
When I run it on CompactRIO, I get error 1430 ("The path is empty or relative. You must use an absolute path."). The "x=y?" boolean returns false. I have already created the "paths" subdirectory on cRIO with an FTP utility. If I wire the file path definition constant (as opposed to the one generated by string-to-path) directly to the "open file" node, cRIO recognizes it and writes the file... usually!
What am I missing? Any help is greatly appreciated.
By the way, I don't know how the "Wait for front panel activity" nodes work (also shown in the snapshot), but they certainly don't seem to cause the program to wait for front panel activity. Both in Windows and cRIO targets, they seem to be completely ignored.
Attachments:
string-to-path.PNG 13 KB
David:
Most of the time, this error is thrown when LabVIEW FPGA cannot resolve a specific I/O node used in the FPGA VI. It is possible that the name of an FPGA I/O was changed in the Project Explorer with
the FPGA VI closed and then the FPGA VI was compiled. Since the FPGA VI was not updated with the new I/O node, LabVIEW FPGA cannot resolve the specific IO node reference.
In order to verify that this is actually the source of the problem, create a new project from scratch which includes some I/O, create a new FPGA VI that uses these I/Os and then try compiling it. If the compile is successful, then the resolution to this problem would be to check the original FPGA VI and make sure that it has valid I/O nodes corresponding to the ones defined the Project Explorer.
I hope this helps and please let me know what you find.
Regards,
Rudi N.
Message Edited by Rudi N on 04-24-2007 02:27 PM
Similar Messages
-
Negative (to inline a letter or to thin it) offset path does not work in Illus-CC 2014 (when preview is on- nothing happens). How can I get this to work like in previous versions.
Thanks for your quick reply. I tried a number of different values. Usually when I do a negative offset they're very small values, like -.25 or -.5.
An Update- I took the art work into Ai CS 6 and It still did not work, which is really strange. And I've used it hundreds of times with success in the past. Also I tried it with live type and outlines, ungrouped, un-compounded still could not get it to negative offset.
Thanks for the help. -
Manifest class-path does not works
Hi,
We use Jrockit 1.4.2 (latest) on Solaris.
We found that manifest class-path does not seems to work, we got classdef not found messages.
If we change the JVM to sun 1.4.2 that everything works perfectly.
Manifest:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.5.2
Created-By: 1.4.1_02-b06 (Sun Microsystems Inc.)
Implementation-Title: com.clarify.igb.common.ejbserver
Implementation-Version: 12.5.000
Implementation-Vendor: Amdocs Inc.
Specification-Title: ClarifyCRM Business Object Infrastructure
Specification-Version: 12.5.000
Specification-Vendor: Amdocs Inc.
Class-Path: ClfyShared.jar ClfyCbo.jar ClfyClient.jar ClfyWebInf.jar C
lfyiSupport.jar ClfyUtil.jar jdom.jar ClfyCommon.jar ClfySales.jar Cl
fymOrder.jar ClfyiAdmin.jar ClfyBilling.jar ClfyBillingManager.jar Cl
fyEmailProcessor.jar
What can be the problem?
Regards.,
LJHi Jaejun,
a.jar should also have a MANIFEST.MF Class-Path refering to b.jar.
HTH
Regards,
Slava Imeshev
"Jaejun Lee" <[email protected]> wrote in message
news:3e541ede$[email protected]..
>
I meant <CRLF> not <CR> only.
Thank you.
"Jaejun Lee" <[email protected]> wrote:
Ravinder Pal <[email protected]> wrote:
I have read all message posted in this regard but my problem still
remain.
Please read the context to give me some pointers.
myapp.ear contains
- myejb.jar contains
- manifest with Class-Path a.jar b.jar
- a.jar (Internal)
- b.jar (Some external Vendor)
Problem: Call from a.jar classes which reference b.jar classes doesraise
a ClassNotFoundException.
Thanks.
I have a similar problem with WebLogic 7.0 sp1.
I have to verify this.
Dose WebLogic support MANIFEST.MF Class-Path in development-mode.
Indeed, I just put a.jar and b.jar in application directory.
I put Class-Path: b.jar<carrage-return> in MANIFEST.MF of a.jar.
But, a.jar cannot find classes in b.jar.
Do I have to make EAR? -
Am I correct in assuming I can not create a `symlinkd` to a network share, local path, or a UNC path on a network share that will be accessible by clients?
###Mapped drive letters don't work:
1) navigate to a network share:
pushd \\windows2008server\share\
2) make a hardlink:
mklink /d test_sharedir t:\directory\
dir .\test_sharedir
#Directory of Z:\test_sharedir
#File Not Found
UNC paths don't work:
1) navigate to a network share:
pushd \\windows2008server\share\
2) make a symlink:
mklink /d test_dirunc \\windows2008server\share
dir .\test_dirunc
#Directory of Z:\test_dirunc
#File Not Found
I can create a functional `symlinkd` on a local drive to a mapped drive letter or a UNC path.
Are my assumptions above correct?
We are in the middle of a migration and have created two symlinkd to UNC paths for shared DLLs, one below c:\windows\system32\ (directing to a share containing 64-bit DLLs) and one below c:\windows\syswow64 (directing to a share containing 32-bit DLLs).
On the file server, we have had a path to 32-bit DLLs (from Windows 7 clients: s:\dll\). I am attempting to rename this directory so that it is accessible via "s:\dll32\" and would like to create a symlinkd that links "s:\dll" to
"s:\dll32" [again where S: is a mapped drive on a Windows 2008 server]. How do I do this?
Thanks,
MattHello Mandy,
The link you sent me is for Netapp CIFS server daemon contained within DataOnTap (the Netapp OS) to follow symlinks. I am inquiring about the Microsoft products Windows Server and Windows 7.
To gain a better understanding of the Microsoft Windows Server and client (Windows) CIFS stacks and interaction of the stacks, I have referred to Figure 6 "Server Message Block Server Model" within the following (albeit older) document: http://download.microsoft.com/download/2/8/0/2800a518-7ac6-4aac-bd85-74d2c52e1ec6/tuning.doc
You will see the following:
I assume that the Windows Server CIFS server service must be "smart enough" to determine that a CIFS client is attempting access to a SYMLINKD and actually fill the request by following the SYMLINKD. The CIFS server service does not appear
to operate like this.
1) Am I correct in my assumption that the CIFS client (redirector) and the CIFS server (server) do not following symbolic links (whether they be file or directory)?
2) If not, how do I submit a feature request for this so that it can be reviewed and approved or not approved for inclusion/hotfix release?
Thanks for your time,
Matt Brown
[UPDATE]
Note that you can use a `directory junction` instead of using a SYMLINKD, to link to LOCAL resources (source). However, `directory junctions` do not allow access to resources over UNC. -
Replacement path does not work for a specific query after migration 7.0
Hello all,
We have a problem with a replacement path variable in a query.
After the migration, it seems this replacement path doesn't work. This replacement path is defined inside a structure that is used in some other queries and for the other queries is working properly.
Another think we have done is to make a copy of the query where the replacement path doesn't work and the copied query works ok.
Did anybody find this kind of problem in a migration. Any help will be appreciated.
Regards, InmaThis is just for those who might have simmilar requirement & would in case refer to this thread..
Me too faced same problem of OLE DB for OLAP cant be released. I was using replacement path query variable which was using result set from the other query.
I just had to uncheck 'Allow External Access' in release for OLE DB for OLAP in query properties. This worked from me, my query using replacement path variable is giving desired results.
Hope this might be useful for relevant users.
Regards,
Pritesh -
Dynamic path does not work in Css files
Hi,
I have a css file in which i have used few images, but when i try to make the path dynamic and include that css in my page the image doesn't appear but when i put the complete path in it it works.
It works when used in this way :
.inputrightbg
background-image: url(http://<hostname>:<port>/idc/groups/public/documents/omp_images/input_rightbg.gif); background-repeat: no-repeat; background-
position: right top; float: left; padding: 4px 10px 4px 0px; height: 26px;
Doesn't work when use in this way :
background-image: url(<!--$HttpRelativeWebRoot-->groups/public/documents/omp_images/input_rightbg.gif); background-repeat: no-repeat;
background-position: right top; float: left; padding: 4px 10px 4px 0px; height: 26px;
Thanks,
AbhijitRight, you can't put IdocScript in css.
You can use the Web URL Map though to make urls that are easy to deposit in CSS.
Check these out:
http://www.corecontentonly.com/index.php/2009/10/14/web-url-map-extras/
http://blogs.oracle.com/kyle/2009/09/friendly_urls_for_ucm.html
-Jason
http://www.corecontentonly.com
http://www.redstonecontentsolutions.com -
How to "Call by Reference" when running in RealTime (path does not work)
I have a .vi which has been "uploaded" to a PXI chassis to run in RealTime.
I have this feeling that one of my sub-vi's are not functioning properly. I have a sub-vi which "Opens a VI reference" to a .vi located on my Windows harddrive. But, when everything is setup in Realtime, it cannot locate this .vi anymore.
I need to load a .vi dynamicaly, multiple times. Is there another way around it?Yes, that worked well. I had gotten it to work, but had not replied to this post to indicate my success. My actual problem had to do with me forcing a "close front panel". I had read in some other posts that you cannot modify front panels or other user-activity type of options when running real time. By removing the "FP Close" function, the call to the specific .vi worked great (and with the addition of the IP address for the opening of a local reference). Thanks again for all the input.
-
Drag and Drop example porting to Linux does not work
Hi Guys,
Encountered this problem : I have a JFrame that displays the name and path of a file that is dragged from a Windows(Explorer) environment into the frame. This works seamlessly in Windows. However, porting to Linux and doing the same thing(dragging the file from File Manager into the Frame to display the file name and path) does not work.
I suspect the case may be something to do with the flavormap.properties file found in the jdk1.xx/jre/lib file. Can anyone help?
RGHi,
I don't know what is causing the problem, but I have been able to avoid it by starting Jdeveloper from $home\jdev\bin\jdev.exe.
Regards,
Mathias -
I've moved my Aperture library from one computer to another using Finder.
I merged the library with one which was already on the computer.
Now, the photos I imported have reference to the old path name on my old computer.
How can I update these references as "Relocate Masters" does not work in this case?Just one suggestion to be able to reconnect all at once:
Create a smart album containing the images with missing masters:
File -> New -> Smart Album, and add a rule: File Status is "Missing" (or File Status is "offline")
Then select the images in this album and go to the File menu:
and select: File -> Locate referenced File
If you are lucky, Aperture will reconnect all at once, if you point the first image version to its counterpart. -
when I paint either in black or white on layer mask it erases picture pixels also path tool does not work
I would try resetting your preference file first: http://www.lightroomforums.net/showthread.php?14226-Resetting-(or-Trashing-)-the-Lightroom -Preferences-file
Also, install the latest version 4.4.1 would probably be a good idea. -
Concatenating a string in a URL syntax does not work (syntax error)
I am trying to print a Report in PDF format. The code is:
select '<a href="http://oasdev.oh.gov./reports/rwservlet?GDMS_ACR&Y='||:P106_YEAR||'&B='||:P100_BUSINESS_UNIT_ID||'&C='||:P106_COMMISSION_ID||'&d=('||TO_CHAR(SYSDATE,'MMDDYYYYhhMISS')||')", target=_new> <font color="blue"><b>Print PDF Version of the report</b></font> </a>' url from dual
GLOBAL_URL should carry the value ( a sring) ----> http://oasdev.oh.gov.
Therefore I changed it to the following code:
select '<a href="GLOBAL_URL/reports/rwservlet?GDMS_ACR&Y='||:P106_YEAR||'&B='||:P100_BUSINESS_UNIT_ID||'&C='||:P106_COMMISSION_ID||'&d=('||TO_CHAR(SYSDATE,'MMDDYYYYhhMISS')||')", target=_new> <font color="blue"><b>Print PDF Version of the report</b></font> </a>' url from dual
But it does not work. Any suggestion would be highly appreciated.
Thanks in advance.
Gouri
Edited by: user1046395 on Dec 8, 2010 8:41 AMWhen you do a select, you need to select into a variable..
select ' Print PDF Version of the report ' url INTO <Variable>from dual
Are you trying to run an Oracle Report from APEX??
If so look at this thread: Using popupURL to call Oracle Reports - Problem passing parameters
Thank you,
Tony Miller
Webster, TX
When you have enough clowns, you have a circus. -
Help with util.zip up files... does not work
I am writing a program so my mum can zip up new photos she takes and then send them to me. The program creates a html file for the webpage plus a smaller version of her original photo and places them all in a 1 folder with a new name. Al this part works... I want to afterwards place my files in a zipped up folder that she can e-mail me with her normal client. How... I picked up this code on the net and have changed it to incoporate my parameters. The files which are created ..paths are (String in an String[]) I then send to my zipping method.
The zip file is created but does not work when I try to extract from it ??? I also know that the String [] works becuse I have made a loop to check its properties at each index.
what am I doing wrong?
This is a modified code I found on the internet but with no author??
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.zip.ZipEntry;
import java.util.zip.*;
public class Test{
private File zipDir;
private String[] filename;
public Test(String[] recivedFilename){
filename = recivedFilename;
try {
ZipOutputStream zos = new
ZipOutputStream(new FileOutputStream("c:\\curDir.zip"));
from,
zipDir("c:\\batviapictures\\", zos);
zos.close();
} catch(Exception e) {
//handle exception
public void zipDir(String dir2zip, ZipOutputStream zos) {
try {File
zipDir = new File(dir2zip);
String[] dirList = filename;
byte[] readBuffer = new byte[2156];
int bytesIn = 0;
//loop through dirList, and zip the files
for(int i=0; i<dirList.length; i++) {
File f = new File(zipDir, dirList);
if(f.isDirectory()) {
String filePath = f.getPath();
zipDir(filePath, zos);
continue;
FileInputStream fis = new FileInputStream(f);
ZipEntry anEntry = new ZipEntry(f.getPath());
zos.putNextEntry(anEntry);
while((bytesIn = fis.read(readBuffer)) != -1) {
zos.write(readBuffer, 0, bytesIn);
fis.close();
catch(Exception e) {I make no guarantees that this will completely solve all your problems, but I just know these calls are needed but missing from your OP:
try {
ZipOutputStream zos = new
ZipOutputStream(new FileOutputStream("c:\\curDir.zip"));
from,
zipDir("c:\\batviapictures\\", zos);
zos.flush(); // ADD THIS after all files have been written to the zos
zos.close();
} catch(Exception e) {
//handle exception
}And
while((bytesIn = fis.read(readBuffer)) != -1) {
zos.write(readBuffer, 0, bytesIn);
zos.closeEntry(); // ADD THIS after each file is written to the zos
fis.close(); -
Lead Selection does not work after setting filter for ALV.
Hi, Can you please suggest on below scenario :
I have a Node with a sub node in it .
I am using the supply function on Sub Node to retrieve the date based on Parent Node.
There are two ALV's to display parent and item data. The issue is when a filter(user defined filter) is done on Parent table, the supply function does not work. The value is that of the selected row before setting the filter. Even after removing the filter, the item data is stuck and does not change on Lead Selection.
One thing I noticed is if the child table is a table UI, there is no issue. The only problem is when the second table is ALV
Thanks In AdvanceHi Prashanthi,
Your issue can be resolved as below
Create an event handler method 'set_alv_data' for the event 'ON_LEAD_SELECT' of parent alv
Write the below code inside the event handler method
METHOD set_alv_data.
DATA lo_node TYPE REF TO if_wd_context_node.
DATA lv_path TYPE string.
DATA lv_index TYPE string.
lv_index = r_param->index.
CONDENSE lv_index.
CONCATENATE wd_this->wdctx_my_parent_node
lv_index
wd_this->wdctx_my_child_node
INTO lv_path SEPARATED BY '.'.
lo_node = wd_context->path_get_node(
path = lv_path
DATA lo_interface TYPE REF TO iwci_salv_wd_table.
lo_interface = wd_this->wd_cpifc_alv_child( ). "get the ref of alv comp of child
lo_interface->set_data(
EXPORTING
* only_if_new_descr =
r_node_data = lo_node
ENDMETHOD.
The above code sets the data node of child alv based on lead selection of parent alv data.
Note: Replace 'parent_node', 'child_node' with your nodes & 'alv_child' with your alv component name of child alv.
If you want to control the data of child alv on filter function, you can use the event ON_STD_FUNCTION_AFTE and once you define the filter you get the r_param->id = 'SALV_WD_FILTER_DEFINE' & now you can clear data of child alv.
Hope this helps you.
Regards,
Rama -
Configuration Template Builder WL8.1 does not work
Hello,
After spending nearly 2 days now trying to get a Configuration Template
built, I've concluded this simply does not work. Has anyone used the
Config Template builder to package a semi-complex application on top of WLI?
I'm trying to have 2 of my applications, the JMS and JDBC resources,
and a WLI event generator packaged up for easy deployment to someone
else's server configuration. The problem with this is that there are
required resources for WLI, namely a database. The Pointbase database
included for WLI does not get included in the template automatically.
There are also some flat-out bugs:
If you choose to include a resource adapter "application", such as
jms-xa-adp.rar, the template builder does not bundle this in the
template and deploy it correctly. The template builder restricts you to
putting applications in the relative path starting at ./
For jms-xa-adp.rar, its original location is in $WL_HOME/server/lib, and
the template builder defaults to put it in ./lib of your template.
However, when you create a domain with the template, jms-xa-adp.rar does
not get placed in your ./lib directory. This causes you to then go and
manually edit your config.xml to point back at $WL_HOME/server/lib or to
manually copy jms-xa-adp.rar into your ./lib directory (which the
template mechanism should do for you).
Relative paths in the config.xml file require you to execute the config
builder from the directory of the domain you are making a template for.
The template builder should instead be smart enough to realize that
relative paths in the config.xml file are relative to the directory that
the config.xml is in, not the one you are running the template builder
from. You'll get an error when trying to create the template cause it
won't find the resources if you're not in that directory.
If anyone has successfully used this to package a WLI application in a
template, please share your experiences and how to do so. In the
meantime, I'm claiming there is no way to nicely package up a server
configuration for a WLI app in Weblogic, and this is a big shortcoming.
Weblogic needs a simple transferrable way of creating server
configurations (it tries to do this with the template, but that is
failing). With JBoss, for example, you simply copy your server directory
into another installation. This doesn't work with Weblogic unfortunately
because it puts hard-coded paths in the config.xml file.
ThanksRuss,
Thank you for the detailed responses. The only one I'm currently
struggling with still is the #5, with the scripts between the two. One
of the major benefits of using a J2EE App Server is supposed to be the
portability between servers. I find it disconcerting that BEA Weblogic
restricts me to the platform I created the domain on by creating
platform-specific startup/shutdown scripts for only the platform created
on. It's understandable that a script converter would be difficult, but
at least both the .sh/.cmd files should be created from the first time
you make a domain. If the user only wants one or the other, they can
delete the appropriate one. It's also understandable that the
users/deployers shouldn't have to manually convert a startup/shutdown
script to take the domain to a different box.
JBoss clearly has BEA beat on ease of deployment here. Their model is
the concept I'm thinking of: you have some generic startup/shutdown
scripts that can load a platform-independent server configuration. You
truly can copy directories as-is between JBoss installations.
I was hoping to package up a server domain for use on any of the
supported platforms, but since I don't have the time to manually convert
the startup/shutdown scripts, I'm going to have to tell people it's only
for Solaris now.
Hopefully BEA can fix this in a future SP. There's no need for this
platform-dependency. Also, if the Windows version can generate both
scripts at creation time, then the Solaris should be able to do this as
well (or at least give you the option).
Thanks again for the replies
russ wrote:
Hi Steven,
I have several comments and questions about your last two posts. I will try to
address them in order.
1) "The Pointbase database included for WLI does not get included in the template
automatically."
By default the template builder only includes the *.cmd and *.sh files in the
template from your domain directory. If you begin building with an existing
domain template all files that were in the template will get included. This was
done because there is no way for the builder to automatically determine all the
files that are required by your template/domain and we steered away from recursively
including all files from the directory so that unused files were not needlessly
included. We can extrapolate some files based on the application paths in the
config.xml, but the rest is left up to the template builder to be aware of what
is needed for their domain to run. So, if you need the Pointbase *.dbn and *.wal
files included in your template just select these files on the ?Add Files? panel
of the template builder and add them to the ?Domain Directory?.
2) ?If you choose to include a resource adapter "application", such as jms-xa-adp.rar,
the template builder does not bundle this in the template and deploy it correctly.?
The template builder considers application files to be in two categories: Imported
or Internal. When you are at the ?Add Applications? panel of the builder you
will see a checklist of all the applications that are in the domain you selected.
On the right hand side there are two text fields. The top one displays the application
path as it is currently set in the config.xml of that domain. The bottom field
will be different depending on what category the application falls into. As you
click on each application in the list, you may notice that the bottom field may
change from an editable field titled ?Imported Application Path? to a non-editable
field titled ?Internal Application Path?. The difference between the two categories
is that an ?Imported? application?s files will be included in the template jar.
An ?Internal? application?s files will not be included in the template jar because
they are considered internal to the weblogic installation. The jms-xa-adp.rar
should fall into the internal category and should not get included in your template.
From what you are describing it sounds like the builder attempted to import that
application when it should not have. In an attempt to recreate the problem you
are seeing I deployed that Connector Module through the WLS console and ended
up with an application path of ?C:\bea\weblogic81\server\lib? where ?C:\bea\weblogic81?
is my WL_HOME (a.k.a. USER_INSTALL_DIR). If I then attempt to build a template
from this domain, the builder recognizes this as an internal path and does not
include it inside my template. If the current application path you had looks
different from the one above, that may explain why the builder was attempting
to import it. What was the value of the ?Current Application Path? for that application
deployment?
3) ?Relative paths in the config.xml file require you to execute the config builder
from the directory of the domain you are making a template for.?
The builder is ?smart? enough to determine relative paths. You should not have
to invoke it from the domain directory you are working with. There is a known
bug in the WebLogic Platform 8.1.1.0 release of the template builder that will
cause it to not find files with relative paths in your domain directory if the
application path in the config.xml is just a ?.?. If this is the case, you should
see a FileNotFoundException when you attempt to create the template. This will
be fixed in SP2 and you can work around this problem by changing those paths to
?./? instead. If this was not the case, what was the path the wizard choked
on?
4) ?Looking through the config file, it seems that it's all of the WLI components
that have absolute paths in the config file. In addition, BEA_WLS_DBMS_ADK has
an absolute path, not sure if that is WLI or WLS. ?
BEA_WLS_DBMS_ADK is an integration application. If you created the original
domain using the configuration wizard most of the applications in an integration
enabled domain will reference paths inside of you installation directory or ?internal?
paths. For instance, I used the wizard to create a ?Basic WebLogic Integration
Domain?. The path for that application in this domain is: ?C:\bea\weblogic81/integration/adapters/dbms/lib/BEA_WLS_DBMS_ADK.ear?
where ?C:\bea\weblogic81? is my WL_HOME or USER_INSTALL_DIR. When I load this
domain into the builder it shows this application as ?internal? and the ?Internal
Application Path? is "$USER_INSTALL_DIR$/integration/adapters/dbms/lib/BEA_WLS_DBMS_ADK.ear".
This will be set as the path value of this application in the config.xml that
will be included in the template you build. When you later use the Configuration
Wizard on this template it will substitute the $USER_INSTALL_DIR$ to the value
of the installation directory of the machine you are creating it on.
If you were to Change these to relative paths, as Mark previously suggested,
it will only work if you copy the domain directory to the same location relative
to your installation directory on the target machine. Also, if you copy the domain
in this manner you will more than likely run into problems with your start/stop
scripts and be forced to hand modify all the paths contained within. The configuration
wizard tries to alleviate these problems and make the configuration entirely portable.
This gives the user who creates the domain from your template the ability to
put it anywhere they want regardless of the paths in the config.xml.
5) ?However, there is another major problem with the Template Builder: it only
includes the startup/shutdown script for the platform you create the template
on. ???I built the template on Solaris with the UNIX scripts. However, I tried
to create a new config on Windows with this template, and the scripts were not
converted to .bat files!?
As I stated previously, the builder will only include *.cmd and *.sh scripts
into your template by default. If you created the domain on a unix platform using
the configuration wizard it will not extract the *.cmd files since these aren?t
considered to be useful on unix. If you were then to attempt building a template
from this domain and take it onto a windows platform, it will obviously be missing
any windows scripts. Conversely, the wizard will extract *.sh scripts on windows
because they can still be useful if a user has an MKS or Cygwin type environment
installed. The config wizard and template builder do not have the ability to convert
scripts. The builder will only include existing scripts that are in your domain
directory and automatically determine any necessary string substitutions that
will be needed. Please note that since WebLogic is only supported on the NT/2K/XP
versions of windows you will find that the wizards use ?.cmd? files and not ?.bat?
files since these are more commonly associated with Win 95/98/ME.
I will be happy to answer any more questions you may have and would also like
to take a look at your domain configuration to try and get a better understanding
of the problems you are encountering.
thanx,
russ -
My problem is pretty easy to reproduce.
I created a project from scratch with a view model.
As you can see in the setter of "Age" property I have a simple logic.
public class MainViewModel : INotifyPropertyChanged
public event PropertyChangedEventHandler PropertyChanged;
private int age;
public int Age
get
return age;
set
/*Age has to be over 18* - a simple condition in the setter*/
age = value;
if(age <= 18)
age = 18;
OnPropertyChanged("Age");
public MainViewModel(int age)
this.Age = age;
private void OnPropertyChanged(string propertyName)
if (this.PropertyChanged != null)
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
In the MainPage.xaml
<Grid x:Name="LayoutRoot" Background="White">
<TextBox
Text="{Binding Path=Age, Mode=TwoWay}"
HorizontalAlignment="Left"
Width="100"
Height="25"/>
<TextBlock
Text="{Binding Path=Age, Mode=OneWay}"
HorizontalAlignment="Right"
Width="100"
Height="25"/>
</Grid>
And MainPage.xaml.cs I simply instantiate the view model and set it as a DataContext.
public partial class MainPage : UserControl
private MainViewModel mvm;
public MainPage()
InitializeComponent();
mvm = new MainViewModel(20);
this.DataContext = mvm;
I expect that this code will limit set the Age to 18 if the value entered in the TextBox is lower than 18.
Scenario: Insert into TextBox the value "5" and press tab (for the binding the take effect, TextBox needs to lose the focus)
Case 1: Debugger is attached =>
TextBox value will be "5" and TextBlock value will be "18" as expected. - WRONG
Case 2: Debugger is NOT attached =>
TextBox value will be "18" and TextBlock value will be "18" - CORRECT
It seems that when debugger is attached the binding does not work as expected on the object that triggered the update of the property value. This happens only if the property to which we are binding has some logic into the setter or getter.
Has something changed in SL5 and logic in setters is not allowed anymore?
Configuration:
VisualStudio 2010 SP1
SL 5 Tools 5.1.30214.0
SL5 sdk 5.0.61118.0
IE 10
Thanks!Inputting the value and changing it straight away is relatively rare.
Very few people are now using Silverlight because it's kind of deprecated...
This is why nobody has reported this.
I certainly never noticed this problem and I have a number of live Silverlight systems out there.
Some of which are huge.
If you want a "fix":
private void OnPropertyChanged(string propertyName)
if (this.PropertyChanged != null)
//PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
Storyboard sb = new Storyboard();
sb.Duration = new Duration(new TimeSpan(0, 0, 0, 0, 100));
sb.Completed += delegate
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
sb.Begin();
The fact this works is interesting because (I think ) it means the textbox can't be updated at the point the propertychanged is raised.
Please don't forget to upvote posts which you like and mark those which answer your question.
My latest Technet article - Dynamic XAML
Maybe you are looking for
-
Office Home and Student 2010 Install problems with a Key Code Err..
I had to install a new hard drive, lost everything..So I upgraded to Windows 7 Professional .. I own a the 2010 Home and Student CD bought at the Microsoft store...Doesn't come with Outlook... So I ordered the Home and Business 2010 disc with Service
-
Exporting audio from Aurora to Computer
This both a "Getting Started," problem and an "Application" problem. I recently purchased an app that I really like called Aurora Sound Studio HD and I want to create data in the app that I can download to my computer in order to do additional work o
-
Hi , I have scenario. In selection screen i m providing vendor details. I want to display the records based on selection screen and there i have to create, modify or delete the records. Can u give the solution. thnaks in advance dhanu
-
Dear All In our client place we procuring Material against network and WBS Element.When i am doing PO for network the system throws error when it exceeded the budget.But when i am Procurement material WBS Element (Reservation+PR for WBS Element) Proj
-
Premiere 6 error writing file - disk full?
have premiere installed on new windows 7 pc. plenty of space. edited short (minute) video. went to render and get this error message saying error occurred while making the movie, eoor writing file...disk full? saw forums on settings...am clueless as