URL hiding (masking or making persistant) problem
I read somewhere that URL from HTMLDB (i.e. http://localhost/htmldb/f?p=104:7:6195079855073095232::NO:::) cannot be hide in any way.
My problem is if user change that "NO" to "YES" he can see debug mode and if in code there is PLSQL code like
if v('DEBUG') = 'YES' then
htp.p('
<div style="font-weight:bold;background-color:#DDDDDD;">output SQL: ' ||
l_sql || '</div>
where "l_sql" is sql query that runs the page, then we have problem with security-I do not want to expose my SQL syntax to anyone.
What to do and how to make at least persistant URL 8that user cannot change)?
THX!
but if you set v(debug) to no in the very beginning, even if the user change to yes in the url, you change back to no before showing the sql sentence...
Similar Messages
-
Persistant problems with FF 27.0.1 on Windows 7/64
I seem to have a persistent problem with Firefox 27.0.1 and my MSN homepage. When I open FF, it takes me to both my Outlook Mail page and My MSN pages in two separate tabs. Outlook Mail had a problem taking my correct password, but that issue seems to have resolved itself (I did clear all cookies and caches related to the website). But My MSN is still giving me this message...
"The page you have requested cannot be found.
The web page you were attempting to view may not exist or may have moved — try checking the web address for typos."
I tried the same thing as I did with Outlook (deleted cookies and caches), but the problem persists. I disabled all plugins, and still no luck. The MSN Homepage comes up, and I'm shown as logged into My MSN, but when I click the My MSN link, I get the "The page you have requested..." message.
Another issue relating to both websites is password remembering. FF will NOT ask to remember the passwords for those sites. I have Remember Passwords box checked in Settings and it does for other sites, but not my Homepage(s). Clearing cookies/caches didn't help, and the password is not listed in the Remembered Passwords page of Settings.
Finally, Firefox on my home laptop (Windows 7/64 as well) freezes and crashes a lot, as well as displayes a warning there is something with Flash, which I have updated many times over.
I used to use Internet Explorer as a browser exclusively until I started having problems with certain websites not allowing me to log in. I realized it was not the website, but some incompatibility with IE. I started using Firefox, and fouind no problems, and heard it was more secure and easier to configure than Internet Explorer anyway. But since these problems started occurring (especially with NO way for me to log onto My MSN), I have to go back to using IE (except for select website logons), which is disappointing :-(.About your home page; Manually set up Firefox with the window(s) and tab(s)
the way you want them to be. Then;
'''''Firefox Options > General > Homepage'''''.
Press the button labeled ''''Use Current'''.'
=====================================
Open a new window or tab. In the address bar, type '''''about:config'''''.
If a warning screen comes up, press the '''''Be Careful''''' button.
This is where Firefox finds information it needs to run.
At the top of the screen is a search bar. Enter '''''browser.newtab.url'''''
and press enter. '''''browser.newtab.url'''''
tells Firefox what to show when a new tab is opened.
If you want, right click and select '''''Modify'''''. You can change the
setting to;<BR><BR>about:home (Firefox default home page),<BR>
about:newtab (shows the sites most visited),<BR>
about:blank (a blank page),<BR>
or you can enter any web page you want.<BR><BR>
The same instructions are used for the new window setting, listed as
'''''browser.startup.homepage'''''. -
Printing a graphic with a gradient mask in Flex 3-problem
Hello, I am fairly new to flex development. I am puting together a little program that allows the user to upload a picture add a vignette mask in order to achieve a soft edge, and have a problem I cannot find an answer anywhere, maybe someone could help me please.
I want to print a the user photo with a gradient mask or vignette from flex. I managed to show the image correctly on screeen with the gradient mask using this class but the output to paper is a rectangle without the soft mask.
//package to add the mask for display
package com.dm.graphics
import flash.display.Graphics;
import mx.containers.Canvas;
import flash.display.GradientType;
public class FrameBorderSoft extends Canvas
override protected function updateDisplayList(w:Number, h:Number):void
super.updateDisplayList(w,h);
var g:Graphics = this.graphics;
g.clear();
g.beginGradientFill(GradientType.RADIAL, [0x000000, 0x000000, 0x000000, 0x000000],
[1,1,0.8,0],
[1,128,195,255],
horizontalGradientMatrix(0,0,w,h) );
g.drawRect(0,0,w,h);
g.endFill();
It works beautifully until I try to print the graphic. The image prints but without the gradient edges (soft) instead it is just a sharp edge rectangle.
Does anyone know how to do this?
Here is my print function:
private function doPrint():void {
// Create an instance of the FlexPrintJob class.
var myPrintJob:FlexPrintJob = new FlexPrintJob();
// Start the print job.
if (myPrintJob.start() != true) return;
// Add the object to print. Do not scale it.
if (tabnavigator1.selectedChild == img1) {
//switchcolor is a variable to detect if the user changed the background to white or clear.
switchcolor = 100;
//printCF is the card front container with the photo masked
myPrintJob.addObject(printCF, FlexPrintJobScaleType.NONE);
myPrintJob.printAsBitmap = false;
} else if (tabnavigator1.selectedChild == img1b) {
switchcolor = 100;
myPrintJob.addObject(printCB, FlexPrintJobScaleType.NONE);
I hope this helps to visualize,
I would greatly appreciate any assistance or advise.Hello, back on my issue, i tested a little bit more the message dispaching.
I read the lazyLoadPolicy class and noticed that it always has to have a ModuleId property in the message to work, that's why the broadcast message didn't work to awake the module with the lazy loading policy.
So i added copy of my module:
<cairngorm:ParsleyModuleDescriptor objectId="test"
url="TestModule.swf"
applicationDomain="{ClassInfo.currentDomain}"
/>
<cairngorm:ParsleyModuleDescriptor objectId="testbis"
url="TestModuleBis.swf"
applicationDomain="{ClassInfo.currentDomain}"
/>
Set them both with a basicLoadPolicy, and tries to dispatch a message to only one of them using the ModuleId metatag. I then noticed that both modules received the message and not only the one i expected.
I then changed the ModuleMessageInterceptor configuration to dispatch to only one kind of module:
<cairngorm:ModuleMessageInterceptor type="{ OpenViewMessage }" moduleRef="test"/>
and this worked as expected. Only the first module catched the message. I am obiously messing with the ModuleId metatag but i cannot see what's wrong...
I compiled with
-keep-as3-metadata+=ModuleId
but this hasn't changed anything... -
Tabs in navigation page (Tabs persistance problem)
Hello all,
I'm looking for a workaround of tab persistence (the problem in post URGENT! TAB + Folder navigation Problem )
; is it possible, somehow, to make a navigation page with tabs, and in those tabs some kind of auto-redirection to the actual pages ? Or any other way using tabs? I just want to avoid image-map style navigation. This tab persistance feature is sooo anoying...
Please helpHello
I gave it up using tabs for navigation issue. There are too many problems with that. Now I'm using URL-items within navigation pages and that works fine...
Cheers,
Chrigel -
Hello
i have 2 problemes :
1- is there a way to make use of any universal URL in flash ? i mean. not needing to have the full path of the target in the button since the target is in the same folder than the page where is the flash ?
2- now, thats a funny one, i can make mask to make thing appear in an animation fashion style, no probleme as with any Adobe program... however unlike all other Adobe programs, it seem i am unable to find HOW make the exact reversed result... I want to make thing disappear without using the alpha channel, because i want to make it in an animation style way. It is to use for a sub-menu, where when you click the button to open the sub-menu, you see it appear nicely and in an animated way. But when you click again the button to close it, or once you picked your choice, it close the sub-menu in the exact reverse way it was open...
Any clue ?.
Thx.Url Probleme : Fixed
Mask probleme : It seem i fixed my probleme.. With the reverse Frame option, we can make thing disappear too..
All that remain si to see if it will live up to my expectation.
Thx anyway -
URL iview opening in new window problem
Hi All,
I am using customized top level navigation (developed using byEPCM method).
I created URL iview and pointed "http://www.google.com" . (Launch in New Window = Displaly in sepearte window) .I have assigned this iview to a role as delta link. When naigating this iview, it is opening in new window. But it is showing "Permission Denied script error". And also, it is not displaying url as "http://www.google.com" .
If I navigate via standard top level navigation, it is working fine. Please help to solve this problem.
Thanks,
Venkatesh RHi,
Check authentication related properties of iView. Make sure all of them are set to lowest level or none
Regards,
Ganga -
Persist problem pls help me.
guys sorry to ask that but i could not find such an error on web.
my problem is,
i persist an object
than delete this object
and try again to persist it..
here we go.. you attempted to persist a detached object any help?Hello, ty for your concern.
Exception Description: Cannot persist detached object [ENTITY.Course[courseCode=1212]]. Class> ENTITY.Course Primary Key> [1212]
the same logic in my code works for identity pk's.
if (xc==0) {
try{
int sill=Integer.parseInt(sil);
Query sds = em.createQuery("delete from Course c where c.courseCode=:cc").
setParameter("cc", sill);
em.getTransaction().begin();
int deleted = sds.executeUpdate();
em.getTransaction().commit();
silsonuc="silindi";
}catch(Exception e) {
em.getTransaction().rollback();
if (xc==1) {
try {
em.getTransaction().begin();
Course c=new Course();
c.setCourseCode(derskod);
c.setCourseCredit(Integer.parseInt(kredi));
c.setCourseDEP(new Integer(dep));
c.setCourseHour(saat);
c.setCourseName(dersad);
c.setCourseProgram(program);
c.setCourseProperty(ozellik);
c.setDepID(new Department (dep));
c.setCourseExp("");
c.setTerm(Integer.parseInt(donem));
em.persist(c);
em.getTransaction().commit();
catch (Exception e) {onay=1;em.getTransaction().rollback();}
Ty again :) -
Hiding and then making select-options visible on the selection-screen
I've created a selection screen. On this i've got a field (pr_inpt) depending on whose value i have to display the rest select-options viz. (so_c1, so_n1, so_d1, so_t1) say ,
1.)if (pr_inpt) contains value 'A' then display (so_c1 & so_d1)
2.)if (pr_inpt) contains value 'B' then display (so_n1, so_d1 & so_t1)
To achieve it, in the initialization event, i looped at the screen and for all (so_c1, so_n1, so_d1, so_t1) i made screen-active = '0'. Due to this my objective to hide fields in the beginning is achieved.
Next when user is entering value into (pr_inpt), i am making screen-active = '1' at selection-screen output event, for those relevant select-options (say if A, then made active for so_c1 & so_d1) but my problem is that it is making all select-options (so_c1, so_n1, so_d1, so_t1) visible on the screen which i don't want.
How can i achieve this, also is it possible to change the label of the select-options while displaying.
Plz help.hi just copy and paste following code into ur abap editor and see weather this logic helps u ????
REPORT Z_HRA1.
tables: pa0000, pa0001.
parameters: p_chk1 as checkbox user-command rusr,
p_chk2 as checkbox user-command rusr,
p_chk3 as checkbox user-command rusr,
p_chk4 as checkbox user-command rusr,
p_chk5 as checkbox user-command rusr.
selection-screen: begin of block blk1 with frame.
select-options: s_pernr for pa0000-pernr modif id ABC no-extension no intervals,
s_stat2 for pa0000-stat2 modif id DEF,
s_werks for pa0001-werks modif id GHI,
s_persg for pa0001-persg modif id JKL,
s_persk for pa0001-persk modif id MNO.
selection-screen: end of block blk1.
AT SELECTION-SCREEN output.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'ABC'.
IF p_chk1 = 'X'.
SCREEN-ACTIVE = 1.
ELSE.
SCREEN-ACTIVE = 0.
ENDIF.
MODIFY SCREEN.
ENDIF.
IF SCREEN-GROUP1 = 'DEF'.
IF p_chk2 = 'X'.
SCREEN-ACTIVE = 1.
ELSE.
SCREEN-ACTIVE = 0.
ENDIF.
MODIFY SCREEN.
ENDIF.
IF SCREEN-GROUP1 = 'GHI'.
IF p_chk3 = 'X'.
SCREEN-ACTIVE = 1.
ELSE.
SCREEN-ACTIVE = 0.
ENDIF.
MODIFY SCREEN.
ENDIF.
IF SCREEN-GROUP1 = 'JKL'.
IF p_chk4 = 'X'.
SCREEN-ACTIVE = 1.
ELSE.
SCREEN-ACTIVE = 0.
ENDIF.
MODIFY SCREEN.
ENDIF.
IF SCREEN-GROUP1 = 'MNO'.
IF p_chk5 = 'X'.
SCREEN-ACTIVE = 1.
ELSE.
SCREEN-ACTIVE = 0.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Regards
Gagan -
I'm hoping that someone might be able to solve the folowing problem for me which has become a real puzzle! I have two web sites hosted with '1 and 1' under the same root folder say /A and /B. Access to the two sites is with the same user name and password. If I wish to upload website B with Dreamweaver there is no problem. However trying the same with website A has always given the following message “An FTP error occurred – cannot make connection to host. Your login or password is incorrect. Please check your login information” . In this case I use Fetch to upload site A using the same user name and password with no problem. I am now using my third version of Dreamweaver CS5 on an intel Mac runnning 10.5.8 (both of which are new) and was hoping that this problem would be solved; however the problem persists.
I do not think the proble lies with '1 and 1' since Fetch works without any problem. My version of Dreamweaver and the computer are new so no problem with these. I am not behind a firewall working from home. I have tried changing my password and the name of the folder /A; all to no avail. Is the problem somehow within the website A ? Can anyone help please!I'm sorry but you appear to be a business user and the is a forum for BT residential customers. there is a business forum who may be able to help you http://business.forums.bt.com/
If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’. -
HELP! opencascade error when making, different problem than usual
Dont be intimidated my the make log, it all ran well exept for this part, so i dont think u will need to read the rest
i think the problem is the "*** missing separator. stop" in the first line after TKMATH
Making all in TKMath
make[3]: Entering directory `/home/corex/build/opencascade/src/ros/adm/lin/amk/TKMath'
make[3]: Leaving directory `/home/corex/build/opencascade/src/ros/adm/lin/amk/TKMath'
make[2]: Leaving directory `/home/corex/build/opencascade/src/ros/adm/lin/amk'
make[1]: Leaving directory `/home/corex/build/opencascade/src/ros'
for some reason it does not show when i wrote makepkg &> opencascade.log, but its there, it there anyway to make a better log and find out where the spaces are instead of tab(i looked online and found that the error means that there were spaced where there should be a tab) is it possible for me to bdstar the OpenCASCADE660.tgz, make the apropriate changes, and then repkg it for make? or is there an easyer way, or something i dont know, pls help.
make log
probably to much, but it never hurts. i think the problem is the "*** missing separator. stop" in the first line after TKMATH
====================================================== aclocal
====================================================== libtoolize
====================================================== autoheader
====================================================== automake
====================================================== autoconf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking whether byte ordering is bigendian... no
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether gcc and cc understand -c and -o together... yes
checking for gawk... (cached) gawk
checking whether ln -s works... yes
checking for bison... bison -y
checking whether make sets $(MAKE)... (cached) yes
checking for ANSI C header files... (cached) yes
checking for C header files ... checking for dlfcn.h... (cached) yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking osfcn.h usability... no
checking osfcn.h presence... no
checking for osfcn.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking sys/systeminfo.h usability... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sysent.h usability... no
checking sysent.h presence... no
checking for sysent.h... no
checking for unistd.h... (cached) yes
checking sys/unistd.h usability... yes
checking sys/unistd.h presence... yes
checking for sys/unistd.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking sigfpe.h usability... no
checking sigfpe.h presence... no
checking for sigfpe.h... no
checking floatingpoint.h usability... no
checking floatingpoint.h presence... no
checking for floatingpoint.h... no
checking sys/machsig.h usability... no
checking sys/machsig.h presence... no
checking for sys/machsig.h... no
checking sys/siginfo.h usability... no
checking sys/siginfo.h presence... no
checking for sys/siginfo.h... no
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for strings.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking sys/vnode.h usability... no
checking sys/vnode.h presence... no
checking for sys/vnode.h... no
checking for C++ header files ... checking istream usability... yes
checking istream presence... yes
checking for istream... yes
checking ostream usability... yes
checking ostream presence... yes
checking for ostream... yes
checking for istream... (cached) yes
checking fstream usability... yes
checking fstream presence... yes
checking for fstream... yes
checking ios usability... yes
checking ios presence... yes
checking for ios... yes
checking iomanip usability... yes
checking iomanip presence... yes
checking for iomanip... yes
checking iostream usability... yes
checking iostream presence... yes
checking for iostream... yes
checking stream.h usability... no
checking stream.h presence... no
checking for stream.h... no
checking strstream.h usability... no
checking strstream.h presence... no
checking for strstream.h... no
checking istream.h usability... no
checking istream.h presence... no
checking for istream.h... no
checking ostream.h usability... no
checking ostream.h presence... no
checking for ostream.h... no
checking fstream.h usability... no
checking fstream.h presence... no
checking for fstream.h... no
checking for stdlib.h... (cached) yes
checking ios.h usability... no
checking ios.h presence... no
checking for ios.h... no
checking iostream.h usability... no
checking iostream.h presence... no
checking for iostream.h... no
checking iomanip.h usability... no
checking iomanip.h presence... no
checking for iomanip.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking siginfo.h usability... no
checking siginfo.h presence... no
checking for siginfo.h... no
checking bits/sigset.h usability... yes
checking bits/sigset.h presence... yes
checking for bits/sigset.h... yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking for sys/types.h... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking X11/extensions/transovl.h usability... no
checking X11/extensions/transovl.h presence... no
checking for X11/extensions/transovl.h... no
checking X11/extensions/readdisplay.h usability... no
checking X11/extensions/readdisplay.h presence... no
checking for X11/extensions/readdisplay.h... no
checking for X11/extensions/multibuf.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking libc.h usability... no
checking libc.h presence... no
checking for libc.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for dlopen in -ldl... yes
checking if platform is 64-bit... no
checking for tclConfig.sh... "/usr/lib/tclConfig.sh"
checking tcl.h usability... yes
checking tcl.h presence... yes
checking for tcl.h... yes
checking for tkConfig.sh... "/usr/lib/tkConfig.sh"
checking tk.h usability... yes
checking tk.h presence... yes
checking for tk.h... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working alloca.h... yes
checking for alloca... yes
checking for working memcmp... yes
checking return type of signal handlers... void
checking for gethostname... yes
checking for putenv... yes
checking for re_comp... yes
checking for regcomp... yes
checking for strcspn... yes
checking for strdup... yes
checking for strtol... yes
checking for statfs... yes
checking for statvfs... yes
checking if it is OK to define stream input and output... no
checking if class ostream has member function form... no
checking if union semun is defined in <sys/sem.h>... no
checking if function semop takes a value... no
checking if function semctl takes a value... no
checking for mallinfo in -lmalloc... no
checking for ieee_handler in -lsunmath... no
checking for finite in -lm... yes
checking for jni_md.h in /usr/lib/jvm/java-7-openjdk/include... /usr/lib/jvm/java-7-openjdk/include/linux/jni_md.h
checking jni.h usability... yes
checking jni.h presence... yes
checking for jni.h... yes
checking java JNI version >= 1.2... yes
checking for X... libraries , headers
checking for XCreateWindow in -lX11... yes
checking X11/Xmu/Xmu.h usability... yes
checking X11/Xmu/Xmu.h presence... yes
checking for X11/Xmu/Xmu.h... yes
checking for XmuLookupStandardColormap in -lXmu... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking for _GLUfuncptr... yes
checking for glClear in -lGL... yes
checking for gluSphere in -lGLU... yes
configure: try system freetype
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
checking for FT_Init_FreeType in -lfreetype... yes
configure: try system ftgl
checking ftgl.h usability... yes
checking ftgl.h presence... yes
checking for ftgl.h... yes
checking for FTGLTextureFont in -lftgl... yes
CC = gcc
CXX = g++
CFLAGS = -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DCSFDB -DOCC_CONVERT_SIGNALS -DLIN -DLININTEL -fexceptions -O2
CXXFLAGS = -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DCSFDB -DOCC_CONVERT_SIGNALS -DLIN -DLININTEL -D_GNU_SOURCE=1 -O2
CPPFLAGS = -D_FORTIFY_SOURCE=2 -I/usr/lib/jvm/java-7-openjdk/include -I/usr/lib/jvm/java-7-openjdk/include/linux -DNDEBUG -DNo_Exception
LDFLAGS = -Wl,-O1,--sort-common,--as-needed,-z,relro -lstdc++ -lrt
3rdparty mandatory products
freetype : yes
tcltk : yes
3rdparty optional products
gl2ps : no (--with-gl2ps=DIR option was not defined)
freeimage : no (--with-freeimage=DIR option was not defined)
tbb includes : no (--with-tbb-include=DIR option was not defined)
tbb libraries : no (--with-tbb-library=DIR option was not defined)
qt : no (--with-qt=DIR option was not defined)
Component Build
FoundationClasses yes
ModelingData yes
ModelingAlgorithms yes
Visualization yes
ApplicationFramework yes
DataExchange yes
Draw yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating adm/lin/amk/Makefile
config.status: creating custom_amk.sh
config.status: creating adm/lin/amk/TKernel/Makefile
config.status: creating adm/lin/amk/TKMath/Makefile
config.status: creating adm/lin/amk/TKAdvTools/Makefile
config.status: creating adm/lin/amk/TKG2d/Makefile
config.status: creating adm/lin/amk/TKG3d/Makefile
config.status: creating adm/lin/amk/TKGeomBase/Makefile
config.status: creating adm/lin/amk/TKBRep/Makefile
config.status: creating adm/lin/amk/TKGeomAlgo/Makefile
config.status: creating adm/lin/amk/TKTopAlgo/Makefile
config.status: creating adm/lin/amk/TKPrim/Makefile
config.status: creating adm/lin/amk/TKBO/Makefile
config.status: creating adm/lin/amk/TKBool/Makefile
config.status: creating adm/lin/amk/TKHLR/Makefile
config.status: creating adm/lin/amk/TKFillet/Makefile
config.status: creating adm/lin/amk/TKOffset/Makefile
config.status: creating adm/lin/amk/TKFeat/Makefile
config.status: creating adm/lin/amk/TKMesh/Makefile
config.status: creating adm/lin/amk/TKXMesh/Makefile
config.status: creating adm/lin/amk/TKShHealing/Makefile
config.status: creating adm/lin/amk/TKService/Makefile
config.status: creating adm/lin/amk/TKV3d/Makefile
config.status: creating adm/lin/amk/TKOpenGl/Makefile
config.status: creating adm/lin/amk/TKMeshVS/Makefile
config.status: creating adm/lin/amk/TKNIS/Makefile
config.status: creating adm/lin/amk/TKVoxel/Makefile
config.status: creating adm/lin/amk/PTKernel/Makefile
config.status: creating adm/lin/amk/TKPShape/Makefile
config.status: creating adm/lin/amk/TKCDF/Makefile
config.status: creating adm/lin/amk/TKLCAF/Makefile
config.status: creating adm/lin/amk/TKCAF/Makefile
config.status: creating adm/lin/amk/TKBinL/Makefile
config.status: creating adm/lin/amk/TKXmlL/Makefile
config.status: creating adm/lin/amk/TKShapeSchema/Makefile
config.status: creating adm/lin/amk/TKPLCAF/Makefile
config.status: creating adm/lin/amk/TKBin/Makefile
config.status: creating adm/lin/amk/TKXml/Makefile
config.status: creating adm/lin/amk/TKPCAF/Makefile
config.status: creating adm/lin/amk/FWOSPlugin/Makefile
config.status: creating adm/lin/amk/TKStdLSchema/Makefile
config.status: creating adm/lin/amk/TKStdSchema/Makefile
config.status: creating adm/lin/amk/TKTObj/Makefile
config.status: creating adm/lin/amk/TKBinTObj/Makefile
config.status: creating adm/lin/amk/TKXmlTObj/Makefile
config.status: creating adm/lin/amk/TKXSBase/Makefile
config.status: creating adm/lin/amk/TKSTEPBase/Makefile
config.status: creating adm/lin/amk/TKSTEPAttr/Makefile
config.status: creating adm/lin/amk/TKSTEP209/Makefile
config.status: creating adm/lin/amk/TKSTEP/Makefile
config.status: creating adm/lin/amk/TKIGES/Makefile
config.status: creating adm/lin/amk/TKXCAF/Makefile
config.status: creating adm/lin/amk/TKXCAFSchema/Makefile
config.status: creating adm/lin/amk/TKXDEIGES/Makefile
config.status: creating adm/lin/amk/TKXDESTEP/Makefile
config.status: creating adm/lin/amk/TKSTL/Makefile
config.status: creating adm/lin/amk/TKVRML/Makefile
config.status: creating adm/lin/amk/TKXmlXCAF/Makefile
config.status: creating adm/lin/amk/TKBinXCAF/Makefile
config.status: creating adm/lin/amk/TKDraw/Makefile
config.status: creating adm/lin/amk/TKTopTest/Makefile
config.status: creating adm/lin/amk/TKViewerTest/Makefile
config.status: creating adm/lin/amk/TKXSDRAW/Makefile
config.status: creating adm/lin/amk/TKDCAF/Makefile
config.status: creating adm/lin/amk/TKXDEDRAW/Makefile
config.status: creating adm/lin/amk/TKTObjDRAW/Makefile
config.status: creating adm/lin/amk/TKQADraw/Makefile
config.status: creating adm/lin/amk/DRAWEXE/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/corex/build/opencascade/src/ros/make/missing autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory `/home/corex/build/opencascade/src/ros'
Making all in adm/lin/amk
make[2]: Entering directory `/home/corex/build/opencascade/src/ros/adm/lin/amk'
Making all in TKernel
make[3]: Entering directory `/home/corex/build/opencascade/src/ros/adm/lin/amk/TKernel'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/corex/build/opencascade/src/ros/adm/lin/amk/TKernel'
Making all in TKMath
make[3]: Entering directory `/home/corex/build/opencascade/src/ros/adm/lin/amk/TKMath'
make[3]: Leaving directory `/home/corex/build/opencascade/src/ros/adm/lin/amk/TKMath'
make[2]: Leaving directory `/home/corex/build/opencascade/src/ros/adm/lin/amk'
make[1]: Leaving directory `/home/corex/build/opencascade/src/ros'When you are fixing your first post to include the code tags as jasonwryan said above, editing the first post will allow you to edit the title. Please remove the "HELP!" from your title. It is irritating considering that these forums are mostly used as support forums. Trying to yell louder than everyone else is not going to get you more attention here, and likley will just attract the wrong attention.
-
JTable data persistance problem
i have large number of rows to be displayed in a JTable , the user can configure the number of rows he
wants to view , the table will have next and previous buttonns to navigate to the different pages , i have
solved the problem by reading data from. a 2 dimensional object array according to the user choice , the
next and the previous buttons are working , but the problem is there is no data persistance for example if
the user deletes 2 rows from the 1st page and goes to the 2nd page , when he comes back again to the 1st
page the deleted elements are still there. I am using an my own model which implements abstract table model.It would b gr8 if any one can send the code.Thanks in advance.Are you removing the rows from your Object Array?
if so, you are rigth now, you must to use at you model
fireTableDataChanged();When you change data from your object array.
Hope this helps... -
Persist problem in cascade using @OneToMany
We are trying to persist an object which has a OneToMany relationship to other objects with CascadeType.ALL
When we persist, the log shows that it creates the INSERT statement with the correct bind variables (sequence-generated REPORT_ID, etc.) for the first object.
The problem happens when it tries to cascade and insert the Many part. The log shows the it tries to create the INSERT statement for the second object but the bind variable for the REPORT_ID is null.
Since we defined the relationship of the OneToMany using the REPORT_ID, we assumed that the REPORT_ID that was auto-generated for the first object would be used for the @Many objects.
What are we missing ??????
First Object:
@Id
@SequenceGenerator(name = "REPORT_HEADER_S", initialValue = 1, allocationSize = 1)
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "REPORT_HEADER_S")
@Column(name = "REPORT_ID", nullable = false)
private Long reportId;
@OneToMany(mappedBy = "report", cascade = { CascadeType.ALL})
private List<Summary> summaryList;
Second Object
@ManyToOne
@JoinColumn(name = "REPORT_ID", referencedColumnName = "REPORT_ID")
private Report report;Hello, Chris.
Thank you for your reply.
The structure of my tables is:
table document (id int not null constraint document_pk primary key,
table document_price (document_id int not null constraint document_price_fk references document (id),
date date not null default current_date,
price decimal(9,2) not null,
primary key (document_id, date)).
The entity classes are:
@Entity @Table(name = "DOCUMENT")
public class Document implements Serializable {
@TableGenerator(name = "document_generator", table = "ID_GENERATION", pkColumnName = "TABLE_NAME", valueColumnName = "ID_VALUE",
pkColumnValue = "DOCUMENT", allocationSize = 1)
@Id
@GeneratedValue(generator = "document_generator")
@Basic(optional = false)
@Column(name = "ID")
private Integer id;
// other fields
@OneToMany(cascade = CascadeType.ALL, mappedBy = "document", fetch = FetchType.LAZY)
private Collection<DocumentPrice> documentPriceCollection;
// constructors, getters, setters ...
@PostPersist
public void initializePrices() {
for (DocumentPrice dp : documentPriceCollection) {
dp.documentPricePK.setDocumentId(id);
@Entity
@Table(name = "DOCUMENT_PRICE")
public class DocumentPrice implements Serializable {
@EmbeddedId
protected DocumentPricePK documentPricePK;
@Basic(optional = false)
@Column(name = "PRICE")
private BigDecimal price;
@JoinColumn(name = "DOCUMENT_ID", referencedColumnName = "ID", insertable = false, updatable = false)
@ManyToOne(optional = false, fetch = FetchType.LAZY)
private Document document;
// constructors, getters, setters ...
@Embeddable
public class DocumentPricePK implements Serializable {
@Basic(optional = false)
@Column(name = "DOCUMENT_ID")
private int documentId;
@Basic(optional = false)
@Column(name = "DATE")
@Temporal(TemporalType.DATE)
private Date date;
// constructors, getters, setters ...
I create first Document entity, create DocumentPrice entity and add DocumentPrice entity to the documentPriceCollection of the first Document entity. I invoke commit method of my entity manager, and corresponding rows are added to the document and document_price tables.
I invoke clear method of my entity manager.
Then I create new entities Document and DocumentPrice and add new DocumentPrice entity to the documentPriceCollection of the new Document entity. I invoke commit method and get the following exception:
oracle.toplink.essentials.exceptions.ValidationException
Exception Description: Cannot persist detached object [entities.DocumentPrice[documentPricePK=.entities.DocumentPricePK[documentId=0;
date=Sat May 29 00:00:00 MSD 2010];
price=11]].
Class> entities.DocumentPrice Primary Key> [2010-05-29, 0]
at oracle.toplink.essentials.exceptions.ValidationException.cannotPersistExistingObject(ValidationException.java:2171)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.registerNotRegisteredNewObjectForPersist(UnitOfWorkImpl.java:3251)
at oracle.toplink.essentials.internal.ejb.cmp3.base.RepeatableWriteUnitOfWork.registerNotRegisteredNewObjectForPersist(RepeatableWriteUnitOfWork.java:339)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.registerNewObjectForPersist(UnitOfWorkImpl.java:3220)
at oracle.toplink.essentials.mappings.CollectionMapping.cascadeRegisterNewIfRequired(CollectionMapping.java:265)
at oracle.toplink.essentials.internal.descriptors.ObjectBuilder.cascadeRegisterNewForCreate(ObjectBuilder.java:1294)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.registerNewObjectForPersist(UnitOfWorkImpl.java:3226)
at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerImpl.persist(EntityManagerImpl.java:205)
And I see through debugging that @PostPersist method of the Document entity isn't invoked during second commit before the exception is generated.
What should I do to avoid exception during second commit? -
Logo making question + problems
Hi,
I am amateur designer doing some design work. I am doing pretty weel, but I have some tehnical problems considering vectors and raster images. Since I am not professional, I do all my logo design in photoshop (I know I should be making them in Ilustrator, but I dont know to work there) and then use Vector Magic to convert into vector. I make logos in 3508 x 2480 300dpi RGB\8bit since I need them for web and printing (If I am doing anything wrong allready, fill free to correct me). When I am done making the logo, you could guess its huge. Now problems comes.
Problem 1: I save a png file with solid one color logo without the background and use that huge png to insert in Vector magic and make vector (I am ok with one color vector). But when I open the file in AI, it doesnt look that good. Check the capture image, its 100% document size in AI, and like you can see, there are some inperfections that bothers me. When I zoom up to 1600 %, its all crisp, but on 100% it looks bad. Will these affect printing? I want your opinion and what settings could I change and if there is soluton to this.
Problem 2: When I want to use that logo for web, clearly I have to resize. I usualy open the AI file, drag and drop in Photoshop, resize and then apply. Now, it doesnt look crispy like vector should look like. What could be the problem and what is the best way of resizing the logo from AI to be used in PS?
Vectors that I download look great and works just fine in Photoshop with drag and drop (they remain cripsy). So what I am doing wrong here? I dont think that the problem is in Vector magic, I thing I am doing something wrong from the start... some settings, maybe something about anti-alias, doc size... Anywhay, if you can give me advice how can I do this, what should and shouldnt I use, I would appriciate.
100% Doc size, captured from AIJacob,
I agree, it does worth learning, but the fear is too big
I dislike the way layers are used, I fill much more free in PS.
I solved problem number 2. Instead drag and drop vector shapes, I tried droping paths which I turn onto selections and filled. Result is much, much better. Now I can continue doing web work, but still have to figure out whats happining with my vectors and will that effect printing.
Thank you for your replay.
Arko -
I have an iphone5s,everytime I try to use Siri to make a call.... It says can't call (contact) using that number. I have turned Siri on and off several times but the problem persists. Any advice or help to resolve this issue? I'm on iOS 7.1.1
Addotei5s wrote:
I went through the list before I posted my question. Siri starts to make the call then says cnt call x using that number.
You could've mentioned it to save my time.
Do a
Reset: Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Note: You will not lose any data -
Persistent problems with Time Machine and Time Capsule
I've upgraded to the most recent firmware, the green light stays on, and from the finder's point-of-view, the drive is connected (and I can browse it, etc.). After an initial backup apparently succeeding, subsequent attempts by Time Machine fail. I've removed the file and started from scratch, but then the failures keep happening.
I've gotten both: "Unable to complete backup. An error occured while creating the backup directory." and "Backup disk image could not be mounted." I believe one of the times there was another failure message.
Is this a dud drive? A problem that is typical? I'm approaching the point of giving the drive back, which would really be too bad.
Message was edited by: jrucker1076Theoretically if the drive was a dud, it wouldn't be able to read/write files. Try dragging files onto it to see if they will stay on there and if you can access them from it. Could be a time MACHINE problem, or a problem elsewhere. If the problem persists, take it to the apple store/call apple care!
Maybe you are looking for
-
HT1535 Can I use 1 itunes library for 2 devices?
I have iphone 3gs which i sync with itunes on my laptop. I also have lots of music on my ipod. Can I transfer music from my ipod to the same itunes library that Iuse for my phone?
-
Create purchase order form idoc
Hi everyone, I would be very grateful if someone could explain me whether it is possible to generate a purchase order directly from an incoming ORDERS05 IDOC and specially how to do it. I am receiving an ORDERS05 IDOC from an external system but I do
-
how to create user defined selection screen
-
I need to make outlook express repair. How to realize it?
I have recently lost my general outlook express folders. I try to open them but oe says they are corrupted.
-
I tried to update my iphone 4 because it said i needed to and now that i did the phone is stuck on a screen w/ the i tunes circle and the charger what to do