logo       

[ phpeclipse-Bugs-1284620 ] Template error on certain variables: msg#00063

ide.eclipse.phpeclipse.devel

Subject: [ phpeclipse-Bugs-1284620 ] Template error on certain variables

Bugs item #1284620, was opened at 2005-09-08 10:34
Message generated for change (Comment added) made by lstegelitz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1284620&group_id=57621

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: PHP Editor
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Template error on certain variables

Initial Comment:
I encounter a NullPointerException when I try to
execute a template like this:

Context: html
Name: echo (other names didnt work neither)
Template:
<?php echo ${cursor}; ?>

When I use this template for php-context it works just
fine, but when I switch to html even the "Insert
Variable" button doesnt work anymore.

----------------------------------------------------------------------

Comment By: Lars Stegelitz (lstegelitz)
Date: 2006-04-27 14:16

Message:
Logged In: YES
user_id=1511333


<?php echo ${cursor}; ?>

This is NOT valid PHP code !

The dollar sign and variable name are atomic, don NOT split
them.. Correct Variable reference reads {$cursor}



----------------------------------------------------------------------

Comment By: Uno Engborg (unoengborg)
Date: 2005-09-16 23:53

Message:
Logged In: YES
user_id=1130432

I'm not sure I understand what you mean by executing a
template, but
there seam to be a problem when using the template.

If I write <html and select the "html" tag outside <?php ?>
in a php file and select the <html template from the popup,
all of the template text is inserted, as it should exept
that instead of moving the cursor to the right position
(marked by $cursor in the template) it inserts the word
"cursor" into the page.



----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1284620&group_id=57621


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise