Login Register

dojo

Best Practices: External formatting script within a dojo-enabled php app

Hi all!

I recently wrote a javascript program to perform some auto-formating on a dojo-enabled form. The form is output using Zend_Framework's Zend_Dojo_Form class. Actually, my entire site is powered by the ZF. I am calling this external file and including it when the form is displayed. I want to take advantage of dojo's features, and don't want to write any "hacks", so my question is regarding best practices when using external scripts with dojo.

Contract Dojo developer in Redwood City, CA

We're looking to hire a contractor on a 3-month basis to help us integrate a brand new web UI into our Zend-framework backend.

Must be able to work in Redwood City CA (ONSITE) full time January-April 2009. Please don't reply if you are not in the area, and you are not available to commit full-time.

Skills required:

  • DOJO
  • AJAX
  • Javascript
  • Good knowledge of PHP, Zend would be very helpful
  • HTML

We are a small startup, and have just been funded.

Please email me at :

dnamax@gmail.com

for more details.

Principals only please!

Dojo with java portals

[editor: moving to the appropriate forum…]

Hi,

have any body worked on java portals, then help me. I'm trying to display a link which opens a document. But what I want is when user clicks the link then user is given with two options "OPEN" and "DELETE". Based on the user option need to send request to the server. Kindly help me in this.

i am new to dojo

hai
i am validate form fields with dojo framework,it is fine when form field changes or blur,but if i empty the text field the form is submitted ,so if user is not type any thing in textfied and then submit ,the form submit with out warings.

dojo giving errors for firebug.js

I am using dojo 1.2.3 release. If I enable isDebug: true, in the firefox error log I get an error saying that _firebug/firebug.js is not well-formed and the error market points to the starting of copyright message where the comment starts.

As this is reported as an error by firefox, no subsequent script gets executed.

I am using Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111318 Ubuntu/8.10 (intrepid) Firefox/3.0.4

Please help. I have only started off with dojo and nothing seems to work :(

why doesn't grid.rowHeightChanged(rowNum) work? Any alternatives?

I extended the subgrids test example to include a third "level" in the subgrid. So I have grid like this:
Grid with rows that contain grids, and those grids contain grids.

When I "toggle" to expand the second level grid (thus making is bigger), I do this:
subGrid.updateRow(inIndex);
grid.rowHeightChanged(parentRow);

Loading Dojo in application IFRAME

I have this scenario...

My application based on TAB that in every TAB I load a IFRAME.
In every IFRAME there are a complex form that I have rendering with dojo widget and other function ( I have create a Upload control for example)

My question is:

"Every time that I load the IFRAME ...in the console of Firebug I see that dojo.js and my custom dojo.require js are loaded and this operation it's no fast.."

dojo and deployJava.js IE problems

Hi,
When I use deployJava.js (http://java.com/js/deployJava.js),http://java.sun.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html with dojo, doesnt" doesn't work on IE. I get a java.lang.NoSuch..Exception dojoType . To repoduce it, includes in any dojo example:

 

var attributes = {codebase:'http://java.sun.com/products/plugin/1.5.0/demos/jfc/Java2D',
code:'java2d.Java2DemoApplet.class',
archive:'Java2Demo.jar',

in onBeforeRow, I need to know what grid I am building. need grid id, or grid object

I am extending the subgrids example, and in the onBeforeRow, I need to know the grid that I am building. The "this" object is a view. I was hoping from the view I could somehow access the grid but I can't find a way to.

What I really want to do is something like this:

function buildSubgrid(inRowIndex, inCell) {
...
subGrid['info'] = "data";
subGrid.render();
...
}

and, in the onBeforeRow: access data. In onBeforeRow I also tried this.getCell(0,0).grid['info'] but it seems that the cells are undefined.

querying a mysql db?

I'm working on a project where I'm wanting to have the user click on a link which will run a select query on my mysql db and trigger a lightbox affect with the results of the db query in the new div. I've spent the last several hours trying to learn my way around Dojo and I'm not seeing a function to perform a db query.

Can someone point me in the right direction?

tia,
jeremy

Syndicate content