hreinart
asked on
WEB application: need a button to set a filed in a view (java applet)
hi,
i have a view running in a java applet.
now i want to select a document in this view and have 1 field set to the value of @today.
i don't want this to be done by an agent.
any idea?
i have a view running in a java applet.
now i want to select a document in this view and have 1 field set to the value of @today.
i don't want this to be done by an agent.
any idea?
ASKER
what could i do if i don't use java?
html is not what i want
html is not what i want
So you don't want Java nor HTML.. Then how do you think that you can develop a web application ??
~Hemanth
~Hemanth
Just create a button in the view:
FIELD myfield := "newvalue";
""
That should work in the Java applet representation.
Now why don't you want to use an agent ? Because you can't create 'real' webapplications in Notes without using agents .... And I don't think you understood Hemantha's comment : you should choose the HTML representation of the view (in the view properties) if you want more control over appearance and functionality. You can't however, change stuff in documents in a view without doing some backend processing (via an agent).... the Java representation gives a bit more possibilities, but has drawbacks too (slow in loading over the web, less control over appearance , ...)
If you want a nice looking, powerful webapplication, explore the possibilites of the html-style view on the web !
Tom
FIELD myfield := "newvalue";
""
That should work in the Java applet representation.
Now why don't you want to use an agent ? Because you can't create 'real' webapplications in Notes without using agents .... And I don't think you understood Hemantha's comment : you should choose the HTML representation of the view (in the view properties) if you want more control over appearance and functionality. You can't however, change stuff in documents in a view without doing some backend processing (via an agent).... the Java representation gives a bit more possibilities, but has drawbacks too (slow in loading over the web, less control over appearance , ...)
If you want a nice looking, powerful webapplication, explore the possibilites of the html-style view on the web !
Tom
ASKER
hi,
the server the application is running on is a free server on the web.
the view lauched as a java applet is not supported ;-(
also agents are not allowed.
sofar i do it like this:
- double clikc on the document in the view
- i have 3 buttons in the form
- edit, set the field and save
this works.
i tried to put all @ commands in 1 button, that doesn't work.
the server the application is running on is a free server on the web.
the view lauched as a java applet is not supported ;-(
also agents are not allowed.
sofar i do it like this:
- double clikc on the document in the view
- i have 3 buttons in the form
- edit, set the field and save
this works.
i tried to put all @ commands in 1 button, that doesn't work.
ASKER
hi,
i tired to create a button in the view.
the button is not visable in the view (web -> internet explorer)
in notes the button works
i tired to create a button in the view.
the button is not visable in the view (web -> internet explorer)
in notes the button works
From Original Question You Wrote :- the view lauched as a java applet is not supported ;-(
From above post : -
Comment from hreinart Date: 10/04/2004 12:00AM PDT Author Comment
hi,
the server the application is running on is a free server on the web.
the view lauched as a java applet is not supported ;-(
Do you have Java applet or not ?
From above post : -
Comment from hreinart Date: 10/04/2004 12:00AM PDT Author Comment
hi,
the server the application is running on is a free server on the web.
the view lauched as a java applet is not supported ;-(
Do you have Java applet or not ?
hreinart,
You are confusing...
What is the free web server ? DOMINO ?
Secondly, You double click on the view ?? Is this the web app ?? And how does the web double click open the doc (unless the view is shown as java applet) ??
Enable javascript in the db properties for the button to show up.
What is your domino version ?
You are confusing...
What is the free web server ? DOMINO ?
Secondly, You double click on the view ?? Is this the web app ?? And how does the web double click open the doc (unless the view is shown as java applet) ??
Enable javascript in the db properties for the button to show up.
What is your domino version ?
ASKER
hi,
sorry for my confusing comments, that is not intended !
i started to use a java applet in the view on my test system.
then i recognized that the server where the application will run on doesn't support this.
that's why i asked for a solution without java applet.
now my suggestion:
can you answer the question using the java applet?
i can use this for another databse, too.
additionally :
can you answer the question Without using the java applet?
i can add points or create a new question for this.
is this ok for you all?
sorry for my confusing comments, that is not intended !
i started to use a java applet in the view on my test system.
then i recognized that the server where the application will run on doesn't support this.
that's why i asked for a solution without java applet.
now my suggestion:
can you answer the question using the java applet?
i can use this for another databse, too.
additionally :
can you answer the question Without using the java applet?
i can add points or create a new question for this.
is this ok for you all?
There are three ways to display a view:
a. use java applet
b. Use what domino generatees
c. use html views.
Now if you use html views, you can have full control on what u want to achieve. Let me know , then i can throw in the ideas
Partha
a. use java applet
b. Use what domino generatees
c. use html views.
Now if you use html views, you can have full control on what u want to achieve. Let me know , then i can throw in the ideas
Partha
ASKER
hi,
i wouldn't mind to use html, but it look very poor.
i set "treat view contents as html" in the view properties.
is is comming out viewing the ie:
NummerTitelSchüler#Schüler NameAusleihdatum8888888888 88804.10.2 004
normally it should similar to this:
Nummer Titel Schüler# Schüler Name Ausleihdatum
888888888888 80 4.10.2004
i wouldn't mind to use html, but it look very poor.
i set "treat view contents as html" in the view properties.
is is comming out viewing the ie:
NummerTitelSchüler#Schüler
normally it should similar to this:
Nummer Titel Schüler# Schüler Name Ausleihdatum
888888888888 80 4.10.2004
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Your best bet is HTML since you yourself ruled out java method ;-)
Don't treat view content as html.. this is only used when you embed some html tags in the view's data...Just enable "Allow selection of Docs".. this will be more like what partha suggested in last link.. but you don't have to code..Domino does it automatically for you.
Don't treat view content as html.. this is only used when you embed some html tags in the view's data...Just enable "Allow selection of Docs".. this will be more like what partha suggested in last link.. but you don't have to code..Domino does it automatically for you.
ASKER
hi,
just to mention it again:
i would be also intereded in the jave solution !!!
regarding:
Allow selection of Docs -> this looks nice, thanks.
regarding the mentioned link:
that's too much work and i'm not sure if i get it really to work.
...but:
now after i changed the properties of the view like suggested and that i see a checkbox
here, would you be able to tell me how to create a button that will replace 1 field with the value of @today and save this document?
just to mention it again:
i would be also intereded in the jave solution !!!
regarding:
Allow selection of Docs -> this looks nice, thanks.
regarding the mentioned link:
that's too much work and i'm not sure if i get it really to work.
...but:
now after i changed the properties of the view like suggested and that i see a checkbox
here, would you be able to tell me how to create a button that will replace 1 field with the value of @today and save this document?
ASKER
Your best bet is HTML since you yourself ruled out java method ;-)
=> java would also be good to know ..and if i get ansers for both ways i'll increase points.
is is ok?
=> java would also be good to know ..and if i get ansers for both ways i'll increase points.
is is ok?
See to manipulate any thing in the selected docs, u need to use what is mentioned int he link as changing a value in the document is at the server level , u cannot do anything at javascript
Partha
Partha
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
hi,
you both gave me a really good tip.
it'll take a while to get this running.
as far as i can see it'll work, if i do it right.
i hope that points splitting is ok for you.
please have a look at my new question.
https://www.experts-exchange.com/questions/21158224/Need-a-change-of-a-front-end-agent-to-work-in-the-web.html
the database i try to get up gets better and better and i need for some stuff support from you.
...that's why i ask more questions regarding this database.
thanks
hreinart
you both gave me a really good tip.
it'll take a while to get this running.
as far as i can see it'll work, if i do it right.
i hope that points splitting is ok for you.
please have a look at my new question.
https://www.experts-exchange.com/questions/21158224/Need-a-change-of-a-front-end-agent-to-work-in-the-web.html
the database i try to get up gets better and better and i need for some stuff support from you.
...that's why i ask more questions regarding this database.
thanks
hreinart
I would prefer html views than java applet to do such stuff
Partha