Calculate Paths without endNode

Hi
I was using the Java APIs to calculate paths for my network by giving only the starting node and a constraint.
Is the same option available in PL/SQL procedures? From what I see u have to define an end node also
Thank u
K

Hi,
of course you can calculate your price without submit the page.
What you need is javascript function that takes quantity and price value, and returns total value.
Put in your page header this code (I assume your items' name are like P1_PRICE etc.):
<script>
function calculateTotalSum(){
$x('P1_TOTAL_PRICE').value=$x('P1_PRICE').value*$x('P1_QUANTITY').value;
</script>Then create a button and change its target to following URL ("URL redirect" section in button option):
javascript:calculateTotalSum();Now each time you press the button, total price will be calculated without submit.
Regards,
Przemek

Similar Messages

  • Photoshop CS3, using pen tool to make selection or path without any color

    OK, here is my problem. I'm using CS3 photoshop right now. Last time I was using it regularly was in 2001, so it was version 5 or 6. At that time you could use the pen tool to make a selection or a path without ANY color. I'm trying to cut out something that needs precision (therefore the pen tool) but I need to be able to see what I'm doing. Therefore, would prefer no color option. This used to be easy, with paths, it was the default.
    Can't figure it out now, HELP is no help. And, the User Guide is no longer available on Adobe.com. Looked for the one for the CS4 suite, not much much luck there either. I can call them tomorrow about that. *Right now, all I'm trying to do is put together a little pasted together thing for my niece. Two stuffed animals with antlers and santa hats on a Xmas background. Everything is done but cutting out around the stuffed animals. They need their little tufts of stuffing, so I need a tool that can create a smooth path without blocking what I'm doing with color.* Any help will me appreciated. I've tried for days to figure this out on my own, since last time I posted, I figured it out before someone responded. And, the response was quick, so I didn't want to waste anyone's time.
    The pdf user guide for this is unavailable, I just ordered a book to help me with the stuff I can't figure out by myself. Thanks for everyone's quick help. –Suze

    {quote:title=Suze159 wrote:}
    I'm trying to cut out something that needs precision (therefore the pen tool) but I need to be able to see what I'm doing. *Right now, all I'm trying to do is put together a little pasted together thing for my niece. Two stuffed animals with antlers and santa hats on a Xmas background. Everything is done but cutting out around the stuffed animals. They need their little tufts of stuffing, so I need a tool that can create a smooth path without blocking what I'm doing with color.*{quote}
    Suze,
    I too use CS3 and I may be confused about your post. If so, I apologize for wasting any reader's time.
    When I need a precision tool for rotoscoping a subject, I usually choose the Polygonal Lasso tool. Of all the Lasso tools, using the polygonal is the most labor intensive, but gives you the highest degree of control. With a little practice you can get quite good at it. If necessary, blow up the image to help you see what you are doing.
    -- Duplicate the background layer
    -- Rotoscope the subject
    -- Click Refine Edge and adjust Radius, Contrast, Contract/Expand, Smooth and Feather to taste
    -- Choose New>Layer via Copy or Cut
    -- Hide background layer(s) and Save As or Move this layer onto your original graphic.
    There may be other ways of doing it but this is what works for me. I hope that helps.
    Eddie

  • Rejoin path without removing anchor handle?

    Im wondering if it is possible to rejoin an open path without removing the bezier handle of the open point.
    I find that I quick switch to the direct selection tool to rotate my previously placed anchor or some other quick edit, and then when I want to carry on with the path I click the last point, which has the adverse effect for me of turning the open point into a mixed curve/corner and I have to redrawn the open anchor handle. Photoshop doesn't behave like this when clicking on open anchors, you have to alt click to achieve such behaviour.
    Is there something I'm missing to stop this happening?
    Thanks

    Dan,
    Assume you're drawing a path with the pen, point-by-point, clicking to place corner points; clickDragging to place smooth points. You've just placed a smoothPoint, so both its handles are extended. Now you want to access the white pointer to make an adjustment to that most-recently placed anchor before continuing with the Pen.
    Don't make a "hard switch" to the white pointer (by selecting the tool in the Toolbox or by tapping A). Instead, momentarily invoke it by pressing and holding the Ctrl key. Make the desired adjustment. Release the Ctrl key and the Pen comes back. Simply click or clickDrag where you want the next anchor; you do not have to click the last-placed anchor to resume drawing the path. Doing so, the outboard handle of the last-placed anchor will not be retracted.
    If pressing Ctrl momentarily invokes the black pointer instead of the white pointer, that's because the black pointer is the one you most recently used before selecting the Pen. (That nonsense is part and parcel of AI's endlessly tedious two-selection-tool interface, to which AI still clings, despite its having been prooved both unnecessary and undesirable about three decades ago by FreeHand's far better selection interface.)
    Pressing the Alt key similarly momentarily invokes the Convert tool to make adjustments, and releasing the Alt key lets you resume with the Pen (desipte AI's display of selected anchors failing to reflect that).
    JET

  • In illustrator, is there a way to reduce anchors points in a segment path without altering the path?

    In illustrator, is there a way to reduce anchors points in a segment path without altering the path?
    Is there a better and more efficient way to reduce anchors points than using the pen-minus tool?
    Thanks.

    That's what the Simplify command is for. It tries to reduce the number of segments while you judge the results and adjust the parameters accordingly.
    Of course, if any given curve were possible with just two anchors, then all paths could have just two anchors. So obviously, fewer segments is not always possible.
    As with many other things, though, you need to realize this: Automatic functions have no human discernment whatsoever. That's just as true in the matter of optimizing paths as it is in auto-tracing. The program routine which tries to figure out which anchors can go and which anchors must stay has absolutely no idea of what the path is actually a drawing of. Only you know that. So the bottom line remains the same: Optimizing paths correctly should be done with deliberate discernment, not just left up to dumb automated routines.
    Illustrators draw paths deliberately--one anchor at a time--for good reason.
    JET

  • How to get only the graphics path without graphics names?

    Hi All,
    I need to get only the graphics path without graphics names like 'd:\Images\' instead of 'd:\Images\abc.jpg' in JS.
    Thanks,
    Praveen

    Something like this should get you close…
    #target indesign
    function main() {
         if (app.documents.length == 0) {
              alert('Please have an "Indesign" document before running this script.');
         return;
         docRef = app.activeDocument;
         with(docRef) {
              var x = rectangles[0].allGraphics[0].itemLink.filePath;
              var y = new File(x).parent.fsName;
              $.writeln(y);
    main();

  • Sql for extract file path without file_name form the folumn value

    Dear Experts,
    can someone give the sql script to extract file path without file_name form the folumn value.
    can someome provide sql to extract only path in the column value.
    column value :
    /data/rrsapus/oradata22/rrsa_25122011rpsp_arpch.rsp
    i need output like this */data/rrsapus/oradata22/*

    Hi,
    Welcome to the forum!
    INSTR and SUBSTR is probably the most efficient way. Use INSTR to find where the last '/' is, and SUBSTR to get that many characters, starting from the beginning of the string.
    INSTR and SUBSTR (and REGEXP_SUBSTR, and REGEXP_REPLACE, and RTRIM, and REPLACE, and all the other bullt-in functions) are documented in the SQL language manual:
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/index.htm
    REGEXP_SUBSTR or REGEXP_REPLACE would also do the job, perhaps with a little less code, but maybe not as efficiently.
    Here's a more creative way:
    SELECT     RTRIM ( str
               , REPLACE (str, '/')
               )          AS file_path
    FROM     table_x
    ;What results do you want if str does not contain a '/'?

  • How to move an object with its animation path, without adding a new keyframe?

    Hi,
    If I create an object which has a keyframe animation, how can I change its location/scale without adding new keyframes? That is, I want to move the whole thing with all its animations & keyframes as a single entity.
    thanks
    Arun

    Hi,
    big thanks for that. Unless Im doing something stupid when I did that it made a new copy of the object but did allow me to place that new instance elsewhere.
    Is there any way just to move an object and its path without making a new copy?
    All the best
    Arun

  • How can I mass move symbols with their motion paths without creating new keyframes?

    I want to move a lot of symbols all at once if they are off centered or just need to be moved around to see differenr styles across the document, but I can't seem to move a lot of the symbols at once, only one at a time slexting their motion paths. It's rather annoying when I have items coming in at different times and have to re line everything up one by one if I want to move things even over by 1 px. Every time I slecect all my symbols and try to move them it just creates a new keyframe that they follow. Is there any tool or certian way to select the symbols and/or thier motion paths and move them without creating new key frames?

    Hi,
    There's no direct way of moving all the symbols/ motion tweens begining at different frames altogether, but the following steps should help you do it -
    1. Select a motion path on stage, goto Properties panel > Options menu (top left corner) and enable - Always show Motion Paths.
    2. Enable - Edit Multiple Frames option in the Timeline.
    3. Adjust the frame-markers in Timeline to show all your symbols, motion paths etc.
    4. Now that you see all your symbols and motion paths together, Select-all and Move them together. Or, use Shift + click to selectively select the Motion paths/objects and move them.
    Let me know if you have any doubts..
    Regards,
    Nipun

  • Scale a Paint's "path" without distorting the Brush "strokes"?

    Anyway to scale a Paint Brush "stroke's" "path" along only one axis without distorting the brush strokes?

    Besides having no idea what you're trying to say, I don't think you're considering the problem.
    Here's the same issue, solved with regards lines and their strokes distorting:
    scale a line, not it's outline/stroke...
    That's a particularly cool trick.
    But I don't see anything similarly possible with Paint Brush based "strokes".
    Please, consider that this is what I'm "painting" the line with, so I'd like the circles (dots) to not distort into ovals when scaling the path in only one dimension, see my answer at bottom:
    Small Circles (dots) on a path instead of dashes?

  • Eclipse nightmare: Trying to use Build Path without muddling up the project

    I'm working on a team project for the first time ever, which is a little scary. We are using Subclipse. As soon as I downloaded the project, I noticed that I don't get any error warnings. Soon after, I noticed that Ctrl H fails to search the project.
    I thought this was all Subclipse's fault, and tried a clumsy workaround by copying the project. I had noticed that the package icon doesn't appear for the folders holding the source files and realized this is the problem. I guess Eclipse doesn't know which files are the source files. I would have thought it could tell because they end in .java, but that shows how little I know.
    After wrestling with this for hours, I figured out that I could use Build Path -> Use as source folder. For a split second, I thought I had finally solved the problem. But then all of a sudden tons of error messages showed up in every file. It turns out that when you use Build path -> Use as source folder, it moves your source folder and changes the names of the subfolders. So how on earth do I just tell Eclipse where my source files are without it moving everything around and screwing up the whole project?
    Please, somebody tell me what is going on before I pull all of my hair completely out.

    codinatrix wrote:
    I'm working on a team project for the first time ever, which is a little scary. We are using Subclipse. As soon as I downloaded the project, I noticed that I don't get any error warnings. Soon after, I noticed that Ctrl H fails to search the project.
    I thought this was all Subclipse's fault, and tried a clumsy workaround by copying the project. I had noticed that the package icon doesn't appear for the folders holding the source files and realized this is the problem. I guess Eclipse doesn't know which files are the source files. I would have thought it could tell because they end in .java, but that shows how little I know.
    After wrestling with this for hours, I figured out that I could use Build Path -> Use as source folder. For a split second, I thought I had finally solved the problem. But then all of a sudden tons of error messages showed up in every file. It turns out that when you use Build path -> Use as source folder, it moves your source folder and changes the names of the subfolders. So how on earth do I just tell Eclipse where my source files are without it moving everything around and screwing up the whole project?
    Please, somebody tell me what is going on before I pull all of my hair completely out.I have encountered similar issues with Eclipse and--though I'm not an expert--I have used Eclipse a lot.
    Can you tell us more about your project folder structure (as it exists in SVN)?
    Generally speaking, here's what I would do when start a new Eclipse project from SVN using Subclipse:
    1) Delete your current project and start clean.
    2) Open the SVN Repositories view in Eclipse
    3) Right-click the folder you are checking out as your project (for example, if your project is called ProjectFoobar and contains a trunk, right-click the trunk folder... don't check out all of the branches--use svn switch instead) and do a Checkout.
    4) Select 'Check out as a project in the workspace
    5) Give it a project name.
    6) 'Check out HEAD revision' (presumably)
    7) Depth: fully recursive
    8) Next
    9) Workspace location: make sure this the workspace you intend to create the project in
    8) Finish
    Hope that helps.
    -Thok
    Edited by: Thok on Apr 29, 2009 7:07 PM

  • Assign access path without opening explorer

    Hi, i have a PS script top open a partition in my drive assigning a Logical Letter; do some operations; remove Unit Letter
    i'm using the Add-PartitionAccessPath cmdlet and it works fine:
    Add-PartitionAccessPath -DiskNumber 0 -PartitionNumber 3 -AssignPath R:
    but i would like to find a way to avoid that after this operation is done, then File Manager Explorer is opening a window on unit R:
    I have tried to add | Out-Null after the Add-PartitionAccessPath string but always Explorer open the path anyway.
    Is there a way to make the AddPartitionAccessPath a "silent" operation without Explorer opening?
    thanks for any help!!!
    regards
    Simone

    Hi Simone,
    You can try the last suggestion in this thread and see if it works for you:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/29abd4e2-d455-4344-ac45-add52adbdf29/newpartition-but-supress-the-dialog?forum=winserverpowershell
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • Embed clipping path without embedding image

    I embed Photoshop images all the time in order to get a vectorized version of the clipping path. Afterwards, I relink the image I just embedded and the new vector becomes the mask. It would be nice if I didn't have to embed the image itself in order to embed the clipping path. Even better, it would be nice to see which images had clipping paths right inside of Illustrator without having to embed them or open Photoshop. Maybe this could be part of the "Link Info"?

    Could you just export the path for the clipping path from Photoshop to Illustrator?
    You know export paths to Illustrator under the file menu in Photoshop? Or just drag the path from Photoshop to the Illustrator document?
    Oh I see what you want you want to link the file with the option to have the clipping mask be a live editable clipping mask in AI and in the same relative position.
    Interesting option, like a check box link file embed clipping mask.

  • Alter file path without recompiling

    I have a LabVIEW program compiled with version 7.1. Unfortunately, it was not compiled properly and I do not have the original source.
    You see, after experimenting with Filemon I have determined that the VI is trying to read or write to a file named c:\[whatever]\viname.exe\settings.cfg . Of course, this path makes no sense in the Windows filesystem, though I understand such an access attempt is not unusual for LabVIEW projects.
    Is there some way I can get around this problem without the original source?

    It seems that this path does makes sense to Windows, as I was able to create a similar file on my PC. But of course, it doesn't quite make sense for us .
    The only possibility I can see is to open the exe file with an hex editor and change the path writing into it; this has several drawbacks, for example you may not change the length of the individual constants used to build the name, so if the path was obtained by building successively [whatever], viname.exe and settings.cfg, you are not allowed to relocate the file into a C:\ mysinglecnfgdirectory  directory, for example, but you need to respect the two steps directory nesting, like in C:\myapplicat\my_vi_name\settings.cfg
    Message Edited by pincpanter on 03-05-2007 05:14 PM
    Paolo
    LV 7.0, 7.1, 8.0.1, 2011

  • Get directory path. Just the directory path, without the file name.

    Hi,
    I need to export a file from a table in SAP to a directory in the PC. So i need to get a directory path.
    I've been reading the threads but all the answers refer to functions F4_FILENAME, WS_FILENAME_GET, KD_GET_FILENAME_ON_F4 or to the method CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG.
    But all of them require to select a file to close the window.
    What I need is to get the path to the directory, not to a file.
    For example:
    I just need to get:
    C:\TEMP
    and not:
    C:\TEMP\file.doc
    Please help.
    Thanks.

    Pablo, use cl_gui_frontend_services=>directory_browse.
    Refer this code:
    PARAMETERS:
      p_path         TYPE rlgrap-filename OBLIGATORY.
    DATA:
      gv_path_ini    TYPE string,
      gv_path_sel    TYPE string.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_path.
      CALL METHOD cl_gui_frontend_services=>directory_browse
        EXPORTING
          initial_folder  = gv_path_ini
        CHANGING
          selected_folder = gv_path_sel
        EXCEPTIONS
          cntl_error      = 1
          error_no_gui    = 2
          OTHERS          = 3
      IF sy-subrc = 0.
        CALL METHOD cl_gui_cfw=>flush( ).
        IF NOT gv_path_sel IS INITIAL.
          gv_path_ini = p_path = gv_path_sel.
        ENDIF.
      ENDIF.
    As a side note, always avoid any WS_* function modules as they're not Unicode compliant.
    Regards

  • Scale path without affecting stroke width

    Hi all,
    This seems like it should be simple to do but I'm not having any luck here. Basically I have a path parented to a null that controls several things, scaling them down, rotating and moving across the composition. One of those items is a path with a stroke of 32 px.  I want to be able to scale the path itself down, but leave the stroke the same.
    I thought I could key the stroke width manually but that has no effect- scaling it up as the path scales down doesn't seem to change the stroke width at all at the end keyframe, only at the beginning keyframe. I see the px count start at 32 and increase up to as it moves along the timeline, even though the stroke width on screen is still getting smaller as if there were no change at all to the width.
    Thanks!

    You generally don't want to scale the layer that contains the stroke, you want add keyframes to the mask path and animate the size of the path. This is easy. You just start by double-clicking one of the vertices and using the transform box.
    If this technique does not work for you then you have two other options, both involving expressions. Both of these options use exactly the same expression to look at the scale of your null layer and both assume that the null is at 100% scale at the start of the animation. The option that I would choose would be to replace the mask path on a layer with stroke applied with shape layer path with stroke applied. You have so many more options and you're dealing with vector information. With either solution this is the expression.
    sf = thisComp.layer("Control Null 1").transform.scale[0]/100;
    ov = value;
    nv = ov / sf
    sf (scale factor) is the x scale value of the controlling null that is the parent of the stroke layer or the layer with the stroke effect applied to a mask divided by 100. If you intend to scale X and Y of the parent you'll have to modify the expression and then combine the scale factors and this solution will not work as well.  The original scale value is divided by 100 to turn it into a decimal value
    ov (original value)  is the original set value of the stroke.
    nv (new value) is calculated by dividing the original value by the scale factor.
    This is just basic algebra from the 7th grade. If your controlling parent is scaled below 0 then the stroke will go away because the value will change to a negative number. If this is necessary in your composition you can write an if statement that will change the nv back to a positive number if the scale factor becomes less than or equal to zero and solves the divide by zero error you would get with a scale factor of zero.
    One last point, and this is important. This expression will produce accurate results if applied to the brush size of a mask path when using the Effects>Generate>Stroke effect to create your line but when scaled over 100% the line will begin to fall apart and anti aliasing will not be able to keep up with pixilation caused by the scale. Over about 120% the line will start to look thinner and over 140% it will look bad even though the stroke width is numerically accurate.
    I'll let you take it from here.

Maybe you are looking for

  • How do I retrieve a deleted PDF file from Adobe Reader on iPad?

    I inadvertently deleted a very important PDF file from the Adobe Reader on iPad. Does anyone know what I can do to retrieve it? A reply would be highly appreciated!

  • [Solved] Missing digest_pw_auth after installation using yaourt

    I have installed Squid using yaourt but after installation and setting it up using https://wiki.archlinux.org/index.php/Squid I realized that /usr/lib/squid/digest_pw_auth is missing. How can I get it? # ls basic_db_auth basic_ncsa_auth basic_smb_aut

  • Oracle 10g to sql server 2005 - how to setup

    Hi, I have been searching on how to setup a connection from oracle 10g to sql server 2005 and i have to admit i am struggling a bit. I have read about Heterogeneous Services and Database Gateway but we really dont want to fork for licence fees so it

  • Constraint with condition?

    I need some help with creating some sort of a constraint or check on a table row. I have the following table: create table mytable o_no number null, o_name varchar2(255) null, type char(1) not null, valid char(1) not null alter table mytable add cons

  • Facebook won't stop syncing

    Hi I recently installed iLife 11 which seems to have better facebook intergration Only problem is, it will never stop syncing forcing me to have to force quit iPhoto I have noticed it is trying to sync my facebook albums that aren't in my library, is