Have a look at
http://team.andromda.org/docs/changes-report.html#3_1-RC1-SNAPSHOT
Some tagged value have changed names lately, that might be your problem.
--
Jabber : [EMAIL PROTECTED] (feel free to contact me)
_
Reply to the post : http:
To display a combo box, you will need to model a scalar page variable and a
scalar event param (that is, a Long, or a String, ...). Add
@andromda.struts.view.field.type=select to the page variable. In the
server-side Activity-State, add a method like "loadData(item:Long)". AndroMDA
will see th
Hi,
Also all the fields that were read-only are non longer read only.
The problems started today and I realised that MagicDraw pormpted me with a
patch update. It is the only reason I can see that could cause these problems.
If anybody has installed the patch and is running into the sam
Hi,
I have some hidden fields that appears on my web pages. Back two days ago it
was ok but now they appear everywhere. I have made a few changes to event
parameters not related to these and I have refreshed my depedencies with maven
when compiling. I am using andromda.version=3.1-RC1-SNA
Hi,
Thank you. I checked the link you gave me and I understand how it work for a
multiple selection list. What I need to model is drop-down list so the user
can only select one item.
I have modeled different ways for a complete day and I have never been able to
generate a drop-down li
Hi,
Thanks that is exactly what I want to do but I am running into a problem prior
to this one. How do I model this?
So far I started with a page variable (it is a collection) going into my
FrontEndView. I have added the @andromda.struts.view.field.type=select to
that page variable.
[EMAIL PROTECTED] wrote:
I take it these validation messages are inserted in the 'messages' tile ?
care to contribute ? I could create a new namespace property that would enable
this feature .. that way you don't need to customize, and I think the feature
is interesting
(end of quote)
As
So, you want to populate the combo with values coming from the domain ?
Let me try again with a more complete example. In your controller, you will
have some code looking like this :
Long selectedItemId = 123L;
Collection items = this.getSomeService().getItems();
form.setItemsBackingList(it
Have a look at " Selectable parameters" on
http://team.andromda.org/docs/andromda-bpm4struts-cartridge/howto2.html With
that, you create a combo that you can populate from your controller. You can
use your domain model (entities or enumerations) to populate it, or any other
way you want.
Wh
Hi,
Yes I did see your post but my problem is that I cannot model an enumaration on
a tranition entering a FrontEndView. Maybe I did not explain clearly so here
are more details.
I want to call a "loadSomething(myValues)" method on the server and then use
the values to populate the dropw
Did you see my post above?, I already told you a simple way: if you're using
the enumerations generated by andromda, you can do something like the following
(assuming Status is an enumeration):
form.setStatusLabelList(Status.names().toArray());
form.setStatusValueList(Status.literals().toArr
This was a bug. The latest snapshot has the fix.
For the benefit of others, here is the custom profile that is now working:
Denotes this class is to be treated as a persistable entity.
[EMAIL PROTECTED] wrote:
you cannot have this automatically generated, you'll just have to edit the JSP
to list all enumeration literals the way you like them to appear on the screen
(end of quote)
Is there an easier way if I just want to get values displayed in a drop-down
list?
What
I wont have the time either to support that. At the end of september, I will be
in a place where I will have much less internet access ...
I'll keep my changes private for the moment then ..
--
Jabber : [EMAIL PROTECTED] (feel free to contact me)
___
Yeah sure its possible to be able to support both, but not sure its worth the
effort at the moment. If someone wants to step up and provide switches for 1.5
versions for all the cartridges and maintain them thats ok with me, but the
current developers (myself included)...don't have the time to
[EMAIL PROTECTED] wrote:
Quote:
and I've never been able to compile andromda-all to have the test run ...
(end of quote)
Have you followed these instructions?
http://team.andromda.org/docs/building.html
(end of quote)
Yes I have. But that was quite sometime ago. And I didnt have enough
Seeing some other threads http://galaxy.andromda.org/forum/viewtopic.php?t=593
http://galaxy.andromda.org/forum/viewtopic.php?t=324 and a few of my personal
wishes, I'm wondering if it would be possible to have a property somewhere
telling to generate 1.4 or 1.5 code. That way it might be possi
Quote:
I wanted to check the docs for more info but it seems that the web server where
www.andromda.org is hosted is down for now.
(end of quote)
Go here: http://team.andromda.org/docs
--
Chad Brandon - [EMAIL PROTECTED]
http://www.andromda.org
__
Quote:
Maybe i'm using a java 1.5 feature without even knowing it ... but it compiles
fine here (JDK 1.5.0_03-b07) ...
(end of quote)
That must be it: since a lot of our users still use 1.4.2, we'll need to keep
it returning the root entity class for now.
Quote:
and I've never been able
Interesting ... Maybe i'm using a java 1.5 feature without even knowing it ...
but it compiles fine here (JDK 1.5.0_03-b07) ... I'm still having problem
testing it, my project is not in a stable state ... and I've never been able to
compile andromda-all to have the test run ...
I'm also havi
Thanks for the info Walter.
Since it happened for only one page, I will just recreate it ans see what
happen.
Regarding the XHTML property, I guess I would need the androMDA source code to
modify it. Since I have never downloaded the source code, the property should
still be set to de
ok, with a little help from Chad I managed to get it working. The way to go if
you need use ant is:
1) download the latest distribution (
http://team.andromda.org/maven/andromda/distributions ) and unzip it
2) go to the and directory and execute the build.xml file (by invoking ant ...)
- a
TrudyCool :
I see, you short-circuit the Dao by creating directly a DaoBaseImpl ... I had
the same kind of idea. I wated to drill a hole in the interface (add a public
method returning the HibernateTemplate). But I was quite unhappy with that one
as well ...
Anyway, thanks for the hint !
I take it these validation messages are inserted in the 'messages' tile ?
care to contribute ? I could create a new namespace property that would enable
this feature .. that way you don't need to customize, and I think the feature
is interesting
--
Wouter Zoons - [EMAIL PROTECTED]
http://www
Looked at your patch: looks like you're just returning the specialization
class? I thought you meant that hibernate wasn't returning the correct
instance? We need the same return types in the specialzation create and load
methods as the root since we can't have different return types for ope
Ok, issue created (http://galaxy.andromda.org/jira/browse/SPRING-94) and patch
sent. You should probably wait until I have tested it a bit more before to
apply it. But i dont really see why there should be a problem.
I'll post something tomorow if I've had problem til then.
--
--
Jabber : [E
gehel wrote:
You can use merge points as explained in
http://team.andromda.org/docs/andromda-cartridges/index.html to include some
manual code in a generated file. There is already quite a lot of merge points
in web.xml. I didnt check if there is one for the resource-ref, but it should.
If no
gehel wrote:
You should set the "sqlMappingsUri" property in the default namespace to
"Oracle9i". That should be sufficient [Wink]
(end of quote)
Many thanks. It was my fault. This property was set to DB2
:D Walid
_
Reply to the post
If anyone is following this (?) I've managed to squeeze a commit out my DAOImpl
by changing the code to this...
public void openMyTransaction()
{
System.out.println("*** Opening
it. *");
session = super.getSession();
xaction = sess
Just to let you guys know: I don't like the default alert pop-up of the client
validation, so I override the function "alert" in javascript code, in a way the
client validation error are shown the same way (in my case inside a "DIV") the
server validation errors.
Instead of the default behav
Dear Gehel & nbhatia
Here's mine ...
public class ActorTable {
public void testMe()
{
Person person = Person.Factory.newInstance();
// Person is subclass of Actor
System.out.println(" * * * Building target
object * * *");
Configuration c
All the load does is do a find by primary key select. Can you try modifying it
to get it to return the instance you want (its in the *DaoBase class). If
you're able to get it to work can you file a JIRA issue with the solution and
I'll apply it (don't have time at the moment to research it).
You should set the "sqlMappingsUri" property in the default namespace to
"Oracle9i". That should be sufficient [Wink]
--
--
Jabber : [EMAIL PROTECTED] (feel free to contact me)
_
Reply to the post : http://galaxy.andromda.org/forum/viewtop
You can use merge points as explained in
http://team.andromda.org/docs/andromda-cartridges/index.html to include some
manual code in a generated file. There is already quite a lot of merge points
in web.xml. I didnt check if there is one for the resource-ref, but it should.
If not, it is prett
Hi,
after generating "DecisionItem.hbm" of the Animal Quiz example I found the the
sql-types can not be used by oracle.
For example the following was generated by Hibernate Cartridge:
and I had to chage the sql-type to NUMBER in order to g
Hi,
I am still evaluating Andromda and have the following general question:
How to merge manual code to generated one?
For example, I need to add the following to the web.xml generated by Struts
Cartridge:
DB Connection
jdbc/TestDB
javax.sql.DataSource
Contain
I'm trying to use inheritance in <>. I have a Doctor entity which
extends Person. The "load()" methods generated in DoctorDao returns an object
of class Person and not an object of class Doctor. I understand that as the
<> are shared for all children of Person, the given identifier
could be po
37 matches
Mail list logo