Yes, It is a jsf application. I'm wondering why my bean reference {#bean.property} is not being populated. Even with beans that work on other pages. No bean reference gets populated. Do I have to register my page somewhere?
Hello gurus!
I have an xhtml page. No component seems to get populated with bean data. I have tried components that work on other pages and they will not work on this page. They will display but the dynamic data is empty. For example I have a dropdown list that will populate on other pages...
Gurus,
Can i make the results of a query display like this
Content a attribute 1 attribute 2
Instead of:
Content a attribute 1
Content a attribute 2
Where content can have multiple attributes?
Hi Gurus,
I just inherited a .net app and I am a PHP programmer. THe error looks like this:
Server Error in '/' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error...
Hi,
I have a curl script that I am developing, it needs to post username and password to a windows authentification, then on the next page is a form looking for username and password. How do I post to the windows authentification(.htaccess) then post to the login form a user and password...
Hello jpadie,
I was wondering what I would need to change in your function to just count a certain amount of words before the term and after the term. something more generic because some of my results don't have periods at all causing no results to come back. Thank you so much.
Thank you jpadie,
You are dangerous with those regular expressions!
I was getting a blank screen when I ran the function so I modified a bit below:
function getSentence ($needle, $haystack)
{
$haystack = strip_tags($haystack);
$pattern = "/(^|\.\s+)(.*?".$needle.".*?)\./i"...
I would like to get everything in that sentence or paragraph. Kinda like how google search results will bring back the term in a sentence underneath the search results.
Hi Gurus,
I am attempting to write a function that will go through a block of text and extract the needle and from the haystack. But I want the text before and after the needle as well.
function findTerms($term, $content)
{
strip_tags($content);
$pieces = explode(".", $content)...
Hi Gurus,
I am using code from yahoo developer network to retrieve/parse the XML below into an Array:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <SearchResult count="388" xmlns="">
- <products>
- <productSummary id="1010042542">
<manufacturer sku="45010" name="Elite...
Guru's,
Once again I need your help please. I have three arrays each array is based on its own database quiery - select * from ____
1 array. Departments
2 array. Category
3. array. Subcategory
It looks like this:
Array
(
[0] => Array
(
[DepID] => 10015...
I have an iframe open via a link. When I try to access the querystring of the referring page it is blank, so my $_GET[] is null. Is there any way to reference the querystring using $_GET. Can I do a fake HTTP_GET.
Heres what I cam up with:
mysql_query($SQL) or die(mysql_error());
$uid2 = mysql_insert_id();
$SQL3="INSERT INTO dept(uid) VALUES ('$uid2')";
mysql_query($SQL3) or die(mysql_error());
foreach ($depts as $key => $val)
{
$SQL2 = "UPDATE dept SET uid='$uid2', $val='Y'...
Hi Folks,
I have a table called DEPT. It has 24 fields. I have 24 possible form variables that can be stored in my form array. I am attempting to loop through my form array, and each insert 'Y' into each database field that matches my form variables name.
What I have is inserting but if I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.