O-M-G! Was that awful simple? :-)
Sure hadn't any clue about this function! Thank you very much Kovin!
For the record, I tried to make replacements in order to manipulate the symbols...And really it makes me a bit worry, why didn't catch the trick....but the thing now is that it works!
Thank you!
User Profile
Collapse
-
Code
Code:public static function textfield($name, $value, $edit) { if ($edit) { print $value . "<BR/>"; $str2 = str_replace('"', "'", $value); $str2 = ereg_replace( chr(ord("'")), "\"", $str2); print $str2; print( "<input id = \"$name\" name=\"$name\"
Leave a comment:
-
Plater what would be a diagram or a flow to check this? Perhaps a url link in msdn?
I found out, that services on my pc, have some names like net.tcp ( which seem to me have to do with my case), they are disabled.Leave a comment:
-
Special character (") in textfield
I have a value saved in mysql table like this:
{"name":"poppy" }
When I need to place another symbol " for example to name it "Cheeps and Potatoes", it's saved in mysql table with \". Up to now all ok. This seems to me ok. Escape character added.
I restore the value twice, now...
Into a textfield in order to edit the value of name.
And also as plain value in order to... -
It seems so, but I don't have either firewall or proxy in the middle...Leave a comment:
-
WCF 10061 error. "Actively refused".
I created the WCF service library. The purpose of the program is to expose two functions.
While locally, on the same machine, when running the vs2010, the wcfTestClient executes and "speaks" with the services, on the remote pc, invoking wcfTestClient and the url, I get 10061 error. "Actively refused".
Url I use is : "net.tcp://172.16.1.138:87 32/WCFEAFDSS/Box
or the same plus "/mex".... -
I am developing it in .net , with C sharp (who has constrained 20 words per reply )!!!!!Leave a comment:
-
itext table spares page with a gap
Good morning. I have a major issue with iText. Major but most of all ridiculous.
After the cration of a table like that
Code:tbl = new Table(7, dataTbl.Rows.Count); tbl.setBorderColor(System.Drawing.Color.LightGray); tbl.setDefaultCellBorderColor(System.Drawing.Color.LightGray); tbl.setAlignment(Element.__Value.ALIGN_CENTER); tbl.setPadding(2); tbl.setWidth(( w - 495 ));
-
OK, thank you...Probably does the work but I should try first..thoughLeave a comment:
-
Se efharisto.. Mallon kanei tin douleia tou...alla prepei na to dokimaso vevea...Leave a comment:
-
Java Thread return data
Code:MovAvg run = new MovAvg(_symbol, this, SumDays.SMALL ); threadExecutor.execute(run); Collection<Double> vl = run.getMovAvg().values(); Iterator itr = vl.iterator(); while(itr.hasNext()){ System.out.println(itr.next()); }
-
It seems rather clear now, perhaps, however if we need the first word after the '>' whether name or number this trick is too restrictive I think. We could have loosen it a bit.....
I tried to some regexp utility or grep itself, but couln't get what the writer wanted to say...
In any case thank you very much... It was very detailed description....Leave a comment:
-
Could n't just say then [A-Za-z0-9]? ? So the english questionmark to say one or more?
I bet the | is the or for nothing, so to say bring me one ore more, or nothing.. I think.....Leave a comment:
-
Java RegEx pattern
Let's suppose we have, this in an XML
<cs:CUSTOMER_ID ><cs:CUSTOMER_I D/>
and a pattern to match : ":CUSTOMER_ ID>([A-Za-z][A-Za-z0-9]*|)"
Really, I understand that between the second [] looks for alpharethmetic.
But I don't understand the first [] and after the OR operator '|'.
Has anyone any experience to decipher it?
Thank you in advance -
Java code as plugin
Good morning.
I was looking for building a plugin code, for using it as module for billing policies in a java program. Looking that, I saw many libraries, equinox, jpf, all hard to implement for nothing really curious and bizzarre.
The only thing I wanted is to have a jar, once-compiled. One jar that always gets compiled and has inside it the pricing parameter functionality. If it is with the same signature then just... -
No, nothing special. The only thing it is, is that they are greek.
But then again as values in combo box, exist there.
This happens at times to some of the guids also, in a bunch of..1000? guids in a grid.
98% is ok, 2%? has this erroneous behaviour...Leave a comment:
-
Infragistics UltraCombo - Display Member not shown with guid as valuemember
If anyone has met the problem:
I have setup a ultracombo with values from sql 2000. Valuemember = guid from the table, and DisplayMember property is the Description from the table.
So it's like that :
DisplayMember = Table.Descripti on
ValueMember = Table.Guid
I have now the issue, that the ultracombo does not really show the values but show guid. And this does not happen always at all the combo boxes.... -
This link
http://www.python.org/search/hypermail/python-recent/0678.html
finally did resolve the case.
The only thing I used the copy module.Leave a comment:
-
First, thank you for your answer...
Yes this seems to be the theory, the real problem comes when I want to loop through the elements of the list, and remove items. I think it has nothing to do with multidimensiona l, really.
suppose we have one list, I want to iterate through all the elements remove by index and leave the list with less items than the start.
I used the copy module, and tried copy.deepcopy, in order to...Leave a comment:
-
Removing multidimensional lists
Hello to all,
I am having trouble removing an item from list, which the item is a list by itself.
<code>
for self.line in self.filtered:
if self.appid:
if self.line[0] <> self.appid:
print RED + " ".join( map ( lambda x:str(x), self.filtered[self.filtered.i ndex( self.line) ] )) + RESET
self.filtered.r emove( self.line.index (self.line[0] )...
No activity results to display
Show More
Leave a comment: