Posts

html - I need the Spring API CSS File -

i developing project using j2ee , spring .. i need create javadoc [api] inmean time nedd css file of spring source api please me this. in firefox, install web developer toolbar . select css -> view css , show urls of style sheets on current page. in case: http://static.springsource.org/spring/docs/3.0.x/javadoc-api/spring-javadoc.css http://search.springsource.org/widget/searchtool.css

subclipse not showing "share project" option on project context menu in eclipse -

within eclipse, subclipse installed, if right click project , select "team" there 2 options: apply patch share project once have shared project full subclipse menu "team" one project has 1 option - apply patch. if close project see both options share project option grayed out. i have other projects not happening. what special project stop me getting share project option? there path share project function use? regards solve problem these steps: verify can update using tortoisesvn (this guarantee .svn not corrupt) delete projects have problem, in delete dialog, do not delete project contents! select file -> import -> existing projects workspace. select projects folder or workspace folder. subeclipse should detect , connect projects automatically, without need select 'share project' each 1 of them.

How to dynamically configure rampart on service side -

how can dynamically configure rampart on service side? mean i'd use different service keys different clients. any hint or link tutorial big help. thanks to clarify, want ability issue different token depending on client credentials? sounds lot security token service (sts) it possible accept range of credential options. rampart makes implement own callback class verify initial credentials. you can implement own tokenissuer customize response (http://axis.apache.org/axis2/java/rampart/setting-up-sts.html) , either bundle inside service archive or externalize it. can use whatever criteria fit determining responsetoken.

sql server - How to alter length of varchar in composite primary key? -

in mssql have table created this: create table [mytable] (fkid int not null, data varchar(255) constraint df_mytable_data default '' not null); alter table [mytable] add constraint pk_mytable_data primary key (fkid, data); now want increase length of 'data' column 255 4000. if try: alter table [mytable] alter column data varchar(4000); then error: the object 'pk_mytable_data' dependent on column 'data' if try this: alter table [mytable] drop constraint pk_mytable_data; alter table [mytable] alter column data varchar(4000); alter table [mytable] add constraint pk_mytable_data primary key (fkid, data); then error: cannot define primary key constraint on nullable column in table 'mytable' what missing? both columns defined not null, why mssql reporting can't recreate constraint after drop it? thanks! evan by altering datatype varchar(4000) , make accept nulls . try this: alter table [mytable] drop constra...

How can I listen for trace() statements on the Flash Media Server Administration API? -

i connected flash media server administration api via rtmpe on port 1111 , i'd monitor calls trace() server side actionscript code. here's how it's done: var netconnection : netconnection = new netconnection(); netconnection.connect( "rtmpe://fmsuri:1111", adminusername, adminpassword ); var netstream : netstream = new netstream( netconnection ); netstream.client = { onlog: handlelog }; netstream.play( "logs/application/appname/instancename", -1 ); function handlelog ( info : object ) : void { trace( info[ "description" ] ); }

Spring DataSourceInitializer splits trigger ins sql by ; delimiter -

we use org.springframework.batch.test.datasourceinitializer class in order init db on basis of .sql scripts. init failed,after trigger had been added .sql. after debugging,the cause of error while found here: try { scripts = stringutils.delimitedlisttostringarray(stripcomments(ioutils.readlines(scriptresource.getinputstream())), ";"); } this error happened,because delimiter ";" symbol,so trigger splittet several parts on basis of ";" , treated uncorrectly. can advise me more advanced data source initializer,that understand triggers correctly? thank you. the create trigger statement pl/sql block, , pl/sql blocks must terminated single / first character of row. should work: create or replace trigger "account_biu" before insert or update on account referencing old old new new each row begin if (:new.eskontotype_id null) if (:new.kontotype_id ='np') :new.eskontotype_id := 311; ...

javascript - createElement Image Source -

i'm dynamically adding rows/fields in code. have text field date, , next calendar button/image, user can use select appropriate date. however, if click "add new item" button add new row, can't quite image re-appear correctly calendar. rows being added, , field added calendar button, isn't locating image source , can't select pick date. can tell me i'm doing wrong , can correct it? thanks. <html> <head> <script language="javascript"> function addnewitem() { var ix = document.getelementbyid("txtindex").value; ix ++; document.getelementbyid("txtindex").value = ix; var tbl = document.getelementbyid("tbloffsetdetail").getelementsbytagname("tbody")[0]; var tr = document.createelement("tr"); tbl.appendchild(tr); //txtoffsetdatecleared1 var tdoffsetdatecleared = document.createelement("td"); tr.appendchild(tdoffsetdatecleared); ...