[JBoss-user] [JBoss Seam] - Re: Problem with jsp:include

2006-06-18 Thread javri28
Ah! How could I miss it!!!
Thank you.! It's working, of course...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951521#3951521

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951521


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Problem with jsp:include

2006-06-18 Thread javri28
Hi guys,

I'm trying to have a dynamic header on xhtml page.
As I understand there is only one way to do it: jsp:include. BUT I CAN'T MAKE 
IT WORK!!!

here, very simple example:

registration.xhtml:

http://www.w3.org/1999/xhtml";
  xmlns:ui="http://java.sun.com/jsf/facelets";
  xmlns:h="http://java.sun.com/jsf/html";
  xmlns:f="http://java.sun.com/jsf/core";
  xmlns:jsp="http://java.sun.com/JSP/Page";>

  



  
  

and header_test.xhtml:

http://www.w3.org/1999/xhtml";
  xmlns:ui="http://java.sun.com/jsf/facelets";
  xmlns:h="http://java.sun.com/jsf/html";
  xmlns:f="http://java.sun.com/jsf/core";
  xmlns:jsp="http://java.sun.com/JSP/Page";>



HEADER XHTML




No errors, nothing. jsp:include is just ignored.  I can write  and there wil happen also nothing.

Has anybody any idea?

Thank's in advance

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951510#3951510

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951510


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: Deployment error

2004-08-16 Thread javri28
Thanks for reply(I forgot to say it last time ;-) )

May be I'm putting reference in wrong place?
Where is the classpath which I have to put these jar path to? I'm writing it in the 
classpath of the project's deployment configuration.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845174#3845174

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845174


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Re: Deployment error

2004-08-16 Thread javri28
I tried it, but nothing changes.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845170#3845170

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845170


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Deployment error

2004-08-16 Thread javri28
Hi, 

After adding this code in xdoclet-build.xml:



I'm getting the following error: 
xdoclet-build.xml:24: Can't create a jbossnet element under ejbdoclet. Make sure the 
jar file containing the corresponding subtask class is on the classpath specified in 
the  that defined {2}.

I put jboss-net.jar into the runtime classspath of Xdoclet(I'm using WSAD5.1) but 
nothing helps.

Any ideas?

Thank you

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845166#3845166

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845166


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - Jboss.net+Xdoclet questions

2004-08-13 Thread javri28
Hi guys,

I am using IBM WSAD 5.1 and Xdoclet 1.3
I want to create my first WebService(Because there is no other way to integrate EJB 
with PHP - that's a final purpose). 
Problems I'm facing are following:
1.  @jboss-net.web-service urn = "SimpleWebService" - in reality is  
@jbossnet:web-service  and there is no "urn" to set. So as a found out it seems that 
is a bug. How do you cope with that?
2. xdoclet-build.xml: the famous subtask 

I can't find any "jbossnet" in the list of task entries in XDoclet configuration of my 
project.
So, I tried to write it manualy(I'm sure that's wrong) and it didn't work.


Any suggestions?

Thank you[list=]

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845036#3845036

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845036


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Context.PROVIDER_URL or something else

2004-07-15 Thread javri28
Guys, I solved it. In fact it was completely other problem.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842280#3842280

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842280


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Context.PROVIDER_URL or something else

2004-07-15 Thread javri28
Hi guys,

I know this question is old as our world. I know there are lots of topics about that, 
but I couldn't find the solution. So, forgive me the one more same topic and look:

public static final Properties JBOSS_JNDI_PROPERTIES;
static {
//asign default properties
JBOSS_JNDI_PROPERTIES = new java.util.Properties();
JBOSS_JNDI_PROPERTIES.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
JBOSS_JNDI_PROPERTIES.put(Context.PROVIDER_URL, "localhost:51099");
JBOSS_JNDI_PROPERTIES.put(Context.URL_PKG_PREFIXES, 
"org.jboss.naming:org.jnp.inteface");
}

and the other one:

BOSS_JNDI_PROPERTIES = new java.util.Properties();
JBOSS_JNDI_PROPERTIES.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
JBOSS_JNDI_PROPERTIES.put(Context.PROVIDER_URL, "192.168.0.9:51099");
JBOSS_JNDI_PROPERTIES.put(Context.URL_PKG_PREFIXES, 
"org.jboss.naming:org.jnp.inteface");

I swear 192.168.0.9 is the right IP. But with IP it's not wotking - the RemoteHome 
interface that I'm trying to get is null.

Any ideas?

Thank you

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842268#3842268

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842268


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Compound PK problem

2004-04-01 Thread javri28
This is what i had in my bean:

** @ejb.persistence column-name = "ST_ID"
* @ejb.interface-method view-type = "both"
* @return
*/
abstract public Integer getSampTableId();
/** @ejb.interface-method view-type = "both" */
abstract public void setSampTableId(Integer sampTableId);


/** @ejb.persistence column-name = "PG_ID"
* @ejb.interface-method view-type = "both"
* @return
*/
abstract public Integer getProductGroupId();
/** @ejb.interface-method view-type = "both" */
abstract public void setProductGroupId(Integer productGroupId);


/** @ejb.persistence column-name = "SAS_ID"
* @ejb.interface-method view-type = "both"
* @return
*/
abstract public Integer getSasId();
/** @ejb.interface-method view-type = "both" */
abstract public void setSasId(Integer sasId);


public SasAssignmentPK ejbCreate(SampTableLocal sampTable, ProductGroupLocal 
productGroup, SampAttributeSetLocal sas) throws CreateException {
setProductGroupId(productGroup.getId());
setSasId(sas.getId());
setSampTableId(sampTable.getId());
return null;
}


public void ejbPostCreate(SampTableLocal sampTable, ProductGroupLocal productGroup, 
SampAttributeSetLocal sas) throws CreateException {
/*
setSampTable(sampTable);
setProductGroup(productGroup);
setSampAttributeSet(sas);
*/
}


And the exception was:

javax.ejb.TransactionRolledbackLocalException: Internal error setting instance field 
sampTableId; CausedByException is:
de.keywork.moc.sampling.pk.SasAssignmentPK; CausedByException is:
Internal error setting instance field sampTableId; CausedByException is:
de.keywork.moc.sampling.pk.SasAssignmentPK
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:204)
... bla-bla-bla


Any ides after reading this long story? :-)



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828814#3828814

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828814


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Compound PK problem

2004-03-31 Thread javri28
Hi guys,

I have a Table wich has 3 columns. They all together are PK for that Table(DB2). But 
each of them are foreign keys as well.
So, I need PK class to cope with that. But the question is how to do it - 
I did it but there are problems when creating new bean.
Here is the part of code:

public class SasAssignmentPK implements Serializable {
public Integer sampTableId;
public Integer productGroupId;
public Integer sasId;

public SasAssignmentPK(Integer sampTableId, Integer productGroupId, Integer 
sasId) {
this.sampTableId = sampTableId;
this.productGroupId = productGroupId;
this.sasId = sasId;
}

public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof SasAssignmentPK)) {
return false;
}
SasAssignmentPK that = (SasAssignmentPK) obj;
if (!(that.sampTableId == null ? this.sampTableId == null : 
that.sampTableId.equals(this.sampTableId))) {
return false;
}
if (!(that.productGroupId == null
? this.productGroupId == null
: that.productGroupId.equals(this.productGroupId))) {
return false;
}
if (!(that.sasId == null ? this.sasId == null : 
that.sasId.equals(this.sasId))) {
return false;
}
return true;
}

public int hashCode() {
int result = 0;
result = result + this.sampTableId.hashCode();
result = result + this.productGroupId.hashCode();
result = result + this.sasId.hashCode();
return result;
}

}


A have fields with same names in Bean.

So, the question is how to organize create method.
Any ideas?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828501#3828501

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828501


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user